diff --git a/Configuration/GlobalAssemblyInfo.cs b/Configuration/GlobalAssemblyInfo.cs index 543eb2168..2b5889bb6 100644 --- a/Configuration/GlobalAssemblyInfo.cs +++ b/Configuration/GlobalAssemblyInfo.cs @@ -15,7 +15,7 @@ internal static class RevisionClass public const string Major = "3"; public const string Minor = "6"; public const string Build = "0"; - public const string Revision = "2338"; + public const string Revision = "2340"; public const string MainVersion = Major + "." + Minor; public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision; diff --git a/Configuration/Version.defs b/Configuration/Version.defs index e31f14d5a..9b7669194 100644 --- a/Configuration/Version.defs +++ b/Configuration/Version.defs @@ -1,4 +1,4 @@ %COREVERSION%=0 -%REVISION%=2338 +%REVISION%=2340 %MINOR%=6 %MAJOR%=3 diff --git a/Release/pabcversion.txt b/Release/pabcversion.txt index 748ebc5ad..95850e573 100644 --- a/Release/pabcversion.txt +++ b/Release/pabcversion.txt @@ -1 +1 @@ -3.6.0.2338 +3.6.0.2340 diff --git a/ReleaseGenerators/PascalABCNET_version.nsh b/ReleaseGenerators/PascalABCNET_version.nsh index 2a2d2db65..ce159c6e1 100644 --- a/ReleaseGenerators/PascalABCNET_version.nsh +++ b/ReleaseGenerators/PascalABCNET_version.nsh @@ -1 +1 @@ -!define VERSION '3.6.0.2338' +!define VERSION '3.6.0.2340' diff --git a/TestSuite/CompilationSamples/OpenGL.pas b/TestSuite/CompilationSamples/OpenGL.pas index 152486d41..bb8538391 100644 --- a/TestSuite/CompilationSamples/OpenGL.pas +++ b/TestSuite/CompilationSamples/OpenGL.pas @@ -32,90 +32,8 @@ uses System.Runtime.CompilerServices; {$region Основные типы} type - GLsync = IntPtr; - GLeglImageOES = IntPtr; - - QueryName = UInt32; - BufferName = UInt32; - ShaderName = UInt32; - ProgramName = UInt32; - ProgramPipelineName = UInt32; - TextureName = UInt32; - SamplerName = UInt32; - FramebufferName = UInt32; - RenderbufferName = UInt32; - VertexArrayName = UInt32; - TransformFeedbackName = UInt32; - - GLContext = UInt32; - GDI_DC = IntPtr; - - // типы для совместимости с OpenCL - ///-- - cl_context = IntPtr; - ///-- - cl_event = IntPtr; - - - - //ToDo убрать после чистки - DummyEnum = UInt32; - DummyFlags = UInt32; - - - // INTEL_performance_query - PerfQueryIdINTEL = UInt32; - PerfQueryHandleINTEL = UInt32; - - - //ToDo переименовать и проверить типы всего дальше: - - EGLsync = IntPtr; - EGLDisplay = IntPtr; - - ShaderBinaryFormat = UInt32; - ProgramResourceIndex = UInt32; - ProgramBinaryFormat = UInt32; - - GLhandleARB = UInt32; - PBufferName = UInt32; - GLeglClientBufferEXT = IntPtr; - VideoOutputDeviceHandleNV = IntPtr; - VideoInputDeviceHandleNV = IntPtr; - VideoDeviceHandleNV = IntPtr; - GLvdpauSurfaceNV = IntPtr; - GPUAffinityHandle = IntPtr; - GLXFBConfig = IntPtr; - GLXContextID = UInt64; - GLXPbuffer = UInt64; - GLXWindow = UInt64; - GLXPixmap = UInt64; - GLXColormap = UInt64; - GLXDrawable = UInt64; - GLXContext = UInt64; - GLXVideoCaptureDeviceNV = UInt64; - GLXVideoSourceSGIX = UInt64; - GLXVideoDeviceNV = UInt32; - GLXFuncPtr = IntPtr; - - PDisplay = IntPtr; - PXVisualInfo = IntPtr; - - - - //ToDo эти типы вообще угадывал, перепроверить - - GLXDMparams = IntPtr; - GLXDMbuffer = IntPtr; - GLXVLServer = IntPtr; - GLXVLPath = IntPtr; - GLXVLNode = IntPtr; - GLXStatus = IntPtr; - GLUnurbs = IntPtr; - GDI_HENHMetafile = IntPtr; - GDI_LayerPlaneDescriptor = IntPtr; - - + DummyEnum = UInt32; + DummyFlags = UInt32; OpenGLException = class(Exception) @@ -126,2202 +44,11828 @@ uses System.Runtime.CompilerServices; {$endregion Основные типы} +{$region Записи-имена} type + + GLsync = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLsync read default(GLsync); + end; + GLeglImageOES = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLeglImageOES read default(GLeglImageOES); + end; + + QueryName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: QueryName read default(QueryName); + end; + BufferName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: BufferName read default(BufferName); + end; + ShaderName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: ShaderName read default(ShaderName); + end; + ProgramName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: ProgramName read default(ProgramName); + end; + ProgramPipelineName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: ProgramPipelineName read default(ProgramPipelineName); + end; + TextureName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: TextureName read default(TextureName); + end; + SamplerName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: SamplerName read default(SamplerName); + end; + FramebufferName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: FramebufferName read default(FramebufferName); + end; + RenderbufferName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: RenderbufferName read default(RenderbufferName); + end; + VertexArrayName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: VertexArrayName read default(VertexArrayName); + end; + TransformFeedbackName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: TransformFeedbackName read default(TransformFeedbackName); + end; + + GLContext = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: GLContext read default(GLContext); + end; + GDI_DC = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GDI_DC read default(GDI_DC); + end; + + // типы для совместимости с OpenCL + ///-- + cl_context = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: cl_context read default(cl_context); + end; + ///-- + cl_event = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: cl_event read default(cl_event); + end; + + + + + + // INTEL_performance_query + PerfQueryIdINTEL = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: PerfQueryIdINTEL read default(PerfQueryIdINTEL); + end; + PerfQueryHandleINTEL = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: PerfQueryHandleINTEL read default(PerfQueryHandleINTEL); + end; + + + //ToDo переименовать и проверить типы всего дальше: + + EGLsync = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: EGLsync read default(EGLsync); + end; + EGLDisplay = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: EGLDisplay read default(EGLDisplay); + end; + + ShaderBinaryFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: ShaderBinaryFormat read default(ShaderBinaryFormat); + end; + ProgramResourceIndex = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: ProgramResourceIndex read default(ProgramResourceIndex); + end; + ProgramBinaryFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: ProgramBinaryFormat read default(ProgramBinaryFormat); + end; + + GLhandleARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: GLhandleARB read default(GLhandleARB); + end; + PBufferName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: PBufferName read default(PBufferName); + end; + HPVIDEODEV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: HPVIDEODEV read default(HPVIDEODEV); + end; + HVIDEOOUTPUTDEVICENV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: HVIDEOOUTPUTDEVICENV read default(HVIDEOOUTPUTDEVICENV); + end; + HVIDEOINPUTDEVICENV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: HVIDEOINPUTDEVICENV read default(HVIDEOINPUTDEVICENV); + end; + PGPU_DEVICE = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: PGPU_DEVICE read default(PGPU_DEVICE); + end; + HGPUNV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: HGPUNV read default(HGPUNV); + end; + HPBUFFER = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: HPBUFFER read default(HPBUFFER); + end; + GLeglClientBufferEXT = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLeglClientBufferEXT read default(GLeglClientBufferEXT); + end; + VideoOutputDeviceHandleNV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: VideoOutputDeviceHandleNV read default(VideoOutputDeviceHandleNV); + end; + VideoInputDeviceHandleNV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: VideoInputDeviceHandleNV read default(VideoInputDeviceHandleNV); + end; + VideoDeviceHandleNV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: VideoDeviceHandleNV read default(VideoDeviceHandleNV); + end; + GLvdpauSurfaceNV = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLvdpauSurfaceNV read default(GLvdpauSurfaceNV); + end; + GPUAffinityHandle = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GPUAffinityHandle read default(GPUAffinityHandle); + end; + GLXFBConfig = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXFBConfig read default(GLXFBConfig); + end; + GLXContextID = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXContextID read default(GLXContextID); + end; + GLXPbuffer = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXPbuffer read default(GLXPbuffer); + end; + GLXWindow = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXWindow read default(GLXWindow); + end; + GLXPixmap = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXPixmap read default(GLXPixmap); + end; + GLXColormap = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXColormap read default(GLXColormap); + end; + GLXDrawable = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXDrawable read default(GLXDrawable); + end; + GLXContext = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXContext read default(GLXContext); + end; + GLXVideoCaptureDeviceNV = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXVideoCaptureDeviceNV read default(GLXVideoCaptureDeviceNV); + end; + GLXVideoSourceSGIX = record + public val: UInt64; + public constructor(val: UInt64) := self.val := val; + public static property Zero: GLXVideoSourceSGIX read default(GLXVideoSourceSGIX); + end; + GLXVideoDeviceNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + public static property Zero: GLXVideoDeviceNV read default(GLXVideoDeviceNV); + end; + GLXFuncPtr = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXFuncPtr read default(GLXFuncPtr); + end; + + PDisplay = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: PDisplay read default(PDisplay); + end; + PXVisualInfo = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: PXVisualInfo read default(PXVisualInfo); + end; + + + + //ToDo эти типы вообще угадывал, перепроверить + + GLXDMparams = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXDMparams read default(GLXDMparams); + end; + GLXDMbuffer = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXDMbuffer read default(GLXDMbuffer); + end; + GLXVLServer = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXVLServer read default(GLXVLServer); + end; + GLXVLPath = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXVLPath read default(GLXVLPath); + end; + GLXVLNode = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXVLNode read default(GLXVLNode); + end; + GLXStatus = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLXStatus read default(GLXStatus); + end; + GLUnurbs = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GLUnurbs read default(GLUnurbs); + end; + GDI_HENHMetafile = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GDI_HENHMetafile read default(GDI_HENHMetafile); + end; + + GDI_LayerPlaneDescriptor = record + public val: IntPtr; + public constructor(val: IntPtr) := self.val := val; + public static property Zero: GDI_LayerPlaneDescriptor read default(GDI_LayerPlaneDescriptor); + end; + +{$endregion Записи-имена} + {$region Перечисления} type - {$region case Result of} + {$region Core} - //R - ErrorCode = record + AccumOp = record public val: UInt32; + public constructor(val: UInt32) := self.val := val; - public const NO_ERROR = 0; - public const FRAMEBUFFER_COMPLETE = $8CD5; - - public const INVALID_ENUM = $0500; - public const INVALID_VALUE = $0501; - public const INVALID_OPERATION = $0502; - public const STACK_OVERFLOW = $0503; - public const STACK_UNDERFLOW = $0504; - public const OUT_OF_MEMORY = $0505; - public const INVALID_FRAMEBUFFER_OPERATION = $0506; - public const CONTEXT_LOST = $0507; - - public const GUILTY_CONTEXT_RESET = $8253; - public const INNOCENT_CONTEXT_RESET = $8254; - public const UNKNOWN_CONTEXT_RESET = $8255; - - ///Устарело, в 3.1 уже не существует - public const TABLE_TOO_LARGE = $8031; - + private static _ACCUM := new AccumOp($0100); + private static _LOAD := new AccumOp($0101); + private static _RETURN := new AccumOp($0102); + private static _MULT := new AccumOp($0103); + private static _ADD := new AccumOp($0104); + public static property ACCUM: AccumOp read _ACCUM; + public static property LOAD: AccumOp read _LOAD; + public static property RETURN: AccumOp read _RETURN; + public static property MULT: AccumOp read _MULT; + public static property ADD: AccumOp read _ADD; public function ToString: string; override; begin - var res := typeof(ErrorCode).GetFields.Where(fi->fi.IsLiteral).FirstOrDefault(prop->integer(prop.GetValue(nil)) = self.val); + var res := typeof(AccumOp).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'ErrorCode[${self.val:X}]': - res.Name.ToWords('_').Select(w->w[1].ToUpper+w.Substring(1).ToLower).JoinIntoString; - end; - - public procedure RaiseIfError := - case val of - NO_ERROR, FRAMEBUFFER_COMPLETE: ; - else raise new OpenGLException(self.ToString); + $'AccumOp[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - {$endregion case Result of} - - {$region 1 значение} - - {$region ...InfoType} - - //S - RenderbufferInfoType = record + AlphaFunction = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property WIDTH: RenderbufferInfoType read new RenderbufferInfoType($8D42); - public static property HEIGHT: RenderbufferInfoType read new RenderbufferInfoType($8D43); - public static property INTERNAL_FORMAT: RenderbufferInfoType read new RenderbufferInfoType($8D44); - public static property SAMPLES: RenderbufferInfoType read new RenderbufferInfoType($8CAB); - public static property RED_SIZE: RenderbufferInfoType read new RenderbufferInfoType($8D50); - public static property GREEN_SIZE: RenderbufferInfoType read new RenderbufferInfoType($8D51); - public static property BLUE_SIZE: RenderbufferInfoType read new RenderbufferInfoType($8D52); - public static property ALPHA_SIZE: RenderbufferInfoType read new RenderbufferInfoType($8D53); - public static property DEPTH_SIZE: RenderbufferInfoType read new RenderbufferInfoType($8D54); - public static property STENCIL_SIZE: RenderbufferInfoType read new RenderbufferInfoType($8D55); + private static _NEVER := new AlphaFunction($0200); + private static _LESS := new AlphaFunction($0201); + private static _EQUAL := new AlphaFunction($0202); + private static _LEQUAL := new AlphaFunction($0203); + private static _GREATER := new AlphaFunction($0204); + private static _NOTEQUAL := new AlphaFunction($0205); + private static _GEQUAL := new AlphaFunction($0206); + private static _ALWAYS := new AlphaFunction($0207); + + public static property NEVER: AlphaFunction read _NEVER; + public static property LESS: AlphaFunction read _LESS; + public static property EQUAL: AlphaFunction read _EQUAL; + public static property LEQUAL: AlphaFunction read _LEQUAL; + public static property GREATER: AlphaFunction read _GREATER; + public static property NOTEQUAL: AlphaFunction read _NOTEQUAL; + public static property GEQUAL: AlphaFunction read _GEQUAL; + public static property ALWAYS: AlphaFunction read _ALWAYS; + + public function ToString: string; override; + begin + var res := typeof(AlphaFunction).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'AlphaFunction[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ActiveSubroutineInfoType = record + AtomicCounterBufferPName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property UNIFORMS: ActiveSubroutineInfoType read new ActiveSubroutineInfoType($8DE6); - public static property UNIFORM_LOCATIONS: ActiveSubroutineInfoType read new ActiveSubroutineInfoType($8E47); - public static property GL_ACTIVE_SUBROUTINES: ActiveSubroutineInfoType read new ActiveSubroutineInfoType($8DE5); - public static property UNIFORM_MAX_LENGTH: ActiveSubroutineInfoType read new ActiveSubroutineInfoType($8E49); - public static property MAX_LENGTH: ActiveSubroutineInfoType read new ActiveSubroutineInfoType($8E48); + private static _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER := new AtomicCounterBufferPName($90ED); + private static _ATOMIC_COUNTER_BUFFER_BINDING := new AtomicCounterBufferPName($92C1); + private static _ATOMIC_COUNTER_BUFFER_DATA_SIZE := new AtomicCounterBufferPName($92C4); + private static _ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS := new AtomicCounterBufferPName($92C5); + private static _ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES := new AtomicCounterBufferPName($92C6); + private static _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER := new AtomicCounterBufferPName($92C7); + private static _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER := new AtomicCounterBufferPName($92C8); + private static _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER := new AtomicCounterBufferPName($92C9); + private static _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER := new AtomicCounterBufferPName($92CA); + private static _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER := new AtomicCounterBufferPName($92CB); + + public static property ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER; + public static property ATOMIC_COUNTER_BUFFER_BINDING: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_BINDING; + public static property ATOMIC_COUNTER_BUFFER_DATA_SIZE: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_DATA_SIZE; + public static property ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS; + public static property ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES; + public static property ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER; + public static property ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER; + public static property ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER; + public static property ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER; + public static property ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER: AtomicCounterBufferPName read _ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER; + + public function ToString: string; override; + begin + var res := typeof(AtomicCounterBufferPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'AtomicCounterBufferPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ProgramPipelineInfoType = record + AttribMask = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property ACTIVE_PROGRAM: ProgramPipelineInfoType read new ProgramPipelineInfoType($8259); - public static property VERTEX_SHADER: ProgramPipelineInfoType read new ProgramPipelineInfoType($8B31); - public static property TESS_CONTROL_SHADER: ProgramPipelineInfoType read new ProgramPipelineInfoType($8E88); - public static property TESS_EVALUATION_SHADER: ProgramPipelineInfoType read new ProgramPipelineInfoType($8E87); - public static property GEOMETRY_SHADER: ProgramPipelineInfoType read new ProgramPipelineInfoType($8DD9); - public static property FRAGMENT_SHADER: ProgramPipelineInfoType read new ProgramPipelineInfoType($8B30); - public static property COMPUTE_SHADER: ProgramPipelineInfoType read new ProgramPipelineInfoType($91B9); - public static property VALIDATE_STATUS: ProgramPipelineInfoType read new ProgramPipelineInfoType($8B83); - public static property INFO_LOG_LENGTH: ProgramPipelineInfoType read new ProgramPipelineInfoType($8B84); + private static _CURRENT_BIT := new AttribMask($0001); + private static _POINT_BIT := new AttribMask($0002); + private static _LINE_BIT := new AttribMask($0004); + private static _POLYGON_BIT := new AttribMask($0008); + private static _POLYGON_STIPPLE_BIT := new AttribMask($0010); + private static _PIXEL_MODE_BIT := new AttribMask($0020); + private static _LIGHTING_BIT := new AttribMask($0040); + private static _FOG_BIT := new AttribMask($0080); + private static _DEPTH_BUFFER_BIT := new AttribMask($0100); + private static _ACCUM_BUFFER_BIT := new AttribMask($0200); + private static _STENCIL_BUFFER_BIT := new AttribMask($0400); + private static _VIEWPORT_BIT := new AttribMask($0800); + private static _TRANSFORM_BIT := new AttribMask($1000); + private static _ENABLE_BIT := new AttribMask($2000); + private static _COLOR_BUFFER_BIT := new AttribMask($4000); + private static _HINT_BIT := new AttribMask($8000); + private static _EVAL_BIT := new AttribMask($10000); + private static _LIST_BIT := new AttribMask($20000); + private static _TEXTURE_BIT := new AttribMask($40000); + private static _SCISSOR_BIT := new AttribMask($80000); + private static _MULTISAMPLE_BIT := new AttribMask($20000000); + private static _MULTISAMPLE_BIT_3DFX := new AttribMask($20000000); + private static _MULTISAMPLE_BIT_ARB := new AttribMask($20000000); + private static _MULTISAMPLE_BIT_EXT := new AttribMask($20000000); + private static _ALL_ATTRIB_BITS := new AttribMask($FFFFFFFF); + + public static property CURRENT_BIT: AttribMask read _CURRENT_BIT; + public static property POINT_BIT: AttribMask read _POINT_BIT; + public static property LINE_BIT: AttribMask read _LINE_BIT; + public static property POLYGON_BIT: AttribMask read _POLYGON_BIT; + public static property POLYGON_STIPPLE_BIT: AttribMask read _POLYGON_STIPPLE_BIT; + public static property PIXEL_MODE_BIT: AttribMask read _PIXEL_MODE_BIT; + public static property LIGHTING_BIT: AttribMask read _LIGHTING_BIT; + public static property FOG_BIT: AttribMask read _FOG_BIT; + public static property DEPTH_BUFFER_BIT: AttribMask read _DEPTH_BUFFER_BIT; + public static property ACCUM_BUFFER_BIT: AttribMask read _ACCUM_BUFFER_BIT; + public static property STENCIL_BUFFER_BIT: AttribMask read _STENCIL_BUFFER_BIT; + public static property VIEWPORT_BIT: AttribMask read _VIEWPORT_BIT; + public static property TRANSFORM_BIT: AttribMask read _TRANSFORM_BIT; + public static property ENABLE_BIT: AttribMask read _ENABLE_BIT; + public static property COLOR_BUFFER_BIT: AttribMask read _COLOR_BUFFER_BIT; + public static property HINT_BIT: AttribMask read _HINT_BIT; + public static property EVAL_BIT: AttribMask read _EVAL_BIT; + public static property LIST_BIT: AttribMask read _LIST_BIT; + public static property TEXTURE_BIT: AttribMask read _TEXTURE_BIT; + public static property SCISSOR_BIT: AttribMask read _SCISSOR_BIT; + public static property MULTISAMPLE_BIT: AttribMask read _MULTISAMPLE_BIT; + public static property MULTISAMPLE_BIT_3DFX: AttribMask read _MULTISAMPLE_BIT_3DFX; + public static property MULTISAMPLE_BIT_ARB: AttribMask read _MULTISAMPLE_BIT_ARB; + public static property MULTISAMPLE_BIT_EXT: AttribMask read _MULTISAMPLE_BIT_EXT; + public static property ALL_ATTRIB_BITS: AttribMask read _ALL_ATTRIB_BITS; + + public static function operator or(f1,f2: AttribMask) := new AttribMask(f1.val or f2.val); + + public property HAS_FLAG_CURRENT_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_POINT_BIT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_LINE_BIT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_POLYGON_BIT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_POLYGON_STIPPLE_BIT: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_PIXEL_MODE_BIT: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_LIGHTING_BIT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_FOG_BIT: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_DEPTH_BUFFER_BIT: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_ACCUM_BUFFER_BIT: boolean read self.val and $0200 <> 0; + public property HAS_FLAG_STENCIL_BUFFER_BIT: boolean read self.val and $0400 <> 0; + public property HAS_FLAG_VIEWPORT_BIT: boolean read self.val and $0800 <> 0; + public property HAS_FLAG_TRANSFORM_BIT: boolean read self.val and $1000 <> 0; + public property HAS_FLAG_ENABLE_BIT: boolean read self.val and $2000 <> 0; + public property HAS_FLAG_COLOR_BUFFER_BIT: boolean read self.val and $4000 <> 0; + public property HAS_FLAG_HINT_BIT: boolean read self.val and $8000 <> 0; + public property HAS_FLAG_EVAL_BIT: boolean read self.val and $10000 <> 0; + public property HAS_FLAG_LIST_BIT: boolean read self.val and $20000 <> 0; + public property HAS_FLAG_TEXTURE_BIT: boolean read self.val and $40000 <> 0; + public property HAS_FLAG_SCISSOR_BIT: boolean read self.val and $80000 <> 0; + public property HAS_FLAG_MULTISAMPLE_BIT: boolean read self.val and $20000000 <> 0; + public property HAS_FLAG_MULTISAMPLE_BIT_3DFX: boolean read self.val and $20000000 <> 0; + public property HAS_FLAG_MULTISAMPLE_BIT_ARB: boolean read self.val and $20000000 <> 0; + public property HAS_FLAG_MULTISAMPLE_BIT_EXT: boolean read self.val and $20000000 <> 0; + public property HAS_FLAG_ALL_ATTRIB_BITS: boolean read self.val and $FFFFFFFF <> 0; + + public function ToString: string; override; + begin + var res := typeof(AttribMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'AttribMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; end; - //S - ProgramInfoType = record + AttributeType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property DELETE_STATUS: ProgramInfoType read new ProgramInfoType($8B80); - public static property LINK_STATUS: ProgramInfoType read new ProgramInfoType($8B82); - public static property VALIDATE_STATUS: ProgramInfoType read new ProgramInfoType($8B83); - public static property INFO_LOG_LENGTH: ProgramInfoType read new ProgramInfoType($8B84); - public static property ATTACHED_SHADERS: ProgramInfoType read new ProgramInfoType($8B85); - public static property ACTIVE_ATTRIBUTES: ProgramInfoType read new ProgramInfoType($8B89); - public static property ACTIVE_ATTRIBUTE_MAX_LENGTH: ProgramInfoType read new ProgramInfoType($8B8A); - public static property ACTIVE_UNIFORMS: ProgramInfoType read new ProgramInfoType($8B86); - public static property ACTIVE_UNIFORM_MAX_LENGTH: ProgramInfoType read new ProgramInfoType($8B87); - public static property TRANSFORM_FEEDBACK_BUFFER_MODE: ProgramInfoType read new ProgramInfoType($8C7F); - public static property TRANSFORM_FEEDBACK_VARYINGS: ProgramInfoType read new ProgramInfoType($8C83); - public static property TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH: ProgramInfoType read new ProgramInfoType($8C76); - public static property ACTIVE_UNIFORM_BLOCKS: ProgramInfoType read new ProgramInfoType($8A36); - public static property ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH: ProgramInfoType read new ProgramInfoType($8A35); - public static property GEOMETRY_VERTICES_OUT: ProgramInfoType read new ProgramInfoType($8916); - public static property GEOMETRY_INPUT_TYPE: ProgramInfoType read new ProgramInfoType($8917); - public static property GEOMETRY_OUTPUT_TYPE: ProgramInfoType read new ProgramInfoType($8918); - public static property GEOMETRY_SHADER_INVOCATIONS: ProgramInfoType read new ProgramInfoType($887F); - public static property TESS_CONTROL_OUTPUT_VERTICES: ProgramInfoType read new ProgramInfoType($8E75); - public static property TESS_GEN_MODE: ProgramInfoType read new ProgramInfoType($8E76); - public static property TESS_GEN_SPACING: ProgramInfoType read new ProgramInfoType($8E77); - public static property TESS_GEN_VERTEX_ORDER: ProgramInfoType read new ProgramInfoType($8E78); - public static property TESS_GEN_POINT_MODE: ProgramInfoType read new ProgramInfoType($8E79); - public static property COMPUTE_WORK_GROUP_SIZE: ProgramInfoType read new ProgramInfoType($8267); - public static property PROGRAM_SEPARABLE: ProgramInfoType read new ProgramInfoType($8258); - public static property PROGRAM_BINARY_RETRIEVABLE_HINT: ProgramInfoType read new ProgramInfoType($8257); - public static property ACTIVE_ATOMIC_COUNTER_BUFFERS: ProgramInfoType read new ProgramInfoType($92D9); + private static _INT := new AttributeType($1404); + private static _UNSIGNED_INT := new AttributeType($1405); + private static _FLOAT := new AttributeType($1406); + private static _DOUBLE := new AttributeType($140A); + private static _INT64_ARB := new AttributeType($140E); + private static _INT64_NV := new AttributeType($140E); + private static _UNSIGNED_INT64_ARB := new AttributeType($140F); + private static _UNSIGNED_INT64_NV := new AttributeType($140F); + private static _FLOAT_VEC2 := new AttributeType($8B50); + private static _FLOAT_VEC2_ARB := new AttributeType($8B50); + private static _FLOAT_VEC3 := new AttributeType($8B51); + private static _FLOAT_VEC3_ARB := new AttributeType($8B51); + private static _FLOAT_VEC4 := new AttributeType($8B52); + private static _FLOAT_VEC4_ARB := new AttributeType($8B52); + private static _INT_VEC2 := new AttributeType($8B53); + private static _INT_VEC2_ARB := new AttributeType($8B53); + private static _INT_VEC3 := new AttributeType($8B54); + private static _INT_VEC3_ARB := new AttributeType($8B54); + private static _INT_VEC4 := new AttributeType($8B55); + private static _INT_VEC4_ARB := new AttributeType($8B55); + private static _BOOL := new AttributeType($8B56); + private static _BOOL_ARB := new AttributeType($8B56); + private static _BOOL_VEC2 := new AttributeType($8B57); + private static _BOOL_VEC2_ARB := new AttributeType($8B57); + private static _BOOL_VEC3 := new AttributeType($8B58); + private static _BOOL_VEC3_ARB := new AttributeType($8B58); + private static _BOOL_VEC4 := new AttributeType($8B59); + private static _BOOL_VEC4_ARB := new AttributeType($8B59); + private static _FLOAT_MAT2 := new AttributeType($8B5A); + private static _FLOAT_MAT2_ARB := new AttributeType($8B5A); + private static _FLOAT_MAT3 := new AttributeType($8B5B); + private static _FLOAT_MAT3_ARB := new AttributeType($8B5B); + private static _FLOAT_MAT4 := new AttributeType($8B5C); + private static _FLOAT_MAT4_ARB := new AttributeType($8B5C); + private static _SAMPLER_1D := new AttributeType($8B5D); + private static _SAMPLER_1D_ARB := new AttributeType($8B5D); + private static _SAMPLER_2D := new AttributeType($8B5E); + private static _SAMPLER_2D_ARB := new AttributeType($8B5E); + private static _SAMPLER_3D := new AttributeType($8B5F); + private static _SAMPLER_3D_ARB := new AttributeType($8B5F); + private static _SAMPLER_3D_OES := new AttributeType($8B5F); + private static _SAMPLER_CUBE := new AttributeType($8B60); + private static _SAMPLER_CUBE_ARB := new AttributeType($8B60); + private static _SAMPLER_1D_SHADOW := new AttributeType($8B61); + private static _SAMPLER_1D_SHADOW_ARB := new AttributeType($8B61); + private static _SAMPLER_2D_SHADOW := new AttributeType($8B62); + private static _SAMPLER_2D_SHADOW_ARB := new AttributeType($8B62); + private static _SAMPLER_2D_SHADOW_EXT := new AttributeType($8B62); + private static _SAMPLER_2D_RECT := new AttributeType($8B63); + private static _SAMPLER_2D_RECT_ARB := new AttributeType($8B63); + private static _SAMPLER_2D_RECT_SHADOW := new AttributeType($8B64); + private static _SAMPLER_2D_RECT_SHADOW_ARB := new AttributeType($8B64); + private static _FLOAT_MAT2x3 := new AttributeType($8B65); + private static _FLOAT_MAT2x3_NV := new AttributeType($8B65); + private static _FLOAT_MAT2x4 := new AttributeType($8B66); + private static _FLOAT_MAT2x4_NV := new AttributeType($8B66); + private static _FLOAT_MAT3x2 := new AttributeType($8B67); + private static _FLOAT_MAT3x2_NV := new AttributeType($8B67); + private static _FLOAT_MAT3x4 := new AttributeType($8B68); + private static _FLOAT_MAT3x4_NV := new AttributeType($8B68); + private static _FLOAT_MAT4x2 := new AttributeType($8B69); + private static _FLOAT_MAT4x2_NV := new AttributeType($8B69); + private static _FLOAT_MAT4x3 := new AttributeType($8B6A); + private static _FLOAT_MAT4x3_NV := new AttributeType($8B6A); + private static _SAMPLER_BUFFER := new AttributeType($8DC2); + private static _SAMPLER_1D_ARRAY_SHADOW := new AttributeType($8DC3); + private static _SAMPLER_2D_ARRAY_SHADOW := new AttributeType($8DC4); + private static _SAMPLER_CUBE_SHADOW := new AttributeType($8DC5); + private static _UNSIGNED_INT_VEC2 := new AttributeType($8DC6); + private static _UNSIGNED_INT_VEC3 := new AttributeType($8DC7); + private static _UNSIGNED_INT_VEC4 := new AttributeType($8DC8); + private static _INT_SAMPLER_1D := new AttributeType($8DC9); + private static _INT_SAMPLER_2D := new AttributeType($8DCA); + private static _INT_SAMPLER_3D := new AttributeType($8DCB); + private static _INT_SAMPLER_CUBE := new AttributeType($8DCC); + private static _INT_SAMPLER_2D_RECT := new AttributeType($8DCD); + private static _INT_SAMPLER_1D_ARRAY := new AttributeType($8DCE); + private static _INT_SAMPLER_2D_ARRAY := new AttributeType($8DCF); + private static _INT_SAMPLER_BUFFER := new AttributeType($8DD0); + private static _UNSIGNED_INT_SAMPLER_1D := new AttributeType($8DD1); + private static _UNSIGNED_INT_SAMPLER_2D := new AttributeType($8DD2); + private static _UNSIGNED_INT_SAMPLER_3D := new AttributeType($8DD3); + private static _UNSIGNED_INT_SAMPLER_CUBE := new AttributeType($8DD4); + private static _UNSIGNED_INT_SAMPLER_2D_RECT := new AttributeType($8DD5); + private static _UNSIGNED_INT_SAMPLER_1D_ARRAY := new AttributeType($8DD6); + private static _UNSIGNED_INT_SAMPLER_2D_ARRAY := new AttributeType($8DD7); + private static _UNSIGNED_INT_SAMPLER_BUFFER := new AttributeType($8DD8); + private static _DOUBLE_MAT2 := new AttributeType($8F46); + private static _DOUBLE_MAT3 := new AttributeType($8F47); + private static _DOUBLE_MAT4 := new AttributeType($8F48); + private static _DOUBLE_MAT2x3 := new AttributeType($8F49); + private static _DOUBLE_MAT2x4 := new AttributeType($8F4A); + private static _DOUBLE_MAT3x2 := new AttributeType($8F4B); + private static _DOUBLE_MAT3x4 := new AttributeType($8F4C); + private static _DOUBLE_MAT4x2 := new AttributeType($8F4D); + private static _DOUBLE_MAT4x3 := new AttributeType($8F4E); + private static _INT64_VEC2_ARB := new AttributeType($8FE9); + private static _INT64_VEC3_ARB := new AttributeType($8FEA); + private static _INT64_VEC4_ARB := new AttributeType($8FEB); + private static _UNSIGNED_INT64_VEC2_ARB := new AttributeType($8FF5); + private static _UNSIGNED_INT64_VEC3_ARB := new AttributeType($8FF6); + private static _UNSIGNED_INT64_VEC4_ARB := new AttributeType($8FF7); + private static _DOUBLE_VEC2 := new AttributeType($8FFC); + private static _DOUBLE_VEC3 := new AttributeType($8FFD); + private static _DOUBLE_VEC4 := new AttributeType($8FFE); + private static _SAMPLER_CUBE_MAP_ARRAY := new AttributeType($900C); + private static _SAMPLER_CUBE_MAP_ARRAY_SHADOW := new AttributeType($900D); + private static _INT_SAMPLER_CUBE_MAP_ARRAY := new AttributeType($900E); + private static _UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY := new AttributeType($900F); + private static _IMAGE_1D := new AttributeType($904C); + private static _IMAGE_2D := new AttributeType($904D); + private static _IMAGE_3D := new AttributeType($904E); + private static _IMAGE_2D_RECT := new AttributeType($904F); + private static _IMAGE_CUBE := new AttributeType($9050); + private static _IMAGE_BUFFER := new AttributeType($9051); + private static _IMAGE_1D_ARRAY := new AttributeType($9052); + private static _IMAGE_2D_ARRAY := new AttributeType($9053); + private static _IMAGE_CUBE_MAP_ARRAY := new AttributeType($9054); + private static _IMAGE_2D_MULTISAMPLE := new AttributeType($9055); + private static _IMAGE_2D_MULTISAMPLE_ARRAY := new AttributeType($9056); + private static _INT_IMAGE_1D := new AttributeType($9057); + private static _INT_IMAGE_2D := new AttributeType($9058); + private static _INT_IMAGE_3D := new AttributeType($9059); + private static _INT_IMAGE_2D_RECT := new AttributeType($905A); + private static _INT_IMAGE_CUBE := new AttributeType($905B); + private static _INT_IMAGE_BUFFER := new AttributeType($905C); + private static _INT_IMAGE_1D_ARRAY := new AttributeType($905D); + private static _INT_IMAGE_2D_ARRAY := new AttributeType($905E); + private static _INT_IMAGE_CUBE_MAP_ARRAY := new AttributeType($905F); + private static _INT_IMAGE_2D_MULTISAMPLE := new AttributeType($9060); + private static _INT_IMAGE_2D_MULTISAMPLE_ARRAY := new AttributeType($9061); + private static _UNSIGNED_INT_IMAGE_1D := new AttributeType($9062); + private static _UNSIGNED_INT_IMAGE_2D := new AttributeType($9063); + private static _UNSIGNED_INT_IMAGE_3D := new AttributeType($9064); + private static _UNSIGNED_INT_IMAGE_2D_RECT := new AttributeType($9065); + private static _UNSIGNED_INT_IMAGE_CUBE := new AttributeType($9066); + private static _UNSIGNED_INT_IMAGE_BUFFER := new AttributeType($9067); + private static _UNSIGNED_INT_IMAGE_1D_ARRAY := new AttributeType($9068); + private static _UNSIGNED_INT_IMAGE_2D_ARRAY := new AttributeType($9069); + private static _UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY := new AttributeType($906A); + private static _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE := new AttributeType($906B); + private static _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY := new AttributeType($906C); + private static _SAMPLER_2D_MULTISAMPLE := new AttributeType($9108); + private static _INT_SAMPLER_2D_MULTISAMPLE := new AttributeType($9109); + private static _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE := new AttributeType($910A); + private static _SAMPLER_2D_MULTISAMPLE_ARRAY := new AttributeType($910B); + private static _INT_SAMPLER_2D_MULTISAMPLE_ARRAY := new AttributeType($910C); + private static _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY := new AttributeType($910D); + + public static property INT: AttributeType read _INT; + public static property UNSIGNED_INT: AttributeType read _UNSIGNED_INT; + public static property FLOAT: AttributeType read _FLOAT; + public static property DOUBLE: AttributeType read _DOUBLE; + public static property INT64_ARB: AttributeType read _INT64_ARB; + public static property INT64_NV: AttributeType read _INT64_NV; + public static property UNSIGNED_INT64_ARB: AttributeType read _UNSIGNED_INT64_ARB; + public static property UNSIGNED_INT64_NV: AttributeType read _UNSIGNED_INT64_NV; + public static property FLOAT_VEC2: AttributeType read _FLOAT_VEC2; + public static property FLOAT_VEC2_ARB: AttributeType read _FLOAT_VEC2_ARB; + public static property FLOAT_VEC3: AttributeType read _FLOAT_VEC3; + public static property FLOAT_VEC3_ARB: AttributeType read _FLOAT_VEC3_ARB; + public static property FLOAT_VEC4: AttributeType read _FLOAT_VEC4; + public static property FLOAT_VEC4_ARB: AttributeType read _FLOAT_VEC4_ARB; + public static property INT_VEC2: AttributeType read _INT_VEC2; + public static property INT_VEC2_ARB: AttributeType read _INT_VEC2_ARB; + public static property INT_VEC3: AttributeType read _INT_VEC3; + public static property INT_VEC3_ARB: AttributeType read _INT_VEC3_ARB; + public static property INT_VEC4: AttributeType read _INT_VEC4; + public static property INT_VEC4_ARB: AttributeType read _INT_VEC4_ARB; + public static property BOOL: AttributeType read _BOOL; + public static property BOOL_ARB: AttributeType read _BOOL_ARB; + public static property BOOL_VEC2: AttributeType read _BOOL_VEC2; + public static property BOOL_VEC2_ARB: AttributeType read _BOOL_VEC2_ARB; + public static property BOOL_VEC3: AttributeType read _BOOL_VEC3; + public static property BOOL_VEC3_ARB: AttributeType read _BOOL_VEC3_ARB; + public static property BOOL_VEC4: AttributeType read _BOOL_VEC4; + public static property BOOL_VEC4_ARB: AttributeType read _BOOL_VEC4_ARB; + public static property FLOAT_MAT2: AttributeType read _FLOAT_MAT2; + public static property FLOAT_MAT2_ARB: AttributeType read _FLOAT_MAT2_ARB; + public static property FLOAT_MAT3: AttributeType read _FLOAT_MAT3; + public static property FLOAT_MAT3_ARB: AttributeType read _FLOAT_MAT3_ARB; + public static property FLOAT_MAT4: AttributeType read _FLOAT_MAT4; + public static property FLOAT_MAT4_ARB: AttributeType read _FLOAT_MAT4_ARB; + public static property SAMPLER_1D: AttributeType read _SAMPLER_1D; + public static property SAMPLER_1D_ARB: AttributeType read _SAMPLER_1D_ARB; + public static property SAMPLER_2D: AttributeType read _SAMPLER_2D; + public static property SAMPLER_2D_ARB: AttributeType read _SAMPLER_2D_ARB; + public static property SAMPLER_3D: AttributeType read _SAMPLER_3D; + public static property SAMPLER_3D_ARB: AttributeType read _SAMPLER_3D_ARB; + public static property SAMPLER_3D_OES: AttributeType read _SAMPLER_3D_OES; + public static property SAMPLER_CUBE: AttributeType read _SAMPLER_CUBE; + public static property SAMPLER_CUBE_ARB: AttributeType read _SAMPLER_CUBE_ARB; + public static property SAMPLER_1D_SHADOW: AttributeType read _SAMPLER_1D_SHADOW; + public static property SAMPLER_1D_SHADOW_ARB: AttributeType read _SAMPLER_1D_SHADOW_ARB; + public static property SAMPLER_2D_SHADOW: AttributeType read _SAMPLER_2D_SHADOW; + public static property SAMPLER_2D_SHADOW_ARB: AttributeType read _SAMPLER_2D_SHADOW_ARB; + public static property SAMPLER_2D_SHADOW_EXT: AttributeType read _SAMPLER_2D_SHADOW_EXT; + public static property SAMPLER_2D_RECT: AttributeType read _SAMPLER_2D_RECT; + public static property SAMPLER_2D_RECT_ARB: AttributeType read _SAMPLER_2D_RECT_ARB; + public static property SAMPLER_2D_RECT_SHADOW: AttributeType read _SAMPLER_2D_RECT_SHADOW; + public static property SAMPLER_2D_RECT_SHADOW_ARB: AttributeType read _SAMPLER_2D_RECT_SHADOW_ARB; + public static property FLOAT_MAT2x3: AttributeType read _FLOAT_MAT2x3; + public static property FLOAT_MAT2x3_NV: AttributeType read _FLOAT_MAT2x3_NV; + public static property FLOAT_MAT2x4: AttributeType read _FLOAT_MAT2x4; + public static property FLOAT_MAT2x4_NV: AttributeType read _FLOAT_MAT2x4_NV; + public static property FLOAT_MAT3x2: AttributeType read _FLOAT_MAT3x2; + public static property FLOAT_MAT3x2_NV: AttributeType read _FLOAT_MAT3x2_NV; + public static property FLOAT_MAT3x4: AttributeType read _FLOAT_MAT3x4; + public static property FLOAT_MAT3x4_NV: AttributeType read _FLOAT_MAT3x4_NV; + public static property FLOAT_MAT4x2: AttributeType read _FLOAT_MAT4x2; + public static property FLOAT_MAT4x2_NV: AttributeType read _FLOAT_MAT4x2_NV; + public static property FLOAT_MAT4x3: AttributeType read _FLOAT_MAT4x3; + public static property FLOAT_MAT4x3_NV: AttributeType read _FLOAT_MAT4x3_NV; + public static property SAMPLER_BUFFER: AttributeType read _SAMPLER_BUFFER; + public static property SAMPLER_1D_ARRAY_SHADOW: AttributeType read _SAMPLER_1D_ARRAY_SHADOW; + public static property SAMPLER_2D_ARRAY_SHADOW: AttributeType read _SAMPLER_2D_ARRAY_SHADOW; + public static property SAMPLER_CUBE_SHADOW: AttributeType read _SAMPLER_CUBE_SHADOW; + public static property UNSIGNED_INT_VEC2: AttributeType read _UNSIGNED_INT_VEC2; + public static property UNSIGNED_INT_VEC3: AttributeType read _UNSIGNED_INT_VEC3; + public static property UNSIGNED_INT_VEC4: AttributeType read _UNSIGNED_INT_VEC4; + public static property INT_SAMPLER_1D: AttributeType read _INT_SAMPLER_1D; + public static property INT_SAMPLER_2D: AttributeType read _INT_SAMPLER_2D; + public static property INT_SAMPLER_3D: AttributeType read _INT_SAMPLER_3D; + public static property INT_SAMPLER_CUBE: AttributeType read _INT_SAMPLER_CUBE; + public static property INT_SAMPLER_2D_RECT: AttributeType read _INT_SAMPLER_2D_RECT; + public static property INT_SAMPLER_1D_ARRAY: AttributeType read _INT_SAMPLER_1D_ARRAY; + public static property INT_SAMPLER_2D_ARRAY: AttributeType read _INT_SAMPLER_2D_ARRAY; + public static property INT_SAMPLER_BUFFER: AttributeType read _INT_SAMPLER_BUFFER; + public static property UNSIGNED_INT_SAMPLER_1D: AttributeType read _UNSIGNED_INT_SAMPLER_1D; + public static property UNSIGNED_INT_SAMPLER_2D: AttributeType read _UNSIGNED_INT_SAMPLER_2D; + public static property UNSIGNED_INT_SAMPLER_3D: AttributeType read _UNSIGNED_INT_SAMPLER_3D; + public static property UNSIGNED_INT_SAMPLER_CUBE: AttributeType read _UNSIGNED_INT_SAMPLER_CUBE; + public static property UNSIGNED_INT_SAMPLER_2D_RECT: AttributeType read _UNSIGNED_INT_SAMPLER_2D_RECT; + public static property UNSIGNED_INT_SAMPLER_1D_ARRAY: AttributeType read _UNSIGNED_INT_SAMPLER_1D_ARRAY; + public static property UNSIGNED_INT_SAMPLER_2D_ARRAY: AttributeType read _UNSIGNED_INT_SAMPLER_2D_ARRAY; + public static property UNSIGNED_INT_SAMPLER_BUFFER: AttributeType read _UNSIGNED_INT_SAMPLER_BUFFER; + public static property DOUBLE_MAT2: AttributeType read _DOUBLE_MAT2; + public static property DOUBLE_MAT3: AttributeType read _DOUBLE_MAT3; + public static property DOUBLE_MAT4: AttributeType read _DOUBLE_MAT4; + public static property DOUBLE_MAT2x3: AttributeType read _DOUBLE_MAT2x3; + public static property DOUBLE_MAT2x4: AttributeType read _DOUBLE_MAT2x4; + public static property DOUBLE_MAT3x2: AttributeType read _DOUBLE_MAT3x2; + public static property DOUBLE_MAT3x4: AttributeType read _DOUBLE_MAT3x4; + public static property DOUBLE_MAT4x2: AttributeType read _DOUBLE_MAT4x2; + public static property DOUBLE_MAT4x3: AttributeType read _DOUBLE_MAT4x3; + public static property INT64_VEC2_ARB: AttributeType read _INT64_VEC2_ARB; + public static property INT64_VEC3_ARB: AttributeType read _INT64_VEC3_ARB; + public static property INT64_VEC4_ARB: AttributeType read _INT64_VEC4_ARB; + public static property UNSIGNED_INT64_VEC2_ARB: AttributeType read _UNSIGNED_INT64_VEC2_ARB; + public static property UNSIGNED_INT64_VEC3_ARB: AttributeType read _UNSIGNED_INT64_VEC3_ARB; + public static property UNSIGNED_INT64_VEC4_ARB: AttributeType read _UNSIGNED_INT64_VEC4_ARB; + public static property DOUBLE_VEC2: AttributeType read _DOUBLE_VEC2; + public static property DOUBLE_VEC3: AttributeType read _DOUBLE_VEC3; + public static property DOUBLE_VEC4: AttributeType read _DOUBLE_VEC4; + public static property SAMPLER_CUBE_MAP_ARRAY: AttributeType read _SAMPLER_CUBE_MAP_ARRAY; + public static property SAMPLER_CUBE_MAP_ARRAY_SHADOW: AttributeType read _SAMPLER_CUBE_MAP_ARRAY_SHADOW; + public static property INT_SAMPLER_CUBE_MAP_ARRAY: AttributeType read _INT_SAMPLER_CUBE_MAP_ARRAY; + public static property UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: AttributeType read _UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY; + public static property IMAGE_1D: AttributeType read _IMAGE_1D; + public static property IMAGE_2D: AttributeType read _IMAGE_2D; + public static property IMAGE_3D: AttributeType read _IMAGE_3D; + public static property IMAGE_2D_RECT: AttributeType read _IMAGE_2D_RECT; + public static property IMAGE_CUBE: AttributeType read _IMAGE_CUBE; + public static property IMAGE_BUFFER: AttributeType read _IMAGE_BUFFER; + public static property IMAGE_1D_ARRAY: AttributeType read _IMAGE_1D_ARRAY; + public static property IMAGE_2D_ARRAY: AttributeType read _IMAGE_2D_ARRAY; + public static property IMAGE_CUBE_MAP_ARRAY: AttributeType read _IMAGE_CUBE_MAP_ARRAY; + public static property IMAGE_2D_MULTISAMPLE: AttributeType read _IMAGE_2D_MULTISAMPLE; + public static property IMAGE_2D_MULTISAMPLE_ARRAY: AttributeType read _IMAGE_2D_MULTISAMPLE_ARRAY; + public static property INT_IMAGE_1D: AttributeType read _INT_IMAGE_1D; + public static property INT_IMAGE_2D: AttributeType read _INT_IMAGE_2D; + public static property INT_IMAGE_3D: AttributeType read _INT_IMAGE_3D; + public static property INT_IMAGE_2D_RECT: AttributeType read _INT_IMAGE_2D_RECT; + public static property INT_IMAGE_CUBE: AttributeType read _INT_IMAGE_CUBE; + public static property INT_IMAGE_BUFFER: AttributeType read _INT_IMAGE_BUFFER; + public static property INT_IMAGE_1D_ARRAY: AttributeType read _INT_IMAGE_1D_ARRAY; + public static property INT_IMAGE_2D_ARRAY: AttributeType read _INT_IMAGE_2D_ARRAY; + public static property INT_IMAGE_CUBE_MAP_ARRAY: AttributeType read _INT_IMAGE_CUBE_MAP_ARRAY; + public static property INT_IMAGE_2D_MULTISAMPLE: AttributeType read _INT_IMAGE_2D_MULTISAMPLE; + public static property INT_IMAGE_2D_MULTISAMPLE_ARRAY: AttributeType read _INT_IMAGE_2D_MULTISAMPLE_ARRAY; + public static property UNSIGNED_INT_IMAGE_1D: AttributeType read _UNSIGNED_INT_IMAGE_1D; + public static property UNSIGNED_INT_IMAGE_2D: AttributeType read _UNSIGNED_INT_IMAGE_2D; + public static property UNSIGNED_INT_IMAGE_3D: AttributeType read _UNSIGNED_INT_IMAGE_3D; + public static property UNSIGNED_INT_IMAGE_2D_RECT: AttributeType read _UNSIGNED_INT_IMAGE_2D_RECT; + public static property UNSIGNED_INT_IMAGE_CUBE: AttributeType read _UNSIGNED_INT_IMAGE_CUBE; + public static property UNSIGNED_INT_IMAGE_BUFFER: AttributeType read _UNSIGNED_INT_IMAGE_BUFFER; + public static property UNSIGNED_INT_IMAGE_1D_ARRAY: AttributeType read _UNSIGNED_INT_IMAGE_1D_ARRAY; + public static property UNSIGNED_INT_IMAGE_2D_ARRAY: AttributeType read _UNSIGNED_INT_IMAGE_2D_ARRAY; + public static property UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY: AttributeType read _UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY; + public static property UNSIGNED_INT_IMAGE_2D_MULTISAMPLE: AttributeType read _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE; + public static property UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY: AttributeType read _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY; + public static property SAMPLER_2D_MULTISAMPLE: AttributeType read _SAMPLER_2D_MULTISAMPLE; + public static property INT_SAMPLER_2D_MULTISAMPLE: AttributeType read _INT_SAMPLER_2D_MULTISAMPLE; + public static property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: AttributeType read _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE; + public static property SAMPLER_2D_MULTISAMPLE_ARRAY: AttributeType read _SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property INT_SAMPLER_2D_MULTISAMPLE_ARRAY: AttributeType read _INT_SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: AttributeType read _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY; + + public function ToString: string; override; + begin + var res := typeof(AttributeType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'AttributeType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ShaderInfoType = record + BindTransformFeedbackTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property SHADER_TYPE: ShaderInfoType read new ShaderInfoType($8B4F); - public static property DELETE_STATUS: ShaderInfoType read new ShaderInfoType($8B80); - public static property COMPILE_STATUS: ShaderInfoType read new ShaderInfoType($8B81); - public static property INFO_LOG_LENGTH: ShaderInfoType read new ShaderInfoType($8B84); - public static property SHADER_SOURCE_LENGTH: ShaderInfoType read new ShaderInfoType($8B88); - public static property SPIR_V_BINARY: ShaderInfoType read new ShaderInfoType($9552); + private static _TRANSFORM_FEEDBACK := new BindTransformFeedbackTarget($8E22); + + public static property TRANSFORM_FEEDBACK: BindTransformFeedbackTarget read _TRANSFORM_FEEDBACK; + + public function ToString: string; override; + begin + var res := typeof(BindTransformFeedbackTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BindTransformFeedbackTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - SyncObjInfoType = record + BlendingFactor = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property OBJECT_TYPE: SyncObjInfoType read new SyncObjInfoType($9112); - public static property SYNC_CONDITION: SyncObjInfoType read new SyncObjInfoType($9113); - public static property SYNC_STATUS: SyncObjInfoType read new SyncObjInfoType($9114); - public static property SYNC_FLAGS: SyncObjInfoType read new SyncObjInfoType($9115); + private static _ZERO := new BlendingFactor($0000); + private static _ONE := new BlendingFactor($0001); + private static _SRC_COLOR := new BlendingFactor($0300); + private static _ONE_MINUS_SRC_COLOR := new BlendingFactor($0301); + private static _SRC_ALPHA := new BlendingFactor($0302); + private static _ONE_MINUS_SRC_ALPHA := new BlendingFactor($0303); + private static _DST_ALPHA := new BlendingFactor($0304); + private static _ONE_MINUS_DST_ALPHA := new BlendingFactor($0305); + private static _DST_COLOR := new BlendingFactor($0306); + private static _ONE_MINUS_DST_COLOR := new BlendingFactor($0307); + private static _SRC_ALPHA_SATURATE := new BlendingFactor($0308); + private static _CONSTANT_COLOR := new BlendingFactor($8001); + private static _ONE_MINUS_CONSTANT_COLOR := new BlendingFactor($8002); + private static _CONSTANT_ALPHA := new BlendingFactor($8003); + private static _ONE_MINUS_CONSTANT_ALPHA := new BlendingFactor($8004); + private static _SRC1_ALPHA := new BlendingFactor($8589); + private static _SRC1_COLOR := new BlendingFactor($88F9); + private static _ONE_MINUS_SRC1_COLOR := new BlendingFactor($88FA); + private static _ONE_MINUS_SRC1_ALPHA := new BlendingFactor($88FB); + + public static property ZERO: BlendingFactor read _ZERO; + public static property ONE: BlendingFactor read _ONE; + public static property SRC_COLOR: BlendingFactor read _SRC_COLOR; + public static property ONE_MINUS_SRC_COLOR: BlendingFactor read _ONE_MINUS_SRC_COLOR; + public static property SRC_ALPHA: BlendingFactor read _SRC_ALPHA; + public static property ONE_MINUS_SRC_ALPHA: BlendingFactor read _ONE_MINUS_SRC_ALPHA; + public static property DST_ALPHA: BlendingFactor read _DST_ALPHA; + public static property ONE_MINUS_DST_ALPHA: BlendingFactor read _ONE_MINUS_DST_ALPHA; + public static property DST_COLOR: BlendingFactor read _DST_COLOR; + public static property ONE_MINUS_DST_COLOR: BlendingFactor read _ONE_MINUS_DST_COLOR; + public static property SRC_ALPHA_SATURATE: BlendingFactor read _SRC_ALPHA_SATURATE; + public static property CONSTANT_COLOR: BlendingFactor read _CONSTANT_COLOR; + public static property ONE_MINUS_CONSTANT_COLOR: BlendingFactor read _ONE_MINUS_CONSTANT_COLOR; + public static property CONSTANT_ALPHA: BlendingFactor read _CONSTANT_ALPHA; + public static property ONE_MINUS_CONSTANT_ALPHA: BlendingFactor read _ONE_MINUS_CONSTANT_ALPHA; + public static property SRC1_ALPHA: BlendingFactor read _SRC1_ALPHA; + public static property SRC1_COLOR: BlendingFactor read _SRC1_COLOR; + public static property ONE_MINUS_SRC1_COLOR: BlendingFactor read _ONE_MINUS_SRC1_COLOR; + public static property ONE_MINUS_SRC1_ALPHA: BlendingFactor read _ONE_MINUS_SRC1_ALPHA; + + public function ToString: string; override; + begin + var res := typeof(BlendingFactor).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BlendingFactor[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - QueryTargetType = record + BlitFramebufferFilter = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property SAMPLES_PASSED: QueryTargetType read new QueryTargetType($8914); - public static property ANY_SAMPLES_PASSED: QueryTargetType read new QueryTargetType($8C2F); - public static property ANY_SAMPLES_PASSED_CONSERVATIVE: QueryTargetType read new QueryTargetType($8D6A); - public static property PRIMITIVES_GENERATED: QueryTargetType read new QueryTargetType($8C87); - public static property TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: QueryTargetType read new QueryTargetType($8C88); - public static property TIME_ELAPSED: QueryTargetType read new QueryTargetType($88BF); - public static property TIMESTAMP: QueryTargetType read new QueryTargetType($8E28); + private static _NEAREST := new BlitFramebufferFilter($2600); + private static _LINEAR := new BlitFramebufferFilter($2601); + + public static property NEAREST: BlitFramebufferFilter read _NEAREST; + public static property LINEAR: BlitFramebufferFilter read _LINEAR; + + public function ToString: string; override; + begin + var res := typeof(BlitFramebufferFilter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BlitFramebufferFilter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - GetQueryInfoName = record + Buffer = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property QUERY_COUNTER_BITS: GetQueryInfoName read new GetQueryInfoName($8864); - public static property CURRENT_QUERY: GetQueryInfoName read new GetQueryInfoName($8865); + private static _COLOR := new Buffer($1800); + private static _DEPTH := new Buffer($1801); + private static _STENCIL := new Buffer($1802); + + public static property COLOR: Buffer read _COLOR; + public static property DEPTH: Buffer read _DEPTH; + public static property STENCIL: Buffer read _STENCIL; + + public function ToString: string; override; + begin + var res := typeof(Buffer).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'Buffer[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - GetQueryObjectInfoName = record + BufferStorageMask = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property RESULT: GetQueryObjectInfoName read new GetQueryObjectInfoName($8866); - public static property RESULT_AVAILABLE: GetQueryObjectInfoName read new GetQueryObjectInfoName($8867); + private static _MAP_READ_BIT := new BufferStorageMask($0001); + private static _MAP_READ_BIT_EXT := new BufferStorageMask($0001); + private static _MAP_WRITE_BIT := new BufferStorageMask($0002); + private static _MAP_WRITE_BIT_EXT := new BufferStorageMask($0002); + private static _MAP_PERSISTENT_BIT := new BufferStorageMask($0040); + private static _MAP_PERSISTENT_BIT_EXT := new BufferStorageMask($0040); + private static _MAP_COHERENT_BIT := new BufferStorageMask($0080); + private static _MAP_COHERENT_BIT_EXT := new BufferStorageMask($0080); + private static _DYNAMIC_STORAGE_BIT := new BufferStorageMask($0100); + private static _DYNAMIC_STORAGE_BIT_EXT := new BufferStorageMask($0100); + private static _CLIENT_STORAGE_BIT := new BufferStorageMask($0200); + private static _CLIENT_STORAGE_BIT_EXT := new BufferStorageMask($0200); + private static _SPARSE_STORAGE_BIT_ARB := new BufferStorageMask($0400); + private static _LGPU_SEPARATE_STORAGE_BIT_NVX := new BufferStorageMask($0800); + private static _PER_GPU_STORAGE_BIT_NV := new BufferStorageMask($0800); + private static _EXTERNAL_STORAGE_BIT_NVX := new BufferStorageMask($2000); + + public static property MAP_READ_BIT: BufferStorageMask read _MAP_READ_BIT; + public static property MAP_READ_BIT_EXT: BufferStorageMask read _MAP_READ_BIT_EXT; + public static property MAP_WRITE_BIT: BufferStorageMask read _MAP_WRITE_BIT; + public static property MAP_WRITE_BIT_EXT: BufferStorageMask read _MAP_WRITE_BIT_EXT; + public static property MAP_PERSISTENT_BIT: BufferStorageMask read _MAP_PERSISTENT_BIT; + public static property MAP_PERSISTENT_BIT_EXT: BufferStorageMask read _MAP_PERSISTENT_BIT_EXT; + public static property MAP_COHERENT_BIT: BufferStorageMask read _MAP_COHERENT_BIT; + public static property MAP_COHERENT_BIT_EXT: BufferStorageMask read _MAP_COHERENT_BIT_EXT; + public static property DYNAMIC_STORAGE_BIT: BufferStorageMask read _DYNAMIC_STORAGE_BIT; + public static property DYNAMIC_STORAGE_BIT_EXT: BufferStorageMask read _DYNAMIC_STORAGE_BIT_EXT; + public static property CLIENT_STORAGE_BIT: BufferStorageMask read _CLIENT_STORAGE_BIT; + public static property CLIENT_STORAGE_BIT_EXT: BufferStorageMask read _CLIENT_STORAGE_BIT_EXT; + public static property SPARSE_STORAGE_BIT_ARB: BufferStorageMask read _SPARSE_STORAGE_BIT_ARB; + public static property LGPU_SEPARATE_STORAGE_BIT_NVX: BufferStorageMask read _LGPU_SEPARATE_STORAGE_BIT_NVX; + public static property PER_GPU_STORAGE_BIT_NV: BufferStorageMask read _PER_GPU_STORAGE_BIT_NV; + public static property EXTERNAL_STORAGE_BIT_NVX: BufferStorageMask read _EXTERNAL_STORAGE_BIT_NVX; + + public static function operator or(f1,f2: BufferStorageMask) := new BufferStorageMask(f1.val or f2.val); + + public property HAS_FLAG_MAP_READ_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_MAP_READ_BIT_EXT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_MAP_WRITE_BIT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_MAP_WRITE_BIT_EXT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_MAP_PERSISTENT_BIT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_MAP_PERSISTENT_BIT_EXT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_MAP_COHERENT_BIT: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_MAP_COHERENT_BIT_EXT: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_DYNAMIC_STORAGE_BIT: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_DYNAMIC_STORAGE_BIT_EXT: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_CLIENT_STORAGE_BIT: boolean read self.val and $0200 <> 0; + public property HAS_FLAG_CLIENT_STORAGE_BIT_EXT: boolean read self.val and $0200 <> 0; + public property HAS_FLAG_SPARSE_STORAGE_BIT_ARB: boolean read self.val and $0400 <> 0; + public property HAS_FLAG_LGPU_SEPARATE_STORAGE_BIT_NVX: boolean read self.val and $0800 <> 0; + public property HAS_FLAG_PER_GPU_STORAGE_BIT_NV: boolean read self.val and $0800 <> 0; + public property HAS_FLAG_EXTERNAL_STORAGE_BIT_NVX: boolean read self.val and $2000 <> 0; + + public function ToString: string; override; + begin + var res := typeof(BufferStorageMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'BufferStorageMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; end; - //S - BufferInfoType = record + BufferStorageTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property SIZE: BufferInfoType read new BufferInfoType($8764); - public static property USAGE: BufferInfoType read new BufferInfoType($8765); - public static property ACCESS: BufferInfoType read new BufferInfoType($88BB); - public static property ACCESS_FLAGS: BufferInfoType read new BufferInfoType($911F); - public static property IMMUTABLE_STORAGE: BufferInfoType read new BufferInfoType($821F); - public static property MAPPED: BufferInfoType read new BufferInfoType($88BC); - public static property MAP_LENGTH: BufferInfoType read new BufferInfoType($9120); - public static property MAP_OFFSET: BufferInfoType read new BufferInfoType($9121); - public static property STORAGE_FLAGS: BufferInfoType read new BufferInfoType($8220); - public static property MAP_POINTER: BufferInfoType read new BufferInfoType($88BD); + private static _ARRAY_BUFFER := new BufferStorageTarget($8892); + private static _ELEMENT_ARRAY_BUFFER := new BufferStorageTarget($8893); + private static _PIXEL_PACK_BUFFER := new BufferStorageTarget($88EB); + private static _PIXEL_UNPACK_BUFFER := new BufferStorageTarget($88EC); + private static _UNIFORM_BUFFER := new BufferStorageTarget($8A11); + private static _TEXTURE_BUFFER := new BufferStorageTarget($8C2A); + private static _TRANSFORM_FEEDBACK_BUFFER := new BufferStorageTarget($8C8E); + private static _COPY_READ_BUFFER := new BufferStorageTarget($8F36); + private static _COPY_WRITE_BUFFER := new BufferStorageTarget($8F37); + private static _DRAW_INDIRECT_BUFFER := new BufferStorageTarget($8F3F); + private static _SHADER_STORAGE_BUFFER := new BufferStorageTarget($90D2); + private static _DISPATCH_INDIRECT_BUFFER := new BufferStorageTarget($90EE); + private static _QUERY_BUFFER := new BufferStorageTarget($9192); + private static _ATOMIC_COUNTER_BUFFER := new BufferStorageTarget($92C0); + + public static property ARRAY_BUFFER: BufferStorageTarget read _ARRAY_BUFFER; + public static property ELEMENT_ARRAY_BUFFER: BufferStorageTarget read _ELEMENT_ARRAY_BUFFER; + public static property PIXEL_PACK_BUFFER: BufferStorageTarget read _PIXEL_PACK_BUFFER; + public static property PIXEL_UNPACK_BUFFER: BufferStorageTarget read _PIXEL_UNPACK_BUFFER; + public static property UNIFORM_BUFFER: BufferStorageTarget read _UNIFORM_BUFFER; + public static property TEXTURE_BUFFER: BufferStorageTarget read _TEXTURE_BUFFER; + public static property TRANSFORM_FEEDBACK_BUFFER: BufferStorageTarget read _TRANSFORM_FEEDBACK_BUFFER; + public static property COPY_READ_BUFFER: BufferStorageTarget read _COPY_READ_BUFFER; + public static property COPY_WRITE_BUFFER: BufferStorageTarget read _COPY_WRITE_BUFFER; + public static property DRAW_INDIRECT_BUFFER: BufferStorageTarget read _DRAW_INDIRECT_BUFFER; + public static property SHADER_STORAGE_BUFFER: BufferStorageTarget read _SHADER_STORAGE_BUFFER; + public static property DISPATCH_INDIRECT_BUFFER: BufferStorageTarget read _DISPATCH_INDIRECT_BUFFER; + public static property QUERY_BUFFER: BufferStorageTarget read _QUERY_BUFFER; + public static property ATOMIC_COUNTER_BUFFER: BufferStorageTarget read _ATOMIC_COUNTER_BUFFER; + + public function ToString: string; override; + begin + var res := typeof(BufferStorageTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BufferStorageTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - {$endregion ...InfoType} - - //S - CompatibilityViewClassType = record + ClearBufferMask = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property C_128_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82C4); - public static property C_96_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82C5); - public static property C_64_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82C6); - public static property C_48_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82C7); - public static property C_32_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82C8); - public static property C_24_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82C9); - public static property C_16_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82CA); - public static property C_8_BITS: CompatibilityViewClassType read new CompatibilityViewClassType($82CB); - public static property C_S3TC_DXT1_RGB: CompatibilityViewClassType read new CompatibilityViewClassType($82CC); - public static property C_S3TC_DXT1_RGBA: CompatibilityViewClassType read new CompatibilityViewClassType($82CD); - public static property C_S3TC_DXT3_RGBA: CompatibilityViewClassType read new CompatibilityViewClassType($82CE); - public static property C_S3TC_DXT5_RGBA: CompatibilityViewClassType read new CompatibilityViewClassType($82CF); - public static property C_RGTC1_RED: CompatibilityViewClassType read new CompatibilityViewClassType($82D0); - public static property C_RGTC2_RG: CompatibilityViewClassType read new CompatibilityViewClassType($82D1); - public static property C_BPTC_UNORM: CompatibilityViewClassType read new CompatibilityViewClassType($82D2); - public static property C_BPTC_FLOAT: CompatibilityViewClassType read new CompatibilityViewClassType($82D3); + private static _DEPTH_BUFFER_BIT := new ClearBufferMask($0100); + private static _ACCUM_BUFFER_BIT := new ClearBufferMask($0200); + private static _STENCIL_BUFFER_BIT := new ClearBufferMask($0400); + private static _COLOR_BUFFER_BIT := new ClearBufferMask($4000); + private static _COVERAGE_BUFFER_BIT_NV := new ClearBufferMask($8000); + + public static property DEPTH_BUFFER_BIT: ClearBufferMask read _DEPTH_BUFFER_BIT; + public static property ACCUM_BUFFER_BIT: ClearBufferMask read _ACCUM_BUFFER_BIT; + public static property STENCIL_BUFFER_BIT: ClearBufferMask read _STENCIL_BUFFER_BIT; + public static property COLOR_BUFFER_BIT: ClearBufferMask read _COLOR_BUFFER_BIT; + public static property COVERAGE_BUFFER_BIT_NV: ClearBufferMask read _COVERAGE_BUFFER_BIT_NV; + + public static function operator or(f1,f2: ClearBufferMask) := new ClearBufferMask(f1.val or f2.val); + + public property HAS_FLAG_DEPTH_BUFFER_BIT: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_ACCUM_BUFFER_BIT: boolean read self.val and $0200 <> 0; + public property HAS_FLAG_STENCIL_BUFFER_BIT: boolean read self.val and $0400 <> 0; + public property HAS_FLAG_COLOR_BUFFER_BIT: boolean read self.val and $4000 <> 0; + public property HAS_FLAG_COVERAGE_BUFFER_BIT_NV: boolean read self.val and $8000 <> 0; + + public function ToString: string; override; + begin + var res := typeof(ClearBufferMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'ClearBufferMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; end; - //S - CompatibilityImageClassType = record + ClientAttribMask = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property C_4_X_32: CompatibilityImageClassType read new CompatibilityImageClassType($82B9); - public static property C_2_X_32: CompatibilityImageClassType read new CompatibilityImageClassType($82BA); - public static property C_1_X_32: CompatibilityImageClassType read new CompatibilityImageClassType($82BB); - public static property C_4_X_16: CompatibilityImageClassType read new CompatibilityImageClassType($82BC); - public static property C_2_X_16: CompatibilityImageClassType read new CompatibilityImageClassType($82BD); - public static property C_1_X_16: CompatibilityImageClassType read new CompatibilityImageClassType($82BE); - public static property C_4_X_8: CompatibilityImageClassType read new CompatibilityImageClassType($82BF); - public static property C_2_X_8: CompatibilityImageClassType read new CompatibilityImageClassType($82C0); - public static property C_1_X_8: CompatibilityImageClassType read new CompatibilityImageClassType($82C1); - public static property C_11_11_10: CompatibilityImageClassType read new CompatibilityImageClassType($82C2); - public static property C_10_10_10_2: CompatibilityImageClassType read new CompatibilityImageClassType($82C3); + private static _CLIENT_PIXEL_STORE_BIT := new ClientAttribMask($0001); + private static _CLIENT_VERTEX_ARRAY_BIT := new ClientAttribMask($0002); + private static _CLIENT_ALL_ATTRIB_BITS := new ClientAttribMask($FFFFFFFF); + + public static property CLIENT_PIXEL_STORE_BIT: ClientAttribMask read _CLIENT_PIXEL_STORE_BIT; + public static property CLIENT_VERTEX_ARRAY_BIT: ClientAttribMask read _CLIENT_VERTEX_ARRAY_BIT; + public static property CLIENT_ALL_ATTRIB_BITS: ClientAttribMask read _CLIENT_ALL_ATTRIB_BITS; + + public static function operator or(f1,f2: ClientAttribMask) := new ClientAttribMask(f1.val or f2.val); + + public property HAS_FLAG_CLIENT_PIXEL_STORE_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_CLIENT_VERTEX_ARRAY_BIT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_CLIENT_ALL_ATTRIB_BITS: boolean read self.val and $FFFFFFFF <> 0; + + public function ToString: string; override; + begin + var res := typeof(ClientAttribMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'ClientAttribMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; end; - //S - ImageFormatCompatibilityMode = record + ClipControlDepth = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property COMPATIBILITY1_BY_SIZE: ImageFormatCompatibilityMode read new ImageFormatCompatibilityMode($90C8); - public static property COMPATIBILITY2_BY_CLASS: ImageFormatCompatibilityMode read new ImageFormatCompatibilityMode($90C9); - public static property NONE: ImageFormatCompatibilityMode read new ImageFormatCompatibilityMode($90C9); + private static _NEGATIVE_ONE_TO_ONE := new ClipControlDepth($935E); + private static _ZERO_TO_ONE := new ClipControlDepth($935F); + + public static property NEGATIVE_ONE_TO_ONE: ClipControlDepth read _NEGATIVE_ONE_TO_ONE; + public static property ZERO_TO_ONE: ClipControlDepth read _ZERO_TO_ONE; + + public function ToString: string; override; + begin + var res := typeof(ClipControlDepth).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ClipControlDepth[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - SupportLevel = record + ClipControlOrigin = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property NONE: SupportLevel read new SupportLevel(0); - public static property FULL_SUPPORT: SupportLevel read new SupportLevel($82B7); - public static property CAVEAT_SUPPORT: SupportLevel read new SupportLevel($82B8); + private static _LOWER_LEFT := new ClipControlOrigin($8CA1); + private static _UPPER_LEFT := new ClipControlOrigin($8CA2); + + public static property LOWER_LEFT: ClipControlOrigin read _LOWER_LEFT; + public static property UPPER_LEFT: ClipControlOrigin read _UPPER_LEFT; + + public function ToString: string; override; + begin + var res := typeof(ClipControlOrigin).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ClipControlOrigin[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - GDI_LayerType = record - public val: Byte; - public constructor(val: Byte) := self.val := val; - - public static property MAIN_PLANE: GDI_LayerType read new GDI_LayerType(0); - public static property OVERLAY_PLANE: GDI_LayerType read new GDI_LayerType(1); - public static property UNDERLAY_PLANE: GDI_LayerType read new GDI_LayerType(-1); - - end; - - //S - GDI_PixelDataType = record - public val: Byte; - public constructor(val: Byte) := self.val := val; - - public static property RGBA: GDI_PixelDataType read new GDI_PixelDataType(0); - public static property COLORINDEX: GDI_PixelDataType read new GDI_PixelDataType(1); - - end; - - //S - CopyableImageBuffer = record + ClipPlaneName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property COLOR: CopyableImageBuffer read new CopyableImageBuffer($1800); - public static property DEPTH: CopyableImageBuffer read new CopyableImageBuffer($1801); - public static property STENCIL: CopyableImageBuffer read new CopyableImageBuffer($1802); + private static _CLIP_DISTANCE0 := new ClipPlaneName($3000); + private static _CLIP_PLANE0 := new ClipPlaneName($3000); + private static _CLIP_DISTANCE1 := new ClipPlaneName($3001); + private static _CLIP_PLANE1 := new ClipPlaneName($3001); + private static _CLIP_DISTANCE2 := new ClipPlaneName($3002); + private static _CLIP_PLANE2 := new ClipPlaneName($3002); + private static _CLIP_DISTANCE3 := new ClipPlaneName($3003); + private static _CLIP_PLANE3 := new ClipPlaneName($3003); + private static _CLIP_DISTANCE4 := new ClipPlaneName($3004); + private static _CLIP_PLANE4 := new ClipPlaneName($3004); + private static _CLIP_DISTANCE5 := new ClipPlaneName($3005); + private static _CLIP_PLANE5 := new ClipPlaneName($3005); + private static _CLIP_DISTANCE6 := new ClipPlaneName($3006); + private static _CLIP_DISTANCE7 := new ClipPlaneName($3007); + + public static property CLIP_DISTANCE0: ClipPlaneName read _CLIP_DISTANCE0; + public static property CLIP_PLANE0: ClipPlaneName read _CLIP_PLANE0; + public static property CLIP_DISTANCE1: ClipPlaneName read _CLIP_DISTANCE1; + public static property CLIP_PLANE1: ClipPlaneName read _CLIP_PLANE1; + public static property CLIP_DISTANCE2: ClipPlaneName read _CLIP_DISTANCE2; + public static property CLIP_PLANE2: ClipPlaneName read _CLIP_PLANE2; + public static property CLIP_DISTANCE3: ClipPlaneName read _CLIP_DISTANCE3; + public static property CLIP_PLANE3: ClipPlaneName read _CLIP_PLANE3; + public static property CLIP_DISTANCE4: ClipPlaneName read _CLIP_DISTANCE4; + public static property CLIP_PLANE4: ClipPlaneName read _CLIP_PLANE4; + public static property CLIP_DISTANCE5: ClipPlaneName read _CLIP_DISTANCE5; + public static property CLIP_PLANE5: ClipPlaneName read _CLIP_PLANE5; + public static property CLIP_DISTANCE6: ClipPlaneName read _CLIP_DISTANCE6; + public static property CLIP_DISTANCE7: ClipPlaneName read _CLIP_DISTANCE7; + + public function ToString: string; override; + begin + var res := typeof(ClipPlaneName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ClipPlaneName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - VertexProvokingMode = record + ColorBuffer = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property FIRST_VERTEX_CONVENTION: VertexProvokingMode read new VertexProvokingMode($8E4D); - public static property LAST_VERTEX_CONVENTION: VertexProvokingMode read new VertexProvokingMode($8E4E); + private static _NONE := new ColorBuffer($0000); + private static _FRONT_LEFT := new ColorBuffer($0400); + private static _FRONT_RIGHT := new ColorBuffer($0401); + private static _BACK_LEFT := new ColorBuffer($0402); + private static _BACK_RIGHT := new ColorBuffer($0403); + private static _FRONT := new ColorBuffer($0404); + private static _BACK := new ColorBuffer($0405); + private static _LEFT := new ColorBuffer($0406); + private static _RIGHT := new ColorBuffer($0407); + private static _FRONT_AND_BACK := new ColorBuffer($0408); + private static _COLOR_ATTACHMENT0 := new ColorBuffer($8CE0); + private static _COLOR_ATTACHMENT1 := new ColorBuffer($8CE1); + private static _COLOR_ATTACHMENT2 := new ColorBuffer($8CE2); + private static _COLOR_ATTACHMENT3 := new ColorBuffer($8CE3); + private static _COLOR_ATTACHMENT4 := new ColorBuffer($8CE4); + private static _COLOR_ATTACHMENT5 := new ColorBuffer($8CE5); + private static _COLOR_ATTACHMENT6 := new ColorBuffer($8CE6); + private static _COLOR_ATTACHMENT7 := new ColorBuffer($8CE7); + private static _COLOR_ATTACHMENT8 := new ColorBuffer($8CE8); + private static _COLOR_ATTACHMENT9 := new ColorBuffer($8CE9); + private static _COLOR_ATTACHMENT10 := new ColorBuffer($8CEA); + private static _COLOR_ATTACHMENT11 := new ColorBuffer($8CEB); + private static _COLOR_ATTACHMENT12 := new ColorBuffer($8CEC); + private static _COLOR_ATTACHMENT13 := new ColorBuffer($8CED); + private static _COLOR_ATTACHMENT14 := new ColorBuffer($8CEE); + private static _COLOR_ATTACHMENT15 := new ColorBuffer($8CEF); + private static _COLOR_ATTACHMENT16 := new ColorBuffer($8CF0); + private static _COLOR_ATTACHMENT17 := new ColorBuffer($8CF1); + private static _COLOR_ATTACHMENT18 := new ColorBuffer($8CF2); + private static _COLOR_ATTACHMENT19 := new ColorBuffer($8CF3); + private static _COLOR_ATTACHMENT20 := new ColorBuffer($8CF4); + private static _COLOR_ATTACHMENT21 := new ColorBuffer($8CF5); + private static _COLOR_ATTACHMENT22 := new ColorBuffer($8CF6); + private static _COLOR_ATTACHMENT23 := new ColorBuffer($8CF7); + private static _COLOR_ATTACHMENT24 := new ColorBuffer($8CF8); + private static _COLOR_ATTACHMENT25 := new ColorBuffer($8CF9); + private static _COLOR_ATTACHMENT26 := new ColorBuffer($8CFA); + private static _COLOR_ATTACHMENT27 := new ColorBuffer($8CFB); + private static _COLOR_ATTACHMENT28 := new ColorBuffer($8CFC); + private static _COLOR_ATTACHMENT29 := new ColorBuffer($8CFD); + private static _COLOR_ATTACHMENT30 := new ColorBuffer($8CFE); + private static _COLOR_ATTACHMENT31 := new ColorBuffer($8CFF); + + public static property NONE: ColorBuffer read _NONE; + public static property FRONT_LEFT: ColorBuffer read _FRONT_LEFT; + public static property FRONT_RIGHT: ColorBuffer read _FRONT_RIGHT; + public static property BACK_LEFT: ColorBuffer read _BACK_LEFT; + public static property BACK_RIGHT: ColorBuffer read _BACK_RIGHT; + public static property FRONT: ColorBuffer read _FRONT; + public static property BACK: ColorBuffer read _BACK; + public static property LEFT: ColorBuffer read _LEFT; + public static property RIGHT: ColorBuffer read _RIGHT; + public static property FRONT_AND_BACK: ColorBuffer read _FRONT_AND_BACK; + public static property COLOR_ATTACHMENT0: ColorBuffer read _COLOR_ATTACHMENT0; + public static property COLOR_ATTACHMENT1: ColorBuffer read _COLOR_ATTACHMENT1; + public static property COLOR_ATTACHMENT2: ColorBuffer read _COLOR_ATTACHMENT2; + public static property COLOR_ATTACHMENT3: ColorBuffer read _COLOR_ATTACHMENT3; + public static property COLOR_ATTACHMENT4: ColorBuffer read _COLOR_ATTACHMENT4; + public static property COLOR_ATTACHMENT5: ColorBuffer read _COLOR_ATTACHMENT5; + public static property COLOR_ATTACHMENT6: ColorBuffer read _COLOR_ATTACHMENT6; + public static property COLOR_ATTACHMENT7: ColorBuffer read _COLOR_ATTACHMENT7; + public static property COLOR_ATTACHMENT8: ColorBuffer read _COLOR_ATTACHMENT8; + public static property COLOR_ATTACHMENT9: ColorBuffer read _COLOR_ATTACHMENT9; + public static property COLOR_ATTACHMENT10: ColorBuffer read _COLOR_ATTACHMENT10; + public static property COLOR_ATTACHMENT11: ColorBuffer read _COLOR_ATTACHMENT11; + public static property COLOR_ATTACHMENT12: ColorBuffer read _COLOR_ATTACHMENT12; + public static property COLOR_ATTACHMENT13: ColorBuffer read _COLOR_ATTACHMENT13; + public static property COLOR_ATTACHMENT14: ColorBuffer read _COLOR_ATTACHMENT14; + public static property COLOR_ATTACHMENT15: ColorBuffer read _COLOR_ATTACHMENT15; + public static property COLOR_ATTACHMENT16: ColorBuffer read _COLOR_ATTACHMENT16; + public static property COLOR_ATTACHMENT17: ColorBuffer read _COLOR_ATTACHMENT17; + public static property COLOR_ATTACHMENT18: ColorBuffer read _COLOR_ATTACHMENT18; + public static property COLOR_ATTACHMENT19: ColorBuffer read _COLOR_ATTACHMENT19; + public static property COLOR_ATTACHMENT20: ColorBuffer read _COLOR_ATTACHMENT20; + public static property COLOR_ATTACHMENT21: ColorBuffer read _COLOR_ATTACHMENT21; + public static property COLOR_ATTACHMENT22: ColorBuffer read _COLOR_ATTACHMENT22; + public static property COLOR_ATTACHMENT23: ColorBuffer read _COLOR_ATTACHMENT23; + public static property COLOR_ATTACHMENT24: ColorBuffer read _COLOR_ATTACHMENT24; + public static property COLOR_ATTACHMENT25: ColorBuffer read _COLOR_ATTACHMENT25; + public static property COLOR_ATTACHMENT26: ColorBuffer read _COLOR_ATTACHMENT26; + public static property COLOR_ATTACHMENT27: ColorBuffer read _COLOR_ATTACHMENT27; + public static property COLOR_ATTACHMENT28: ColorBuffer read _COLOR_ATTACHMENT28; + public static property COLOR_ATTACHMENT29: ColorBuffer read _COLOR_ATTACHMENT29; + public static property COLOR_ATTACHMENT30: ColorBuffer read _COLOR_ATTACHMENT30; + public static property COLOR_ATTACHMENT31: ColorBuffer read _COLOR_ATTACHMENT31; + + public function ToString: string; override; + begin + var res := typeof(ColorBuffer).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ColorBuffer[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - SwizzleMode = record + ColorMaterialParameter = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property RED: SwizzleMode read new SwizzleMode($1903); - public static property GREEN: SwizzleMode read new SwizzleMode($1904); - public static property BLUE: SwizzleMode read new SwizzleMode($1905); - public static property ALPHA: SwizzleMode read new SwizzleMode($1906); - public static property ZERO: SwizzleMode read new SwizzleMode(0); - public static property ONE: SwizzleMode read new SwizzleMode(1); + private static _AMBIENT := new ColorMaterialParameter($1200); + private static _DIFFUSE := new ColorMaterialParameter($1201); + private static _SPECULAR := new ColorMaterialParameter($1202); + private static _EMISSION := new ColorMaterialParameter($1600); + private static _AMBIENT_AND_DIFFUSE := new ColorMaterialParameter($1602); + + public static property AMBIENT: ColorMaterialParameter read _AMBIENT; + public static property DIFFUSE: ColorMaterialParameter read _DIFFUSE; + public static property SPECULAR: ColorMaterialParameter read _SPECULAR; + public static property EMISSION: ColorMaterialParameter read _EMISSION; + public static property AMBIENT_AND_DIFFUSE: ColorMaterialParameter read _AMBIENT_AND_DIFFUSE; + + public function ToString: string; override; + begin + var res := typeof(ColorMaterialParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ColorMaterialParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - DepthStencilMode = record + ColorPointerType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property DEPTH_COMPONENT: DepthStencilMode read new DepthStencilMode($1902); - public static property STENCIL_INDEX: DepthStencilMode read new DepthStencilMode($1901); + private static _BYTE := new ColorPointerType($1400); + private static _UNSIGNED_BYTE := new ColorPointerType($1401); + private static _UNSIGNED_SHORT := new ColorPointerType($1403); + private static _UNSIGNED_INT := new ColorPointerType($1405); + + public static property BYTE: ColorPointerType read _BYTE; + public static property UNSIGNED_BYTE: ColorPointerType read _UNSIGNED_BYTE; + public static property UNSIGNED_SHORT: ColorPointerType read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: ColorPointerType read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(ColorPointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ColorPointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PixelWrapMode = record + ColorTableTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property CLAMP_TO_EDGE: PixelWrapMode read new PixelWrapMode($812F); - public static property &REPEAT: PixelWrapMode read new PixelWrapMode($2901); - public static property CLAMP_TO_BORDER: PixelWrapMode read new PixelWrapMode($812D); - public static property MIRRORED_REPEAT: PixelWrapMode read new PixelWrapMode($8370); - public static property MIRROR_CLAMP_TO_EDGE: PixelWrapMode read new PixelWrapMode($8743); + private static _COLOR_TABLE := new ColorTableTarget($80D0); + private static _POST_CONVOLUTION_COLOR_TABLE := new ColorTableTarget($80D1); + private static _POST_COLOR_MATRIX_COLOR_TABLE := new ColorTableTarget($80D2); + + public static property COLOR_TABLE: ColorTableTarget read _COLOR_TABLE; + public static property POST_CONVOLUTION_COLOR_TABLE: ColorTableTarget read _POST_CONVOLUTION_COLOR_TABLE; + public static property POST_COLOR_MATRIX_COLOR_TABLE: ColorTableTarget read _POST_COLOR_MATRIX_COLOR_TABLE; + + public function ToString: string; override; + begin + var res := typeof(ColorTableTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ColorTableTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TextureCompareMode = record + ConditionalRenderMode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property NONE: TextureCompareMode read new TextureCompareMode(0); - public static property COMPARE_REF_TO_TEXTURE: TextureCompareMode read new TextureCompareMode($884E); + private static _QUERY_WAIT := new ConditionalRenderMode($8E13); + private static _QUERY_NO_WAIT := new ConditionalRenderMode($8E14); + private static _QUERY_BY_REGION_WAIT := new ConditionalRenderMode($8E15); + private static _QUERY_BY_REGION_NO_WAIT := new ConditionalRenderMode($8E16); + private static _QUERY_WAIT_INVERTED := new ConditionalRenderMode($8E17); + private static _QUERY_NO_WAIT_INVERTED := new ConditionalRenderMode($8E18); + private static _QUERY_BY_REGION_WAIT_INVERTED := new ConditionalRenderMode($8E19); + private static _QUERY_BY_REGION_NO_WAIT_INVERTED := new ConditionalRenderMode($8E1A); + + public static property QUERY_WAIT: ConditionalRenderMode read _QUERY_WAIT; + public static property QUERY_NO_WAIT: ConditionalRenderMode read _QUERY_NO_WAIT; + public static property QUERY_BY_REGION_WAIT: ConditionalRenderMode read _QUERY_BY_REGION_WAIT; + public static property QUERY_BY_REGION_NO_WAIT: ConditionalRenderMode read _QUERY_BY_REGION_NO_WAIT; + public static property QUERY_WAIT_INVERTED: ConditionalRenderMode read _QUERY_WAIT_INVERTED; + public static property QUERY_NO_WAIT_INVERTED: ConditionalRenderMode read _QUERY_NO_WAIT_INVERTED; + public static property QUERY_BY_REGION_WAIT_INVERTED: ConditionalRenderMode read _QUERY_BY_REGION_WAIT_INVERTED; + public static property QUERY_BY_REGION_NO_WAIT_INVERTED: ConditionalRenderMode read _QUERY_BY_REGION_NO_WAIT_INVERTED; + + public function ToString: string; override; + begin + var res := typeof(ConditionalRenderMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ConditionalRenderMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ReservedTimeoutMode = record - public val: uint64; - public constructor(val: uint64) := self.val := val; - - public static property GL_TIMEOUT_IGNORED: ReservedTimeoutMode read new ReservedTimeoutMode(uint64.MaxValue); - - end; - - //S - InternalFormatInfoType = record + ConvolutionTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property INTERNALFORMAT_SUPPORTED: InternalFormatInfoType read new InternalFormatInfoType($826F); - public static property INTERNALFORMAT_PREFERRED: InternalFormatInfoType read new InternalFormatInfoType($8270); - public static property INTERNALFORMAT_RED_SIZE: InternalFormatInfoType read new InternalFormatInfoType($8271); - public static property INTERNALFORMAT_RED_TYPE: InternalFormatInfoType read new InternalFormatInfoType($8278); - public static property MAX_WIDTH: InternalFormatInfoType read new InternalFormatInfoType($827E); - public static property MAX_HEIGHT: InternalFormatInfoType read new InternalFormatInfoType($827F); - public static property MAX_DEPTH: InternalFormatInfoType read new InternalFormatInfoType($8280); - public static property MAX_LAYERS: InternalFormatInfoType read new InternalFormatInfoType($8281); - public static property COLOR_COMPONENTS: InternalFormatInfoType read new InternalFormatInfoType($8283); - public static property COLOR_RENDERABLE: InternalFormatInfoType read new InternalFormatInfoType($8286); - public static property DEPTH_RENDERABLE: InternalFormatInfoType read new InternalFormatInfoType($8287); - public static property STENCIL_RENDERABLE: InternalFormatInfoType read new InternalFormatInfoType($8288); - public static property FRAMEBUFFER_RENDERABLE: InternalFormatInfoType read new InternalFormatInfoType($8289); - public static property FRAMEBUFFER_RENDERABLE_LAYERED: InternalFormatInfoType read new InternalFormatInfoType($828A); - public static property FRAMEBUFFER_BLEND: InternalFormatInfoType read new InternalFormatInfoType($828B); - public static property READ_PIXELS: InternalFormatInfoType read new InternalFormatInfoType($828C); - public static property READ_PIXELS_FORMAT: InternalFormatInfoType read new InternalFormatInfoType($828D); - public static property READ_PIXELS_TYPE: InternalFormatInfoType read new InternalFormatInfoType($828E); - public static property GET_TEXTURE_IMAGE_FORMAT: InternalFormatInfoType read new InternalFormatInfoType($8291); - public static property GET_TEXTURE_IMAGE_TYPE: InternalFormatInfoType read new InternalFormatInfoType($8292); - public static property TEXTURE_IMAGE_FORMAT: InternalFormatInfoType read new InternalFormatInfoType($828F); - public static property TEXTURE_IMAGE_TYPE: InternalFormatInfoType read new InternalFormatInfoType($8290); - public static property MIPMAP: InternalFormatInfoType read new InternalFormatInfoType($8293); - public static property GENERATE_MIPMAP: InternalFormatInfoType read new InternalFormatInfoType($8191); - public static property AUTO_GENERATE_MIPMAP: InternalFormatInfoType read new InternalFormatInfoType($8295); - public static property COLOR_ENCODING: InternalFormatInfoType read new InternalFormatInfoType($8296); - public static property SRGB_READ: InternalFormatInfoType read new InternalFormatInfoType($8297); - public static property SRGB_WRITE: InternalFormatInfoType read new InternalFormatInfoType($8298); - public static property FILTER: InternalFormatInfoType read new InternalFormatInfoType($829A); - public static property VERTEX_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($829B); - public static property TESS_CONTROL_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($829C); - public static property TESS_EVALUATION_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($829D); - public static property GEOMETRY_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($829E); - public static property FRAGMENT_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($829F); - public static property COMPUTE_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($82A0); - public static property TEXTURE_SHADOW: InternalFormatInfoType read new InternalFormatInfoType($82A1); - public static property TEXTURE_GATHER: InternalFormatInfoType read new InternalFormatInfoType($82A2); - public static property TEXTURE_GATHER_SHADOW: InternalFormatInfoType read new InternalFormatInfoType($82A3); - public static property SHADER_IMAGE_LOAD: InternalFormatInfoType read new InternalFormatInfoType($82A4); - public static property SHADER_IMAGE_STORE: InternalFormatInfoType read new InternalFormatInfoType($82A5); - public static property SHADER_IMAGE_ATOMIC: InternalFormatInfoType read new InternalFormatInfoType($82A6); - public static property IMAGE_TEXEL_SIZE: InternalFormatInfoType read new InternalFormatInfoType($82A7); - public static property IMAGE_COMPATIBILITY_CLASS: InternalFormatInfoType read new InternalFormatInfoType($82A8); - public static property IMAGE_PIXEL_FORMAT: InternalFormatInfoType read new InternalFormatInfoType($82A9); - public static property IMAGE_PIXEL_TYPE: InternalFormatInfoType read new InternalFormatInfoType($82AA); - public static property IMAGE_FORMAT_COMPATIBILITY_TYPE: InternalFormatInfoType read new InternalFormatInfoType($90C7); - public static property SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST: InternalFormatInfoType read new InternalFormatInfoType($82AC); - public static property SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST: InternalFormatInfoType read new InternalFormatInfoType($82AD); - public static property SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE: InternalFormatInfoType read new InternalFormatInfoType($82AE); - public static property SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE: InternalFormatInfoType read new InternalFormatInfoType($82AF); - public static property TEXTURE_COMPRESSED: InternalFormatInfoType read new InternalFormatInfoType($86A1); - public static property TEXTURE_COMPRESSED_BLOCK_WIDTH: InternalFormatInfoType read new InternalFormatInfoType($82B1); - public static property TEXTURE_COMPRESSED_BLOCK_HEIGHT: InternalFormatInfoType read new InternalFormatInfoType($82B2); - public static property TEXTURE_COMPRESSED_BLOCK_SIZE: InternalFormatInfoType read new InternalFormatInfoType($82B3); - public static property CLEAR_BUFFER: InternalFormatInfoType read new InternalFormatInfoType($82B4); - public static property TEXTURE_VIEW: InternalFormatInfoType read new InternalFormatInfoType($82B5); - public static property VIEW_COMPATIBILITY_CLASS: InternalFormatInfoType read new InternalFormatInfoType($82B6); - public static property CLEAR_TEXTURE: InternalFormatInfoType read new InternalFormatInfoType($9365); + private static _CONVOLUTION_1D := new ConvolutionTarget($8010); + private static _CONVOLUTION_2D := new ConvolutionTarget($8011); + + public static property CONVOLUTION_1D: ConvolutionTarget read _CONVOLUTION_1D; + public static property CONVOLUTION_2D: ConvolutionTarget read _CONVOLUTION_2D; + + public function ToString: string; override; + begin + var res := typeof(ConvolutionTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ConvolutionTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TransformFeedbackInfoType = record + CopyBufferSubDataTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property BUFFER_BINDING: TransformFeedbackInfoType read new TransformFeedbackInfoType($8C8F); - public static property BUFFER_START: TransformFeedbackInfoType read new TransformFeedbackInfoType($8C84); - public static property BUFFER_SIZE: TransformFeedbackInfoType read new TransformFeedbackInfoType($8C85); - public static property PAUSED: TransformFeedbackInfoType read new TransformFeedbackInfoType($8E23); - public static property ACTIVE: TransformFeedbackInfoType read new TransformFeedbackInfoType($8E24); + private static _ARRAY_BUFFER := new CopyBufferSubDataTarget($8892); + private static _ELEMENT_ARRAY_BUFFER := new CopyBufferSubDataTarget($8893); + private static _PIXEL_PACK_BUFFER := new CopyBufferSubDataTarget($88EB); + private static _PIXEL_UNPACK_BUFFER := new CopyBufferSubDataTarget($88EC); + private static _UNIFORM_BUFFER := new CopyBufferSubDataTarget($8A11); + private static _TEXTURE_BUFFER := new CopyBufferSubDataTarget($8C2A); + private static _TRANSFORM_FEEDBACK_BUFFER := new CopyBufferSubDataTarget($8C8E); + private static _COPY_READ_BUFFER := new CopyBufferSubDataTarget($8F36); + private static _COPY_WRITE_BUFFER := new CopyBufferSubDataTarget($8F37); + private static _DRAW_INDIRECT_BUFFER := new CopyBufferSubDataTarget($8F3F); + private static _SHADER_STORAGE_BUFFER := new CopyBufferSubDataTarget($90D2); + private static _DISPATCH_INDIRECT_BUFFER := new CopyBufferSubDataTarget($90EE); + private static _QUERY_BUFFER := new CopyBufferSubDataTarget($9192); + private static _ATOMIC_COUNTER_BUFFER := new CopyBufferSubDataTarget($92C0); + + public static property ARRAY_BUFFER: CopyBufferSubDataTarget read _ARRAY_BUFFER; + public static property ELEMENT_ARRAY_BUFFER: CopyBufferSubDataTarget read _ELEMENT_ARRAY_BUFFER; + public static property PIXEL_PACK_BUFFER: CopyBufferSubDataTarget read _PIXEL_PACK_BUFFER; + public static property PIXEL_UNPACK_BUFFER: CopyBufferSubDataTarget read _PIXEL_UNPACK_BUFFER; + public static property UNIFORM_BUFFER: CopyBufferSubDataTarget read _UNIFORM_BUFFER; + public static property TEXTURE_BUFFER: CopyBufferSubDataTarget read _TEXTURE_BUFFER; + public static property TRANSFORM_FEEDBACK_BUFFER: CopyBufferSubDataTarget read _TRANSFORM_FEEDBACK_BUFFER; + public static property COPY_READ_BUFFER: CopyBufferSubDataTarget read _COPY_READ_BUFFER; + public static property COPY_WRITE_BUFFER: CopyBufferSubDataTarget read _COPY_WRITE_BUFFER; + public static property DRAW_INDIRECT_BUFFER: CopyBufferSubDataTarget read _DRAW_INDIRECT_BUFFER; + public static property SHADER_STORAGE_BUFFER: CopyBufferSubDataTarget read _SHADER_STORAGE_BUFFER; + public static property DISPATCH_INDIRECT_BUFFER: CopyBufferSubDataTarget read _DISPATCH_INDIRECT_BUFFER; + public static property QUERY_BUFFER: CopyBufferSubDataTarget read _QUERY_BUFFER; + public static property ATOMIC_COUNTER_BUFFER: CopyBufferSubDataTarget read _ATOMIC_COUNTER_BUFFER; + + public function ToString: string; override; + begin + var res := typeof(CopyBufferSubDataTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CopyBufferSubDataTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - HintValue = record + CopyImageSubDataTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property FASTEST: HintValue read new HintValue($1101); - public static property NICEST: HintValue read new HintValue($1102); - public static property DONT_CARE: HintValue read new HintValue($1100); + private static _TEXTURE_1D := new CopyImageSubDataTarget($0DE0); + private static _TEXTURE_2D := new CopyImageSubDataTarget($0DE1); + private static _TEXTURE_3D := new CopyImageSubDataTarget($806F); + private static _TEXTURE_RECTANGLE := new CopyImageSubDataTarget($84F5); + private static _TEXTURE_CUBE_MAP := new CopyImageSubDataTarget($8513); + private static _TEXTURE_1D_ARRAY := new CopyImageSubDataTarget($8C18); + private static _TEXTURE_2D_ARRAY := new CopyImageSubDataTarget($8C1A); + private static _RENDERBUFFER := new CopyImageSubDataTarget($8D41); + private static _TEXTURE_CUBE_MAP_ARRAY := new CopyImageSubDataTarget($9009); + private static _TEXTURE_2D_MULTISAMPLE := new CopyImageSubDataTarget($9100); + private static _TEXTURE_2D_MULTISAMPLE_ARRAY := new CopyImageSubDataTarget($9102); + + public static property TEXTURE_1D: CopyImageSubDataTarget read _TEXTURE_1D; + public static property TEXTURE_2D: CopyImageSubDataTarget read _TEXTURE_2D; + public static property TEXTURE_3D: CopyImageSubDataTarget read _TEXTURE_3D; + public static property TEXTURE_RECTANGLE: CopyImageSubDataTarget read _TEXTURE_RECTANGLE; + public static property TEXTURE_CUBE_MAP: CopyImageSubDataTarget read _TEXTURE_CUBE_MAP; + public static property TEXTURE_1D_ARRAY: CopyImageSubDataTarget read _TEXTURE_1D_ARRAY; + public static property TEXTURE_2D_ARRAY: CopyImageSubDataTarget read _TEXTURE_2D_ARRAY; + public static property RENDERBUFFER: CopyImageSubDataTarget read _RENDERBUFFER; + public static property TEXTURE_CUBE_MAP_ARRAY: CopyImageSubDataTarget read _TEXTURE_CUBE_MAP_ARRAY; + public static property TEXTURE_2D_MULTISAMPLE: CopyImageSubDataTarget read _TEXTURE_2D_MULTISAMPLE; + public static property TEXTURE_2D_MULTISAMPLE_ARRAY: CopyImageSubDataTarget read _TEXTURE_2D_MULTISAMPLE_ARRAY; + + public function ToString: string; override; + begin + var res := typeof(CopyImageSubDataTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CopyImageSubDataTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - HintType = record + CullFaceMode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property LINE_SMOOTH_HINT: HintType read new HintType($0C52); - public static property POLYGON_SMOOTH_HINT: HintType read new HintType($0C53); - public static property TEXTURE_COMPRESSION_HINT: HintType read new HintType($84EF); - public static property FRAGMENT_SHADER_DERIVATIVE_HINT: HintType read new HintType($8B8B); + private static _FRONT := new CullFaceMode($0404); + private static _BACK := new CullFaceMode($0405); + private static _FRONT_AND_BACK := new CullFaceMode($0408); + + public static property FRONT: CullFaceMode read _FRONT; + public static property BACK: CullFaceMode read _BACK; + public static property FRONT_AND_BACK: CullFaceMode read _FRONT_AND_BACK; + + public function ToString: string; override; + begin + var res := typeof(CullFaceMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CullFaceMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ObjectType = record + DebugSeverity = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property BUFFER: ObjectType read new ObjectType($82E0); - public static property FRAMEBUFFER: ObjectType read new ObjectType($8D40); - public static property PROGRAM_PIPELINE: ObjectType read new ObjectType($82E4); - public static property &PROGRAM: ObjectType read new ObjectType($82E2); - public static property QUERY: ObjectType read new ObjectType($82E3); - public static property RENDERBUFFER: ObjectType read new ObjectType($8D41); - public static property SAMPLER: ObjectType read new ObjectType($82E6); - public static property SHADER: ObjectType read new ObjectType($82E1); - public static property TEXTURE: ObjectType read new ObjectType($1702); - public static property TRANSFORM_FEEDBACK: ObjectType read new ObjectType($8E22); - public static property VERTEX_ARRAY: ObjectType read new ObjectType($8074); + private static _DONT_CARE := new DebugSeverity($1100); + private static _DEBUG_SEVERITY_NOTIFICATION := new DebugSeverity($826B); + private static _DEBUG_SEVERITY_HIGH := new DebugSeverity($9146); + private static _DEBUG_SEVERITY_MEDIUM := new DebugSeverity($9147); + private static _DEBUG_SEVERITY_LOW := new DebugSeverity($9148); + + public static property DONT_CARE: DebugSeverity read _DONT_CARE; + public static property DEBUG_SEVERITY_NOTIFICATION: DebugSeverity read _DEBUG_SEVERITY_NOTIFICATION; + public static property DEBUG_SEVERITY_HIGH: DebugSeverity read _DEBUG_SEVERITY_HIGH; + public static property DEBUG_SEVERITY_MEDIUM: DebugSeverity read _DEBUG_SEVERITY_MEDIUM; + public static property DEBUG_SEVERITY_LOW: DebugSeverity read _DEBUG_SEVERITY_LOW; + + public function ToString: string; override; + begin + var res := typeof(DebugSeverity).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DebugSeverity[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PixelFilterMode = record + DebugSource = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property NEAREST: PixelFilterMode read new PixelFilterMode($2600); - public static property LINEAR: PixelFilterMode read new PixelFilterMode($2601); - public static property NEAREST_MIPMAP_NEAREST: PixelFilterMode read new PixelFilterMode($2700); - public static property NEAREST_MIPMAP_LINEAR: PixelFilterMode read new PixelFilterMode($2702); - public static property LINEAR_MIPMAP_NEAREST: PixelFilterMode read new PixelFilterMode($2701); - public static property LINEAR_MIPMAP_LINEAR: PixelFilterMode read new PixelFilterMode($2703); + private static _DONT_CARE := new DebugSource($1100); + private static _DEBUG_SOURCE_API := new DebugSource($8246); + private static _DEBUG_SOURCE_WINDOW_SYSTEM := new DebugSource($8247); + private static _DEBUG_SOURCE_SHADER_COMPILER := new DebugSource($8248); + private static _DEBUG_SOURCE_THIRD_PARTY := new DebugSource($8249); + private static _DEBUG_SOURCE_APPLICATION := new DebugSource($824A); + private static _DEBUG_SOURCE_OTHER := new DebugSource($824B); + + public static property DONT_CARE: DebugSource read _DONT_CARE; + public static property DEBUG_SOURCE_API: DebugSource read _DEBUG_SOURCE_API; + public static property DEBUG_SOURCE_WINDOW_SYSTEM: DebugSource read _DEBUG_SOURCE_WINDOW_SYSTEM; + public static property DEBUG_SOURCE_SHADER_COMPILER: DebugSource read _DEBUG_SOURCE_SHADER_COMPILER; + public static property DEBUG_SOURCE_THIRD_PARTY: DebugSource read _DEBUG_SOURCE_THIRD_PARTY; + public static property DEBUG_SOURCE_APPLICATION: DebugSource read _DEBUG_SOURCE_APPLICATION; + public static property DEBUG_SOURCE_OTHER: DebugSource read _DEBUG_SOURCE_OTHER; + + public function ToString: string; override; + begin + var res := typeof(DebugSource).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DebugSource[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ColorClampTarget = record + DebugType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property GL_CLAMP_READ_COLOR: ColorClampTarget read new ColorClampTarget($891C); + private static _DONT_CARE := new DebugType($1100); + private static _DEBUG_TYPE_ERROR := new DebugType($824C); + private static _DEBUG_TYPE_DEPRECATED_BEHAVIOR := new DebugType($824D); + private static _DEBUG_TYPE_UNDEFINED_BEHAVIOR := new DebugType($824E); + private static _DEBUG_TYPE_PORTABILITY := new DebugType($824F); + private static _DEBUG_TYPE_PERFORMANCE := new DebugType($8250); + private static _DEBUG_TYPE_OTHER := new DebugType($8251); + private static _DEBUG_TYPE_MARKER := new DebugType($8268); + private static _DEBUG_TYPE_PUSH_GROUP := new DebugType($8269); + private static _DEBUG_TYPE_POP_GROUP := new DebugType($826A); + + public static property DONT_CARE: DebugType read _DONT_CARE; + public static property DEBUG_TYPE_ERROR: DebugType read _DEBUG_TYPE_ERROR; + public static property DEBUG_TYPE_DEPRECATED_BEHAVIOR: DebugType read _DEBUG_TYPE_DEPRECATED_BEHAVIOR; + public static property DEBUG_TYPE_UNDEFINED_BEHAVIOR: DebugType read _DEBUG_TYPE_UNDEFINED_BEHAVIOR; + public static property DEBUG_TYPE_PORTABILITY: DebugType read _DEBUG_TYPE_PORTABILITY; + public static property DEBUG_TYPE_PERFORMANCE: DebugType read _DEBUG_TYPE_PERFORMANCE; + public static property DEBUG_TYPE_OTHER: DebugType read _DEBUG_TYPE_OTHER; + public static property DEBUG_TYPE_MARKER: DebugType read _DEBUG_TYPE_MARKER; + public static property DEBUG_TYPE_PUSH_GROUP: DebugType read _DEBUG_TYPE_PUSH_GROUP; + public static property DEBUG_TYPE_POP_GROUP: DebugType read _DEBUG_TYPE_POP_GROUP; + + public function ToString: string; override; + begin + var res := typeof(DebugType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DebugType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - FrameBufferPart = record + DepthFunction = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property NONE: FrameBufferPart read new FrameBufferPart(0); - public static property FRONT_LEFT: FrameBufferPart read new FrameBufferPart($0400); - public static property FRONT_RIGHT: FrameBufferPart read new FrameBufferPart($0401); - public static property BACK_LEFT: FrameBufferPart read new FrameBufferPart($0402); - public static property BACK_RIGHT: FrameBufferPart read new FrameBufferPart($0403); - public static property FRONT: FrameBufferPart read new FrameBufferPart($0404); - public static property BACK: FrameBufferPart read new FrameBufferPart($0405); - public static property LEFT: FrameBufferPart read new FrameBufferPart($0406); - public static property RIGHT: FrameBufferPart read new FrameBufferPart($0407); - public static property FRONT_AND_BACK: FrameBufferPart read new FrameBufferPart($0408); + private static _NEVER := new DepthFunction($0200); + private static _LESS := new DepthFunction($0201); + private static _EQUAL := new DepthFunction($0202); + private static _LEQUAL := new DepthFunction($0203); + private static _GREATER := new DepthFunction($0204); + private static _NOTEQUAL := new DepthFunction($0205); + private static _GEQUAL := new DepthFunction($0206); + private static _ALWAYS := new DepthFunction($0207); + + public static property NEVER: DepthFunction read _NEVER; + public static property LESS: DepthFunction read _LESS; + public static property EQUAL: DepthFunction read _EQUAL; + public static property LEQUAL: DepthFunction read _LEQUAL; + public static property GREATER: DepthFunction read _GREATER; + public static property NOTEQUAL: DepthFunction read _NOTEQUAL; + public static property GEQUAL: DepthFunction read _GEQUAL; + public static property ALWAYS: DepthFunction read _ALWAYS; + + public function ToString: string; override; + begin + var res := typeof(DepthFunction).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DepthFunction[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - LogicOpCode = record + DrawBufferMode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property CLEAR: LogicOpCode read new LogicOpCode($1500); - public static property &AND: LogicOpCode read new LogicOpCode($1501); - public static property AND_REVERSE: LogicOpCode read new LogicOpCode($1502); - public static property COPY: LogicOpCode read new LogicOpCode($1503); - public static property AND_INVERTED: LogicOpCode read new LogicOpCode($1504); - public static property NOOP: LogicOpCode read new LogicOpCode($1505); - public static property &XOR: LogicOpCode read new LogicOpCode($1506); - public static property &OR: LogicOpCode read new LogicOpCode($1507); - public static property NOR: LogicOpCode read new LogicOpCode($1508); - public static property EQUIV: LogicOpCode read new LogicOpCode($1509); - public static property INVERT: LogicOpCode read new LogicOpCode($150A); - public static property OR_REVERSE: LogicOpCode read new LogicOpCode($150B); - public static property COPY_INVERTED: LogicOpCode read new LogicOpCode($150C); - public static property OR_INVERTED: LogicOpCode read new LogicOpCode($150D); - public static property NAND: LogicOpCode read new LogicOpCode($150E); - public static property &SET: LogicOpCode read new LogicOpCode($150F); + private static _NONE := new DrawBufferMode($0000); + private static _NONE_OES := new DrawBufferMode($0000); + private static _FRONT_LEFT := new DrawBufferMode($0400); + private static _FRONT_RIGHT := new DrawBufferMode($0401); + private static _BACK_LEFT := new DrawBufferMode($0402); + private static _BACK_RIGHT := new DrawBufferMode($0403); + private static _FRONT := new DrawBufferMode($0404); + private static _BACK := new DrawBufferMode($0405); + private static _LEFT := new DrawBufferMode($0406); + private static _RIGHT := new DrawBufferMode($0407); + private static _FRONT_AND_BACK := new DrawBufferMode($0408); + private static _AUX0 := new DrawBufferMode($0409); + private static _AUX1 := new DrawBufferMode($040A); + private static _AUX2 := new DrawBufferMode($040B); + private static _AUX3 := new DrawBufferMode($040C); + private static _COLOR_ATTACHMENT0 := new DrawBufferMode($8CE0); + private static _COLOR_ATTACHMENT1 := new DrawBufferMode($8CE1); + private static _COLOR_ATTACHMENT2 := new DrawBufferMode($8CE2); + private static _COLOR_ATTACHMENT3 := new DrawBufferMode($8CE3); + private static _COLOR_ATTACHMENT4 := new DrawBufferMode($8CE4); + private static _COLOR_ATTACHMENT5 := new DrawBufferMode($8CE5); + private static _COLOR_ATTACHMENT6 := new DrawBufferMode($8CE6); + private static _COLOR_ATTACHMENT7 := new DrawBufferMode($8CE7); + private static _COLOR_ATTACHMENT8 := new DrawBufferMode($8CE8); + private static _COLOR_ATTACHMENT9 := new DrawBufferMode($8CE9); + private static _COLOR_ATTACHMENT10 := new DrawBufferMode($8CEA); + private static _COLOR_ATTACHMENT11 := new DrawBufferMode($8CEB); + private static _COLOR_ATTACHMENT12 := new DrawBufferMode($8CEC); + private static _COLOR_ATTACHMENT13 := new DrawBufferMode($8CED); + private static _COLOR_ATTACHMENT14 := new DrawBufferMode($8CEE); + private static _COLOR_ATTACHMENT15 := new DrawBufferMode($8CEF); + private static _COLOR_ATTACHMENT16 := new DrawBufferMode($8CF0); + private static _COLOR_ATTACHMENT17 := new DrawBufferMode($8CF1); + private static _COLOR_ATTACHMENT18 := new DrawBufferMode($8CF2); + private static _COLOR_ATTACHMENT19 := new DrawBufferMode($8CF3); + private static _COLOR_ATTACHMENT20 := new DrawBufferMode($8CF4); + private static _COLOR_ATTACHMENT21 := new DrawBufferMode($8CF5); + private static _COLOR_ATTACHMENT22 := new DrawBufferMode($8CF6); + private static _COLOR_ATTACHMENT23 := new DrawBufferMode($8CF7); + private static _COLOR_ATTACHMENT24 := new DrawBufferMode($8CF8); + private static _COLOR_ATTACHMENT25 := new DrawBufferMode($8CF9); + private static _COLOR_ATTACHMENT26 := new DrawBufferMode($8CFA); + private static _COLOR_ATTACHMENT27 := new DrawBufferMode($8CFB); + private static _COLOR_ATTACHMENT28 := new DrawBufferMode($8CFC); + private static _COLOR_ATTACHMENT29 := new DrawBufferMode($8CFD); + private static _COLOR_ATTACHMENT30 := new DrawBufferMode($8CFE); + private static _COLOR_ATTACHMENT31 := new DrawBufferMode($8CFF); + + public static property NONE: DrawBufferMode read _NONE; + public static property NONE_OES: DrawBufferMode read _NONE_OES; + public static property FRONT_LEFT: DrawBufferMode read _FRONT_LEFT; + public static property FRONT_RIGHT: DrawBufferMode read _FRONT_RIGHT; + public static property BACK_LEFT: DrawBufferMode read _BACK_LEFT; + public static property BACK_RIGHT: DrawBufferMode read _BACK_RIGHT; + public static property FRONT: DrawBufferMode read _FRONT; + public static property BACK: DrawBufferMode read _BACK; + public static property LEFT: DrawBufferMode read _LEFT; + public static property RIGHT: DrawBufferMode read _RIGHT; + public static property FRONT_AND_BACK: DrawBufferMode read _FRONT_AND_BACK; + public static property AUX0: DrawBufferMode read _AUX0; + public static property AUX1: DrawBufferMode read _AUX1; + public static property AUX2: DrawBufferMode read _AUX2; + public static property AUX3: DrawBufferMode read _AUX3; + public static property COLOR_ATTACHMENT0: DrawBufferMode read _COLOR_ATTACHMENT0; + public static property COLOR_ATTACHMENT1: DrawBufferMode read _COLOR_ATTACHMENT1; + public static property COLOR_ATTACHMENT2: DrawBufferMode read _COLOR_ATTACHMENT2; + public static property COLOR_ATTACHMENT3: DrawBufferMode read _COLOR_ATTACHMENT3; + public static property COLOR_ATTACHMENT4: DrawBufferMode read _COLOR_ATTACHMENT4; + public static property COLOR_ATTACHMENT5: DrawBufferMode read _COLOR_ATTACHMENT5; + public static property COLOR_ATTACHMENT6: DrawBufferMode read _COLOR_ATTACHMENT6; + public static property COLOR_ATTACHMENT7: DrawBufferMode read _COLOR_ATTACHMENT7; + public static property COLOR_ATTACHMENT8: DrawBufferMode read _COLOR_ATTACHMENT8; + public static property COLOR_ATTACHMENT9: DrawBufferMode read _COLOR_ATTACHMENT9; + public static property COLOR_ATTACHMENT10: DrawBufferMode read _COLOR_ATTACHMENT10; + public static property COLOR_ATTACHMENT11: DrawBufferMode read _COLOR_ATTACHMENT11; + public static property COLOR_ATTACHMENT12: DrawBufferMode read _COLOR_ATTACHMENT12; + public static property COLOR_ATTACHMENT13: DrawBufferMode read _COLOR_ATTACHMENT13; + public static property COLOR_ATTACHMENT14: DrawBufferMode read _COLOR_ATTACHMENT14; + public static property COLOR_ATTACHMENT15: DrawBufferMode read _COLOR_ATTACHMENT15; + public static property COLOR_ATTACHMENT16: DrawBufferMode read _COLOR_ATTACHMENT16; + public static property COLOR_ATTACHMENT17: DrawBufferMode read _COLOR_ATTACHMENT17; + public static property COLOR_ATTACHMENT18: DrawBufferMode read _COLOR_ATTACHMENT18; + public static property COLOR_ATTACHMENT19: DrawBufferMode read _COLOR_ATTACHMENT19; + public static property COLOR_ATTACHMENT20: DrawBufferMode read _COLOR_ATTACHMENT20; + public static property COLOR_ATTACHMENT21: DrawBufferMode read _COLOR_ATTACHMENT21; + public static property COLOR_ATTACHMENT22: DrawBufferMode read _COLOR_ATTACHMENT22; + public static property COLOR_ATTACHMENT23: DrawBufferMode read _COLOR_ATTACHMENT23; + public static property COLOR_ATTACHMENT24: DrawBufferMode read _COLOR_ATTACHMENT24; + public static property COLOR_ATTACHMENT25: DrawBufferMode read _COLOR_ATTACHMENT25; + public static property COLOR_ATTACHMENT26: DrawBufferMode read _COLOR_ATTACHMENT26; + public static property COLOR_ATTACHMENT27: DrawBufferMode read _COLOR_ATTACHMENT27; + public static property COLOR_ATTACHMENT28: DrawBufferMode read _COLOR_ATTACHMENT28; + public static property COLOR_ATTACHMENT29: DrawBufferMode read _COLOR_ATTACHMENT29; + public static property COLOR_ATTACHMENT30: DrawBufferMode read _COLOR_ATTACHMENT30; + public static property COLOR_ATTACHMENT31: DrawBufferMode read _COLOR_ATTACHMENT31; + + public function ToString: string; override; + begin + var res := typeof(DrawBufferMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DrawBufferMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - BlendFuncMode = record + DrawElementsType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property ZERO: BlendFuncMode read new BlendFuncMode(0); - public static property ONE: BlendFuncMode read new BlendFuncMode(1); - public static property SRC_COLOR: BlendFuncMode read new BlendFuncMode($0300); - public static property ONE_MINUS_SRC_COLOR: BlendFuncMode read new BlendFuncMode($0301); - public static property DST_COLOR: BlendFuncMode read new BlendFuncMode($0306); - public static property ONE_MINUS_DST_COLOR: BlendFuncMode read new BlendFuncMode($0307); - public static property SRC_ALPHA: BlendFuncMode read new BlendFuncMode($0302); - public static property ONE_MINUS_SRC_ALPHA: BlendFuncMode read new BlendFuncMode($0303); - public static property DST_ALPHA: BlendFuncMode read new BlendFuncMode($0304); - public static property ONE_MINUS_DST_ALPHA: BlendFuncMode read new BlendFuncMode($0305); - public static property CONSTANT_COLOR: BlendFuncMode read new BlendFuncMode($8001); - public static property ONE_MINUS_CONSTANT_COLOR: BlendFuncMode read new BlendFuncMode($8002); - public static property CONSTANT_ALPHA: BlendFuncMode read new BlendFuncMode($8003); - public static property ONE_MINUS_CONSTANT_ALPHA: BlendFuncMode read new BlendFuncMode($8004); - public static property SRC_ALPHA_SATURATE: BlendFuncMode read new BlendFuncMode($0308); - public static property SRC1_COLOR: BlendFuncMode read new BlendFuncMode($88F9); - public static property ONE_MINUS_SRC1_COLOR: BlendFuncMode read new BlendFuncMode($88FA); - public static property SRC1_ALPHA: BlendFuncMode read new BlendFuncMode($8589); - public static property ONE_MINUS_SRC1_ALPHA: BlendFuncMode read new BlendFuncMode($88FB); + private static _UNSIGNED_BYTE := new DrawElementsType($1401); + private static _UNSIGNED_SHORT := new DrawElementsType($1403); + private static _UNSIGNED_INT := new DrawElementsType($1405); + + public static property UNSIGNED_BYTE: DrawElementsType read _UNSIGNED_BYTE; + public static property UNSIGNED_SHORT: DrawElementsType read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: DrawElementsType read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(DrawElementsType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DrawElementsType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - BlendEquationMode = record + EnableCap = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property FUNC_ADD: BlendEquationMode read new BlendEquationMode($8006); - public static property FUNC_SUBTRACT: BlendEquationMode read new BlendEquationMode($800A); - public static property FUNC_REVERSE_SUBTRACT: BlendEquationMode read new BlendEquationMode($800B); - public static property MIN: BlendEquationMode read new BlendEquationMode($8007); - public static property MAX: BlendEquationMode read new BlendEquationMode($8008); + private static _POINT_SMOOTH := new EnableCap($0B10); + private static _LINE_SMOOTH := new EnableCap($0B20); + private static _LINE_STIPPLE := new EnableCap($0B24); + private static _POLYGON_SMOOTH := new EnableCap($0B41); + private static _POLYGON_STIPPLE := new EnableCap($0B42); + private static _CULL_FACE := new EnableCap($0B44); + private static _LIGHTING := new EnableCap($0B50); + private static _COLOR_MATERIAL := new EnableCap($0B57); + private static _FOG := new EnableCap($0B60); + private static _DEPTH_TEST := new EnableCap($0B71); + private static _STENCIL_TEST := new EnableCap($0B90); + private static _NORMALIZE := new EnableCap($0BA1); + private static _ALPHA_TEST := new EnableCap($0BC0); + private static _DITHER := new EnableCap($0BD0); + private static _BLEND := new EnableCap($0BE2); + private static _INDEX_LOGIC_OP := new EnableCap($0BF1); + private static _COLOR_LOGIC_OP := new EnableCap($0BF2); + private static _SCISSOR_TEST := new EnableCap($0C11); + private static _TEXTURE_GEN_S := new EnableCap($0C60); + private static _TEXTURE_GEN_T := new EnableCap($0C61); + private static _TEXTURE_GEN_R := new EnableCap($0C62); + private static _TEXTURE_GEN_Q := new EnableCap($0C63); + private static _AUTO_NORMAL := new EnableCap($0D80); + private static _MAP1_COLOR_4 := new EnableCap($0D90); + private static _MAP1_INDEX := new EnableCap($0D91); + private static _MAP1_NORMAL := new EnableCap($0D92); + private static _MAP1_TEXTURE_COORD_1 := new EnableCap($0D93); + private static _MAP1_TEXTURE_COORD_2 := new EnableCap($0D94); + private static _MAP1_TEXTURE_COORD_3 := new EnableCap($0D95); + private static _MAP1_TEXTURE_COORD_4 := new EnableCap($0D96); + private static _MAP1_VERTEX_3 := new EnableCap($0D97); + private static _MAP1_VERTEX_4 := new EnableCap($0D98); + private static _MAP2_COLOR_4 := new EnableCap($0DB0); + private static _MAP2_INDEX := new EnableCap($0DB1); + private static _MAP2_NORMAL := new EnableCap($0DB2); + private static _MAP2_TEXTURE_COORD_1 := new EnableCap($0DB3); + private static _MAP2_TEXTURE_COORD_2 := new EnableCap($0DB4); + private static _MAP2_TEXTURE_COORD_3 := new EnableCap($0DB5); + private static _MAP2_TEXTURE_COORD_4 := new EnableCap($0DB6); + private static _MAP2_VERTEX_3 := new EnableCap($0DB7); + private static _MAP2_VERTEX_4 := new EnableCap($0DB8); + private static _TEXTURE_1D := new EnableCap($0DE0); + private static _TEXTURE_2D := new EnableCap($0DE1); + private static _POLYGON_OFFSET_POINT := new EnableCap($2A01); + private static _POLYGON_OFFSET_LINE := new EnableCap($2A02); + private static _CLIP_DISTANCE0 := new EnableCap($3000); + private static _CLIP_PLANE0 := new EnableCap($3000); + private static _CLIP_DISTANCE1 := new EnableCap($3001); + private static _CLIP_PLANE1 := new EnableCap($3001); + private static _CLIP_DISTANCE2 := new EnableCap($3002); + private static _CLIP_PLANE2 := new EnableCap($3002); + private static _CLIP_DISTANCE3 := new EnableCap($3003); + private static _CLIP_PLANE3 := new EnableCap($3003); + private static _CLIP_DISTANCE4 := new EnableCap($3004); + private static _CLIP_PLANE4 := new EnableCap($3004); + private static _CLIP_DISTANCE5 := new EnableCap($3005); + private static _CLIP_PLANE5 := new EnableCap($3005); + private static _CLIP_DISTANCE6 := new EnableCap($3006); + private static _CLIP_DISTANCE7 := new EnableCap($3007); + private static _LIGHT0 := new EnableCap($4000); + private static _LIGHT1 := new EnableCap($4001); + private static _LIGHT2 := new EnableCap($4002); + private static _LIGHT3 := new EnableCap($4003); + private static _LIGHT4 := new EnableCap($4004); + private static _LIGHT5 := new EnableCap($4005); + private static _LIGHT6 := new EnableCap($4006); + private static _LIGHT7 := new EnableCap($4007); + private static _CONVOLUTION_1D_EXT := new EnableCap($8010); + private static _CONVOLUTION_2D_EXT := new EnableCap($8011); + private static _SEPARABLE_2D_EXT := new EnableCap($8012); + private static _HISTOGRAM_EXT := new EnableCap($8024); + private static _MINMAX_EXT := new EnableCap($802E); + private static _POLYGON_OFFSET_FILL := new EnableCap($8037); + private static _RESCALE_NORMAL_EXT := new EnableCap($803A); + private static _TEXTURE_3D_EXT := new EnableCap($806F); + private static _VERTEX_ARRAY := new EnableCap($8074); + private static _NORMAL_ARRAY := new EnableCap($8075); + private static _COLOR_ARRAY := new EnableCap($8076); + private static _INDEX_ARRAY := new EnableCap($8077); + private static _TEXTURE_COORD_ARRAY := new EnableCap($8078); + private static _EDGE_FLAG_ARRAY := new EnableCap($8079); + private static _INTERLACE_SGIX := new EnableCap($8094); + private static _MULTISAMPLE := new EnableCap($809D); + private static _MULTISAMPLE_SGIS := new EnableCap($809D); + private static _SAMPLE_ALPHA_TO_COVERAGE := new EnableCap($809E); + private static _SAMPLE_ALPHA_TO_MASK_SGIS := new EnableCap($809E); + private static _SAMPLE_ALPHA_TO_ONE := new EnableCap($809F); + private static _SAMPLE_ALPHA_TO_ONE_SGIS := new EnableCap($809F); + private static _SAMPLE_COVERAGE := new EnableCap($80A0); + private static _SAMPLE_MASK_SGIS := new EnableCap($80A0); + private static _TEXTURE_COLOR_TABLE_SGI := new EnableCap($80BC); + private static _COLOR_TABLE_SGI := new EnableCap($80D0); + private static _POST_CONVOLUTION_COLOR_TABLE_SGI := new EnableCap($80D1); + private static _POST_COLOR_MATRIX_COLOR_TABLE_SGI := new EnableCap($80D2); + private static _TEXTURE_4D_SGIS := new EnableCap($8134); + private static _PIXEL_TEX_GEN_SGIX := new EnableCap($8139); + private static _SPRITE_SGIX := new EnableCap($8148); + private static _REFERENCE_PLANE_SGIX := new EnableCap($817D); + private static _IR_INSTRUMENT1_SGIX := new EnableCap($817F); + private static _CALLIGRAPHIC_FRAGMENT_SGIX := new EnableCap($8183); + private static _FRAMEZOOM_SGIX := new EnableCap($818B); + private static _FOG_OFFSET_SGIX := new EnableCap($8198); + private static _SHARED_TEXTURE_PALETTE_EXT := new EnableCap($81FB); + private static _DEBUG_OUTPUT_SYNCHRONOUS := new EnableCap($8242); + private static _ASYNC_HISTOGRAM_SGIX := new EnableCap($832C); + private static _PIXEL_TEXTURE_SGIS := new EnableCap($8353); + private static _ASYNC_TEX_IMAGE_SGIX := new EnableCap($835C); + private static _ASYNC_DRAW_PIXELS_SGIX := new EnableCap($835D); + private static _ASYNC_READ_PIXELS_SGIX := new EnableCap($835E); + private static _FRAGMENT_LIGHTING_SGIX := new EnableCap($8400); + private static _FRAGMENT_COLOR_MATERIAL_SGIX := new EnableCap($8401); + private static _FRAGMENT_LIGHT0_SGIX := new EnableCap($840C); + private static _FRAGMENT_LIGHT1_SGIX := new EnableCap($840D); + private static _FRAGMENT_LIGHT2_SGIX := new EnableCap($840E); + private static _FRAGMENT_LIGHT3_SGIX := new EnableCap($840F); + private static _FRAGMENT_LIGHT4_SGIX := new EnableCap($8410); + private static _FRAGMENT_LIGHT5_SGIX := new EnableCap($8411); + private static _FRAGMENT_LIGHT6_SGIX := new EnableCap($8412); + private static _FRAGMENT_LIGHT7_SGIX := new EnableCap($8413); + private static _PROGRAM_POINT_SIZE := new EnableCap($8642); + private static _DEPTH_CLAMP := new EnableCap($864F); + private static _TEXTURE_CUBE_MAP_SEAMLESS := new EnableCap($884F); + private static _SAMPLE_SHADING := new EnableCap($8C36); + private static _RASTERIZER_DISCARD := new EnableCap($8C89); + private static _PRIMITIVE_RESTART_FIXED_INDEX := new EnableCap($8D69); + private static _FRAMEBUFFER_SRGB := new EnableCap($8DB9); + private static _SAMPLE_MASK := new EnableCap($8E51); + private static _PRIMITIVE_RESTART := new EnableCap($8F9D); + private static _DEBUG_OUTPUT := new EnableCap($92E0); + + public static property POINT_SMOOTH: EnableCap read _POINT_SMOOTH; + public static property LINE_SMOOTH: EnableCap read _LINE_SMOOTH; + public static property LINE_STIPPLE: EnableCap read _LINE_STIPPLE; + public static property POLYGON_SMOOTH: EnableCap read _POLYGON_SMOOTH; + public static property POLYGON_STIPPLE: EnableCap read _POLYGON_STIPPLE; + public static property CULL_FACE: EnableCap read _CULL_FACE; + public static property LIGHTING: EnableCap read _LIGHTING; + public static property COLOR_MATERIAL: EnableCap read _COLOR_MATERIAL; + public static property FOG: EnableCap read _FOG; + public static property DEPTH_TEST: EnableCap read _DEPTH_TEST; + public static property STENCIL_TEST: EnableCap read _STENCIL_TEST; + public static property NORMALIZE: EnableCap read _NORMALIZE; + public static property ALPHA_TEST: EnableCap read _ALPHA_TEST; + public static property DITHER: EnableCap read _DITHER; + public static property BLEND: EnableCap read _BLEND; + public static property INDEX_LOGIC_OP: EnableCap read _INDEX_LOGIC_OP; + public static property COLOR_LOGIC_OP: EnableCap read _COLOR_LOGIC_OP; + public static property SCISSOR_TEST: EnableCap read _SCISSOR_TEST; + public static property TEXTURE_GEN_S: EnableCap read _TEXTURE_GEN_S; + public static property TEXTURE_GEN_T: EnableCap read _TEXTURE_GEN_T; + public static property TEXTURE_GEN_R: EnableCap read _TEXTURE_GEN_R; + public static property TEXTURE_GEN_Q: EnableCap read _TEXTURE_GEN_Q; + public static property AUTO_NORMAL: EnableCap read _AUTO_NORMAL; + public static property MAP1_COLOR_4: EnableCap read _MAP1_COLOR_4; + public static property MAP1_INDEX: EnableCap read _MAP1_INDEX; + public static property MAP1_NORMAL: EnableCap read _MAP1_NORMAL; + public static property MAP1_TEXTURE_COORD_1: EnableCap read _MAP1_TEXTURE_COORD_1; + public static property MAP1_TEXTURE_COORD_2: EnableCap read _MAP1_TEXTURE_COORD_2; + public static property MAP1_TEXTURE_COORD_3: EnableCap read _MAP1_TEXTURE_COORD_3; + public static property MAP1_TEXTURE_COORD_4: EnableCap read _MAP1_TEXTURE_COORD_4; + public static property MAP1_VERTEX_3: EnableCap read _MAP1_VERTEX_3; + public static property MAP1_VERTEX_4: EnableCap read _MAP1_VERTEX_4; + public static property MAP2_COLOR_4: EnableCap read _MAP2_COLOR_4; + public static property MAP2_INDEX: EnableCap read _MAP2_INDEX; + public static property MAP2_NORMAL: EnableCap read _MAP2_NORMAL; + public static property MAP2_TEXTURE_COORD_1: EnableCap read _MAP2_TEXTURE_COORD_1; + public static property MAP2_TEXTURE_COORD_2: EnableCap read _MAP2_TEXTURE_COORD_2; + public static property MAP2_TEXTURE_COORD_3: EnableCap read _MAP2_TEXTURE_COORD_3; + public static property MAP2_TEXTURE_COORD_4: EnableCap read _MAP2_TEXTURE_COORD_4; + public static property MAP2_VERTEX_3: EnableCap read _MAP2_VERTEX_3; + public static property MAP2_VERTEX_4: EnableCap read _MAP2_VERTEX_4; + public static property TEXTURE_1D: EnableCap read _TEXTURE_1D; + public static property TEXTURE_2D: EnableCap read _TEXTURE_2D; + public static property POLYGON_OFFSET_POINT: EnableCap read _POLYGON_OFFSET_POINT; + public static property POLYGON_OFFSET_LINE: EnableCap read _POLYGON_OFFSET_LINE; + public static property CLIP_DISTANCE0: EnableCap read _CLIP_DISTANCE0; + public static property CLIP_PLANE0: EnableCap read _CLIP_PLANE0; + public static property CLIP_DISTANCE1: EnableCap read _CLIP_DISTANCE1; + public static property CLIP_PLANE1: EnableCap read _CLIP_PLANE1; + public static property CLIP_DISTANCE2: EnableCap read _CLIP_DISTANCE2; + public static property CLIP_PLANE2: EnableCap read _CLIP_PLANE2; + public static property CLIP_DISTANCE3: EnableCap read _CLIP_DISTANCE3; + public static property CLIP_PLANE3: EnableCap read _CLIP_PLANE3; + public static property CLIP_DISTANCE4: EnableCap read _CLIP_DISTANCE4; + public static property CLIP_PLANE4: EnableCap read _CLIP_PLANE4; + public static property CLIP_DISTANCE5: EnableCap read _CLIP_DISTANCE5; + public static property CLIP_PLANE5: EnableCap read _CLIP_PLANE5; + public static property CLIP_DISTANCE6: EnableCap read _CLIP_DISTANCE6; + public static property CLIP_DISTANCE7: EnableCap read _CLIP_DISTANCE7; + public static property LIGHT0: EnableCap read _LIGHT0; + public static property LIGHT1: EnableCap read _LIGHT1; + public static property LIGHT2: EnableCap read _LIGHT2; + public static property LIGHT3: EnableCap read _LIGHT3; + public static property LIGHT4: EnableCap read _LIGHT4; + public static property LIGHT5: EnableCap read _LIGHT5; + public static property LIGHT6: EnableCap read _LIGHT6; + public static property LIGHT7: EnableCap read _LIGHT7; + public static property CONVOLUTION_1D_EXT: EnableCap read _CONVOLUTION_1D_EXT; + public static property CONVOLUTION_2D_EXT: EnableCap read _CONVOLUTION_2D_EXT; + public static property SEPARABLE_2D_EXT: EnableCap read _SEPARABLE_2D_EXT; + public static property HISTOGRAM_EXT: EnableCap read _HISTOGRAM_EXT; + public static property MINMAX_EXT: EnableCap read _MINMAX_EXT; + public static property POLYGON_OFFSET_FILL: EnableCap read _POLYGON_OFFSET_FILL; + public static property RESCALE_NORMAL_EXT: EnableCap read _RESCALE_NORMAL_EXT; + public static property TEXTURE_3D_EXT: EnableCap read _TEXTURE_3D_EXT; + public static property VERTEX_ARRAY: EnableCap read _VERTEX_ARRAY; + public static property NORMAL_ARRAY: EnableCap read _NORMAL_ARRAY; + public static property COLOR_ARRAY: EnableCap read _COLOR_ARRAY; + public static property INDEX_ARRAY: EnableCap read _INDEX_ARRAY; + public static property TEXTURE_COORD_ARRAY: EnableCap read _TEXTURE_COORD_ARRAY; + public static property EDGE_FLAG_ARRAY: EnableCap read _EDGE_FLAG_ARRAY; + public static property INTERLACE_SGIX: EnableCap read _INTERLACE_SGIX; + public static property MULTISAMPLE: EnableCap read _MULTISAMPLE; + public static property MULTISAMPLE_SGIS: EnableCap read _MULTISAMPLE_SGIS; + public static property SAMPLE_ALPHA_TO_COVERAGE: EnableCap read _SAMPLE_ALPHA_TO_COVERAGE; + public static property SAMPLE_ALPHA_TO_MASK_SGIS: EnableCap read _SAMPLE_ALPHA_TO_MASK_SGIS; + public static property SAMPLE_ALPHA_TO_ONE: EnableCap read _SAMPLE_ALPHA_TO_ONE; + public static property SAMPLE_ALPHA_TO_ONE_SGIS: EnableCap read _SAMPLE_ALPHA_TO_ONE_SGIS; + public static property SAMPLE_COVERAGE: EnableCap read _SAMPLE_COVERAGE; + public static property SAMPLE_MASK_SGIS: EnableCap read _SAMPLE_MASK_SGIS; + public static property TEXTURE_COLOR_TABLE_SGI: EnableCap read _TEXTURE_COLOR_TABLE_SGI; + public static property COLOR_TABLE_SGI: EnableCap read _COLOR_TABLE_SGI; + public static property POST_CONVOLUTION_COLOR_TABLE_SGI: EnableCap read _POST_CONVOLUTION_COLOR_TABLE_SGI; + public static property POST_COLOR_MATRIX_COLOR_TABLE_SGI: EnableCap read _POST_COLOR_MATRIX_COLOR_TABLE_SGI; + public static property TEXTURE_4D_SGIS: EnableCap read _TEXTURE_4D_SGIS; + public static property PIXEL_TEX_GEN_SGIX: EnableCap read _PIXEL_TEX_GEN_SGIX; + public static property SPRITE_SGIX: EnableCap read _SPRITE_SGIX; + public static property REFERENCE_PLANE_SGIX: EnableCap read _REFERENCE_PLANE_SGIX; + public static property IR_INSTRUMENT1_SGIX: EnableCap read _IR_INSTRUMENT1_SGIX; + public static property CALLIGRAPHIC_FRAGMENT_SGIX: EnableCap read _CALLIGRAPHIC_FRAGMENT_SGIX; + public static property FRAMEZOOM_SGIX: EnableCap read _FRAMEZOOM_SGIX; + public static property FOG_OFFSET_SGIX: EnableCap read _FOG_OFFSET_SGIX; + public static property SHARED_TEXTURE_PALETTE_EXT: EnableCap read _SHARED_TEXTURE_PALETTE_EXT; + public static property DEBUG_OUTPUT_SYNCHRONOUS: EnableCap read _DEBUG_OUTPUT_SYNCHRONOUS; + public static property ASYNC_HISTOGRAM_SGIX: EnableCap read _ASYNC_HISTOGRAM_SGIX; + public static property PIXEL_TEXTURE_SGIS: EnableCap read _PIXEL_TEXTURE_SGIS; + public static property ASYNC_TEX_IMAGE_SGIX: EnableCap read _ASYNC_TEX_IMAGE_SGIX; + public static property ASYNC_DRAW_PIXELS_SGIX: EnableCap read _ASYNC_DRAW_PIXELS_SGIX; + public static property ASYNC_READ_PIXELS_SGIX: EnableCap read _ASYNC_READ_PIXELS_SGIX; + public static property FRAGMENT_LIGHTING_SGIX: EnableCap read _FRAGMENT_LIGHTING_SGIX; + public static property FRAGMENT_COLOR_MATERIAL_SGIX: EnableCap read _FRAGMENT_COLOR_MATERIAL_SGIX; + public static property FRAGMENT_LIGHT0_SGIX: EnableCap read _FRAGMENT_LIGHT0_SGIX; + public static property FRAGMENT_LIGHT1_SGIX: EnableCap read _FRAGMENT_LIGHT1_SGIX; + public static property FRAGMENT_LIGHT2_SGIX: EnableCap read _FRAGMENT_LIGHT2_SGIX; + public static property FRAGMENT_LIGHT3_SGIX: EnableCap read _FRAGMENT_LIGHT3_SGIX; + public static property FRAGMENT_LIGHT4_SGIX: EnableCap read _FRAGMENT_LIGHT4_SGIX; + public static property FRAGMENT_LIGHT5_SGIX: EnableCap read _FRAGMENT_LIGHT5_SGIX; + public static property FRAGMENT_LIGHT6_SGIX: EnableCap read _FRAGMENT_LIGHT6_SGIX; + public static property FRAGMENT_LIGHT7_SGIX: EnableCap read _FRAGMENT_LIGHT7_SGIX; + public static property PROGRAM_POINT_SIZE: EnableCap read _PROGRAM_POINT_SIZE; + public static property DEPTH_CLAMP: EnableCap read _DEPTH_CLAMP; + public static property TEXTURE_CUBE_MAP_SEAMLESS: EnableCap read _TEXTURE_CUBE_MAP_SEAMLESS; + public static property SAMPLE_SHADING: EnableCap read _SAMPLE_SHADING; + public static property RASTERIZER_DISCARD: EnableCap read _RASTERIZER_DISCARD; + public static property PRIMITIVE_RESTART_FIXED_INDEX: EnableCap read _PRIMITIVE_RESTART_FIXED_INDEX; + public static property FRAMEBUFFER_SRGB: EnableCap read _FRAMEBUFFER_SRGB; + public static property SAMPLE_MASK: EnableCap read _SAMPLE_MASK; + public static property PRIMITIVE_RESTART: EnableCap read _PRIMITIVE_RESTART; + public static property DEBUG_OUTPUT: EnableCap read _DEBUG_OUTPUT; + + public function ToString: string; override; + begin + var res := typeof(EnableCap).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'EnableCap[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - StencilOpFailMode = record + ErrorCode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property KEEP: StencilOpFailMode read new StencilOpFailMode($1E00); - public static property ZERO: StencilOpFailMode read new StencilOpFailMode(0); - public static property REPLACE: StencilOpFailMode read new StencilOpFailMode($1E01); - public static property INCR: StencilOpFailMode read new StencilOpFailMode($1E02); - public static property INCR_WRAP: StencilOpFailMode read new StencilOpFailMode($8507); - public static property DECR: StencilOpFailMode read new StencilOpFailMode($1E03); - public static property DECR_WRAP: StencilOpFailMode read new StencilOpFailMode($8508); - public static property INVERT: StencilOpFailMode read new StencilOpFailMode($150A); + private static _NO_ERROR := new ErrorCode($0000); + private static _INVALID_ENUM := new ErrorCode($0500); + private static _INVALID_VALUE := new ErrorCode($0501); + private static _INVALID_OPERATION := new ErrorCode($0502); + private static _STACK_OVERFLOW := new ErrorCode($0503); + private static _STACK_UNDERFLOW := new ErrorCode($0504); + private static _OUT_OF_MEMORY := new ErrorCode($0505); + private static _INVALID_FRAMEBUFFER_OPERATION := new ErrorCode($0506); + private static _INVALID_FRAMEBUFFER_OPERATION_EXT := new ErrorCode($0506); + private static _INVALID_FRAMEBUFFER_OPERATION_OES := new ErrorCode($0506); + private static _TABLE_TOO_LARGE := new ErrorCode($8031); + private static _TABLE_TOO_LARGE_EXT := new ErrorCode($8031); + private static _TEXTURE_TOO_LARGE_EXT := new ErrorCode($8065); + + public static property NO_ERROR: ErrorCode read _NO_ERROR; + public static property INVALID_ENUM: ErrorCode read _INVALID_ENUM; + public static property INVALID_VALUE: ErrorCode read _INVALID_VALUE; + public static property INVALID_OPERATION: ErrorCode read _INVALID_OPERATION; + public static property STACK_OVERFLOW: ErrorCode read _STACK_OVERFLOW; + public static property STACK_UNDERFLOW: ErrorCode read _STACK_UNDERFLOW; + public static property OUT_OF_MEMORY: ErrorCode read _OUT_OF_MEMORY; + public static property INVALID_FRAMEBUFFER_OPERATION: ErrorCode read _INVALID_FRAMEBUFFER_OPERATION; + public static property INVALID_FRAMEBUFFER_OPERATION_EXT: ErrorCode read _INVALID_FRAMEBUFFER_OPERATION_EXT; + public static property INVALID_FRAMEBUFFER_OPERATION_OES: ErrorCode read _INVALID_FRAMEBUFFER_OPERATION_OES; + public static property TABLE_TOO_LARGE: ErrorCode read _TABLE_TOO_LARGE; + public static property TABLE_TOO_LARGE_EXT: ErrorCode read _TABLE_TOO_LARGE_EXT; + public static property TEXTURE_TOO_LARGE_EXT: ErrorCode read _TEXTURE_TOO_LARGE_EXT; + + public function ToString: string; override; + begin + var res := typeof(ErrorCode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ErrorCode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ActivationFunc = record + ExternalHandleType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property NEVER: ActivationFunc read new ActivationFunc($0200); - public static property LESS: ActivationFunc read new ActivationFunc($0201); - public static property LEQUAL: ActivationFunc read new ActivationFunc($0203); - public static property GREATER: ActivationFunc read new ActivationFunc($0204); - public static property GEQUAL: ActivationFunc read new ActivationFunc($0206); - public static property EQUAL: ActivationFunc read new ActivationFunc($0202); - public static property NOTEQUAL: ActivationFunc read new ActivationFunc($0205); - public static property ALWAYS: ActivationFunc read new ActivationFunc($0207); + private static _HANDLE_TYPE_OPAQUE_FD_EXT := new ExternalHandleType($9586); + private static _HANDLE_TYPE_OPAQUE_WIN32_EXT := new ExternalHandleType($9587); + private static _HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT := new ExternalHandleType($9588); + private static _HANDLE_TYPE_D3D12_TILEPOOL_EXT := new ExternalHandleType($9589); + private static _HANDLE_TYPE_D3D12_RESOURCE_EXT := new ExternalHandleType($958A); + private static _HANDLE_TYPE_D3D11_IMAGE_EXT := new ExternalHandleType($958B); + private static _HANDLE_TYPE_D3D11_IMAGE_KMT_EXT := new ExternalHandleType($958C); + private static _HANDLE_TYPE_D3D12_FENCE_EXT := new ExternalHandleType($9594); + + public static property HANDLE_TYPE_OPAQUE_FD_EXT: ExternalHandleType read _HANDLE_TYPE_OPAQUE_FD_EXT; + public static property HANDLE_TYPE_OPAQUE_WIN32_EXT: ExternalHandleType read _HANDLE_TYPE_OPAQUE_WIN32_EXT; + public static property HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT: ExternalHandleType read _HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT; + public static property HANDLE_TYPE_D3D12_TILEPOOL_EXT: ExternalHandleType read _HANDLE_TYPE_D3D12_TILEPOOL_EXT; + public static property HANDLE_TYPE_D3D12_RESOURCE_EXT: ExternalHandleType read _HANDLE_TYPE_D3D12_RESOURCE_EXT; + public static property HANDLE_TYPE_D3D11_IMAGE_EXT: ExternalHandleType read _HANDLE_TYPE_D3D11_IMAGE_EXT; + public static property HANDLE_TYPE_D3D11_IMAGE_KMT_EXT: ExternalHandleType read _HANDLE_TYPE_D3D11_IMAGE_KMT_EXT; + public static property HANDLE_TYPE_D3D12_FENCE_EXT: ExternalHandleType read _HANDLE_TYPE_D3D12_FENCE_EXT; + + public function ToString: string; override; + begin + var res := typeof(ExternalHandleType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ExternalHandleType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PolygonRasterizationMode = record + FeedbackType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property POINT: PolygonRasterizationMode read new PolygonRasterizationMode($1B00); - public static property LINE: PolygonRasterizationMode read new PolygonRasterizationMode($1B01); - public static property FILL: PolygonRasterizationMode read new PolygonRasterizationMode($1B02); + private static _GL_2D := new FeedbackType($0600); + private static _GL_3D := new FeedbackType($0601); + private static _GL_3D_COLOR := new FeedbackType($0602); + private static _GL_3D_COLOR_TEXTURE := new FeedbackType($0603); + private static _GL_4D_COLOR_TEXTURE := new FeedbackType($0604); + + public static property GL_2D: FeedbackType read _GL_2D; + public static property GL_3D: FeedbackType read _GL_3D; + public static property GL_3D_COLOR: FeedbackType read _GL_3D_COLOR; + public static property GL_3D_COLOR_TEXTURE: FeedbackType read _GL_3D_COLOR_TEXTURE; + public static property GL_4D_COLOR_TEXTURE: FeedbackType read _GL_4D_COLOR_TEXTURE; + + public function ToString: string; override; + begin + var res := typeof(FeedbackType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FeedbackType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PolygonFace = record + FogCoordinatePointerType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property FRONT: PolygonFace read new PolygonFace($0404); - public static property BACK: PolygonFace read new PolygonFace($0405); - public static property FRONT_AND_BACK: PolygonFace read new PolygonFace($0408); + private static _FLOAT := new FogCoordinatePointerType($1406); + private static _DOUBLE := new FogCoordinatePointerType($140A); + + public static property FLOAT: FogCoordinatePointerType read _FLOAT; + public static property DOUBLE: FogCoordinatePointerType read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(FogCoordinatePointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FogCoordinatePointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FogParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FOG_INDEX := new FogParameter($0B61); + private static _FOG_DENSITY := new FogParameter($0B62); + private static _FOG_START := new FogParameter($0B63); + private static _FOG_END := new FogParameter($0B64); + private static _FOG_MODE := new FogParameter($0B65); + private static _FOG_COLOR := new FogParameter($0B66); + private static _FOG_OFFSET_VALUE_SGIX := new FogParameter($8199); + + public static property FOG_INDEX: FogParameter read _FOG_INDEX; + public static property FOG_DENSITY: FogParameter read _FOG_DENSITY; + public static property FOG_START: FogParameter read _FOG_START; + public static property FOG_END: FogParameter read _FOG_END; + public static property FOG_MODE: FogParameter read _FOG_MODE; + public static property FOG_COLOR: FogParameter read _FOG_COLOR; + public static property FOG_OFFSET_VALUE_SGIX: FogParameter read _FOG_OFFSET_VALUE_SGIX; + + public function ToString: string; override; + begin + var res := typeof(FogParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FogParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FogPName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FOG_INDEX := new FogPName($0B61); + private static _FOG_DENSITY := new FogPName($0B62); + private static _FOG_START := new FogPName($0B63); + private static _FOG_END := new FogPName($0B64); + private static _FOG_MODE := new FogPName($0B65); + private static _FOG_COORD_SRC := new FogPName($8450); + + public static property FOG_INDEX: FogPName read _FOG_INDEX; + public static property FOG_DENSITY: FogPName read _FOG_DENSITY; + public static property FOG_START: FogPName read _FOG_START; + public static property FOG_END: FogPName read _FOG_END; + public static property FOG_MODE: FogPName read _FOG_MODE; + public static property FOG_COORD_SRC: FogPName read _FOG_COORD_SRC; + + public function ToString: string; override; + begin + var res := typeof(FogPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FogPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FramebufferAttachment = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COLOR_ATTACHMENT0 := new FramebufferAttachment($8CE0); + private static _COLOR_ATTACHMENT1 := new FramebufferAttachment($8CE1); + private static _COLOR_ATTACHMENT2 := new FramebufferAttachment($8CE2); + private static _COLOR_ATTACHMENT3 := new FramebufferAttachment($8CE3); + private static _COLOR_ATTACHMENT4 := new FramebufferAttachment($8CE4); + private static _COLOR_ATTACHMENT5 := new FramebufferAttachment($8CE5); + private static _COLOR_ATTACHMENT6 := new FramebufferAttachment($8CE6); + private static _COLOR_ATTACHMENT7 := new FramebufferAttachment($8CE7); + private static _COLOR_ATTACHMENT8 := new FramebufferAttachment($8CE8); + private static _COLOR_ATTACHMENT9 := new FramebufferAttachment($8CE9); + private static _COLOR_ATTACHMENT10 := new FramebufferAttachment($8CEA); + private static _COLOR_ATTACHMENT11 := new FramebufferAttachment($8CEB); + private static _COLOR_ATTACHMENT12 := new FramebufferAttachment($8CEC); + private static _COLOR_ATTACHMENT13 := new FramebufferAttachment($8CED); + private static _COLOR_ATTACHMENT14 := new FramebufferAttachment($8CEE); + private static _COLOR_ATTACHMENT15 := new FramebufferAttachment($8CEF); + private static _COLOR_ATTACHMENT16 := new FramebufferAttachment($8CF0); + private static _COLOR_ATTACHMENT17 := new FramebufferAttachment($8CF1); + private static _COLOR_ATTACHMENT18 := new FramebufferAttachment($8CF2); + private static _COLOR_ATTACHMENT19 := new FramebufferAttachment($8CF3); + private static _COLOR_ATTACHMENT20 := new FramebufferAttachment($8CF4); + private static _COLOR_ATTACHMENT21 := new FramebufferAttachment($8CF5); + private static _COLOR_ATTACHMENT22 := new FramebufferAttachment($8CF6); + private static _COLOR_ATTACHMENT23 := new FramebufferAttachment($8CF7); + private static _COLOR_ATTACHMENT24 := new FramebufferAttachment($8CF8); + private static _COLOR_ATTACHMENT25 := new FramebufferAttachment($8CF9); + private static _COLOR_ATTACHMENT26 := new FramebufferAttachment($8CFA); + private static _COLOR_ATTACHMENT27 := new FramebufferAttachment($8CFB); + private static _COLOR_ATTACHMENT28 := new FramebufferAttachment($8CFC); + private static _COLOR_ATTACHMENT29 := new FramebufferAttachment($8CFD); + private static _COLOR_ATTACHMENT30 := new FramebufferAttachment($8CFE); + private static _COLOR_ATTACHMENT31 := new FramebufferAttachment($8CFF); + private static _STENCIL_ATTACHMENT := new FramebufferAttachment($8D20); + + public static property COLOR_ATTACHMENT0: FramebufferAttachment read _COLOR_ATTACHMENT0; + public static property COLOR_ATTACHMENT1: FramebufferAttachment read _COLOR_ATTACHMENT1; + public static property COLOR_ATTACHMENT2: FramebufferAttachment read _COLOR_ATTACHMENT2; + public static property COLOR_ATTACHMENT3: FramebufferAttachment read _COLOR_ATTACHMENT3; + public static property COLOR_ATTACHMENT4: FramebufferAttachment read _COLOR_ATTACHMENT4; + public static property COLOR_ATTACHMENT5: FramebufferAttachment read _COLOR_ATTACHMENT5; + public static property COLOR_ATTACHMENT6: FramebufferAttachment read _COLOR_ATTACHMENT6; + public static property COLOR_ATTACHMENT7: FramebufferAttachment read _COLOR_ATTACHMENT7; + public static property COLOR_ATTACHMENT8: FramebufferAttachment read _COLOR_ATTACHMENT8; + public static property COLOR_ATTACHMENT9: FramebufferAttachment read _COLOR_ATTACHMENT9; + public static property COLOR_ATTACHMENT10: FramebufferAttachment read _COLOR_ATTACHMENT10; + public static property COLOR_ATTACHMENT11: FramebufferAttachment read _COLOR_ATTACHMENT11; + public static property COLOR_ATTACHMENT12: FramebufferAttachment read _COLOR_ATTACHMENT12; + public static property COLOR_ATTACHMENT13: FramebufferAttachment read _COLOR_ATTACHMENT13; + public static property COLOR_ATTACHMENT14: FramebufferAttachment read _COLOR_ATTACHMENT14; + public static property COLOR_ATTACHMENT15: FramebufferAttachment read _COLOR_ATTACHMENT15; + public static property COLOR_ATTACHMENT16: FramebufferAttachment read _COLOR_ATTACHMENT16; + public static property COLOR_ATTACHMENT17: FramebufferAttachment read _COLOR_ATTACHMENT17; + public static property COLOR_ATTACHMENT18: FramebufferAttachment read _COLOR_ATTACHMENT18; + public static property COLOR_ATTACHMENT19: FramebufferAttachment read _COLOR_ATTACHMENT19; + public static property COLOR_ATTACHMENT20: FramebufferAttachment read _COLOR_ATTACHMENT20; + public static property COLOR_ATTACHMENT21: FramebufferAttachment read _COLOR_ATTACHMENT21; + public static property COLOR_ATTACHMENT22: FramebufferAttachment read _COLOR_ATTACHMENT22; + public static property COLOR_ATTACHMENT23: FramebufferAttachment read _COLOR_ATTACHMENT23; + public static property COLOR_ATTACHMENT24: FramebufferAttachment read _COLOR_ATTACHMENT24; + public static property COLOR_ATTACHMENT25: FramebufferAttachment read _COLOR_ATTACHMENT25; + public static property COLOR_ATTACHMENT26: FramebufferAttachment read _COLOR_ATTACHMENT26; + public static property COLOR_ATTACHMENT27: FramebufferAttachment read _COLOR_ATTACHMENT27; + public static property COLOR_ATTACHMENT28: FramebufferAttachment read _COLOR_ATTACHMENT28; + public static property COLOR_ATTACHMENT29: FramebufferAttachment read _COLOR_ATTACHMENT29; + public static property COLOR_ATTACHMENT30: FramebufferAttachment read _COLOR_ATTACHMENT30; + public static property COLOR_ATTACHMENT31: FramebufferAttachment read _COLOR_ATTACHMENT31; + public static property STENCIL_ATTACHMENT: FramebufferAttachment read _STENCIL_ATTACHMENT; + + public function ToString: string; override; + begin + var res := typeof(FramebufferAttachment).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FramebufferAttachment[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FramebufferAttachmentParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING := new FramebufferAttachmentParameterName($8210); + private static _FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT := new FramebufferAttachmentParameterName($8210); + private static _FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE := new FramebufferAttachmentParameterName($8211); + private static _FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT := new FramebufferAttachmentParameterName($8211); + private static _FRAMEBUFFER_ATTACHMENT_RED_SIZE := new FramebufferAttachmentParameterName($8212); + private static _FRAMEBUFFER_ATTACHMENT_GREEN_SIZE := new FramebufferAttachmentParameterName($8213); + private static _FRAMEBUFFER_ATTACHMENT_BLUE_SIZE := new FramebufferAttachmentParameterName($8214); + private static _FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE := new FramebufferAttachmentParameterName($8215); + private static _FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE := new FramebufferAttachmentParameterName($8216); + private static _FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE := new FramebufferAttachmentParameterName($8217); + private static _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE := new FramebufferAttachmentParameterName($8CD0); + private static _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT := new FramebufferAttachmentParameterName($8CD0); + private static _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES := new FramebufferAttachmentParameterName($8CD0); + private static _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME := new FramebufferAttachmentParameterName($8CD1); + private static _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT := new FramebufferAttachmentParameterName($8CD1); + private static _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES := new FramebufferAttachmentParameterName($8CD1); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL := new FramebufferAttachmentParameterName($8CD2); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT := new FramebufferAttachmentParameterName($8CD2); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES := new FramebufferAttachmentParameterName($8CD2); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE := new FramebufferAttachmentParameterName($8CD3); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT := new FramebufferAttachmentParameterName($8CD3); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES := new FramebufferAttachmentParameterName($8CD3); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT := new FramebufferAttachmentParameterName($8CD4); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES := new FramebufferAttachmentParameterName($8CD4); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER := new FramebufferAttachmentParameterName($8CD4); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT := new FramebufferAttachmentParameterName($8CD4); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT := new FramebufferAttachmentParameterName($8D6C); + private static _FRAMEBUFFER_ATTACHMENT_LAYERED := new FramebufferAttachmentParameterName($8DA7); + private static _FRAMEBUFFER_ATTACHMENT_LAYERED_ARB := new FramebufferAttachmentParameterName($8DA7); + private static _FRAMEBUFFER_ATTACHMENT_LAYERED_EXT := new FramebufferAttachmentParameterName($8DA7); + private static _FRAMEBUFFER_ATTACHMENT_LAYERED_OES := new FramebufferAttachmentParameterName($8DA7); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG := new FramebufferAttachmentParameterName($913F); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR := new FramebufferAttachmentParameterName($9630); + private static _FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR := new FramebufferAttachmentParameterName($9632); + + public static property FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING; + public static property FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT; + public static property FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE; + public static property FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT; + public static property FRAMEBUFFER_ATTACHMENT_RED_SIZE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_RED_SIZE; + public static property FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_GREEN_SIZE; + public static property FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_BLUE_SIZE; + public static property FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE; + public static property FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE; + public static property FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE; + public static property FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; + public static property FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT; + public static property FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES; + public static property FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; + public static property FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT; + public static property FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT; + public static property FRAMEBUFFER_ATTACHMENT_LAYERED: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_LAYERED; + public static property FRAMEBUFFER_ATTACHMENT_LAYERED_ARB: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_LAYERED_ARB; + public static property FRAMEBUFFER_ATTACHMENT_LAYERED_EXT: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_LAYERED_EXT; + public static property FRAMEBUFFER_ATTACHMENT_LAYERED_OES: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_LAYERED_OES; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR; + public static property FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: FramebufferAttachmentParameterName read _FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR; + + public function ToString: string; override; + begin + var res := typeof(FramebufferAttachmentParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FramebufferAttachmentParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FramebufferParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FRAMEBUFFER_DEFAULT_WIDTH := new FramebufferParameterName($9310); + private static _FRAMEBUFFER_DEFAULT_HEIGHT := new FramebufferParameterName($9311); + private static _FRAMEBUFFER_DEFAULT_LAYERS := new FramebufferParameterName($9312); + private static _FRAMEBUFFER_DEFAULT_SAMPLES := new FramebufferParameterName($9313); + private static _FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS := new FramebufferParameterName($9314); + + public static property FRAMEBUFFER_DEFAULT_WIDTH: FramebufferParameterName read _FRAMEBUFFER_DEFAULT_WIDTH; + public static property FRAMEBUFFER_DEFAULT_HEIGHT: FramebufferParameterName read _FRAMEBUFFER_DEFAULT_HEIGHT; + public static property FRAMEBUFFER_DEFAULT_LAYERS: FramebufferParameterName read _FRAMEBUFFER_DEFAULT_LAYERS; + public static property FRAMEBUFFER_DEFAULT_SAMPLES: FramebufferParameterName read _FRAMEBUFFER_DEFAULT_SAMPLES; + public static property FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS: FramebufferParameterName read _FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS; + + public function ToString: string; override; + begin + var res := typeof(FramebufferParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FramebufferParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FramebufferStatus = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FRAMEBUFFER_UNDEFINED := new FramebufferStatus($8219); + private static _FRAMEBUFFER_COMPLETE := new FramebufferStatus($8CD5); + private static _FRAMEBUFFER_INCOMPLETE_ATTACHMENT := new FramebufferStatus($8CD6); + private static _FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT := new FramebufferStatus($8CD7); + private static _FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER := new FramebufferStatus($8CDB); + private static _FRAMEBUFFER_INCOMPLETE_READ_BUFFER := new FramebufferStatus($8CDC); + private static _FRAMEBUFFER_UNSUPPORTED := new FramebufferStatus($8CDD); + private static _FRAMEBUFFER_INCOMPLETE_MULTISAMPLE := new FramebufferStatus($8D56); + private static _FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS := new FramebufferStatus($8DA8); + + public static property FRAMEBUFFER_UNDEFINED: FramebufferStatus read _FRAMEBUFFER_UNDEFINED; + public static property FRAMEBUFFER_COMPLETE: FramebufferStatus read _FRAMEBUFFER_COMPLETE; + public static property FRAMEBUFFER_INCOMPLETE_ATTACHMENT: FramebufferStatus read _FRAMEBUFFER_INCOMPLETE_ATTACHMENT; + public static property FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: FramebufferStatus read _FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; + public static property FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER: FramebufferStatus read _FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER; + public static property FRAMEBUFFER_INCOMPLETE_READ_BUFFER: FramebufferStatus read _FRAMEBUFFER_INCOMPLETE_READ_BUFFER; + public static property FRAMEBUFFER_UNSUPPORTED: FramebufferStatus read _FRAMEBUFFER_UNSUPPORTED; + public static property FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: FramebufferStatus read _FRAMEBUFFER_INCOMPLETE_MULTISAMPLE; + public static property FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS: FramebufferStatus read _FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS; + + public function ToString: string; override; + begin + var res := typeof(FramebufferStatus).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FramebufferStatus[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FramebufferTarget = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _READ_FRAMEBUFFER := new FramebufferTarget($8CA8); + private static _DRAW_FRAMEBUFFER := new FramebufferTarget($8CA9); + private static _FRAMEBUFFER := new FramebufferTarget($8D40); + private static _FRAMEBUFFER_OES := new FramebufferTarget($8D40); + + public static property READ_FRAMEBUFFER: FramebufferTarget read _READ_FRAMEBUFFER; + public static property DRAW_FRAMEBUFFER: FramebufferTarget read _DRAW_FRAMEBUFFER; + public static property FRAMEBUFFER: FramebufferTarget read _FRAMEBUFFER; + public static property FRAMEBUFFER_OES: FramebufferTarget read _FRAMEBUFFER_OES; + + public function ToString: string; override; + begin + var res := typeof(FramebufferTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FramebufferTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S FrontFaceDirection = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property СW: FrontFaceDirection read new FrontFaceDirection($0900); - public static property СCW: FrontFaceDirection read new FrontFaceDirection($0901); + private static _CW := new FrontFaceDirection($0900); + private static _CCW := new FrontFaceDirection($0901); + + public static property CW: FrontFaceDirection read _CW; + public static property CCW: FrontFaceDirection read _CCW; + + public function ToString: string; override; + begin + var res := typeof(FrontFaceDirection).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FrontFaceDirection[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PointInfoType = record + GetFramebufferParameter = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property FADE_THRESHOLD_SIZE: PointInfoType read new PointInfoType($8128); - public static property SPRITE_COORD_ORIGIN: PointInfoType read new PointInfoType($8CA0); + private static _DOUBLEBUFFER := new GetFramebufferParameter($0C32); + private static _STEREO := new GetFramebufferParameter($0C33); + private static _SAMPLE_BUFFERS := new GetFramebufferParameter($80A8); + private static _SAMPLES := new GetFramebufferParameter($80A9); + private static _IMPLEMENTATION_COLOR_READ_TYPE := new GetFramebufferParameter($8B9A); + private static _IMPLEMENTATION_COLOR_READ_FORMAT := new GetFramebufferParameter($8B9B); + private static _FRAMEBUFFER_DEFAULT_WIDTH := new GetFramebufferParameter($9310); + private static _FRAMEBUFFER_DEFAULT_HEIGHT := new GetFramebufferParameter($9311); + private static _FRAMEBUFFER_DEFAULT_LAYERS := new GetFramebufferParameter($9312); + private static _FRAMEBUFFER_DEFAULT_SAMPLES := new GetFramebufferParameter($9313); + private static _FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS := new GetFramebufferParameter($9314); + + public static property DOUBLEBUFFER: GetFramebufferParameter read _DOUBLEBUFFER; + public static property STEREO: GetFramebufferParameter read _STEREO; + public static property SAMPLE_BUFFERS: GetFramebufferParameter read _SAMPLE_BUFFERS; + public static property SAMPLES: GetFramebufferParameter read _SAMPLES; + public static property IMPLEMENTATION_COLOR_READ_TYPE: GetFramebufferParameter read _IMPLEMENTATION_COLOR_READ_TYPE; + public static property IMPLEMENTATION_COLOR_READ_FORMAT: GetFramebufferParameter read _IMPLEMENTATION_COLOR_READ_FORMAT; + public static property FRAMEBUFFER_DEFAULT_WIDTH: GetFramebufferParameter read _FRAMEBUFFER_DEFAULT_WIDTH; + public static property FRAMEBUFFER_DEFAULT_HEIGHT: GetFramebufferParameter read _FRAMEBUFFER_DEFAULT_HEIGHT; + public static property FRAMEBUFFER_DEFAULT_LAYERS: GetFramebufferParameter read _FRAMEBUFFER_DEFAULT_LAYERS; + public static property FRAMEBUFFER_DEFAULT_SAMPLES: GetFramebufferParameter read _FRAMEBUFFER_DEFAULT_SAMPLES; + public static property FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS: GetFramebufferParameter read _FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS; + + public function ToString: string; override; + begin + var res := typeof(GetFramebufferParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetFramebufferParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - MultisampleInfoType = record + GetMapQuery = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property GL_SAMPLE_POSITION: MultisampleInfoType read new MultisampleInfoType($8E50); + private static _COEFF := new GetMapQuery($0A00); + private static _ORDER := new GetMapQuery($0A01); + private static _DOMAIN := new GetMapQuery($0A02); + + public static property COEFF: GetMapQuery read _COEFF; + public static property ORDER: GetMapQuery read _ORDER; + public static property DOMAIN: GetMapQuery read _DOMAIN; + + public function ToString: string; override; + begin + var res := typeof(GetMapQuery).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetMapQuery[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ClipDepthMode = record + GetPName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property NEGATIVE_ONE_TO_ONE: ClipDepthMode read new ClipDepthMode($935E); - public static property ZERO_TO_ONE: ClipDepthMode read new ClipDepthMode($935F); + private static _CURRENT_COLOR := new GetPName($0B00); + private static _CURRENT_INDEX := new GetPName($0B01); + private static _CURRENT_NORMAL := new GetPName($0B02); + private static _CURRENT_TEXTURE_COORDS := new GetPName($0B03); + private static _CURRENT_RASTER_COLOR := new GetPName($0B04); + private static _CURRENT_RASTER_INDEX := new GetPName($0B05); + private static _CURRENT_RASTER_TEXTURE_COORDS := new GetPName($0B06); + private static _CURRENT_RASTER_POSITION := new GetPName($0B07); + private static _CURRENT_RASTER_POSITION_VALID := new GetPName($0B08); + private static _CURRENT_RASTER_DISTANCE := new GetPName($0B09); + private static _POINT_SMOOTH := new GetPName($0B10); + private static _POINT_SIZE := new GetPName($0B11); + private static _POINT_SIZE_RANGE := new GetPName($0B12); + private static _SMOOTH_POINT_SIZE_RANGE := new GetPName($0B12); + private static _POINT_SIZE_GRANULARITY := new GetPName($0B13); + private static _SMOOTH_POINT_SIZE_GRANULARITY := new GetPName($0B13); + private static _LINE_SMOOTH := new GetPName($0B20); + private static _LINE_WIDTH := new GetPName($0B21); + private static _LINE_WIDTH_RANGE := new GetPName($0B22); + private static _SMOOTH_LINE_WIDTH_RANGE := new GetPName($0B22); + private static _LINE_WIDTH_GRANULARITY := new GetPName($0B23); + private static _SMOOTH_LINE_WIDTH_GRANULARITY := new GetPName($0B23); + private static _LINE_STIPPLE := new GetPName($0B24); + private static _LINE_STIPPLE_PATTERN := new GetPName($0B25); + private static _LINE_STIPPLE_REPEAT := new GetPName($0B26); + private static _LIST_MODE := new GetPName($0B30); + private static _MAX_LIST_NESTING := new GetPName($0B31); + private static _LIST_BASE := new GetPName($0B32); + private static _LIST_INDEX := new GetPName($0B33); + private static _POLYGON_MODE := new GetPName($0B40); + private static _POLYGON_SMOOTH := new GetPName($0B41); + private static _POLYGON_STIPPLE := new GetPName($0B42); + private static _EDGE_FLAG := new GetPName($0B43); + private static _CULL_FACE := new GetPName($0B44); + private static _CULL_FACE_MODE := new GetPName($0B45); + private static _FRONT_FACE := new GetPName($0B46); + private static _LIGHTING := new GetPName($0B50); + private static _LIGHT_MODEL_LOCAL_VIEWER := new GetPName($0B51); + private static _LIGHT_MODEL_TWO_SIDE := new GetPName($0B52); + private static _LIGHT_MODEL_AMBIENT := new GetPName($0B53); + private static _SHADE_MODEL := new GetPName($0B54); + private static _COLOR_MATERIAL_FACE := new GetPName($0B55); + private static _COLOR_MATERIAL_PARAMETER := new GetPName($0B56); + private static _COLOR_MATERIAL := new GetPName($0B57); + private static _FOG := new GetPName($0B60); + private static _FOG_INDEX := new GetPName($0B61); + private static _FOG_DENSITY := new GetPName($0B62); + private static _FOG_START := new GetPName($0B63); + private static _FOG_END := new GetPName($0B64); + private static _FOG_MODE := new GetPName($0B65); + private static _FOG_COLOR := new GetPName($0B66); + private static _DEPTH_RANGE := new GetPName($0B70); + private static _DEPTH_TEST := new GetPName($0B71); + private static _DEPTH_WRITEMASK := new GetPName($0B72); + private static _DEPTH_CLEAR_VALUE := new GetPName($0B73); + private static _DEPTH_FUNC := new GetPName($0B74); + private static _ACCUM_CLEAR_VALUE := new GetPName($0B80); + private static _STENCIL_TEST := new GetPName($0B90); + private static _STENCIL_CLEAR_VALUE := new GetPName($0B91); + private static _STENCIL_FUNC := new GetPName($0B92); + private static _STENCIL_VALUE_MASK := new GetPName($0B93); + private static _STENCIL_FAIL := new GetPName($0B94); + private static _STENCIL_PASS_DEPTH_FAIL := new GetPName($0B95); + private static _STENCIL_PASS_DEPTH_PASS := new GetPName($0B96); + private static _STENCIL_REF := new GetPName($0B97); + private static _STENCIL_WRITEMASK := new GetPName($0B98); + private static _MATRIX_MODE := new GetPName($0BA0); + private static _NORMALIZE := new GetPName($0BA1); + private static _VIEWPORT := new GetPName($0BA2); + private static _MODELVIEW_STACK_DEPTH := new GetPName($0BA3); + private static _MODELVIEW0_STACK_DEPTH_EXT := new GetPName($0BA3); + private static _PROJECTION_STACK_DEPTH := new GetPName($0BA4); + private static _TEXTURE_STACK_DEPTH := new GetPName($0BA5); + private static _MODELVIEW_MATRIX := new GetPName($0BA6); + private static _MODELVIEW0_MATRIX_EXT := new GetPName($0BA6); + private static _PROJECTION_MATRIX := new GetPName($0BA7); + private static _TEXTURE_MATRIX := new GetPName($0BA8); + private static _ATTRIB_STACK_DEPTH := new GetPName($0BB0); + private static _CLIENT_ATTRIB_STACK_DEPTH := new GetPName($0BB1); + private static _ALPHA_TEST := new GetPName($0BC0); + private static _ALPHA_TEST_QCOM := new GetPName($0BC0); + private static _ALPHA_TEST_FUNC := new GetPName($0BC1); + private static _ALPHA_TEST_FUNC_QCOM := new GetPName($0BC1); + private static _ALPHA_TEST_REF := new GetPName($0BC2); + private static _ALPHA_TEST_REF_QCOM := new GetPName($0BC2); + private static _DITHER := new GetPName($0BD0); + private static _BLEND_DST := new GetPName($0BE0); + private static _BLEND_SRC := new GetPName($0BE1); + private static _BLEND := new GetPName($0BE2); + private static _LOGIC_OP_MODE := new GetPName($0BF0); + private static _INDEX_LOGIC_OP := new GetPName($0BF1); + private static _LOGIC_OP := new GetPName($0BF1); + private static _COLOR_LOGIC_OP := new GetPName($0BF2); + private static _AUX_BUFFERS := new GetPName($0C00); + private static _DRAW_BUFFER := new GetPName($0C01); + private static _DRAW_BUFFER_EXT := new GetPName($0C01); + private static _READ_BUFFER := new GetPName($0C02); + private static _READ_BUFFER_EXT := new GetPName($0C02); + private static _READ_BUFFER_NV := new GetPName($0C02); + private static _SCISSOR_BOX := new GetPName($0C10); + private static _SCISSOR_TEST := new GetPName($0C11); + private static _INDEX_CLEAR_VALUE := new GetPName($0C20); + private static _INDEX_WRITEMASK := new GetPName($0C21); + private static _COLOR_CLEAR_VALUE := new GetPName($0C22); + private static _COLOR_WRITEMASK := new GetPName($0C23); + private static _INDEX_MODE := new GetPName($0C30); + private static _RGBA_MODE := new GetPName($0C31); + private static _DOUBLEBUFFER := new GetPName($0C32); + private static _STEREO := new GetPName($0C33); + private static _RENDER_MODE := new GetPName($0C40); + private static _PERSPECTIVE_CORRECTION_HINT := new GetPName($0C50); + private static _POINT_SMOOTH_HINT := new GetPName($0C51); + private static _LINE_SMOOTH_HINT := new GetPName($0C52); + private static _POLYGON_SMOOTH_HINT := new GetPName($0C53); + private static _FOG_HINT := new GetPName($0C54); + private static _TEXTURE_GEN_S := new GetPName($0C60); + private static _TEXTURE_GEN_T := new GetPName($0C61); + private static _TEXTURE_GEN_R := new GetPName($0C62); + private static _TEXTURE_GEN_Q := new GetPName($0C63); + private static _PIXEL_MAP_I_TO_I_SIZE := new GetPName($0CB0); + private static _PIXEL_MAP_S_TO_S_SIZE := new GetPName($0CB1); + private static _PIXEL_MAP_I_TO_R_SIZE := new GetPName($0CB2); + private static _PIXEL_MAP_I_TO_G_SIZE := new GetPName($0CB3); + private static _PIXEL_MAP_I_TO_B_SIZE := new GetPName($0CB4); + private static _PIXEL_MAP_I_TO_A_SIZE := new GetPName($0CB5); + private static _PIXEL_MAP_R_TO_R_SIZE := new GetPName($0CB6); + private static _PIXEL_MAP_G_TO_G_SIZE := new GetPName($0CB7); + private static _PIXEL_MAP_B_TO_B_SIZE := new GetPName($0CB8); + private static _PIXEL_MAP_A_TO_A_SIZE := new GetPName($0CB9); + private static _UNPACK_SWAP_BYTES := new GetPName($0CF0); + private static _UNPACK_LSB_FIRST := new GetPName($0CF1); + private static _UNPACK_ROW_LENGTH := new GetPName($0CF2); + private static _UNPACK_SKIP_ROWS := new GetPName($0CF3); + private static _UNPACK_SKIP_PIXELS := new GetPName($0CF4); + private static _UNPACK_ALIGNMENT := new GetPName($0CF5); + private static _PACK_SWAP_BYTES := new GetPName($0D00); + private static _PACK_LSB_FIRST := new GetPName($0D01); + private static _PACK_ROW_LENGTH := new GetPName($0D02); + private static _PACK_SKIP_ROWS := new GetPName($0D03); + private static _PACK_SKIP_PIXELS := new GetPName($0D04); + private static _PACK_ALIGNMENT := new GetPName($0D05); + private static _MAP_COLOR := new GetPName($0D10); + private static _MAP_STENCIL := new GetPName($0D11); + private static _INDEX_SHIFT := new GetPName($0D12); + private static _INDEX_OFFSET := new GetPName($0D13); + private static _RED_SCALE := new GetPName($0D14); + private static _RED_BIAS := new GetPName($0D15); + private static _ZOOM_X := new GetPName($0D16); + private static _ZOOM_Y := new GetPName($0D17); + private static _GREEN_SCALE := new GetPName($0D18); + private static _GREEN_BIAS := new GetPName($0D19); + private static _BLUE_SCALE := new GetPName($0D1A); + private static _BLUE_BIAS := new GetPName($0D1B); + private static _ALPHA_SCALE := new GetPName($0D1C); + private static _ALPHA_BIAS := new GetPName($0D1D); + private static _DEPTH_SCALE := new GetPName($0D1E); + private static _DEPTH_BIAS := new GetPName($0D1F); + private static _MAX_EVAL_ORDER := new GetPName($0D30); + private static _MAX_LIGHTS := new GetPName($0D31); + private static _MAX_CLIP_DISTANCES := new GetPName($0D32); + private static _MAX_CLIP_PLANES := new GetPName($0D32); + private static _MAX_TEXTURE_SIZE := new GetPName($0D33); + private static _MAX_PIXEL_MAP_TABLE := new GetPName($0D34); + private static _MAX_ATTRIB_STACK_DEPTH := new GetPName($0D35); + private static _MAX_MODELVIEW_STACK_DEPTH := new GetPName($0D36); + private static _MAX_NAME_STACK_DEPTH := new GetPName($0D37); + private static _MAX_PROJECTION_STACK_DEPTH := new GetPName($0D38); + private static _MAX_TEXTURE_STACK_DEPTH := new GetPName($0D39); + private static _MAX_VIEWPORT_DIMS := new GetPName($0D3A); + private static _MAX_CLIENT_ATTRIB_STACK_DEPTH := new GetPName($0D3B); + private static _SUBPIXEL_BITS := new GetPName($0D50); + private static _INDEX_BITS := new GetPName($0D51); + private static _RED_BITS := new GetPName($0D52); + private static _GREEN_BITS := new GetPName($0D53); + private static _BLUE_BITS := new GetPName($0D54); + private static _ALPHA_BITS := new GetPName($0D55); + private static _DEPTH_BITS := new GetPName($0D56); + private static _STENCIL_BITS := new GetPName($0D57); + private static _ACCUM_RED_BITS := new GetPName($0D58); + private static _ACCUM_GREEN_BITS := new GetPName($0D59); + private static _ACCUM_BLUE_BITS := new GetPName($0D5A); + private static _ACCUM_ALPHA_BITS := new GetPName($0D5B); + private static _NAME_STACK_DEPTH := new GetPName($0D70); + private static _AUTO_NORMAL := new GetPName($0D80); + private static _MAP1_COLOR_4 := new GetPName($0D90); + private static _MAP1_INDEX := new GetPName($0D91); + private static _MAP1_NORMAL := new GetPName($0D92); + private static _MAP1_TEXTURE_COORD_1 := new GetPName($0D93); + private static _MAP1_TEXTURE_COORD_2 := new GetPName($0D94); + private static _MAP1_TEXTURE_COORD_3 := new GetPName($0D95); + private static _MAP1_TEXTURE_COORD_4 := new GetPName($0D96); + private static _MAP1_VERTEX_3 := new GetPName($0D97); + private static _MAP1_VERTEX_4 := new GetPName($0D98); + private static _MAP2_COLOR_4 := new GetPName($0DB0); + private static _MAP2_INDEX := new GetPName($0DB1); + private static _MAP2_NORMAL := new GetPName($0DB2); + private static _MAP2_TEXTURE_COORD_1 := new GetPName($0DB3); + private static _MAP2_TEXTURE_COORD_2 := new GetPName($0DB4); + private static _MAP2_TEXTURE_COORD_3 := new GetPName($0DB5); + private static _MAP2_TEXTURE_COORD_4 := new GetPName($0DB6); + private static _MAP2_VERTEX_3 := new GetPName($0DB7); + private static _MAP2_VERTEX_4 := new GetPName($0DB8); + private static _MAP1_GRID_DOMAIN := new GetPName($0DD0); + private static _MAP1_GRID_SEGMENTS := new GetPName($0DD1); + private static _MAP2_GRID_DOMAIN := new GetPName($0DD2); + private static _MAP2_GRID_SEGMENTS := new GetPName($0DD3); + private static _TEXTURE_1D := new GetPName($0DE0); + private static _TEXTURE_2D := new GetPName($0DE1); + private static _FEEDBACK_BUFFER_SIZE := new GetPName($0DF1); + private static _FEEDBACK_BUFFER_TYPE := new GetPName($0DF2); + private static _SELECTION_BUFFER_SIZE := new GetPName($0DF4); + private static _POLYGON_OFFSET_UNITS := new GetPName($2A00); + private static _POLYGON_OFFSET_POINT := new GetPName($2A01); + private static _POLYGON_OFFSET_LINE := new GetPName($2A02); + private static _CLIP_PLANE0 := new GetPName($3000); + private static _CLIP_PLANE1 := new GetPName($3001); + private static _CLIP_PLANE2 := new GetPName($3002); + private static _CLIP_PLANE3 := new GetPName($3003); + private static _CLIP_PLANE4 := new GetPName($3004); + private static _CLIP_PLANE5 := new GetPName($3005); + private static _LIGHT0 := new GetPName($4000); + private static _LIGHT1 := new GetPName($4001); + private static _LIGHT2 := new GetPName($4002); + private static _LIGHT3 := new GetPName($4003); + private static _LIGHT4 := new GetPName($4004); + private static _LIGHT5 := new GetPName($4005); + private static _LIGHT6 := new GetPName($4006); + private static _LIGHT7 := new GetPName($4007); + private static _BLEND_COLOR := new GetPName($8005); + private static _BLEND_COLOR_EXT := new GetPName($8005); + private static _BLEND_EQUATION_EXT := new GetPName($8009); + private static _BLEND_EQUATION_RGB := new GetPName($8009); + private static _PACK_CMYK_HINT_EXT := new GetPName($800E); + private static _UNPACK_CMYK_HINT_EXT := new GetPName($800F); + private static _CONVOLUTION_1D_EXT := new GetPName($8010); + private static _CONVOLUTION_2D_EXT := new GetPName($8011); + private static _SEPARABLE_2D_EXT := new GetPName($8012); + private static _POST_CONVOLUTION_RED_SCALE_EXT := new GetPName($801C); + private static _POST_CONVOLUTION_GREEN_SCALE_EXT := new GetPName($801D); + private static _POST_CONVOLUTION_BLUE_SCALE_EXT := new GetPName($801E); + private static _POST_CONVOLUTION_ALPHA_SCALE_EXT := new GetPName($801F); + private static _POST_CONVOLUTION_RED_BIAS_EXT := new GetPName($8020); + private static _POST_CONVOLUTION_GREEN_BIAS_EXT := new GetPName($8021); + private static _POST_CONVOLUTION_BLUE_BIAS_EXT := new GetPName($8022); + private static _POST_CONVOLUTION_ALPHA_BIAS_EXT := new GetPName($8023); + private static _HISTOGRAM_EXT := new GetPName($8024); + private static _MINMAX_EXT := new GetPName($802E); + private static _POLYGON_OFFSET_FILL := new GetPName($8037); + private static _POLYGON_OFFSET_FACTOR := new GetPName($8038); + private static _POLYGON_OFFSET_BIAS_EXT := new GetPName($8039); + private static _RESCALE_NORMAL_EXT := new GetPName($803A); + private static _TEXTURE_BINDING_1D := new GetPName($8068); + private static _TEXTURE_BINDING_2D := new GetPName($8069); + private static _TEXTURE_3D_BINDING_EXT := new GetPName($806A); + private static _TEXTURE_BINDING_3D := new GetPName($806A); + private static _PACK_SKIP_IMAGES := new GetPName($806B); + private static _PACK_SKIP_IMAGES_EXT := new GetPName($806B); + private static _PACK_IMAGE_HEIGHT := new GetPName($806C); + private static _PACK_IMAGE_HEIGHT_EXT := new GetPName($806C); + private static _UNPACK_SKIP_IMAGES := new GetPName($806D); + private static _UNPACK_SKIP_IMAGES_EXT := new GetPName($806D); + private static _UNPACK_IMAGE_HEIGHT := new GetPName($806E); + private static _UNPACK_IMAGE_HEIGHT_EXT := new GetPName($806E); + private static _TEXTURE_3D_EXT := new GetPName($806F); + private static _MAX_3D_TEXTURE_SIZE := new GetPName($8073); + private static _MAX_3D_TEXTURE_SIZE_EXT := new GetPName($8073); + private static _VERTEX_ARRAY := new GetPName($8074); + private static _NORMAL_ARRAY := new GetPName($8075); + private static _COLOR_ARRAY := new GetPName($8076); + private static _INDEX_ARRAY := new GetPName($8077); + private static _TEXTURE_COORD_ARRAY := new GetPName($8078); + private static _EDGE_FLAG_ARRAY := new GetPName($8079); + private static _VERTEX_ARRAY_SIZE := new GetPName($807A); + private static _VERTEX_ARRAY_TYPE := new GetPName($807B); + private static _VERTEX_ARRAY_STRIDE := new GetPName($807C); + private static _VERTEX_ARRAY_COUNT_EXT := new GetPName($807D); + private static _NORMAL_ARRAY_TYPE := new GetPName($807E); + private static _NORMAL_ARRAY_STRIDE := new GetPName($807F); + private static _NORMAL_ARRAY_COUNT_EXT := new GetPName($8080); + private static _COLOR_ARRAY_SIZE := new GetPName($8081); + private static _COLOR_ARRAY_TYPE := new GetPName($8082); + private static _COLOR_ARRAY_STRIDE := new GetPName($8083); + private static _COLOR_ARRAY_COUNT_EXT := new GetPName($8084); + private static _INDEX_ARRAY_TYPE := new GetPName($8085); + private static _INDEX_ARRAY_STRIDE := new GetPName($8086); + private static _INDEX_ARRAY_COUNT_EXT := new GetPName($8087); + private static _TEXTURE_COORD_ARRAY_SIZE := new GetPName($8088); + private static _TEXTURE_COORD_ARRAY_TYPE := new GetPName($8089); + private static _TEXTURE_COORD_ARRAY_STRIDE := new GetPName($808A); + private static _TEXTURE_COORD_ARRAY_COUNT_EXT := new GetPName($808B); + private static _EDGE_FLAG_ARRAY_STRIDE := new GetPName($808C); + private static _EDGE_FLAG_ARRAY_COUNT_EXT := new GetPName($808D); + private static _INTERLACE_SGIX := new GetPName($8094); + private static _DETAIL_TEXTURE_2D_BINDING_SGIS := new GetPName($8096); + private static _MULTISAMPLE_SGIS := new GetPName($809D); + private static _SAMPLE_ALPHA_TO_MASK_SGIS := new GetPName($809E); + private static _SAMPLE_ALPHA_TO_ONE_SGIS := new GetPName($809F); + private static _SAMPLE_MASK_SGIS := new GetPName($80A0); + private static _SAMPLE_BUFFERS := new GetPName($80A8); + private static _SAMPLE_BUFFERS_SGIS := new GetPName($80A8); + private static _SAMPLES := new GetPName($80A9); + private static _SAMPLES_SGIS := new GetPName($80A9); + private static _SAMPLE_COVERAGE_VALUE := new GetPName($80AA); + private static _SAMPLE_MASK_VALUE_SGIS := new GetPName($80AA); + private static _SAMPLE_COVERAGE_INVERT := new GetPName($80AB); + private static _SAMPLE_MASK_INVERT_SGIS := new GetPName($80AB); + private static _SAMPLE_PATTERN_SGIS := new GetPName($80AC); + private static _COLOR_MATRIX_SGI := new GetPName($80B1); + private static _COLOR_MATRIX_STACK_DEPTH_SGI := new GetPName($80B2); + private static _MAX_COLOR_MATRIX_STACK_DEPTH_SGI := new GetPName($80B3); + private static _POST_COLOR_MATRIX_RED_SCALE_SGI := new GetPName($80B4); + private static _POST_COLOR_MATRIX_GREEN_SCALE_SGI := new GetPName($80B5); + private static _POST_COLOR_MATRIX_BLUE_SCALE_SGI := new GetPName($80B6); + private static _POST_COLOR_MATRIX_ALPHA_SCALE_SGI := new GetPName($80B7); + private static _POST_COLOR_MATRIX_RED_BIAS_SGI := new GetPName($80B8); + private static _POST_COLOR_MATRIX_GREEN_BIAS_SGI := new GetPName($80B9); + private static _POST_COLOR_MATRIX_BLUE_BIAS_SGI := new GetPName($80BA); + private static _POST_COLOR_MATRIX_ALPHA_BIAS_SGI := new GetPName($80BB); + private static _TEXTURE_COLOR_TABLE_SGI := new GetPName($80BC); + private static _BLEND_DST_RGB := new GetPName($80C8); + private static _BLEND_SRC_RGB := new GetPName($80C9); + private static _BLEND_DST_ALPHA := new GetPName($80CA); + private static _BLEND_SRC_ALPHA := new GetPName($80CB); + private static _COLOR_TABLE_SGI := new GetPName($80D0); + private static _POST_CONVOLUTION_COLOR_TABLE_SGI := new GetPName($80D1); + private static _POST_COLOR_MATRIX_COLOR_TABLE_SGI := new GetPName($80D2); + private static _MAX_ELEMENTS_VERTICES := new GetPName($80E8); + private static _MAX_ELEMENTS_INDICES := new GetPName($80E9); + private static _POINT_SIZE_MIN_SGIS := new GetPName($8126); + private static _POINT_SIZE_MAX_SGIS := new GetPName($8127); + private static _POINT_FADE_THRESHOLD_SIZE := new GetPName($8128); + private static _POINT_FADE_THRESHOLD_SIZE_SGIS := new GetPName($8128); + private static _DISTANCE_ATTENUATION_SGIS := new GetPName($8129); + private static _FOG_FUNC_POINTS_SGIS := new GetPName($812B); + private static _MAX_FOG_FUNC_POINTS_SGIS := new GetPName($812C); + private static _PACK_SKIP_VOLUMES_SGIS := new GetPName($8130); + private static _PACK_IMAGE_DEPTH_SGIS := new GetPName($8131); + private static _UNPACK_SKIP_VOLUMES_SGIS := new GetPName($8132); + private static _UNPACK_IMAGE_DEPTH_SGIS := new GetPName($8133); + private static _TEXTURE_4D_SGIS := new GetPName($8134); + private static _MAX_4D_TEXTURE_SIZE_SGIS := new GetPName($8138); + private static _PIXEL_TEX_GEN_SGIX := new GetPName($8139); + private static _PIXEL_TILE_BEST_ALIGNMENT_SGIX := new GetPName($813E); + private static _PIXEL_TILE_CACHE_INCREMENT_SGIX := new GetPName($813F); + private static _PIXEL_TILE_WIDTH_SGIX := new GetPName($8140); + private static _PIXEL_TILE_HEIGHT_SGIX := new GetPName($8141); + private static _PIXEL_TILE_GRID_WIDTH_SGIX := new GetPName($8142); + private static _PIXEL_TILE_GRID_HEIGHT_SGIX := new GetPName($8143); + private static _PIXEL_TILE_GRID_DEPTH_SGIX := new GetPName($8144); + private static _PIXEL_TILE_CACHE_SIZE_SGIX := new GetPName($8145); + private static _SPRITE_SGIX := new GetPName($8148); + private static _SPRITE_MODE_SGIX := new GetPName($8149); + private static _SPRITE_AXIS_SGIX := new GetPName($814A); + private static _SPRITE_TRANSLATION_SGIX := new GetPName($814B); + private static _TEXTURE_4D_BINDING_SGIS := new GetPName($814F); + private static _MAX_CLIPMAP_DEPTH_SGIX := new GetPName($8177); + private static _MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX := new GetPName($8178); + private static _POST_TEXTURE_FILTER_BIAS_RANGE_SGIX := new GetPName($817B); + private static _POST_TEXTURE_FILTER_SCALE_RANGE_SGIX := new GetPName($817C); + private static _REFERENCE_PLANE_SGIX := new GetPName($817D); + private static _REFERENCE_PLANE_EQUATION_SGIX := new GetPName($817E); + private static _IR_INSTRUMENT1_SGIX := new GetPName($817F); + private static _INSTRUMENT_MEASUREMENTS_SGIX := new GetPName($8181); + private static _CALLIGRAPHIC_FRAGMENT_SGIX := new GetPName($8183); + private static _FRAMEZOOM_SGIX := new GetPName($818B); + private static _FRAMEZOOM_FACTOR_SGIX := new GetPName($818C); + private static _MAX_FRAMEZOOM_FACTOR_SGIX := new GetPName($818D); + private static _GENERATE_MIPMAP_HINT_SGIS := new GetPName($8192); + private static _DEFORMATIONS_MASK_SGIX := new GetPName($8196); + private static _FOG_OFFSET_SGIX := new GetPName($8198); + private static _FOG_OFFSET_VALUE_SGIX := new GetPName($8199); + private static _LIGHT_MODEL_COLOR_CONTROL := new GetPName($81F8); + private static _SHARED_TEXTURE_PALETTE_EXT := new GetPName($81FB); + private static _MAJOR_VERSION := new GetPName($821B); + private static _MINOR_VERSION := new GetPName($821C); + private static _NUM_EXTENSIONS := new GetPName($821D); + private static _CONTEXT_FLAGS := new GetPName($821E); + private static _PROGRAM_PIPELINE_BINDING := new GetPName($825A); + private static _MAX_VIEWPORTS := new GetPName($825B); + private static _VIEWPORT_SUBPIXEL_BITS := new GetPName($825C); + private static _VIEWPORT_BOUNDS_RANGE := new GetPName($825D); + private static _LAYER_PROVOKING_VERTEX := new GetPName($825E); + private static _VIEWPORT_INDEX_PROVOKING_VERTEX := new GetPName($825F); + private static _MAX_COMPUTE_UNIFORM_COMPONENTS := new GetPName($8263); + private static _MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS := new GetPName($8264); + private static _MAX_COMPUTE_ATOMIC_COUNTERS := new GetPName($8265); + private static _MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS := new GetPName($8266); + private static _MAX_DEBUG_GROUP_STACK_DEPTH := new GetPName($826C); + private static _DEBUG_GROUP_STACK_DEPTH := new GetPName($826D); + private static _MAX_UNIFORM_LOCATIONS := new GetPName($826E); + private static _VERTEX_BINDING_DIVISOR := new GetPName($82D6); + private static _VERTEX_BINDING_OFFSET := new GetPName($82D7); + private static _VERTEX_BINDING_STRIDE := new GetPName($82D8); + private static _MAX_VERTEX_ATTRIB_RELATIVE_OFFSET := new GetPName($82D9); + private static _MAX_VERTEX_ATTRIB_BINDINGS := new GetPName($82DA); + private static _MAX_LABEL_LENGTH := new GetPName($82E8); + private static _CONVOLUTION_HINT_SGIX := new GetPName($8316); + private static _ASYNC_MARKER_SGIX := new GetPName($8329); + private static _PIXEL_TEX_GEN_MODE_SGIX := new GetPName($832B); + private static _ASYNC_HISTOGRAM_SGIX := new GetPName($832C); + private static _MAX_ASYNC_HISTOGRAM_SGIX := new GetPName($832D); + private static _PIXEL_TEXTURE_SGIS := new GetPName($8353); + private static _ASYNC_TEX_IMAGE_SGIX := new GetPName($835C); + private static _ASYNC_DRAW_PIXELS_SGIX := new GetPName($835D); + private static _ASYNC_READ_PIXELS_SGIX := new GetPName($835E); + private static _MAX_ASYNC_TEX_IMAGE_SGIX := new GetPName($835F); + private static _MAX_ASYNC_DRAW_PIXELS_SGIX := new GetPName($8360); + private static _MAX_ASYNC_READ_PIXELS_SGIX := new GetPName($8361); + private static _VERTEX_PRECLIP_SGIX := new GetPName($83EE); + private static _VERTEX_PRECLIP_HINT_SGIX := new GetPName($83EF); + private static _FRAGMENT_LIGHTING_SGIX := new GetPName($8400); + private static _FRAGMENT_COLOR_MATERIAL_SGIX := new GetPName($8401); + private static _FRAGMENT_COLOR_MATERIAL_FACE_SGIX := new GetPName($8402); + private static _FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX := new GetPName($8403); + private static _MAX_FRAGMENT_LIGHTS_SGIX := new GetPName($8404); + private static _MAX_ACTIVE_LIGHTS_SGIX := new GetPName($8405); + private static _LIGHT_ENV_MODE_SGIX := new GetPName($8407); + private static _FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX := new GetPName($8408); + private static _FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX := new GetPName($8409); + private static _FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX := new GetPName($840A); + private static _FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX := new GetPName($840B); + private static _FRAGMENT_LIGHT0_SGIX := new GetPName($840C); + private static _PACK_RESAMPLE_SGIX := new GetPName($842E); + private static _UNPACK_RESAMPLE_SGIX := new GetPName($842F); + private static _ALIASED_POINT_SIZE_RANGE := new GetPName($846D); + private static _ALIASED_LINE_WIDTH_RANGE := new GetPName($846E); + private static _ACTIVE_TEXTURE := new GetPName($84E0); + private static _MAX_RENDERBUFFER_SIZE := new GetPName($84E8); + private static _TEXTURE_COMPRESSION_HINT := new GetPName($84EF); + private static _TEXTURE_BINDING_RECTANGLE := new GetPName($84F6); + private static _MAX_RECTANGLE_TEXTURE_SIZE := new GetPName($84F8); + private static _MAX_TEXTURE_LOD_BIAS := new GetPName($84FD); + private static _TEXTURE_BINDING_CUBE_MAP := new GetPName($8514); + private static _MAX_CUBE_MAP_TEXTURE_SIZE := new GetPName($851C); + private static _PACK_SUBSAMPLE_RATE_SGIX := new GetPName($85A0); + private static _UNPACK_SUBSAMPLE_RATE_SGIX := new GetPName($85A1); + private static _VERTEX_ARRAY_BINDING := new GetPName($85B5); + private static _PROGRAM_POINT_SIZE := new GetPName($8642); + private static _NUM_COMPRESSED_TEXTURE_FORMATS := new GetPName($86A2); + private static _COMPRESSED_TEXTURE_FORMATS := new GetPName($86A3); + private static _NUM_PROGRAM_BINARY_FORMATS := new GetPName($87FE); + private static _PROGRAM_BINARY_FORMATS := new GetPName($87FF); + private static _STENCIL_BACK_FUNC := new GetPName($8800); + private static _STENCIL_BACK_FAIL := new GetPName($8801); + private static _STENCIL_BACK_PASS_DEPTH_FAIL := new GetPName($8802); + private static _STENCIL_BACK_PASS_DEPTH_PASS := new GetPName($8803); + private static _MAX_DRAW_BUFFERS := new GetPName($8824); + private static _BLEND_EQUATION_ALPHA := new GetPName($883D); + private static _MAX_VERTEX_ATTRIBS := new GetPName($8869); + private static _MAX_TEXTURE_IMAGE_UNITS := new GetPName($8872); + private static _ARRAY_BUFFER_BINDING := new GetPName($8894); + private static _ELEMENT_ARRAY_BUFFER_BINDING := new GetPName($8895); + private static _PIXEL_PACK_BUFFER_BINDING := new GetPName($88ED); + private static _PIXEL_UNPACK_BUFFER_BINDING := new GetPName($88EF); + private static _MAX_DUAL_SOURCE_DRAW_BUFFERS := new GetPName($88FC); + private static _MAX_ARRAY_TEXTURE_LAYERS := new GetPName($88FF); + private static _MIN_PROGRAM_TEXEL_OFFSET := new GetPName($8904); + private static _MAX_PROGRAM_TEXEL_OFFSET := new GetPName($8905); + private static _SAMPLER_BINDING := new GetPName($8919); + private static _UNIFORM_BUFFER_BINDING := new GetPName($8A28); + private static _UNIFORM_BUFFER_START := new GetPName($8A29); + private static _UNIFORM_BUFFER_SIZE := new GetPName($8A2A); + private static _MAX_VERTEX_UNIFORM_BLOCKS := new GetPName($8A2B); + private static _MAX_GEOMETRY_UNIFORM_BLOCKS := new GetPName($8A2C); + private static _MAX_FRAGMENT_UNIFORM_BLOCKS := new GetPName($8A2D); + private static _MAX_COMBINED_UNIFORM_BLOCKS := new GetPName($8A2E); + private static _MAX_UNIFORM_BUFFER_BINDINGS := new GetPName($8A2F); + private static _MAX_UNIFORM_BLOCK_SIZE := new GetPName($8A30); + private static _MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS := new GetPName($8A31); + private static _MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS := new GetPName($8A32); + private static _MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS := new GetPName($8A33); + private static _UNIFORM_BUFFER_OFFSET_ALIGNMENT := new GetPName($8A34); + private static _MAX_FRAGMENT_UNIFORM_COMPONENTS := new GetPName($8B49); + private static _MAX_VERTEX_UNIFORM_COMPONENTS := new GetPName($8B4A); + private static _MAX_VARYING_COMPONENTS := new GetPName($8B4B); + private static _MAX_VARYING_FLOATS := new GetPName($8B4B); + private static _MAX_VERTEX_TEXTURE_IMAGE_UNITS := new GetPName($8B4C); + private static _MAX_COMBINED_TEXTURE_IMAGE_UNITS := new GetPName($8B4D); + private static _FRAGMENT_SHADER_DERIVATIVE_HINT := new GetPName($8B8B); + private static _CURRENT_PROGRAM := new GetPName($8B8D); + private static _IMPLEMENTATION_COLOR_READ_TYPE := new GetPName($8B9A); + private static _IMPLEMENTATION_COLOR_READ_FORMAT := new GetPName($8B9B); + private static _TEXTURE_BINDING_1D_ARRAY := new GetPName($8C1C); + private static _TEXTURE_BINDING_2D_ARRAY := new GetPName($8C1D); + private static _MAX_GEOMETRY_TEXTURE_IMAGE_UNITS := new GetPName($8C29); + private static _MAX_TEXTURE_BUFFER_SIZE := new GetPName($8C2B); + private static _TEXTURE_BINDING_BUFFER := new GetPName($8C2C); + private static _TRANSFORM_FEEDBACK_BUFFER_START := new GetPName($8C84); + private static _TRANSFORM_FEEDBACK_BUFFER_SIZE := new GetPName($8C85); + private static _TRANSFORM_FEEDBACK_BUFFER_BINDING := new GetPName($8C8F); + private static _STENCIL_BACK_REF := new GetPName($8CA3); + private static _STENCIL_BACK_VALUE_MASK := new GetPName($8CA4); + private static _STENCIL_BACK_WRITEMASK := new GetPName($8CA5); + private static _DRAW_FRAMEBUFFER_BINDING := new GetPName($8CA6); + private static _RENDERBUFFER_BINDING := new GetPName($8CA7); + private static _READ_FRAMEBUFFER_BINDING := new GetPName($8CAA); + private static _MAX_ELEMENT_INDEX := new GetPName($8D6B); + private static _MAX_GEOMETRY_UNIFORM_COMPONENTS := new GetPName($8DDF); + private static _NUM_SHADER_BINARY_FORMATS := new GetPName($8DF9); + private static _SHADER_COMPILER := new GetPName($8DFA); + private static _MAX_VERTEX_UNIFORM_VECTORS := new GetPName($8DFB); + private static _MAX_VARYING_VECTORS := new GetPName($8DFC); + private static _MAX_FRAGMENT_UNIFORM_VECTORS := new GetPName($8DFD); + private static _TIMESTAMP := new GetPName($8E28); + private static _PROVOKING_VERTEX := new GetPName($8E4F); + private static _MAX_SAMPLE_MASK_WORDS := new GetPName($8E59); + private static _PRIMITIVE_RESTART_INDEX := new GetPName($8F9E); + private static _MIN_MAP_BUFFER_ALIGNMENT := new GetPName($90BC); + private static _SHADER_STORAGE_BUFFER_BINDING := new GetPName($90D3); + private static _SHADER_STORAGE_BUFFER_START := new GetPName($90D4); + private static _SHADER_STORAGE_BUFFER_SIZE := new GetPName($90D5); + private static _MAX_VERTEX_SHADER_STORAGE_BLOCKS := new GetPName($90D6); + private static _MAX_GEOMETRY_SHADER_STORAGE_BLOCKS := new GetPName($90D7); + private static _MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS := new GetPName($90D8); + private static _MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS := new GetPName($90D9); + private static _MAX_FRAGMENT_SHADER_STORAGE_BLOCKS := new GetPName($90DA); + private static _MAX_COMPUTE_SHADER_STORAGE_BLOCKS := new GetPName($90DB); + private static _MAX_COMBINED_SHADER_STORAGE_BLOCKS := new GetPName($90DC); + private static _MAX_SHADER_STORAGE_BUFFER_BINDINGS := new GetPName($90DD); + private static _SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT := new GetPName($90DF); + private static _MAX_COMPUTE_WORK_GROUP_INVOCATIONS := new GetPName($90EB); + private static _DISPATCH_INDIRECT_BUFFER_BINDING := new GetPName($90EF); + private static _TEXTURE_BINDING_2D_MULTISAMPLE := new GetPName($9104); + private static _TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY := new GetPName($9105); + private static _MAX_COLOR_TEXTURE_SAMPLES := new GetPName($910E); + private static _MAX_DEPTH_TEXTURE_SAMPLES := new GetPName($910F); + private static _MAX_INTEGER_SAMPLES := new GetPName($9110); + private static _MAX_SERVER_WAIT_TIMEOUT := new GetPName($9111); + private static _MAX_VERTEX_OUTPUT_COMPONENTS := new GetPName($9122); + private static _MAX_GEOMETRY_INPUT_COMPONENTS := new GetPName($9123); + private static _MAX_GEOMETRY_OUTPUT_COMPONENTS := new GetPName($9124); + private static _MAX_FRAGMENT_INPUT_COMPONENTS := new GetPName($9125); + private static _TEXTURE_BUFFER_OFFSET_ALIGNMENT := new GetPName($919F); + private static _MAX_COMPUTE_UNIFORM_BLOCKS := new GetPName($91BB); + private static _MAX_COMPUTE_TEXTURE_IMAGE_UNITS := new GetPName($91BC); + private static _MAX_COMPUTE_WORK_GROUP_COUNT := new GetPName($91BE); + private static _MAX_COMPUTE_WORK_GROUP_SIZE := new GetPName($91BF); + private static _MAX_VERTEX_ATOMIC_COUNTERS := new GetPName($92D2); + private static _MAX_TESS_CONTROL_ATOMIC_COUNTERS := new GetPName($92D3); + private static _MAX_TESS_EVALUATION_ATOMIC_COUNTERS := new GetPName($92D4); + private static _MAX_GEOMETRY_ATOMIC_COUNTERS := new GetPName($92D5); + private static _MAX_FRAGMENT_ATOMIC_COUNTERS := new GetPName($92D6); + private static _MAX_COMBINED_ATOMIC_COUNTERS := new GetPName($92D7); + private static _MAX_FRAMEBUFFER_WIDTH := new GetPName($9315); + private static _MAX_FRAMEBUFFER_HEIGHT := new GetPName($9316); + private static _MAX_FRAMEBUFFER_LAYERS := new GetPName($9317); + private static _MAX_FRAMEBUFFER_SAMPLES := new GetPName($9318); + private static _NUM_DEVICE_UUIDS_EXT := new GetPName($9596); + private static _DEVICE_UUID_EXT := new GetPName($9597); + private static _DRIVER_UUID_EXT := new GetPName($9598); + private static _DEVICE_LUID_EXT := new GetPName($9599); + private static _DEVICE_NODE_MASK_EXT := new GetPName($959A); + + public static property CURRENT_COLOR: GetPName read _CURRENT_COLOR; + public static property CURRENT_INDEX: GetPName read _CURRENT_INDEX; + public static property CURRENT_NORMAL: GetPName read _CURRENT_NORMAL; + public static property CURRENT_TEXTURE_COORDS: GetPName read _CURRENT_TEXTURE_COORDS; + public static property CURRENT_RASTER_COLOR: GetPName read _CURRENT_RASTER_COLOR; + public static property CURRENT_RASTER_INDEX: GetPName read _CURRENT_RASTER_INDEX; + public static property CURRENT_RASTER_TEXTURE_COORDS: GetPName read _CURRENT_RASTER_TEXTURE_COORDS; + public static property CURRENT_RASTER_POSITION: GetPName read _CURRENT_RASTER_POSITION; + public static property CURRENT_RASTER_POSITION_VALID: GetPName read _CURRENT_RASTER_POSITION_VALID; + public static property CURRENT_RASTER_DISTANCE: GetPName read _CURRENT_RASTER_DISTANCE; + public static property POINT_SMOOTH: GetPName read _POINT_SMOOTH; + public static property POINT_SIZE: GetPName read _POINT_SIZE; + public static property POINT_SIZE_RANGE: GetPName read _POINT_SIZE_RANGE; + public static property SMOOTH_POINT_SIZE_RANGE: GetPName read _SMOOTH_POINT_SIZE_RANGE; + public static property POINT_SIZE_GRANULARITY: GetPName read _POINT_SIZE_GRANULARITY; + public static property SMOOTH_POINT_SIZE_GRANULARITY: GetPName read _SMOOTH_POINT_SIZE_GRANULARITY; + public static property LINE_SMOOTH: GetPName read _LINE_SMOOTH; + public static property LINE_WIDTH: GetPName read _LINE_WIDTH; + public static property LINE_WIDTH_RANGE: GetPName read _LINE_WIDTH_RANGE; + public static property SMOOTH_LINE_WIDTH_RANGE: GetPName read _SMOOTH_LINE_WIDTH_RANGE; + public static property LINE_WIDTH_GRANULARITY: GetPName read _LINE_WIDTH_GRANULARITY; + public static property SMOOTH_LINE_WIDTH_GRANULARITY: GetPName read _SMOOTH_LINE_WIDTH_GRANULARITY; + public static property LINE_STIPPLE: GetPName read _LINE_STIPPLE; + public static property LINE_STIPPLE_PATTERN: GetPName read _LINE_STIPPLE_PATTERN; + public static property LINE_STIPPLE_REPEAT: GetPName read _LINE_STIPPLE_REPEAT; + public static property LIST_MODE: GetPName read _LIST_MODE; + public static property MAX_LIST_NESTING: GetPName read _MAX_LIST_NESTING; + public static property LIST_BASE: GetPName read _LIST_BASE; + public static property LIST_INDEX: GetPName read _LIST_INDEX; + public static property POLYGON_MODE: GetPName read _POLYGON_MODE; + public static property POLYGON_SMOOTH: GetPName read _POLYGON_SMOOTH; + public static property POLYGON_STIPPLE: GetPName read _POLYGON_STIPPLE; + public static property EDGE_FLAG: GetPName read _EDGE_FLAG; + public static property CULL_FACE: GetPName read _CULL_FACE; + public static property CULL_FACE_MODE: GetPName read _CULL_FACE_MODE; + public static property FRONT_FACE: GetPName read _FRONT_FACE; + public static property LIGHTING: GetPName read _LIGHTING; + public static property LIGHT_MODEL_LOCAL_VIEWER: GetPName read _LIGHT_MODEL_LOCAL_VIEWER; + public static property LIGHT_MODEL_TWO_SIDE: GetPName read _LIGHT_MODEL_TWO_SIDE; + public static property LIGHT_MODEL_AMBIENT: GetPName read _LIGHT_MODEL_AMBIENT; + public static property SHADE_MODEL: GetPName read _SHADE_MODEL; + public static property COLOR_MATERIAL_FACE: GetPName read _COLOR_MATERIAL_FACE; + public static property COLOR_MATERIAL_PARAMETER: GetPName read _COLOR_MATERIAL_PARAMETER; + public static property COLOR_MATERIAL: GetPName read _COLOR_MATERIAL; + public static property FOG: GetPName read _FOG; + public static property FOG_INDEX: GetPName read _FOG_INDEX; + public static property FOG_DENSITY: GetPName read _FOG_DENSITY; + public static property FOG_START: GetPName read _FOG_START; + public static property FOG_END: GetPName read _FOG_END; + public static property FOG_MODE: GetPName read _FOG_MODE; + public static property FOG_COLOR: GetPName read _FOG_COLOR; + public static property DEPTH_RANGE: GetPName read _DEPTH_RANGE; + public static property DEPTH_TEST: GetPName read _DEPTH_TEST; + public static property DEPTH_WRITEMASK: GetPName read _DEPTH_WRITEMASK; + public static property DEPTH_CLEAR_VALUE: GetPName read _DEPTH_CLEAR_VALUE; + public static property DEPTH_FUNC: GetPName read _DEPTH_FUNC; + public static property ACCUM_CLEAR_VALUE: GetPName read _ACCUM_CLEAR_VALUE; + public static property STENCIL_TEST: GetPName read _STENCIL_TEST; + public static property STENCIL_CLEAR_VALUE: GetPName read _STENCIL_CLEAR_VALUE; + public static property STENCIL_FUNC: GetPName read _STENCIL_FUNC; + public static property STENCIL_VALUE_MASK: GetPName read _STENCIL_VALUE_MASK; + public static property STENCIL_FAIL: GetPName read _STENCIL_FAIL; + public static property STENCIL_PASS_DEPTH_FAIL: GetPName read _STENCIL_PASS_DEPTH_FAIL; + public static property STENCIL_PASS_DEPTH_PASS: GetPName read _STENCIL_PASS_DEPTH_PASS; + public static property STENCIL_REF: GetPName read _STENCIL_REF; + public static property STENCIL_WRITEMASK: GetPName read _STENCIL_WRITEMASK; + public static property MATRIX_MODE: GetPName read _MATRIX_MODE; + public static property NORMALIZE: GetPName read _NORMALIZE; + public static property VIEWPORT: GetPName read _VIEWPORT; + public static property MODELVIEW_STACK_DEPTH: GetPName read _MODELVIEW_STACK_DEPTH; + public static property MODELVIEW0_STACK_DEPTH_EXT: GetPName read _MODELVIEW0_STACK_DEPTH_EXT; + public static property PROJECTION_STACK_DEPTH: GetPName read _PROJECTION_STACK_DEPTH; + public static property TEXTURE_STACK_DEPTH: GetPName read _TEXTURE_STACK_DEPTH; + public static property MODELVIEW_MATRIX: GetPName read _MODELVIEW_MATRIX; + public static property MODELVIEW0_MATRIX_EXT: GetPName read _MODELVIEW0_MATRIX_EXT; + public static property PROJECTION_MATRIX: GetPName read _PROJECTION_MATRIX; + public static property TEXTURE_MATRIX: GetPName read _TEXTURE_MATRIX; + public static property ATTRIB_STACK_DEPTH: GetPName read _ATTRIB_STACK_DEPTH; + public static property CLIENT_ATTRIB_STACK_DEPTH: GetPName read _CLIENT_ATTRIB_STACK_DEPTH; + public static property ALPHA_TEST: GetPName read _ALPHA_TEST; + public static property ALPHA_TEST_QCOM: GetPName read _ALPHA_TEST_QCOM; + public static property ALPHA_TEST_FUNC: GetPName read _ALPHA_TEST_FUNC; + public static property ALPHA_TEST_FUNC_QCOM: GetPName read _ALPHA_TEST_FUNC_QCOM; + public static property ALPHA_TEST_REF: GetPName read _ALPHA_TEST_REF; + public static property ALPHA_TEST_REF_QCOM: GetPName read _ALPHA_TEST_REF_QCOM; + public static property DITHER: GetPName read _DITHER; + public static property BLEND_DST: GetPName read _BLEND_DST; + public static property BLEND_SRC: GetPName read _BLEND_SRC; + public static property BLEND: GetPName read _BLEND; + public static property LOGIC_OP_MODE: GetPName read _LOGIC_OP_MODE; + public static property INDEX_LOGIC_OP: GetPName read _INDEX_LOGIC_OP; + public static property LOGIC_OP: GetPName read _LOGIC_OP; + public static property COLOR_LOGIC_OP: GetPName read _COLOR_LOGIC_OP; + public static property AUX_BUFFERS: GetPName read _AUX_BUFFERS; + public static property DRAW_BUFFER: GetPName read _DRAW_BUFFER; + public static property DRAW_BUFFER_EXT: GetPName read _DRAW_BUFFER_EXT; + public static property READ_BUFFER: GetPName read _READ_BUFFER; + public static property READ_BUFFER_EXT: GetPName read _READ_BUFFER_EXT; + public static property READ_BUFFER_NV: GetPName read _READ_BUFFER_NV; + public static property SCISSOR_BOX: GetPName read _SCISSOR_BOX; + public static property SCISSOR_TEST: GetPName read _SCISSOR_TEST; + public static property INDEX_CLEAR_VALUE: GetPName read _INDEX_CLEAR_VALUE; + public static property INDEX_WRITEMASK: GetPName read _INDEX_WRITEMASK; + public static property COLOR_CLEAR_VALUE: GetPName read _COLOR_CLEAR_VALUE; + public static property COLOR_WRITEMASK: GetPName read _COLOR_WRITEMASK; + public static property INDEX_MODE: GetPName read _INDEX_MODE; + public static property RGBA_MODE: GetPName read _RGBA_MODE; + public static property DOUBLEBUFFER: GetPName read _DOUBLEBUFFER; + public static property STEREO: GetPName read _STEREO; + public static property RENDER_MODE: GetPName read _RENDER_MODE; + public static property PERSPECTIVE_CORRECTION_HINT: GetPName read _PERSPECTIVE_CORRECTION_HINT; + public static property POINT_SMOOTH_HINT: GetPName read _POINT_SMOOTH_HINT; + public static property LINE_SMOOTH_HINT: GetPName read _LINE_SMOOTH_HINT; + public static property POLYGON_SMOOTH_HINT: GetPName read _POLYGON_SMOOTH_HINT; + public static property FOG_HINT: GetPName read _FOG_HINT; + public static property TEXTURE_GEN_S: GetPName read _TEXTURE_GEN_S; + public static property TEXTURE_GEN_T: GetPName read _TEXTURE_GEN_T; + public static property TEXTURE_GEN_R: GetPName read _TEXTURE_GEN_R; + public static property TEXTURE_GEN_Q: GetPName read _TEXTURE_GEN_Q; + public static property PIXEL_MAP_I_TO_I_SIZE: GetPName read _PIXEL_MAP_I_TO_I_SIZE; + public static property PIXEL_MAP_S_TO_S_SIZE: GetPName read _PIXEL_MAP_S_TO_S_SIZE; + public static property PIXEL_MAP_I_TO_R_SIZE: GetPName read _PIXEL_MAP_I_TO_R_SIZE; + public static property PIXEL_MAP_I_TO_G_SIZE: GetPName read _PIXEL_MAP_I_TO_G_SIZE; + public static property PIXEL_MAP_I_TO_B_SIZE: GetPName read _PIXEL_MAP_I_TO_B_SIZE; + public static property PIXEL_MAP_I_TO_A_SIZE: GetPName read _PIXEL_MAP_I_TO_A_SIZE; + public static property PIXEL_MAP_R_TO_R_SIZE: GetPName read _PIXEL_MAP_R_TO_R_SIZE; + public static property PIXEL_MAP_G_TO_G_SIZE: GetPName read _PIXEL_MAP_G_TO_G_SIZE; + public static property PIXEL_MAP_B_TO_B_SIZE: GetPName read _PIXEL_MAP_B_TO_B_SIZE; + public static property PIXEL_MAP_A_TO_A_SIZE: GetPName read _PIXEL_MAP_A_TO_A_SIZE; + public static property UNPACK_SWAP_BYTES: GetPName read _UNPACK_SWAP_BYTES; + public static property UNPACK_LSB_FIRST: GetPName read _UNPACK_LSB_FIRST; + public static property UNPACK_ROW_LENGTH: GetPName read _UNPACK_ROW_LENGTH; + public static property UNPACK_SKIP_ROWS: GetPName read _UNPACK_SKIP_ROWS; + public static property UNPACK_SKIP_PIXELS: GetPName read _UNPACK_SKIP_PIXELS; + public static property UNPACK_ALIGNMENT: GetPName read _UNPACK_ALIGNMENT; + public static property PACK_SWAP_BYTES: GetPName read _PACK_SWAP_BYTES; + public static property PACK_LSB_FIRST: GetPName read _PACK_LSB_FIRST; + public static property PACK_ROW_LENGTH: GetPName read _PACK_ROW_LENGTH; + public static property PACK_SKIP_ROWS: GetPName read _PACK_SKIP_ROWS; + public static property PACK_SKIP_PIXELS: GetPName read _PACK_SKIP_PIXELS; + public static property PACK_ALIGNMENT: GetPName read _PACK_ALIGNMENT; + public static property MAP_COLOR: GetPName read _MAP_COLOR; + public static property MAP_STENCIL: GetPName read _MAP_STENCIL; + public static property INDEX_SHIFT: GetPName read _INDEX_SHIFT; + public static property INDEX_OFFSET: GetPName read _INDEX_OFFSET; + public static property RED_SCALE: GetPName read _RED_SCALE; + public static property RED_BIAS: GetPName read _RED_BIAS; + public static property ZOOM_X: GetPName read _ZOOM_X; + public static property ZOOM_Y: GetPName read _ZOOM_Y; + public static property GREEN_SCALE: GetPName read _GREEN_SCALE; + public static property GREEN_BIAS: GetPName read _GREEN_BIAS; + public static property BLUE_SCALE: GetPName read _BLUE_SCALE; + public static property BLUE_BIAS: GetPName read _BLUE_BIAS; + public static property ALPHA_SCALE: GetPName read _ALPHA_SCALE; + public static property ALPHA_BIAS: GetPName read _ALPHA_BIAS; + public static property DEPTH_SCALE: GetPName read _DEPTH_SCALE; + public static property DEPTH_BIAS: GetPName read _DEPTH_BIAS; + public static property MAX_EVAL_ORDER: GetPName read _MAX_EVAL_ORDER; + public static property MAX_LIGHTS: GetPName read _MAX_LIGHTS; + public static property MAX_CLIP_DISTANCES: GetPName read _MAX_CLIP_DISTANCES; + public static property MAX_CLIP_PLANES: GetPName read _MAX_CLIP_PLANES; + public static property MAX_TEXTURE_SIZE: GetPName read _MAX_TEXTURE_SIZE; + public static property MAX_PIXEL_MAP_TABLE: GetPName read _MAX_PIXEL_MAP_TABLE; + public static property MAX_ATTRIB_STACK_DEPTH: GetPName read _MAX_ATTRIB_STACK_DEPTH; + public static property MAX_MODELVIEW_STACK_DEPTH: GetPName read _MAX_MODELVIEW_STACK_DEPTH; + public static property MAX_NAME_STACK_DEPTH: GetPName read _MAX_NAME_STACK_DEPTH; + public static property MAX_PROJECTION_STACK_DEPTH: GetPName read _MAX_PROJECTION_STACK_DEPTH; + public static property MAX_TEXTURE_STACK_DEPTH: GetPName read _MAX_TEXTURE_STACK_DEPTH; + public static property MAX_VIEWPORT_DIMS: GetPName read _MAX_VIEWPORT_DIMS; + public static property MAX_CLIENT_ATTRIB_STACK_DEPTH: GetPName read _MAX_CLIENT_ATTRIB_STACK_DEPTH; + public static property SUBPIXEL_BITS: GetPName read _SUBPIXEL_BITS; + public static property INDEX_BITS: GetPName read _INDEX_BITS; + public static property RED_BITS: GetPName read _RED_BITS; + public static property GREEN_BITS: GetPName read _GREEN_BITS; + public static property BLUE_BITS: GetPName read _BLUE_BITS; + public static property ALPHA_BITS: GetPName read _ALPHA_BITS; + public static property DEPTH_BITS: GetPName read _DEPTH_BITS; + public static property STENCIL_BITS: GetPName read _STENCIL_BITS; + public static property ACCUM_RED_BITS: GetPName read _ACCUM_RED_BITS; + public static property ACCUM_GREEN_BITS: GetPName read _ACCUM_GREEN_BITS; + public static property ACCUM_BLUE_BITS: GetPName read _ACCUM_BLUE_BITS; + public static property ACCUM_ALPHA_BITS: GetPName read _ACCUM_ALPHA_BITS; + public static property NAME_STACK_DEPTH: GetPName read _NAME_STACK_DEPTH; + public static property AUTO_NORMAL: GetPName read _AUTO_NORMAL; + public static property MAP1_COLOR_4: GetPName read _MAP1_COLOR_4; + public static property MAP1_INDEX: GetPName read _MAP1_INDEX; + public static property MAP1_NORMAL: GetPName read _MAP1_NORMAL; + public static property MAP1_TEXTURE_COORD_1: GetPName read _MAP1_TEXTURE_COORD_1; + public static property MAP1_TEXTURE_COORD_2: GetPName read _MAP1_TEXTURE_COORD_2; + public static property MAP1_TEXTURE_COORD_3: GetPName read _MAP1_TEXTURE_COORD_3; + public static property MAP1_TEXTURE_COORD_4: GetPName read _MAP1_TEXTURE_COORD_4; + public static property MAP1_VERTEX_3: GetPName read _MAP1_VERTEX_3; + public static property MAP1_VERTEX_4: GetPName read _MAP1_VERTEX_4; + public static property MAP2_COLOR_4: GetPName read _MAP2_COLOR_4; + public static property MAP2_INDEX: GetPName read _MAP2_INDEX; + public static property MAP2_NORMAL: GetPName read _MAP2_NORMAL; + public static property MAP2_TEXTURE_COORD_1: GetPName read _MAP2_TEXTURE_COORD_1; + public static property MAP2_TEXTURE_COORD_2: GetPName read _MAP2_TEXTURE_COORD_2; + public static property MAP2_TEXTURE_COORD_3: GetPName read _MAP2_TEXTURE_COORD_3; + public static property MAP2_TEXTURE_COORD_4: GetPName read _MAP2_TEXTURE_COORD_4; + public static property MAP2_VERTEX_3: GetPName read _MAP2_VERTEX_3; + public static property MAP2_VERTEX_4: GetPName read _MAP2_VERTEX_4; + public static property MAP1_GRID_DOMAIN: GetPName read _MAP1_GRID_DOMAIN; + public static property MAP1_GRID_SEGMENTS: GetPName read _MAP1_GRID_SEGMENTS; + public static property MAP2_GRID_DOMAIN: GetPName read _MAP2_GRID_DOMAIN; + public static property MAP2_GRID_SEGMENTS: GetPName read _MAP2_GRID_SEGMENTS; + public static property TEXTURE_1D: GetPName read _TEXTURE_1D; + public static property TEXTURE_2D: GetPName read _TEXTURE_2D; + public static property FEEDBACK_BUFFER_SIZE: GetPName read _FEEDBACK_BUFFER_SIZE; + public static property FEEDBACK_BUFFER_TYPE: GetPName read _FEEDBACK_BUFFER_TYPE; + public static property SELECTION_BUFFER_SIZE: GetPName read _SELECTION_BUFFER_SIZE; + public static property POLYGON_OFFSET_UNITS: GetPName read _POLYGON_OFFSET_UNITS; + public static property POLYGON_OFFSET_POINT: GetPName read _POLYGON_OFFSET_POINT; + public static property POLYGON_OFFSET_LINE: GetPName read _POLYGON_OFFSET_LINE; + public static property CLIP_PLANE0: GetPName read _CLIP_PLANE0; + public static property CLIP_PLANE1: GetPName read _CLIP_PLANE1; + public static property CLIP_PLANE2: GetPName read _CLIP_PLANE2; + public static property CLIP_PLANE3: GetPName read _CLIP_PLANE3; + public static property CLIP_PLANE4: GetPName read _CLIP_PLANE4; + public static property CLIP_PLANE5: GetPName read _CLIP_PLANE5; + public static property LIGHT0: GetPName read _LIGHT0; + public static property LIGHT1: GetPName read _LIGHT1; + public static property LIGHT2: GetPName read _LIGHT2; + public static property LIGHT3: GetPName read _LIGHT3; + public static property LIGHT4: GetPName read _LIGHT4; + public static property LIGHT5: GetPName read _LIGHT5; + public static property LIGHT6: GetPName read _LIGHT6; + public static property LIGHT7: GetPName read _LIGHT7; + public static property BLEND_COLOR: GetPName read _BLEND_COLOR; + public static property BLEND_COLOR_EXT: GetPName read _BLEND_COLOR_EXT; + public static property BLEND_EQUATION_EXT: GetPName read _BLEND_EQUATION_EXT; + public static property BLEND_EQUATION_RGB: GetPName read _BLEND_EQUATION_RGB; + public static property PACK_CMYK_HINT_EXT: GetPName read _PACK_CMYK_HINT_EXT; + public static property UNPACK_CMYK_HINT_EXT: GetPName read _UNPACK_CMYK_HINT_EXT; + public static property CONVOLUTION_1D_EXT: GetPName read _CONVOLUTION_1D_EXT; + public static property CONVOLUTION_2D_EXT: GetPName read _CONVOLUTION_2D_EXT; + public static property SEPARABLE_2D_EXT: GetPName read _SEPARABLE_2D_EXT; + public static property POST_CONVOLUTION_RED_SCALE_EXT: GetPName read _POST_CONVOLUTION_RED_SCALE_EXT; + public static property POST_CONVOLUTION_GREEN_SCALE_EXT: GetPName read _POST_CONVOLUTION_GREEN_SCALE_EXT; + public static property POST_CONVOLUTION_BLUE_SCALE_EXT: GetPName read _POST_CONVOLUTION_BLUE_SCALE_EXT; + public static property POST_CONVOLUTION_ALPHA_SCALE_EXT: GetPName read _POST_CONVOLUTION_ALPHA_SCALE_EXT; + public static property POST_CONVOLUTION_RED_BIAS_EXT: GetPName read _POST_CONVOLUTION_RED_BIAS_EXT; + public static property POST_CONVOLUTION_GREEN_BIAS_EXT: GetPName read _POST_CONVOLUTION_GREEN_BIAS_EXT; + public static property POST_CONVOLUTION_BLUE_BIAS_EXT: GetPName read _POST_CONVOLUTION_BLUE_BIAS_EXT; + public static property POST_CONVOLUTION_ALPHA_BIAS_EXT: GetPName read _POST_CONVOLUTION_ALPHA_BIAS_EXT; + public static property HISTOGRAM_EXT: GetPName read _HISTOGRAM_EXT; + public static property MINMAX_EXT: GetPName read _MINMAX_EXT; + public static property POLYGON_OFFSET_FILL: GetPName read _POLYGON_OFFSET_FILL; + public static property POLYGON_OFFSET_FACTOR: GetPName read _POLYGON_OFFSET_FACTOR; + public static property POLYGON_OFFSET_BIAS_EXT: GetPName read _POLYGON_OFFSET_BIAS_EXT; + public static property RESCALE_NORMAL_EXT: GetPName read _RESCALE_NORMAL_EXT; + public static property TEXTURE_BINDING_1D: GetPName read _TEXTURE_BINDING_1D; + public static property TEXTURE_BINDING_2D: GetPName read _TEXTURE_BINDING_2D; + public static property TEXTURE_3D_BINDING_EXT: GetPName read _TEXTURE_3D_BINDING_EXT; + public static property TEXTURE_BINDING_3D: GetPName read _TEXTURE_BINDING_3D; + public static property PACK_SKIP_IMAGES: GetPName read _PACK_SKIP_IMAGES; + public static property PACK_SKIP_IMAGES_EXT: GetPName read _PACK_SKIP_IMAGES_EXT; + public static property PACK_IMAGE_HEIGHT: GetPName read _PACK_IMAGE_HEIGHT; + public static property PACK_IMAGE_HEIGHT_EXT: GetPName read _PACK_IMAGE_HEIGHT_EXT; + public static property UNPACK_SKIP_IMAGES: GetPName read _UNPACK_SKIP_IMAGES; + public static property UNPACK_SKIP_IMAGES_EXT: GetPName read _UNPACK_SKIP_IMAGES_EXT; + public static property UNPACK_IMAGE_HEIGHT: GetPName read _UNPACK_IMAGE_HEIGHT; + public static property UNPACK_IMAGE_HEIGHT_EXT: GetPName read _UNPACK_IMAGE_HEIGHT_EXT; + public static property TEXTURE_3D_EXT: GetPName read _TEXTURE_3D_EXT; + public static property MAX_3D_TEXTURE_SIZE: GetPName read _MAX_3D_TEXTURE_SIZE; + public static property MAX_3D_TEXTURE_SIZE_EXT: GetPName read _MAX_3D_TEXTURE_SIZE_EXT; + public static property VERTEX_ARRAY: GetPName read _VERTEX_ARRAY; + public static property NORMAL_ARRAY: GetPName read _NORMAL_ARRAY; + public static property COLOR_ARRAY: GetPName read _COLOR_ARRAY; + public static property INDEX_ARRAY: GetPName read _INDEX_ARRAY; + public static property TEXTURE_COORD_ARRAY: GetPName read _TEXTURE_COORD_ARRAY; + public static property EDGE_FLAG_ARRAY: GetPName read _EDGE_FLAG_ARRAY; + public static property VERTEX_ARRAY_SIZE: GetPName read _VERTEX_ARRAY_SIZE; + public static property VERTEX_ARRAY_TYPE: GetPName read _VERTEX_ARRAY_TYPE; + public static property VERTEX_ARRAY_STRIDE: GetPName read _VERTEX_ARRAY_STRIDE; + public static property VERTEX_ARRAY_COUNT_EXT: GetPName read _VERTEX_ARRAY_COUNT_EXT; + public static property NORMAL_ARRAY_TYPE: GetPName read _NORMAL_ARRAY_TYPE; + public static property NORMAL_ARRAY_STRIDE: GetPName read _NORMAL_ARRAY_STRIDE; + public static property NORMAL_ARRAY_COUNT_EXT: GetPName read _NORMAL_ARRAY_COUNT_EXT; + public static property COLOR_ARRAY_SIZE: GetPName read _COLOR_ARRAY_SIZE; + public static property COLOR_ARRAY_TYPE: GetPName read _COLOR_ARRAY_TYPE; + public static property COLOR_ARRAY_STRIDE: GetPName read _COLOR_ARRAY_STRIDE; + public static property COLOR_ARRAY_COUNT_EXT: GetPName read _COLOR_ARRAY_COUNT_EXT; + public static property INDEX_ARRAY_TYPE: GetPName read _INDEX_ARRAY_TYPE; + public static property INDEX_ARRAY_STRIDE: GetPName read _INDEX_ARRAY_STRIDE; + public static property INDEX_ARRAY_COUNT_EXT: GetPName read _INDEX_ARRAY_COUNT_EXT; + public static property TEXTURE_COORD_ARRAY_SIZE: GetPName read _TEXTURE_COORD_ARRAY_SIZE; + public static property TEXTURE_COORD_ARRAY_TYPE: GetPName read _TEXTURE_COORD_ARRAY_TYPE; + public static property TEXTURE_COORD_ARRAY_STRIDE: GetPName read _TEXTURE_COORD_ARRAY_STRIDE; + public static property TEXTURE_COORD_ARRAY_COUNT_EXT: GetPName read _TEXTURE_COORD_ARRAY_COUNT_EXT; + public static property EDGE_FLAG_ARRAY_STRIDE: GetPName read _EDGE_FLAG_ARRAY_STRIDE; + public static property EDGE_FLAG_ARRAY_COUNT_EXT: GetPName read _EDGE_FLAG_ARRAY_COUNT_EXT; + public static property INTERLACE_SGIX: GetPName read _INTERLACE_SGIX; + public static property DETAIL_TEXTURE_2D_BINDING_SGIS: GetPName read _DETAIL_TEXTURE_2D_BINDING_SGIS; + public static property MULTISAMPLE_SGIS: GetPName read _MULTISAMPLE_SGIS; + public static property SAMPLE_ALPHA_TO_MASK_SGIS: GetPName read _SAMPLE_ALPHA_TO_MASK_SGIS; + public static property SAMPLE_ALPHA_TO_ONE_SGIS: GetPName read _SAMPLE_ALPHA_TO_ONE_SGIS; + public static property SAMPLE_MASK_SGIS: GetPName read _SAMPLE_MASK_SGIS; + public static property SAMPLE_BUFFERS: GetPName read _SAMPLE_BUFFERS; + public static property SAMPLE_BUFFERS_SGIS: GetPName read _SAMPLE_BUFFERS_SGIS; + public static property SAMPLES: GetPName read _SAMPLES; + public static property SAMPLES_SGIS: GetPName read _SAMPLES_SGIS; + public static property SAMPLE_COVERAGE_VALUE: GetPName read _SAMPLE_COVERAGE_VALUE; + public static property SAMPLE_MASK_VALUE_SGIS: GetPName read _SAMPLE_MASK_VALUE_SGIS; + public static property SAMPLE_COVERAGE_INVERT: GetPName read _SAMPLE_COVERAGE_INVERT; + public static property SAMPLE_MASK_INVERT_SGIS: GetPName read _SAMPLE_MASK_INVERT_SGIS; + public static property SAMPLE_PATTERN_SGIS: GetPName read _SAMPLE_PATTERN_SGIS; + public static property COLOR_MATRIX_SGI: GetPName read _COLOR_MATRIX_SGI; + public static property COLOR_MATRIX_STACK_DEPTH_SGI: GetPName read _COLOR_MATRIX_STACK_DEPTH_SGI; + public static property MAX_COLOR_MATRIX_STACK_DEPTH_SGI: GetPName read _MAX_COLOR_MATRIX_STACK_DEPTH_SGI; + public static property POST_COLOR_MATRIX_RED_SCALE_SGI: GetPName read _POST_COLOR_MATRIX_RED_SCALE_SGI; + public static property POST_COLOR_MATRIX_GREEN_SCALE_SGI: GetPName read _POST_COLOR_MATRIX_GREEN_SCALE_SGI; + public static property POST_COLOR_MATRIX_BLUE_SCALE_SGI: GetPName read _POST_COLOR_MATRIX_BLUE_SCALE_SGI; + public static property POST_COLOR_MATRIX_ALPHA_SCALE_SGI: GetPName read _POST_COLOR_MATRIX_ALPHA_SCALE_SGI; + public static property POST_COLOR_MATRIX_RED_BIAS_SGI: GetPName read _POST_COLOR_MATRIX_RED_BIAS_SGI; + public static property POST_COLOR_MATRIX_GREEN_BIAS_SGI: GetPName read _POST_COLOR_MATRIX_GREEN_BIAS_SGI; + public static property POST_COLOR_MATRIX_BLUE_BIAS_SGI: GetPName read _POST_COLOR_MATRIX_BLUE_BIAS_SGI; + public static property POST_COLOR_MATRIX_ALPHA_BIAS_SGI: GetPName read _POST_COLOR_MATRIX_ALPHA_BIAS_SGI; + public static property TEXTURE_COLOR_TABLE_SGI: GetPName read _TEXTURE_COLOR_TABLE_SGI; + public static property BLEND_DST_RGB: GetPName read _BLEND_DST_RGB; + public static property BLEND_SRC_RGB: GetPName read _BLEND_SRC_RGB; + public static property BLEND_DST_ALPHA: GetPName read _BLEND_DST_ALPHA; + public static property BLEND_SRC_ALPHA: GetPName read _BLEND_SRC_ALPHA; + public static property COLOR_TABLE_SGI: GetPName read _COLOR_TABLE_SGI; + public static property POST_CONVOLUTION_COLOR_TABLE_SGI: GetPName read _POST_CONVOLUTION_COLOR_TABLE_SGI; + public static property POST_COLOR_MATRIX_COLOR_TABLE_SGI: GetPName read _POST_COLOR_MATRIX_COLOR_TABLE_SGI; + public static property MAX_ELEMENTS_VERTICES: GetPName read _MAX_ELEMENTS_VERTICES; + public static property MAX_ELEMENTS_INDICES: GetPName read _MAX_ELEMENTS_INDICES; + public static property POINT_SIZE_MIN_SGIS: GetPName read _POINT_SIZE_MIN_SGIS; + public static property POINT_SIZE_MAX_SGIS: GetPName read _POINT_SIZE_MAX_SGIS; + public static property POINT_FADE_THRESHOLD_SIZE: GetPName read _POINT_FADE_THRESHOLD_SIZE; + public static property POINT_FADE_THRESHOLD_SIZE_SGIS: GetPName read _POINT_FADE_THRESHOLD_SIZE_SGIS; + public static property DISTANCE_ATTENUATION_SGIS: GetPName read _DISTANCE_ATTENUATION_SGIS; + public static property FOG_FUNC_POINTS_SGIS: GetPName read _FOG_FUNC_POINTS_SGIS; + public static property MAX_FOG_FUNC_POINTS_SGIS: GetPName read _MAX_FOG_FUNC_POINTS_SGIS; + public static property PACK_SKIP_VOLUMES_SGIS: GetPName read _PACK_SKIP_VOLUMES_SGIS; + public static property PACK_IMAGE_DEPTH_SGIS: GetPName read _PACK_IMAGE_DEPTH_SGIS; + public static property UNPACK_SKIP_VOLUMES_SGIS: GetPName read _UNPACK_SKIP_VOLUMES_SGIS; + public static property UNPACK_IMAGE_DEPTH_SGIS: GetPName read _UNPACK_IMAGE_DEPTH_SGIS; + public static property TEXTURE_4D_SGIS: GetPName read _TEXTURE_4D_SGIS; + public static property MAX_4D_TEXTURE_SIZE_SGIS: GetPName read _MAX_4D_TEXTURE_SIZE_SGIS; + public static property PIXEL_TEX_GEN_SGIX: GetPName read _PIXEL_TEX_GEN_SGIX; + public static property PIXEL_TILE_BEST_ALIGNMENT_SGIX: GetPName read _PIXEL_TILE_BEST_ALIGNMENT_SGIX; + public static property PIXEL_TILE_CACHE_INCREMENT_SGIX: GetPName read _PIXEL_TILE_CACHE_INCREMENT_SGIX; + public static property PIXEL_TILE_WIDTH_SGIX: GetPName read _PIXEL_TILE_WIDTH_SGIX; + public static property PIXEL_TILE_HEIGHT_SGIX: GetPName read _PIXEL_TILE_HEIGHT_SGIX; + public static property PIXEL_TILE_GRID_WIDTH_SGIX: GetPName read _PIXEL_TILE_GRID_WIDTH_SGIX; + public static property PIXEL_TILE_GRID_HEIGHT_SGIX: GetPName read _PIXEL_TILE_GRID_HEIGHT_SGIX; + public static property PIXEL_TILE_GRID_DEPTH_SGIX: GetPName read _PIXEL_TILE_GRID_DEPTH_SGIX; + public static property PIXEL_TILE_CACHE_SIZE_SGIX: GetPName read _PIXEL_TILE_CACHE_SIZE_SGIX; + public static property SPRITE_SGIX: GetPName read _SPRITE_SGIX; + public static property SPRITE_MODE_SGIX: GetPName read _SPRITE_MODE_SGIX; + public static property SPRITE_AXIS_SGIX: GetPName read _SPRITE_AXIS_SGIX; + public static property SPRITE_TRANSLATION_SGIX: GetPName read _SPRITE_TRANSLATION_SGIX; + public static property TEXTURE_4D_BINDING_SGIS: GetPName read _TEXTURE_4D_BINDING_SGIS; + public static property MAX_CLIPMAP_DEPTH_SGIX: GetPName read _MAX_CLIPMAP_DEPTH_SGIX; + public static property MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX: GetPName read _MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX; + public static property POST_TEXTURE_FILTER_BIAS_RANGE_SGIX: GetPName read _POST_TEXTURE_FILTER_BIAS_RANGE_SGIX; + public static property POST_TEXTURE_FILTER_SCALE_RANGE_SGIX: GetPName read _POST_TEXTURE_FILTER_SCALE_RANGE_SGIX; + public static property REFERENCE_PLANE_SGIX: GetPName read _REFERENCE_PLANE_SGIX; + public static property REFERENCE_PLANE_EQUATION_SGIX: GetPName read _REFERENCE_PLANE_EQUATION_SGIX; + public static property IR_INSTRUMENT1_SGIX: GetPName read _IR_INSTRUMENT1_SGIX; + public static property INSTRUMENT_MEASUREMENTS_SGIX: GetPName read _INSTRUMENT_MEASUREMENTS_SGIX; + public static property CALLIGRAPHIC_FRAGMENT_SGIX: GetPName read _CALLIGRAPHIC_FRAGMENT_SGIX; + public static property FRAMEZOOM_SGIX: GetPName read _FRAMEZOOM_SGIX; + public static property FRAMEZOOM_FACTOR_SGIX: GetPName read _FRAMEZOOM_FACTOR_SGIX; + public static property MAX_FRAMEZOOM_FACTOR_SGIX: GetPName read _MAX_FRAMEZOOM_FACTOR_SGIX; + public static property GENERATE_MIPMAP_HINT_SGIS: GetPName read _GENERATE_MIPMAP_HINT_SGIS; + public static property DEFORMATIONS_MASK_SGIX: GetPName read _DEFORMATIONS_MASK_SGIX; + public static property FOG_OFFSET_SGIX: GetPName read _FOG_OFFSET_SGIX; + public static property FOG_OFFSET_VALUE_SGIX: GetPName read _FOG_OFFSET_VALUE_SGIX; + public static property LIGHT_MODEL_COLOR_CONTROL: GetPName read _LIGHT_MODEL_COLOR_CONTROL; + public static property SHARED_TEXTURE_PALETTE_EXT: GetPName read _SHARED_TEXTURE_PALETTE_EXT; + public static property MAJOR_VERSION: GetPName read _MAJOR_VERSION; + public static property MINOR_VERSION: GetPName read _MINOR_VERSION; + public static property NUM_EXTENSIONS: GetPName read _NUM_EXTENSIONS; + public static property CONTEXT_FLAGS: GetPName read _CONTEXT_FLAGS; + public static property PROGRAM_PIPELINE_BINDING: GetPName read _PROGRAM_PIPELINE_BINDING; + public static property MAX_VIEWPORTS: GetPName read _MAX_VIEWPORTS; + public static property VIEWPORT_SUBPIXEL_BITS: GetPName read _VIEWPORT_SUBPIXEL_BITS; + public static property VIEWPORT_BOUNDS_RANGE: GetPName read _VIEWPORT_BOUNDS_RANGE; + public static property LAYER_PROVOKING_VERTEX: GetPName read _LAYER_PROVOKING_VERTEX; + public static property VIEWPORT_INDEX_PROVOKING_VERTEX: GetPName read _VIEWPORT_INDEX_PROVOKING_VERTEX; + public static property MAX_COMPUTE_UNIFORM_COMPONENTS: GetPName read _MAX_COMPUTE_UNIFORM_COMPONENTS; + public static property MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS: GetPName read _MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS; + public static property MAX_COMPUTE_ATOMIC_COUNTERS: GetPName read _MAX_COMPUTE_ATOMIC_COUNTERS; + public static property MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS: GetPName read _MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS; + public static property MAX_DEBUG_GROUP_STACK_DEPTH: GetPName read _MAX_DEBUG_GROUP_STACK_DEPTH; + public static property DEBUG_GROUP_STACK_DEPTH: GetPName read _DEBUG_GROUP_STACK_DEPTH; + public static property MAX_UNIFORM_LOCATIONS: GetPName read _MAX_UNIFORM_LOCATIONS; + public static property VERTEX_BINDING_DIVISOR: GetPName read _VERTEX_BINDING_DIVISOR; + public static property VERTEX_BINDING_OFFSET: GetPName read _VERTEX_BINDING_OFFSET; + public static property VERTEX_BINDING_STRIDE: GetPName read _VERTEX_BINDING_STRIDE; + public static property MAX_VERTEX_ATTRIB_RELATIVE_OFFSET: GetPName read _MAX_VERTEX_ATTRIB_RELATIVE_OFFSET; + public static property MAX_VERTEX_ATTRIB_BINDINGS: GetPName read _MAX_VERTEX_ATTRIB_BINDINGS; + public static property MAX_LABEL_LENGTH: GetPName read _MAX_LABEL_LENGTH; + public static property CONVOLUTION_HINT_SGIX: GetPName read _CONVOLUTION_HINT_SGIX; + public static property ASYNC_MARKER_SGIX: GetPName read _ASYNC_MARKER_SGIX; + public static property PIXEL_TEX_GEN_MODE_SGIX: GetPName read _PIXEL_TEX_GEN_MODE_SGIX; + public static property ASYNC_HISTOGRAM_SGIX: GetPName read _ASYNC_HISTOGRAM_SGIX; + public static property MAX_ASYNC_HISTOGRAM_SGIX: GetPName read _MAX_ASYNC_HISTOGRAM_SGIX; + public static property PIXEL_TEXTURE_SGIS: GetPName read _PIXEL_TEXTURE_SGIS; + public static property ASYNC_TEX_IMAGE_SGIX: GetPName read _ASYNC_TEX_IMAGE_SGIX; + public static property ASYNC_DRAW_PIXELS_SGIX: GetPName read _ASYNC_DRAW_PIXELS_SGIX; + public static property ASYNC_READ_PIXELS_SGIX: GetPName read _ASYNC_READ_PIXELS_SGIX; + public static property MAX_ASYNC_TEX_IMAGE_SGIX: GetPName read _MAX_ASYNC_TEX_IMAGE_SGIX; + public static property MAX_ASYNC_DRAW_PIXELS_SGIX: GetPName read _MAX_ASYNC_DRAW_PIXELS_SGIX; + public static property MAX_ASYNC_READ_PIXELS_SGIX: GetPName read _MAX_ASYNC_READ_PIXELS_SGIX; + public static property VERTEX_PRECLIP_SGIX: GetPName read _VERTEX_PRECLIP_SGIX; + public static property VERTEX_PRECLIP_HINT_SGIX: GetPName read _VERTEX_PRECLIP_HINT_SGIX; + public static property FRAGMENT_LIGHTING_SGIX: GetPName read _FRAGMENT_LIGHTING_SGIX; + public static property FRAGMENT_COLOR_MATERIAL_SGIX: GetPName read _FRAGMENT_COLOR_MATERIAL_SGIX; + public static property FRAGMENT_COLOR_MATERIAL_FACE_SGIX: GetPName read _FRAGMENT_COLOR_MATERIAL_FACE_SGIX; + public static property FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX: GetPName read _FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX; + public static property MAX_FRAGMENT_LIGHTS_SGIX: GetPName read _MAX_FRAGMENT_LIGHTS_SGIX; + public static property MAX_ACTIVE_LIGHTS_SGIX: GetPName read _MAX_ACTIVE_LIGHTS_SGIX; + public static property LIGHT_ENV_MODE_SGIX: GetPName read _LIGHT_ENV_MODE_SGIX; + public static property FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX: GetPName read _FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX; + public static property FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX: GetPName read _FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX; + public static property FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX: GetPName read _FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX; + public static property FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX: GetPName read _FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX; + public static property FRAGMENT_LIGHT0_SGIX: GetPName read _FRAGMENT_LIGHT0_SGIX; + public static property PACK_RESAMPLE_SGIX: GetPName read _PACK_RESAMPLE_SGIX; + public static property UNPACK_RESAMPLE_SGIX: GetPName read _UNPACK_RESAMPLE_SGIX; + public static property ALIASED_POINT_SIZE_RANGE: GetPName read _ALIASED_POINT_SIZE_RANGE; + public static property ALIASED_LINE_WIDTH_RANGE: GetPName read _ALIASED_LINE_WIDTH_RANGE; + public static property ACTIVE_TEXTURE: GetPName read _ACTIVE_TEXTURE; + public static property MAX_RENDERBUFFER_SIZE: GetPName read _MAX_RENDERBUFFER_SIZE; + public static property TEXTURE_COMPRESSION_HINT: GetPName read _TEXTURE_COMPRESSION_HINT; + public static property TEXTURE_BINDING_RECTANGLE: GetPName read _TEXTURE_BINDING_RECTANGLE; + public static property MAX_RECTANGLE_TEXTURE_SIZE: GetPName read _MAX_RECTANGLE_TEXTURE_SIZE; + public static property MAX_TEXTURE_LOD_BIAS: GetPName read _MAX_TEXTURE_LOD_BIAS; + public static property TEXTURE_BINDING_CUBE_MAP: GetPName read _TEXTURE_BINDING_CUBE_MAP; + public static property MAX_CUBE_MAP_TEXTURE_SIZE: GetPName read _MAX_CUBE_MAP_TEXTURE_SIZE; + public static property PACK_SUBSAMPLE_RATE_SGIX: GetPName read _PACK_SUBSAMPLE_RATE_SGIX; + public static property UNPACK_SUBSAMPLE_RATE_SGIX: GetPName read _UNPACK_SUBSAMPLE_RATE_SGIX; + public static property VERTEX_ARRAY_BINDING: GetPName read _VERTEX_ARRAY_BINDING; + public static property PROGRAM_POINT_SIZE: GetPName read _PROGRAM_POINT_SIZE; + public static property NUM_COMPRESSED_TEXTURE_FORMATS: GetPName read _NUM_COMPRESSED_TEXTURE_FORMATS; + public static property COMPRESSED_TEXTURE_FORMATS: GetPName read _COMPRESSED_TEXTURE_FORMATS; + public static property NUM_PROGRAM_BINARY_FORMATS: GetPName read _NUM_PROGRAM_BINARY_FORMATS; + public static property PROGRAM_BINARY_FORMATS: GetPName read _PROGRAM_BINARY_FORMATS; + public static property STENCIL_BACK_FUNC: GetPName read _STENCIL_BACK_FUNC; + public static property STENCIL_BACK_FAIL: GetPName read _STENCIL_BACK_FAIL; + public static property STENCIL_BACK_PASS_DEPTH_FAIL: GetPName read _STENCIL_BACK_PASS_DEPTH_FAIL; + public static property STENCIL_BACK_PASS_DEPTH_PASS: GetPName read _STENCIL_BACK_PASS_DEPTH_PASS; + public static property MAX_DRAW_BUFFERS: GetPName read _MAX_DRAW_BUFFERS; + public static property BLEND_EQUATION_ALPHA: GetPName read _BLEND_EQUATION_ALPHA; + public static property MAX_VERTEX_ATTRIBS: GetPName read _MAX_VERTEX_ATTRIBS; + public static property MAX_TEXTURE_IMAGE_UNITS: GetPName read _MAX_TEXTURE_IMAGE_UNITS; + public static property ARRAY_BUFFER_BINDING: GetPName read _ARRAY_BUFFER_BINDING; + public static property ELEMENT_ARRAY_BUFFER_BINDING: GetPName read _ELEMENT_ARRAY_BUFFER_BINDING; + public static property PIXEL_PACK_BUFFER_BINDING: GetPName read _PIXEL_PACK_BUFFER_BINDING; + public static property PIXEL_UNPACK_BUFFER_BINDING: GetPName read _PIXEL_UNPACK_BUFFER_BINDING; + public static property MAX_DUAL_SOURCE_DRAW_BUFFERS: GetPName read _MAX_DUAL_SOURCE_DRAW_BUFFERS; + public static property MAX_ARRAY_TEXTURE_LAYERS: GetPName read _MAX_ARRAY_TEXTURE_LAYERS; + public static property MIN_PROGRAM_TEXEL_OFFSET: GetPName read _MIN_PROGRAM_TEXEL_OFFSET; + public static property MAX_PROGRAM_TEXEL_OFFSET: GetPName read _MAX_PROGRAM_TEXEL_OFFSET; + public static property SAMPLER_BINDING: GetPName read _SAMPLER_BINDING; + public static property UNIFORM_BUFFER_BINDING: GetPName read _UNIFORM_BUFFER_BINDING; + public static property UNIFORM_BUFFER_START: GetPName read _UNIFORM_BUFFER_START; + public static property UNIFORM_BUFFER_SIZE: GetPName read _UNIFORM_BUFFER_SIZE; + public static property MAX_VERTEX_UNIFORM_BLOCKS: GetPName read _MAX_VERTEX_UNIFORM_BLOCKS; + public static property MAX_GEOMETRY_UNIFORM_BLOCKS: GetPName read _MAX_GEOMETRY_UNIFORM_BLOCKS; + public static property MAX_FRAGMENT_UNIFORM_BLOCKS: GetPName read _MAX_FRAGMENT_UNIFORM_BLOCKS; + public static property MAX_COMBINED_UNIFORM_BLOCKS: GetPName read _MAX_COMBINED_UNIFORM_BLOCKS; + public static property MAX_UNIFORM_BUFFER_BINDINGS: GetPName read _MAX_UNIFORM_BUFFER_BINDINGS; + public static property MAX_UNIFORM_BLOCK_SIZE: GetPName read _MAX_UNIFORM_BLOCK_SIZE; + public static property MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GetPName read _MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS; + public static property MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS: GetPName read _MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS; + public static property MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GetPName read _MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS; + public static property UNIFORM_BUFFER_OFFSET_ALIGNMENT: GetPName read _UNIFORM_BUFFER_OFFSET_ALIGNMENT; + public static property MAX_FRAGMENT_UNIFORM_COMPONENTS: GetPName read _MAX_FRAGMENT_UNIFORM_COMPONENTS; + public static property MAX_VERTEX_UNIFORM_COMPONENTS: GetPName read _MAX_VERTEX_UNIFORM_COMPONENTS; + public static property MAX_VARYING_COMPONENTS: GetPName read _MAX_VARYING_COMPONENTS; + public static property MAX_VARYING_FLOATS: GetPName read _MAX_VARYING_FLOATS; + public static property MAX_VERTEX_TEXTURE_IMAGE_UNITS: GetPName read _MAX_VERTEX_TEXTURE_IMAGE_UNITS; + public static property MAX_COMBINED_TEXTURE_IMAGE_UNITS: GetPName read _MAX_COMBINED_TEXTURE_IMAGE_UNITS; + public static property FRAGMENT_SHADER_DERIVATIVE_HINT: GetPName read _FRAGMENT_SHADER_DERIVATIVE_HINT; + public static property CURRENT_PROGRAM: GetPName read _CURRENT_PROGRAM; + public static property IMPLEMENTATION_COLOR_READ_TYPE: GetPName read _IMPLEMENTATION_COLOR_READ_TYPE; + public static property IMPLEMENTATION_COLOR_READ_FORMAT: GetPName read _IMPLEMENTATION_COLOR_READ_FORMAT; + public static property TEXTURE_BINDING_1D_ARRAY: GetPName read _TEXTURE_BINDING_1D_ARRAY; + public static property TEXTURE_BINDING_2D_ARRAY: GetPName read _TEXTURE_BINDING_2D_ARRAY; + public static property MAX_GEOMETRY_TEXTURE_IMAGE_UNITS: GetPName read _MAX_GEOMETRY_TEXTURE_IMAGE_UNITS; + public static property MAX_TEXTURE_BUFFER_SIZE: GetPName read _MAX_TEXTURE_BUFFER_SIZE; + public static property TEXTURE_BINDING_BUFFER: GetPName read _TEXTURE_BINDING_BUFFER; + public static property TRANSFORM_FEEDBACK_BUFFER_START: GetPName read _TRANSFORM_FEEDBACK_BUFFER_START; + public static property TRANSFORM_FEEDBACK_BUFFER_SIZE: GetPName read _TRANSFORM_FEEDBACK_BUFFER_SIZE; + public static property TRANSFORM_FEEDBACK_BUFFER_BINDING: GetPName read _TRANSFORM_FEEDBACK_BUFFER_BINDING; + public static property STENCIL_BACK_REF: GetPName read _STENCIL_BACK_REF; + public static property STENCIL_BACK_VALUE_MASK: GetPName read _STENCIL_BACK_VALUE_MASK; + public static property STENCIL_BACK_WRITEMASK: GetPName read _STENCIL_BACK_WRITEMASK; + public static property DRAW_FRAMEBUFFER_BINDING: GetPName read _DRAW_FRAMEBUFFER_BINDING; + public static property RENDERBUFFER_BINDING: GetPName read _RENDERBUFFER_BINDING; + public static property READ_FRAMEBUFFER_BINDING: GetPName read _READ_FRAMEBUFFER_BINDING; + public static property MAX_ELEMENT_INDEX: GetPName read _MAX_ELEMENT_INDEX; + public static property MAX_GEOMETRY_UNIFORM_COMPONENTS: GetPName read _MAX_GEOMETRY_UNIFORM_COMPONENTS; + public static property NUM_SHADER_BINARY_FORMATS: GetPName read _NUM_SHADER_BINARY_FORMATS; + public static property SHADER_COMPILER: GetPName read _SHADER_COMPILER; + public static property MAX_VERTEX_UNIFORM_VECTORS: GetPName read _MAX_VERTEX_UNIFORM_VECTORS; + public static property MAX_VARYING_VECTORS: GetPName read _MAX_VARYING_VECTORS; + public static property MAX_FRAGMENT_UNIFORM_VECTORS: GetPName read _MAX_FRAGMENT_UNIFORM_VECTORS; + public static property TIMESTAMP: GetPName read _TIMESTAMP; + public static property PROVOKING_VERTEX: GetPName read _PROVOKING_VERTEX; + public static property MAX_SAMPLE_MASK_WORDS: GetPName read _MAX_SAMPLE_MASK_WORDS; + public static property PRIMITIVE_RESTART_INDEX: GetPName read _PRIMITIVE_RESTART_INDEX; + public static property MIN_MAP_BUFFER_ALIGNMENT: GetPName read _MIN_MAP_BUFFER_ALIGNMENT; + public static property SHADER_STORAGE_BUFFER_BINDING: GetPName read _SHADER_STORAGE_BUFFER_BINDING; + public static property SHADER_STORAGE_BUFFER_START: GetPName read _SHADER_STORAGE_BUFFER_START; + public static property SHADER_STORAGE_BUFFER_SIZE: GetPName read _SHADER_STORAGE_BUFFER_SIZE; + public static property MAX_VERTEX_SHADER_STORAGE_BLOCKS: GetPName read _MAX_VERTEX_SHADER_STORAGE_BLOCKS; + public static property MAX_GEOMETRY_SHADER_STORAGE_BLOCKS: GetPName read _MAX_GEOMETRY_SHADER_STORAGE_BLOCKS; + public static property MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS: GetPName read _MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS; + public static property MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS: GetPName read _MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS; + public static property MAX_FRAGMENT_SHADER_STORAGE_BLOCKS: GetPName read _MAX_FRAGMENT_SHADER_STORAGE_BLOCKS; + public static property MAX_COMPUTE_SHADER_STORAGE_BLOCKS: GetPName read _MAX_COMPUTE_SHADER_STORAGE_BLOCKS; + public static property MAX_COMBINED_SHADER_STORAGE_BLOCKS: GetPName read _MAX_COMBINED_SHADER_STORAGE_BLOCKS; + public static property MAX_SHADER_STORAGE_BUFFER_BINDINGS: GetPName read _MAX_SHADER_STORAGE_BUFFER_BINDINGS; + public static property SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT: GetPName read _SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT; + public static property MAX_COMPUTE_WORK_GROUP_INVOCATIONS: GetPName read _MAX_COMPUTE_WORK_GROUP_INVOCATIONS; + public static property DISPATCH_INDIRECT_BUFFER_BINDING: GetPName read _DISPATCH_INDIRECT_BUFFER_BINDING; + public static property TEXTURE_BINDING_2D_MULTISAMPLE: GetPName read _TEXTURE_BINDING_2D_MULTISAMPLE; + public static property TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY: GetPName read _TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY; + public static property MAX_COLOR_TEXTURE_SAMPLES: GetPName read _MAX_COLOR_TEXTURE_SAMPLES; + public static property MAX_DEPTH_TEXTURE_SAMPLES: GetPName read _MAX_DEPTH_TEXTURE_SAMPLES; + public static property MAX_INTEGER_SAMPLES: GetPName read _MAX_INTEGER_SAMPLES; + public static property MAX_SERVER_WAIT_TIMEOUT: GetPName read _MAX_SERVER_WAIT_TIMEOUT; + public static property MAX_VERTEX_OUTPUT_COMPONENTS: GetPName read _MAX_VERTEX_OUTPUT_COMPONENTS; + public static property MAX_GEOMETRY_INPUT_COMPONENTS: GetPName read _MAX_GEOMETRY_INPUT_COMPONENTS; + public static property MAX_GEOMETRY_OUTPUT_COMPONENTS: GetPName read _MAX_GEOMETRY_OUTPUT_COMPONENTS; + public static property MAX_FRAGMENT_INPUT_COMPONENTS: GetPName read _MAX_FRAGMENT_INPUT_COMPONENTS; + public static property TEXTURE_BUFFER_OFFSET_ALIGNMENT: GetPName read _TEXTURE_BUFFER_OFFSET_ALIGNMENT; + public static property MAX_COMPUTE_UNIFORM_BLOCKS: GetPName read _MAX_COMPUTE_UNIFORM_BLOCKS; + public static property MAX_COMPUTE_TEXTURE_IMAGE_UNITS: GetPName read _MAX_COMPUTE_TEXTURE_IMAGE_UNITS; + public static property MAX_COMPUTE_WORK_GROUP_COUNT: GetPName read _MAX_COMPUTE_WORK_GROUP_COUNT; + public static property MAX_COMPUTE_WORK_GROUP_SIZE: GetPName read _MAX_COMPUTE_WORK_GROUP_SIZE; + public static property MAX_VERTEX_ATOMIC_COUNTERS: GetPName read _MAX_VERTEX_ATOMIC_COUNTERS; + public static property MAX_TESS_CONTROL_ATOMIC_COUNTERS: GetPName read _MAX_TESS_CONTROL_ATOMIC_COUNTERS; + public static property MAX_TESS_EVALUATION_ATOMIC_COUNTERS: GetPName read _MAX_TESS_EVALUATION_ATOMIC_COUNTERS; + public static property MAX_GEOMETRY_ATOMIC_COUNTERS: GetPName read _MAX_GEOMETRY_ATOMIC_COUNTERS; + public static property MAX_FRAGMENT_ATOMIC_COUNTERS: GetPName read _MAX_FRAGMENT_ATOMIC_COUNTERS; + public static property MAX_COMBINED_ATOMIC_COUNTERS: GetPName read _MAX_COMBINED_ATOMIC_COUNTERS; + public static property MAX_FRAMEBUFFER_WIDTH: GetPName read _MAX_FRAMEBUFFER_WIDTH; + public static property MAX_FRAMEBUFFER_HEIGHT: GetPName read _MAX_FRAMEBUFFER_HEIGHT; + public static property MAX_FRAMEBUFFER_LAYERS: GetPName read _MAX_FRAMEBUFFER_LAYERS; + public static property MAX_FRAMEBUFFER_SAMPLES: GetPName read _MAX_FRAMEBUFFER_SAMPLES; + public static property NUM_DEVICE_UUIDS_EXT: GetPName read _NUM_DEVICE_UUIDS_EXT; + public static property DEVICE_UUID_EXT: GetPName read _DEVICE_UUID_EXT; + public static property DRIVER_UUID_EXT: GetPName read _DRIVER_UUID_EXT; + public static property DEVICE_LUID_EXT: GetPName read _DEVICE_LUID_EXT; + public static property DEVICE_NODE_MASK_EXT: GetPName read _DEVICE_NODE_MASK_EXT; + + public function ToString: string; override; + begin + var res := typeof(GetPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ClipOriginMode = record + GetPointervPName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property LOWER_LEFT: ClipOriginMode read new ClipOriginMode($8CA1); - public static property UPPER_LEFT: ClipOriginMode read new ClipOriginMode($8CA2); + private static _FEEDBACK_BUFFER_POINTER := new GetPointervPName($0DF0); + private static _SELECTION_BUFFER_POINTER := new GetPointervPName($0DF3); + private static _VERTEX_ARRAY_POINTER := new GetPointervPName($808E); + private static _VERTEX_ARRAY_POINTER_EXT := new GetPointervPName($808E); + private static _NORMAL_ARRAY_POINTER := new GetPointervPName($808F); + private static _NORMAL_ARRAY_POINTER_EXT := new GetPointervPName($808F); + private static _COLOR_ARRAY_POINTER := new GetPointervPName($8090); + private static _COLOR_ARRAY_POINTER_EXT := new GetPointervPName($8090); + private static _INDEX_ARRAY_POINTER := new GetPointervPName($8091); + private static _INDEX_ARRAY_POINTER_EXT := new GetPointervPName($8091); + private static _TEXTURE_COORD_ARRAY_POINTER := new GetPointervPName($8092); + private static _TEXTURE_COORD_ARRAY_POINTER_EXT := new GetPointervPName($8092); + private static _EDGE_FLAG_ARRAY_POINTER := new GetPointervPName($8093); + private static _EDGE_FLAG_ARRAY_POINTER_EXT := new GetPointervPName($8093); + private static _INSTRUMENT_BUFFER_POINTER_SGIX := new GetPointervPName($8180); + private static _DEBUG_CALLBACK_FUNCTION := new GetPointervPName($8244); + private static _DEBUG_CALLBACK_USER_PARAM := new GetPointervPName($8245); + + public static property FEEDBACK_BUFFER_POINTER: GetPointervPName read _FEEDBACK_BUFFER_POINTER; + public static property SELECTION_BUFFER_POINTER: GetPointervPName read _SELECTION_BUFFER_POINTER; + public static property VERTEX_ARRAY_POINTER: GetPointervPName read _VERTEX_ARRAY_POINTER; + public static property VERTEX_ARRAY_POINTER_EXT: GetPointervPName read _VERTEX_ARRAY_POINTER_EXT; + public static property NORMAL_ARRAY_POINTER: GetPointervPName read _NORMAL_ARRAY_POINTER; + public static property NORMAL_ARRAY_POINTER_EXT: GetPointervPName read _NORMAL_ARRAY_POINTER_EXT; + public static property COLOR_ARRAY_POINTER: GetPointervPName read _COLOR_ARRAY_POINTER; + public static property COLOR_ARRAY_POINTER_EXT: GetPointervPName read _COLOR_ARRAY_POINTER_EXT; + public static property INDEX_ARRAY_POINTER: GetPointervPName read _INDEX_ARRAY_POINTER; + public static property INDEX_ARRAY_POINTER_EXT: GetPointervPName read _INDEX_ARRAY_POINTER_EXT; + public static property TEXTURE_COORD_ARRAY_POINTER: GetPointervPName read _TEXTURE_COORD_ARRAY_POINTER; + public static property TEXTURE_COORD_ARRAY_POINTER_EXT: GetPointervPName read _TEXTURE_COORD_ARRAY_POINTER_EXT; + public static property EDGE_FLAG_ARRAY_POINTER: GetPointervPName read _EDGE_FLAG_ARRAY_POINTER; + public static property EDGE_FLAG_ARRAY_POINTER_EXT: GetPointervPName read _EDGE_FLAG_ARRAY_POINTER_EXT; + public static property INSTRUMENT_BUFFER_POINTER_SGIX: GetPointervPName read _INSTRUMENT_BUFFER_POINTER_SGIX; + public static property DEBUG_CALLBACK_FUNCTION: GetPointervPName read _DEBUG_CALLBACK_FUNCTION; + public static property DEBUG_CALLBACK_USER_PARAM: GetPointervPName read _DEBUG_CALLBACK_USER_PARAM; + + public function ToString: string; override; + begin + var res := typeof(GetPointervPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetPointervPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TransformFeedbackBindTarget = record + GetTextureParameter = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property GL_TRANSFORM_FEEDBACK: TransformFeedbackBindTarget read new TransformFeedbackBindTarget($8E22); + private static _TEXTURE_WIDTH := new GetTextureParameter($1000); + private static _TEXTURE_HEIGHT := new GetTextureParameter($1001); + private static _TEXTURE_COMPONENTS := new GetTextureParameter($1003); + private static _TEXTURE_INTERNAL_FORMAT := new GetTextureParameter($1003); + private static _TEXTURE_BORDER_COLOR := new GetTextureParameter($1004); + private static _TEXTURE_BORDER_COLOR_NV := new GetTextureParameter($1004); + private static _TEXTURE_BORDER := new GetTextureParameter($1005); + private static _TEXTURE_MAG_FILTER := new GetTextureParameter($2800); + private static _TEXTURE_MIN_FILTER := new GetTextureParameter($2801); + private static _TEXTURE_WRAP_S := new GetTextureParameter($2802); + private static _TEXTURE_WRAP_T := new GetTextureParameter($2803); + private static _TEXTURE_RED_SIZE := new GetTextureParameter($805C); + private static _TEXTURE_GREEN_SIZE := new GetTextureParameter($805D); + private static _TEXTURE_BLUE_SIZE := new GetTextureParameter($805E); + private static _TEXTURE_ALPHA_SIZE := new GetTextureParameter($805F); + private static _TEXTURE_LUMINANCE_SIZE := new GetTextureParameter($8060); + private static _TEXTURE_INTENSITY_SIZE := new GetTextureParameter($8061); + private static _TEXTURE_PRIORITY := new GetTextureParameter($8066); + private static _TEXTURE_RESIDENT := new GetTextureParameter($8067); + private static _TEXTURE_DEPTH_EXT := new GetTextureParameter($8071); + private static _TEXTURE_WRAP_R_EXT := new GetTextureParameter($8072); + private static _DETAIL_TEXTURE_LEVEL_SGIS := new GetTextureParameter($809A); + private static _DETAIL_TEXTURE_MODE_SGIS := new GetTextureParameter($809B); + private static _DETAIL_TEXTURE_FUNC_POINTS_SGIS := new GetTextureParameter($809C); + private static _SHARPEN_TEXTURE_FUNC_POINTS_SGIS := new GetTextureParameter($80B0); + private static _SHADOW_AMBIENT_SGIX := new GetTextureParameter($80BF); + private static _DUAL_TEXTURE_SELECT_SGIS := new GetTextureParameter($8124); + private static _QUAD_TEXTURE_SELECT_SGIS := new GetTextureParameter($8125); + private static _TEXTURE_4DSIZE_SGIS := new GetTextureParameter($8136); + private static _TEXTURE_WRAP_Q_SGIS := new GetTextureParameter($8137); + private static _TEXTURE_MIN_LOD_SGIS := new GetTextureParameter($813A); + private static _TEXTURE_MAX_LOD_SGIS := new GetTextureParameter($813B); + private static _TEXTURE_BASE_LEVEL_SGIS := new GetTextureParameter($813C); + private static _TEXTURE_MAX_LEVEL_SGIS := new GetTextureParameter($813D); + private static _TEXTURE_FILTER4_SIZE_SGIS := new GetTextureParameter($8147); + private static _TEXTURE_CLIPMAP_CENTER_SGIX := new GetTextureParameter($8171); + private static _TEXTURE_CLIPMAP_FRAME_SGIX := new GetTextureParameter($8172); + private static _TEXTURE_CLIPMAP_OFFSET_SGIX := new GetTextureParameter($8173); + private static _TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX := new GetTextureParameter($8174); + private static _TEXTURE_CLIPMAP_LOD_OFFSET_SGIX := new GetTextureParameter($8175); + private static _TEXTURE_CLIPMAP_DEPTH_SGIX := new GetTextureParameter($8176); + private static _POST_TEXTURE_FILTER_BIAS_SGIX := new GetTextureParameter($8179); + private static _POST_TEXTURE_FILTER_SCALE_SGIX := new GetTextureParameter($817A); + private static _TEXTURE_LOD_BIAS_S_SGIX := new GetTextureParameter($818E); + private static _TEXTURE_LOD_BIAS_T_SGIX := new GetTextureParameter($818F); + private static _TEXTURE_LOD_BIAS_R_SGIX := new GetTextureParameter($8190); + private static _GENERATE_MIPMAP_SGIS := new GetTextureParameter($8191); + private static _TEXTURE_COMPARE_SGIX := new GetTextureParameter($819A); + private static _TEXTURE_COMPARE_OPERATOR_SGIX := new GetTextureParameter($819B); + private static _TEXTURE_LEQUAL_R_SGIX := new GetTextureParameter($819C); + private static _TEXTURE_GEQUAL_R_SGIX := new GetTextureParameter($819D); + private static _TEXTURE_MAX_CLAMP_S_SGIX := new GetTextureParameter($8369); + private static _TEXTURE_MAX_CLAMP_T_SGIX := new GetTextureParameter($836A); + private static _TEXTURE_MAX_CLAMP_R_SGIX := new GetTextureParameter($836B); + + public static property TEXTURE_WIDTH: GetTextureParameter read _TEXTURE_WIDTH; + public static property TEXTURE_HEIGHT: GetTextureParameter read _TEXTURE_HEIGHT; + public static property TEXTURE_COMPONENTS: GetTextureParameter read _TEXTURE_COMPONENTS; + public static property TEXTURE_INTERNAL_FORMAT: GetTextureParameter read _TEXTURE_INTERNAL_FORMAT; + public static property TEXTURE_BORDER_COLOR: GetTextureParameter read _TEXTURE_BORDER_COLOR; + public static property TEXTURE_BORDER_COLOR_NV: GetTextureParameter read _TEXTURE_BORDER_COLOR_NV; + public static property TEXTURE_BORDER: GetTextureParameter read _TEXTURE_BORDER; + public static property TEXTURE_MAG_FILTER: GetTextureParameter read _TEXTURE_MAG_FILTER; + public static property TEXTURE_MIN_FILTER: GetTextureParameter read _TEXTURE_MIN_FILTER; + public static property TEXTURE_WRAP_S: GetTextureParameter read _TEXTURE_WRAP_S; + public static property TEXTURE_WRAP_T: GetTextureParameter read _TEXTURE_WRAP_T; + public static property TEXTURE_RED_SIZE: GetTextureParameter read _TEXTURE_RED_SIZE; + public static property TEXTURE_GREEN_SIZE: GetTextureParameter read _TEXTURE_GREEN_SIZE; + public static property TEXTURE_BLUE_SIZE: GetTextureParameter read _TEXTURE_BLUE_SIZE; + public static property TEXTURE_ALPHA_SIZE: GetTextureParameter read _TEXTURE_ALPHA_SIZE; + public static property TEXTURE_LUMINANCE_SIZE: GetTextureParameter read _TEXTURE_LUMINANCE_SIZE; + public static property TEXTURE_INTENSITY_SIZE: GetTextureParameter read _TEXTURE_INTENSITY_SIZE; + public static property TEXTURE_PRIORITY: GetTextureParameter read _TEXTURE_PRIORITY; + public static property TEXTURE_RESIDENT: GetTextureParameter read _TEXTURE_RESIDENT; + public static property TEXTURE_DEPTH_EXT: GetTextureParameter read _TEXTURE_DEPTH_EXT; + public static property TEXTURE_WRAP_R_EXT: GetTextureParameter read _TEXTURE_WRAP_R_EXT; + public static property DETAIL_TEXTURE_LEVEL_SGIS: GetTextureParameter read _DETAIL_TEXTURE_LEVEL_SGIS; + public static property DETAIL_TEXTURE_MODE_SGIS: GetTextureParameter read _DETAIL_TEXTURE_MODE_SGIS; + public static property DETAIL_TEXTURE_FUNC_POINTS_SGIS: GetTextureParameter read _DETAIL_TEXTURE_FUNC_POINTS_SGIS; + public static property SHARPEN_TEXTURE_FUNC_POINTS_SGIS: GetTextureParameter read _SHARPEN_TEXTURE_FUNC_POINTS_SGIS; + public static property SHADOW_AMBIENT_SGIX: GetTextureParameter read _SHADOW_AMBIENT_SGIX; + public static property DUAL_TEXTURE_SELECT_SGIS: GetTextureParameter read _DUAL_TEXTURE_SELECT_SGIS; + public static property QUAD_TEXTURE_SELECT_SGIS: GetTextureParameter read _QUAD_TEXTURE_SELECT_SGIS; + public static property TEXTURE_4DSIZE_SGIS: GetTextureParameter read _TEXTURE_4DSIZE_SGIS; + public static property TEXTURE_WRAP_Q_SGIS: GetTextureParameter read _TEXTURE_WRAP_Q_SGIS; + public static property TEXTURE_MIN_LOD_SGIS: GetTextureParameter read _TEXTURE_MIN_LOD_SGIS; + public static property TEXTURE_MAX_LOD_SGIS: GetTextureParameter read _TEXTURE_MAX_LOD_SGIS; + public static property TEXTURE_BASE_LEVEL_SGIS: GetTextureParameter read _TEXTURE_BASE_LEVEL_SGIS; + public static property TEXTURE_MAX_LEVEL_SGIS: GetTextureParameter read _TEXTURE_MAX_LEVEL_SGIS; + public static property TEXTURE_FILTER4_SIZE_SGIS: GetTextureParameter read _TEXTURE_FILTER4_SIZE_SGIS; + public static property TEXTURE_CLIPMAP_CENTER_SGIX: GetTextureParameter read _TEXTURE_CLIPMAP_CENTER_SGIX; + public static property TEXTURE_CLIPMAP_FRAME_SGIX: GetTextureParameter read _TEXTURE_CLIPMAP_FRAME_SGIX; + public static property TEXTURE_CLIPMAP_OFFSET_SGIX: GetTextureParameter read _TEXTURE_CLIPMAP_OFFSET_SGIX; + public static property TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX: GetTextureParameter read _TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX; + public static property TEXTURE_CLIPMAP_LOD_OFFSET_SGIX: GetTextureParameter read _TEXTURE_CLIPMAP_LOD_OFFSET_SGIX; + public static property TEXTURE_CLIPMAP_DEPTH_SGIX: GetTextureParameter read _TEXTURE_CLIPMAP_DEPTH_SGIX; + public static property POST_TEXTURE_FILTER_BIAS_SGIX: GetTextureParameter read _POST_TEXTURE_FILTER_BIAS_SGIX; + public static property POST_TEXTURE_FILTER_SCALE_SGIX: GetTextureParameter read _POST_TEXTURE_FILTER_SCALE_SGIX; + public static property TEXTURE_LOD_BIAS_S_SGIX: GetTextureParameter read _TEXTURE_LOD_BIAS_S_SGIX; + public static property TEXTURE_LOD_BIAS_T_SGIX: GetTextureParameter read _TEXTURE_LOD_BIAS_T_SGIX; + public static property TEXTURE_LOD_BIAS_R_SGIX: GetTextureParameter read _TEXTURE_LOD_BIAS_R_SGIX; + public static property GENERATE_MIPMAP_SGIS: GetTextureParameter read _GENERATE_MIPMAP_SGIS; + public static property TEXTURE_COMPARE_SGIX: GetTextureParameter read _TEXTURE_COMPARE_SGIX; + public static property TEXTURE_COMPARE_OPERATOR_SGIX: GetTextureParameter read _TEXTURE_COMPARE_OPERATOR_SGIX; + public static property TEXTURE_LEQUAL_R_SGIX: GetTextureParameter read _TEXTURE_LEQUAL_R_SGIX; + public static property TEXTURE_GEQUAL_R_SGIX: GetTextureParameter read _TEXTURE_GEQUAL_R_SGIX; + public static property TEXTURE_MAX_CLAMP_S_SGIX: GetTextureParameter read _TEXTURE_MAX_CLAMP_S_SGIX; + public static property TEXTURE_MAX_CLAMP_T_SGIX: GetTextureParameter read _TEXTURE_MAX_CLAMP_T_SGIX; + public static property TEXTURE_MAX_CLAMP_R_SGIX: GetTextureParameter read _TEXTURE_MAX_CLAMP_R_SGIX; + + public function ToString: string; override; + begin + var res := typeof(GetTextureParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetTextureParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TransformFeedbackBufferMode = record + GlslTypeToken = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property INTERLEAVED_ATTRIBS: TransformFeedbackBufferMode read new TransformFeedbackBufferMode($8C8C); - public static property SEPARATE_ATTRIBS: TransformFeedbackBufferMode read new TransformFeedbackBufferMode($8C8D); + private static _INT := new GlslTypeToken($1404); + private static _UNSIGNED_INT := new GlslTypeToken($1405); + private static _FLOAT := new GlslTypeToken($1406); + private static _DOUBLE := new GlslTypeToken($140A); + private static _FLOAT_VEC2 := new GlslTypeToken($8B50); + private static _FLOAT_VEC3 := new GlslTypeToken($8B51); + private static _FLOAT_VEC4 := new GlslTypeToken($8B52); + private static _INT_VEC2 := new GlslTypeToken($8B53); + private static _INT_VEC3 := new GlslTypeToken($8B54); + private static _INT_VEC4 := new GlslTypeToken($8B55); + private static _BOOL := new GlslTypeToken($8B56); + private static _BOOL_VEC2 := new GlslTypeToken($8B57); + private static _BOOL_VEC3 := new GlslTypeToken($8B58); + private static _BOOL_VEC4 := new GlslTypeToken($8B59); + private static _FLOAT_MAT2 := new GlslTypeToken($8B5A); + private static _FLOAT_MAT3 := new GlslTypeToken($8B5B); + private static _FLOAT_MAT4 := new GlslTypeToken($8B5C); + private static _SAMPLER_1D := new GlslTypeToken($8B5D); + private static _SAMPLER_2D := new GlslTypeToken($8B5E); + private static _SAMPLER_3D := new GlslTypeToken($8B5F); + private static _SAMPLER_CUBE := new GlslTypeToken($8B60); + private static _SAMPLER_1D_SHADOW := new GlslTypeToken($8B61); + private static _SAMPLER_2D_SHADOW := new GlslTypeToken($8B62); + private static _SAMPLER_2D_RECT := new GlslTypeToken($8B63); + private static _SAMPLER_2D_RECT_SHADOW := new GlslTypeToken($8B64); + private static _FLOAT_MAT2x3 := new GlslTypeToken($8B65); + private static _FLOAT_MAT2x4 := new GlslTypeToken($8B66); + private static _FLOAT_MAT3x2 := new GlslTypeToken($8B67); + private static _FLOAT_MAT3x4 := new GlslTypeToken($8B68); + private static _FLOAT_MAT4x2 := new GlslTypeToken($8B69); + private static _FLOAT_MAT4x3 := new GlslTypeToken($8B6A); + private static _SAMPLER_1D_ARRAY := new GlslTypeToken($8DC0); + private static _SAMPLER_2D_ARRAY := new GlslTypeToken($8DC1); + private static _SAMPLER_BUFFER := new GlslTypeToken($8DC2); + private static _SAMPLER_1D_ARRAY_SHADOW := new GlslTypeToken($8DC3); + private static _SAMPLER_2D_ARRAY_SHADOW := new GlslTypeToken($8DC4); + private static _SAMPLER_CUBE_SHADOW := new GlslTypeToken($8DC5); + private static _UNSIGNED_INT_VEC2 := new GlslTypeToken($8DC6); + private static _UNSIGNED_INT_VEC3 := new GlslTypeToken($8DC7); + private static _UNSIGNED_INT_VEC4 := new GlslTypeToken($8DC8); + private static _INT_SAMPLER_1D := new GlslTypeToken($8DC9); + private static _INT_SAMPLER_2D := new GlslTypeToken($8DCA); + private static _INT_SAMPLER_3D := new GlslTypeToken($8DCB); + private static _INT_SAMPLER_CUBE := new GlslTypeToken($8DCC); + private static _INT_SAMPLER_2D_RECT := new GlslTypeToken($8DCD); + private static _INT_SAMPLER_1D_ARRAY := new GlslTypeToken($8DCE); + private static _INT_SAMPLER_2D_ARRAY := new GlslTypeToken($8DCF); + private static _INT_SAMPLER_BUFFER := new GlslTypeToken($8DD0); + private static _UNSIGNED_INT_SAMPLER_1D := new GlslTypeToken($8DD1); + private static _UNSIGNED_INT_SAMPLER_2D := new GlslTypeToken($8DD2); + private static _UNSIGNED_INT_SAMPLER_3D := new GlslTypeToken($8DD3); + private static _UNSIGNED_INT_SAMPLER_CUBE := new GlslTypeToken($8DD4); + private static _UNSIGNED_INT_SAMPLER_2D_RECT := new GlslTypeToken($8DD5); + private static _UNSIGNED_INT_SAMPLER_1D_ARRAY := new GlslTypeToken($8DD6); + private static _UNSIGNED_INT_SAMPLER_2D_ARRAY := new GlslTypeToken($8DD7); + private static _UNSIGNED_INT_SAMPLER_BUFFER := new GlslTypeToken($8DD8); + private static _DOUBLE_MAT2 := new GlslTypeToken($8F46); + private static _DOUBLE_MAT3 := new GlslTypeToken($8F47); + private static _DOUBLE_MAT4 := new GlslTypeToken($8F48); + private static _DOUBLE_VEC2 := new GlslTypeToken($8FFC); + private static _DOUBLE_VEC3 := new GlslTypeToken($8FFD); + private static _DOUBLE_VEC4 := new GlslTypeToken($8FFE); + private static _SAMPLER_CUBE_MAP_ARRAY := new GlslTypeToken($900C); + private static _SAMPLER_CUBE_MAP_ARRAY_SHADOW := new GlslTypeToken($900D); + private static _INT_SAMPLER_CUBE_MAP_ARRAY := new GlslTypeToken($900E); + private static _UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY := new GlslTypeToken($900F); + private static _IMAGE_1D := new GlslTypeToken($904C); + private static _IMAGE_2D := new GlslTypeToken($904D); + private static _IMAGE_3D := new GlslTypeToken($904E); + private static _IMAGE_2D_RECT := new GlslTypeToken($904F); + private static _IMAGE_CUBE := new GlslTypeToken($9050); + private static _IMAGE_BUFFER := new GlslTypeToken($9051); + private static _IMAGE_1D_ARRAY := new GlslTypeToken($9052); + private static _IMAGE_2D_ARRAY := new GlslTypeToken($9053); + private static _IMAGE_CUBE_MAP_ARRAY := new GlslTypeToken($9054); + private static _IMAGE_2D_MULTISAMPLE := new GlslTypeToken($9055); + private static _IMAGE_2D_MULTISAMPLE_ARRAY := new GlslTypeToken($9056); + private static _INT_IMAGE_1D := new GlslTypeToken($9057); + private static _INT_IMAGE_2D := new GlslTypeToken($9058); + private static _INT_IMAGE_3D := new GlslTypeToken($9059); + private static _INT_IMAGE_2D_RECT := new GlslTypeToken($905A); + private static _INT_IMAGE_CUBE := new GlslTypeToken($905B); + private static _INT_IMAGE_BUFFER := new GlslTypeToken($905C); + private static _INT_IMAGE_1D_ARRAY := new GlslTypeToken($905D); + private static _INT_IMAGE_2D_ARRAY := new GlslTypeToken($905E); + private static _INT_IMAGE_CUBE_MAP_ARRAY := new GlslTypeToken($905F); + private static _INT_IMAGE_2D_MULTISAMPLE := new GlslTypeToken($9060); + private static _INT_IMAGE_2D_MULTISAMPLE_ARRAY := new GlslTypeToken($9061); + private static _UNSIGNED_INT_IMAGE_1D := new GlslTypeToken($9062); + private static _UNSIGNED_INT_IMAGE_2D := new GlslTypeToken($9063); + private static _UNSIGNED_INT_IMAGE_3D := new GlslTypeToken($9064); + private static _UNSIGNED_INT_IMAGE_2D_RECT := new GlslTypeToken($9065); + private static _UNSIGNED_INT_IMAGE_CUBE := new GlslTypeToken($9066); + private static _UNSIGNED_INT_IMAGE_BUFFER := new GlslTypeToken($9067); + private static _UNSIGNED_INT_IMAGE_1D_ARRAY := new GlslTypeToken($9068); + private static _UNSIGNED_INT_IMAGE_2D_ARRAY := new GlslTypeToken($9069); + private static _UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY := new GlslTypeToken($906A); + private static _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE := new GlslTypeToken($906B); + private static _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY := new GlslTypeToken($906C); + private static _SAMPLER_2D_MULTISAMPLE := new GlslTypeToken($9108); + private static _INT_SAMPLER_2D_MULTISAMPLE := new GlslTypeToken($9109); + private static _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE := new GlslTypeToken($910A); + private static _SAMPLER_2D_MULTISAMPLE_ARRAY := new GlslTypeToken($910B); + private static _INT_SAMPLER_2D_MULTISAMPLE_ARRAY := new GlslTypeToken($910C); + private static _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY := new GlslTypeToken($910D); + private static _UNSIGNED_INT_ATOMIC_COUNTER := new GlslTypeToken($92DB); + + public static property INT: GlslTypeToken read _INT; + public static property UNSIGNED_INT: GlslTypeToken read _UNSIGNED_INT; + public static property FLOAT: GlslTypeToken read _FLOAT; + public static property DOUBLE: GlslTypeToken read _DOUBLE; + public static property FLOAT_VEC2: GlslTypeToken read _FLOAT_VEC2; + public static property FLOAT_VEC3: GlslTypeToken read _FLOAT_VEC3; + public static property FLOAT_VEC4: GlslTypeToken read _FLOAT_VEC4; + public static property INT_VEC2: GlslTypeToken read _INT_VEC2; + public static property INT_VEC3: GlslTypeToken read _INT_VEC3; + public static property INT_VEC4: GlslTypeToken read _INT_VEC4; + public static property BOOL: GlslTypeToken read _BOOL; + public static property BOOL_VEC2: GlslTypeToken read _BOOL_VEC2; + public static property BOOL_VEC3: GlslTypeToken read _BOOL_VEC3; + public static property BOOL_VEC4: GlslTypeToken read _BOOL_VEC4; + public static property FLOAT_MAT2: GlslTypeToken read _FLOAT_MAT2; + public static property FLOAT_MAT3: GlslTypeToken read _FLOAT_MAT3; + public static property FLOAT_MAT4: GlslTypeToken read _FLOAT_MAT4; + public static property SAMPLER_1D: GlslTypeToken read _SAMPLER_1D; + public static property SAMPLER_2D: GlslTypeToken read _SAMPLER_2D; + public static property SAMPLER_3D: GlslTypeToken read _SAMPLER_3D; + public static property SAMPLER_CUBE: GlslTypeToken read _SAMPLER_CUBE; + public static property SAMPLER_1D_SHADOW: GlslTypeToken read _SAMPLER_1D_SHADOW; + public static property SAMPLER_2D_SHADOW: GlslTypeToken read _SAMPLER_2D_SHADOW; + public static property SAMPLER_2D_RECT: GlslTypeToken read _SAMPLER_2D_RECT; + public static property SAMPLER_2D_RECT_SHADOW: GlslTypeToken read _SAMPLER_2D_RECT_SHADOW; + public static property FLOAT_MAT2x3: GlslTypeToken read _FLOAT_MAT2x3; + public static property FLOAT_MAT2x4: GlslTypeToken read _FLOAT_MAT2x4; + public static property FLOAT_MAT3x2: GlslTypeToken read _FLOAT_MAT3x2; + public static property FLOAT_MAT3x4: GlslTypeToken read _FLOAT_MAT3x4; + public static property FLOAT_MAT4x2: GlslTypeToken read _FLOAT_MAT4x2; + public static property FLOAT_MAT4x3: GlslTypeToken read _FLOAT_MAT4x3; + public static property SAMPLER_1D_ARRAY: GlslTypeToken read _SAMPLER_1D_ARRAY; + public static property SAMPLER_2D_ARRAY: GlslTypeToken read _SAMPLER_2D_ARRAY; + public static property SAMPLER_BUFFER: GlslTypeToken read _SAMPLER_BUFFER; + public static property SAMPLER_1D_ARRAY_SHADOW: GlslTypeToken read _SAMPLER_1D_ARRAY_SHADOW; + public static property SAMPLER_2D_ARRAY_SHADOW: GlslTypeToken read _SAMPLER_2D_ARRAY_SHADOW; + public static property SAMPLER_CUBE_SHADOW: GlslTypeToken read _SAMPLER_CUBE_SHADOW; + public static property UNSIGNED_INT_VEC2: GlslTypeToken read _UNSIGNED_INT_VEC2; + public static property UNSIGNED_INT_VEC3: GlslTypeToken read _UNSIGNED_INT_VEC3; + public static property UNSIGNED_INT_VEC4: GlslTypeToken read _UNSIGNED_INT_VEC4; + public static property INT_SAMPLER_1D: GlslTypeToken read _INT_SAMPLER_1D; + public static property INT_SAMPLER_2D: GlslTypeToken read _INT_SAMPLER_2D; + public static property INT_SAMPLER_3D: GlslTypeToken read _INT_SAMPLER_3D; + public static property INT_SAMPLER_CUBE: GlslTypeToken read _INT_SAMPLER_CUBE; + public static property INT_SAMPLER_2D_RECT: GlslTypeToken read _INT_SAMPLER_2D_RECT; + public static property INT_SAMPLER_1D_ARRAY: GlslTypeToken read _INT_SAMPLER_1D_ARRAY; + public static property INT_SAMPLER_2D_ARRAY: GlslTypeToken read _INT_SAMPLER_2D_ARRAY; + public static property INT_SAMPLER_BUFFER: GlslTypeToken read _INT_SAMPLER_BUFFER; + public static property UNSIGNED_INT_SAMPLER_1D: GlslTypeToken read _UNSIGNED_INT_SAMPLER_1D; + public static property UNSIGNED_INT_SAMPLER_2D: GlslTypeToken read _UNSIGNED_INT_SAMPLER_2D; + public static property UNSIGNED_INT_SAMPLER_3D: GlslTypeToken read _UNSIGNED_INT_SAMPLER_3D; + public static property UNSIGNED_INT_SAMPLER_CUBE: GlslTypeToken read _UNSIGNED_INT_SAMPLER_CUBE; + public static property UNSIGNED_INT_SAMPLER_2D_RECT: GlslTypeToken read _UNSIGNED_INT_SAMPLER_2D_RECT; + public static property UNSIGNED_INT_SAMPLER_1D_ARRAY: GlslTypeToken read _UNSIGNED_INT_SAMPLER_1D_ARRAY; + public static property UNSIGNED_INT_SAMPLER_2D_ARRAY: GlslTypeToken read _UNSIGNED_INT_SAMPLER_2D_ARRAY; + public static property UNSIGNED_INT_SAMPLER_BUFFER: GlslTypeToken read _UNSIGNED_INT_SAMPLER_BUFFER; + public static property DOUBLE_MAT2: GlslTypeToken read _DOUBLE_MAT2; + public static property DOUBLE_MAT3: GlslTypeToken read _DOUBLE_MAT3; + public static property DOUBLE_MAT4: GlslTypeToken read _DOUBLE_MAT4; + public static property DOUBLE_VEC2: GlslTypeToken read _DOUBLE_VEC2; + public static property DOUBLE_VEC3: GlslTypeToken read _DOUBLE_VEC3; + public static property DOUBLE_VEC4: GlslTypeToken read _DOUBLE_VEC4; + public static property SAMPLER_CUBE_MAP_ARRAY: GlslTypeToken read _SAMPLER_CUBE_MAP_ARRAY; + public static property SAMPLER_CUBE_MAP_ARRAY_SHADOW: GlslTypeToken read _SAMPLER_CUBE_MAP_ARRAY_SHADOW; + public static property INT_SAMPLER_CUBE_MAP_ARRAY: GlslTypeToken read _INT_SAMPLER_CUBE_MAP_ARRAY; + public static property UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: GlslTypeToken read _UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY; + public static property IMAGE_1D: GlslTypeToken read _IMAGE_1D; + public static property IMAGE_2D: GlslTypeToken read _IMAGE_2D; + public static property IMAGE_3D: GlslTypeToken read _IMAGE_3D; + public static property IMAGE_2D_RECT: GlslTypeToken read _IMAGE_2D_RECT; + public static property IMAGE_CUBE: GlslTypeToken read _IMAGE_CUBE; + public static property IMAGE_BUFFER: GlslTypeToken read _IMAGE_BUFFER; + public static property IMAGE_1D_ARRAY: GlslTypeToken read _IMAGE_1D_ARRAY; + public static property IMAGE_2D_ARRAY: GlslTypeToken read _IMAGE_2D_ARRAY; + public static property IMAGE_CUBE_MAP_ARRAY: GlslTypeToken read _IMAGE_CUBE_MAP_ARRAY; + public static property IMAGE_2D_MULTISAMPLE: GlslTypeToken read _IMAGE_2D_MULTISAMPLE; + public static property IMAGE_2D_MULTISAMPLE_ARRAY: GlslTypeToken read _IMAGE_2D_MULTISAMPLE_ARRAY; + public static property INT_IMAGE_1D: GlslTypeToken read _INT_IMAGE_1D; + public static property INT_IMAGE_2D: GlslTypeToken read _INT_IMAGE_2D; + public static property INT_IMAGE_3D: GlslTypeToken read _INT_IMAGE_3D; + public static property INT_IMAGE_2D_RECT: GlslTypeToken read _INT_IMAGE_2D_RECT; + public static property INT_IMAGE_CUBE: GlslTypeToken read _INT_IMAGE_CUBE; + public static property INT_IMAGE_BUFFER: GlslTypeToken read _INT_IMAGE_BUFFER; + public static property INT_IMAGE_1D_ARRAY: GlslTypeToken read _INT_IMAGE_1D_ARRAY; + public static property INT_IMAGE_2D_ARRAY: GlslTypeToken read _INT_IMAGE_2D_ARRAY; + public static property INT_IMAGE_CUBE_MAP_ARRAY: GlslTypeToken read _INT_IMAGE_CUBE_MAP_ARRAY; + public static property INT_IMAGE_2D_MULTISAMPLE: GlslTypeToken read _INT_IMAGE_2D_MULTISAMPLE; + public static property INT_IMAGE_2D_MULTISAMPLE_ARRAY: GlslTypeToken read _INT_IMAGE_2D_MULTISAMPLE_ARRAY; + public static property UNSIGNED_INT_IMAGE_1D: GlslTypeToken read _UNSIGNED_INT_IMAGE_1D; + public static property UNSIGNED_INT_IMAGE_2D: GlslTypeToken read _UNSIGNED_INT_IMAGE_2D; + public static property UNSIGNED_INT_IMAGE_3D: GlslTypeToken read _UNSIGNED_INT_IMAGE_3D; + public static property UNSIGNED_INT_IMAGE_2D_RECT: GlslTypeToken read _UNSIGNED_INT_IMAGE_2D_RECT; + public static property UNSIGNED_INT_IMAGE_CUBE: GlslTypeToken read _UNSIGNED_INT_IMAGE_CUBE; + public static property UNSIGNED_INT_IMAGE_BUFFER: GlslTypeToken read _UNSIGNED_INT_IMAGE_BUFFER; + public static property UNSIGNED_INT_IMAGE_1D_ARRAY: GlslTypeToken read _UNSIGNED_INT_IMAGE_1D_ARRAY; + public static property UNSIGNED_INT_IMAGE_2D_ARRAY: GlslTypeToken read _UNSIGNED_INT_IMAGE_2D_ARRAY; + public static property UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY: GlslTypeToken read _UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY; + public static property UNSIGNED_INT_IMAGE_2D_MULTISAMPLE: GlslTypeToken read _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE; + public static property UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY: GlslTypeToken read _UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY; + public static property SAMPLER_2D_MULTISAMPLE: GlslTypeToken read _SAMPLER_2D_MULTISAMPLE; + public static property INT_SAMPLER_2D_MULTISAMPLE: GlslTypeToken read _INT_SAMPLER_2D_MULTISAMPLE; + public static property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: GlslTypeToken read _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE; + public static property SAMPLER_2D_MULTISAMPLE_ARRAY: GlslTypeToken read _SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property INT_SAMPLER_2D_MULTISAMPLE_ARRAY: GlslTypeToken read _INT_SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: GlslTypeToken read _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property UNSIGNED_INT_ATOMIC_COUNTER: GlslTypeToken read _UNSIGNED_INT_ATOMIC_COUNTER; + + public function ToString: string; override; + begin + var res := typeof(GlslTypeToken).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GlslTypeToken[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ConditionalRenderingMode = record + GraphicsResetStatus = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property WAIT: ConditionalRenderingMode read new ConditionalRenderingMode($8E13); - public static property NO_WAIT: ConditionalRenderingMode read new ConditionalRenderingMode($8E14); - public static property BY_REGION_WAIT: ConditionalRenderingMode read new ConditionalRenderingMode($8E15); - public static property BY_REGION_NO_WAIT: ConditionalRenderingMode read new ConditionalRenderingMode($8E16); - public static property WAIT_INVERTED: ConditionalRenderingMode read new ConditionalRenderingMode($8E17); - public static property NO_WAIT_INVERTED: ConditionalRenderingMode read new ConditionalRenderingMode($8E18); - public static property BY_REGION_WAIT_INVERTED: ConditionalRenderingMode read new ConditionalRenderingMode($8E19); - public static property BY_REGION_NO_WAIT_INVERTED: ConditionalRenderingMode read new ConditionalRenderingMode($8E1A); + private static _NO_ERROR := new GraphicsResetStatus($0000); + private static _GUILTY_CONTEXT_RESET := new GraphicsResetStatus($8253); + private static _INNOCENT_CONTEXT_RESET := new GraphicsResetStatus($8254); + private static _UNKNOWN_CONTEXT_RESET := new GraphicsResetStatus($8255); + + public static property NO_ERROR: GraphicsResetStatus read _NO_ERROR; + public static property GUILTY_CONTEXT_RESET: GraphicsResetStatus read _GUILTY_CONTEXT_RESET; + public static property INNOCENT_CONTEXT_RESET: GraphicsResetStatus read _INNOCENT_CONTEXT_RESET; + public static property UNKNOWN_CONTEXT_RESET: GraphicsResetStatus read _UNKNOWN_CONTEXT_RESET; + + public function ToString: string; override; + begin + var res := typeof(GraphicsResetStatus).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GraphicsResetStatus[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - VertexAttribInfoType = record + HintMode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property ELEMENT_ARRAY_BUFFER_BINDING: VertexAttribInfoType read new VertexAttribInfoType($8895); - public static property VERTEX_ATTRIB_ARRAY_ENABLED: VertexAttribInfoType read new VertexAttribInfoType($8622); - public static property VERTEX_ATTRIB_ARRAY_SIZE: VertexAttribInfoType read new VertexAttribInfoType($8623); - public static property VERTEX_ATTRIB_ARRAY_STRIDE: VertexAttribInfoType read new VertexAttribInfoType($8624); - public static property VERTEX_ATTRIB_ARRAY_TYPE: VertexAttribInfoType read new VertexAttribInfoType($8625); - public static property VERTEX_ATTRIB_ARRAY_NORMALIZED: VertexAttribInfoType read new VertexAttribInfoType($886A); - public static property VERTEX_ATTRIB_ARRAY_INTEGER: VertexAttribInfoType read new VertexAttribInfoType($88FD); - public static property VERTEX_ATTRIB_ARRAY_LONG: VertexAttribInfoType read new VertexAttribInfoType($874E); - public static property VERTEX_ATTRIB_ARRAY_DIVISOR: VertexAttribInfoType read new VertexAttribInfoType($88FE); - public static property VERTEX_ATTRIB_RELATIVE_OFFSET: VertexAttribInfoType read new VertexAttribInfoType($82D5); - public static property VERTEX_BINDING_OFFSET: VertexAttribInfoType read new VertexAttribInfoType($82D7); - public static property VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: VertexAttribInfoType read new VertexAttribInfoType($889F); - public static property VERTEX_ATTRIB_BINDING: VertexAttribInfoType read new VertexAttribInfoType($82D4); - public static property CURRENT_VERTEX_ATTRIB: VertexAttribInfoType read new VertexAttribInfoType($8626); + private static _DONT_CARE := new HintMode($1100); + private static _FASTEST := new HintMode($1101); + private static _NICEST := new HintMode($1102); + + public static property DONT_CARE: HintMode read _DONT_CARE; + public static property FASTEST: HintMode read _FASTEST; + public static property NICEST: HintMode read _NICEST; + + public function ToString: string; override; + begin + var res := typeof(HintMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'HintMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PatchMode = record + HintTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property VERTICES: PatchMode read new PatchMode($8E72); - public static property DEFAULT_INNER_LEVEL: PatchMode read new PatchMode($8E73); - public static property DEFAULT_OUTER_LEVEL: PatchMode read new PatchMode($8E74); + private static _PERSPECTIVE_CORRECTION_HINT := new HintTarget($0C50); + private static _POINT_SMOOTH_HINT := new HintTarget($0C51); + private static _LINE_SMOOTH_HINT := new HintTarget($0C52); + private static _POLYGON_SMOOTH_HINT := new HintTarget($0C53); + private static _FOG_HINT := new HintTarget($0C54); + private static _PACK_CMYK_HINT_EXT := new HintTarget($800E); + private static _UNPACK_CMYK_HINT_EXT := new HintTarget($800F); + private static _PHONG_HINT_WIN := new HintTarget($80EB); + private static _CLIP_VOLUME_CLIPPING_HINT_EXT := new HintTarget($80F0); + private static _TEXTURE_MULTI_BUFFER_HINT_SGIX := new HintTarget($812E); + private static _GENERATE_MIPMAP_HINT := new HintTarget($8192); + private static _GENERATE_MIPMAP_HINT_SGIS := new HintTarget($8192); + private static _PROGRAM_BINARY_RETRIEVABLE_HINT := new HintTarget($8257); + private static _CONVOLUTION_HINT_SGIX := new HintTarget($8316); + private static _SCALEBIAS_HINT_SGIX := new HintTarget($8322); + private static _LINE_QUALITY_HINT_SGIX := new HintTarget($835B); + private static _VERTEX_PRECLIP_SGIX := new HintTarget($83EE); + private static _VERTEX_PRECLIP_HINT_SGIX := new HintTarget($83EF); + private static _TEXTURE_COMPRESSION_HINT := new HintTarget($84EF); + private static _TEXTURE_COMPRESSION_HINT_ARB := new HintTarget($84EF); + private static _VERTEX_ARRAY_STORAGE_HINT_APPLE := new HintTarget($851F); + private static _MULTISAMPLE_FILTER_HINT_NV := new HintTarget($8534); + private static _TRANSFORM_HINT_APPLE := new HintTarget($85B1); + private static _TEXTURE_STORAGE_HINT_APPLE := new HintTarget($85BC); + private static _FRAGMENT_SHADER_DERIVATIVE_HINT := new HintTarget($8B8B); + private static _FRAGMENT_SHADER_DERIVATIVE_HINT_ARB := new HintTarget($8B8B); + private static _FRAGMENT_SHADER_DERIVATIVE_HINT_OES := new HintTarget($8B8B); + private static _BINNING_CONTROL_HINT_QCOM := new HintTarget($8FB0); + private static _PREFER_DOUBLEBUFFER_HINT_PGI := new HintTarget($1A1F8); + private static _CONSERVE_MEMORY_HINT_PGI := new HintTarget($1A1FD); + private static _RECLAIM_MEMORY_HINT_PGI := new HintTarget($1A1FE); + private static _NATIVE_GRAPHICS_BEGIN_HINT_PGI := new HintTarget($1A203); + private static _NATIVE_GRAPHICS_END_HINT_PGI := new HintTarget($1A204); + private static _ALWAYS_FAST_HINT_PGI := new HintTarget($1A20C); + private static _ALWAYS_SOFT_HINT_PGI := new HintTarget($1A20D); + private static _ALLOW_DRAW_OBJ_HINT_PGI := new HintTarget($1A20E); + private static _ALLOW_DRAW_WIN_HINT_PGI := new HintTarget($1A20F); + private static _ALLOW_DRAW_FRG_HINT_PGI := new HintTarget($1A210); + private static _ALLOW_DRAW_MEM_HINT_PGI := new HintTarget($1A211); + private static _STRICT_DEPTHFUNC_HINT_PGI := new HintTarget($1A216); + private static _STRICT_LIGHTING_HINT_PGI := new HintTarget($1A217); + private static _STRICT_SCISSOR_HINT_PGI := new HintTarget($1A218); + private static _FULL_STIPPLE_HINT_PGI := new HintTarget($1A219); + private static _CLIP_NEAR_HINT_PGI := new HintTarget($1A220); + private static _CLIP_FAR_HINT_PGI := new HintTarget($1A221); + private static _WIDE_LINE_HINT_PGI := new HintTarget($1A222); + private static _BACK_NORMALS_HINT_PGI := new HintTarget($1A223); + private static _VERTEX_DATA_HINT_PGI := new HintTarget($1A22A); + private static _VERTEX_CONSISTENT_HINT_PGI := new HintTarget($1A22B); + private static _MATERIAL_SIDE_HINT_PGI := new HintTarget($1A22C); + private static _MAX_VERTEX_HINT_PGI := new HintTarget($1A22D); + + public static property PERSPECTIVE_CORRECTION_HINT: HintTarget read _PERSPECTIVE_CORRECTION_HINT; + public static property POINT_SMOOTH_HINT: HintTarget read _POINT_SMOOTH_HINT; + public static property LINE_SMOOTH_HINT: HintTarget read _LINE_SMOOTH_HINT; + public static property POLYGON_SMOOTH_HINT: HintTarget read _POLYGON_SMOOTH_HINT; + public static property FOG_HINT: HintTarget read _FOG_HINT; + public static property PACK_CMYK_HINT_EXT: HintTarget read _PACK_CMYK_HINT_EXT; + public static property UNPACK_CMYK_HINT_EXT: HintTarget read _UNPACK_CMYK_HINT_EXT; + public static property PHONG_HINT_WIN: HintTarget read _PHONG_HINT_WIN; + public static property CLIP_VOLUME_CLIPPING_HINT_EXT: HintTarget read _CLIP_VOLUME_CLIPPING_HINT_EXT; + public static property TEXTURE_MULTI_BUFFER_HINT_SGIX: HintTarget read _TEXTURE_MULTI_BUFFER_HINT_SGIX; + public static property GENERATE_MIPMAP_HINT: HintTarget read _GENERATE_MIPMAP_HINT; + public static property GENERATE_MIPMAP_HINT_SGIS: HintTarget read _GENERATE_MIPMAP_HINT_SGIS; + public static property PROGRAM_BINARY_RETRIEVABLE_HINT: HintTarget read _PROGRAM_BINARY_RETRIEVABLE_HINT; + public static property CONVOLUTION_HINT_SGIX: HintTarget read _CONVOLUTION_HINT_SGIX; + public static property SCALEBIAS_HINT_SGIX: HintTarget read _SCALEBIAS_HINT_SGIX; + public static property LINE_QUALITY_HINT_SGIX: HintTarget read _LINE_QUALITY_HINT_SGIX; + public static property VERTEX_PRECLIP_SGIX: HintTarget read _VERTEX_PRECLIP_SGIX; + public static property VERTEX_PRECLIP_HINT_SGIX: HintTarget read _VERTEX_PRECLIP_HINT_SGIX; + public static property TEXTURE_COMPRESSION_HINT: HintTarget read _TEXTURE_COMPRESSION_HINT; + public static property TEXTURE_COMPRESSION_HINT_ARB: HintTarget read _TEXTURE_COMPRESSION_HINT_ARB; + public static property VERTEX_ARRAY_STORAGE_HINT_APPLE: HintTarget read _VERTEX_ARRAY_STORAGE_HINT_APPLE; + public static property MULTISAMPLE_FILTER_HINT_NV: HintTarget read _MULTISAMPLE_FILTER_HINT_NV; + public static property TRANSFORM_HINT_APPLE: HintTarget read _TRANSFORM_HINT_APPLE; + public static property TEXTURE_STORAGE_HINT_APPLE: HintTarget read _TEXTURE_STORAGE_HINT_APPLE; + public static property FRAGMENT_SHADER_DERIVATIVE_HINT: HintTarget read _FRAGMENT_SHADER_DERIVATIVE_HINT; + public static property FRAGMENT_SHADER_DERIVATIVE_HINT_ARB: HintTarget read _FRAGMENT_SHADER_DERIVATIVE_HINT_ARB; + public static property FRAGMENT_SHADER_DERIVATIVE_HINT_OES: HintTarget read _FRAGMENT_SHADER_DERIVATIVE_HINT_OES; + public static property BINNING_CONTROL_HINT_QCOM: HintTarget read _BINNING_CONTROL_HINT_QCOM; + public static property PREFER_DOUBLEBUFFER_HINT_PGI: HintTarget read _PREFER_DOUBLEBUFFER_HINT_PGI; + public static property CONSERVE_MEMORY_HINT_PGI: HintTarget read _CONSERVE_MEMORY_HINT_PGI; + public static property RECLAIM_MEMORY_HINT_PGI: HintTarget read _RECLAIM_MEMORY_HINT_PGI; + public static property NATIVE_GRAPHICS_BEGIN_HINT_PGI: HintTarget read _NATIVE_GRAPHICS_BEGIN_HINT_PGI; + public static property NATIVE_GRAPHICS_END_HINT_PGI: HintTarget read _NATIVE_GRAPHICS_END_HINT_PGI; + public static property ALWAYS_FAST_HINT_PGI: HintTarget read _ALWAYS_FAST_HINT_PGI; + public static property ALWAYS_SOFT_HINT_PGI: HintTarget read _ALWAYS_SOFT_HINT_PGI; + public static property ALLOW_DRAW_OBJ_HINT_PGI: HintTarget read _ALLOW_DRAW_OBJ_HINT_PGI; + public static property ALLOW_DRAW_WIN_HINT_PGI: HintTarget read _ALLOW_DRAW_WIN_HINT_PGI; + public static property ALLOW_DRAW_FRG_HINT_PGI: HintTarget read _ALLOW_DRAW_FRG_HINT_PGI; + public static property ALLOW_DRAW_MEM_HINT_PGI: HintTarget read _ALLOW_DRAW_MEM_HINT_PGI; + public static property STRICT_DEPTHFUNC_HINT_PGI: HintTarget read _STRICT_DEPTHFUNC_HINT_PGI; + public static property STRICT_LIGHTING_HINT_PGI: HintTarget read _STRICT_LIGHTING_HINT_PGI; + public static property STRICT_SCISSOR_HINT_PGI: HintTarget read _STRICT_SCISSOR_HINT_PGI; + public static property FULL_STIPPLE_HINT_PGI: HintTarget read _FULL_STIPPLE_HINT_PGI; + public static property CLIP_NEAR_HINT_PGI: HintTarget read _CLIP_NEAR_HINT_PGI; + public static property CLIP_FAR_HINT_PGI: HintTarget read _CLIP_FAR_HINT_PGI; + public static property WIDE_LINE_HINT_PGI: HintTarget read _WIDE_LINE_HINT_PGI; + public static property BACK_NORMALS_HINT_PGI: HintTarget read _BACK_NORMALS_HINT_PGI; + public static property VERTEX_DATA_HINT_PGI: HintTarget read _VERTEX_DATA_HINT_PGI; + public static property VERTEX_CONSISTENT_HINT_PGI: HintTarget read _VERTEX_CONSISTENT_HINT_PGI; + public static property MATERIAL_SIDE_HINT_PGI: HintTarget read _MATERIAL_SIDE_HINT_PGI; + public static property MAX_VERTEX_HINT_PGI: HintTarget read _MAX_VERTEX_HINT_PGI; + + public function ToString: string; override; + begin + var res := typeof(HintTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'HintTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + IndexPointerType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SHORT := new IndexPointerType($1402); + private static _INT := new IndexPointerType($1404); + private static _FLOAT := new IndexPointerType($1406); + private static _DOUBLE := new IndexPointerType($140A); + + public static property SHORT: IndexPointerType read _SHORT; + public static property INT: IndexPointerType read _INT; + public static property FLOAT: IndexPointerType read _FLOAT; + public static property DOUBLE: IndexPointerType read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(IndexPointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'IndexPointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + InterleavedArrayFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _V2F := new InterleavedArrayFormat($2A20); + private static _V3F := new InterleavedArrayFormat($2A21); + private static _C4UB_V2F := new InterleavedArrayFormat($2A22); + private static _C4UB_V3F := new InterleavedArrayFormat($2A23); + private static _C3F_V3F := new InterleavedArrayFormat($2A24); + private static _N3F_V3F := new InterleavedArrayFormat($2A25); + private static _C4F_N3F_V3F := new InterleavedArrayFormat($2A26); + private static _T2F_V3F := new InterleavedArrayFormat($2A27); + private static _T4F_V4F := new InterleavedArrayFormat($2A28); + private static _T2F_C4UB_V3F := new InterleavedArrayFormat($2A29); + private static _T2F_C3F_V3F := new InterleavedArrayFormat($2A2A); + private static _T2F_N3F_V3F := new InterleavedArrayFormat($2A2B); + private static _T2F_C4F_N3F_V3F := new InterleavedArrayFormat($2A2C); + private static _T4F_C4F_N3F_V4F := new InterleavedArrayFormat($2A2D); + + public static property V2F: InterleavedArrayFormat read _V2F; + public static property V3F: InterleavedArrayFormat read _V3F; + public static property C4UB_V2F: InterleavedArrayFormat read _C4UB_V2F; + public static property C4UB_V3F: InterleavedArrayFormat read _C4UB_V3F; + public static property C3F_V3F: InterleavedArrayFormat read _C3F_V3F; + public static property N3F_V3F: InterleavedArrayFormat read _N3F_V3F; + public static property C4F_N3F_V3F: InterleavedArrayFormat read _C4F_N3F_V3F; + public static property T2F_V3F: InterleavedArrayFormat read _T2F_V3F; + public static property T4F_V4F: InterleavedArrayFormat read _T4F_V4F; + public static property T2F_C4UB_V3F: InterleavedArrayFormat read _T2F_C4UB_V3F; + public static property T2F_C3F_V3F: InterleavedArrayFormat read _T2F_C3F_V3F; + public static property T2F_N3F_V3F: InterleavedArrayFormat read _T2F_N3F_V3F; + public static property T2F_C4F_N3F_V3F: InterleavedArrayFormat read _T2F_C4F_N3F_V3F; + public static property T4F_C4F_N3F_V4F: InterleavedArrayFormat read _T4F_C4F_N3F_V4F; + + public function ToString: string; override; + begin + var res := typeof(InterleavedArrayFormat).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'InterleavedArrayFormat[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + InternalFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _STENCIL_INDEX := new InternalFormat($1901); + private static _STENCIL_INDEX_OES := new InternalFormat($1901); + private static _DEPTH_COMPONENT := new InternalFormat($1902); + private static _RED := new InternalFormat($1903); + private static _RED_EXT := new InternalFormat($1903); + private static _RGB := new InternalFormat($1907); + private static _RGBA := new InternalFormat($1908); + private static _R3_G3_B2 := new InternalFormat($2A10); + private static _ALPHA4 := new InternalFormat($803B); + private static _ALPHA8 := new InternalFormat($803C); + private static _ALPHA12 := new InternalFormat($803D); + private static _ALPHA16 := new InternalFormat($803E); + private static _LUMINANCE4 := new InternalFormat($803F); + private static _LUMINANCE8 := new InternalFormat($8040); + private static _LUMINANCE12 := new InternalFormat($8041); + private static _LUMINANCE16 := new InternalFormat($8042); + private static _LUMINANCE4_ALPHA4 := new InternalFormat($8043); + private static _LUMINANCE6_ALPHA2 := new InternalFormat($8044); + private static _LUMINANCE8_ALPHA8 := new InternalFormat($8045); + private static _LUMINANCE12_ALPHA4 := new InternalFormat($8046); + private static _LUMINANCE12_ALPHA12 := new InternalFormat($8047); + private static _LUMINANCE16_ALPHA16 := new InternalFormat($8048); + private static _INTENSITY := new InternalFormat($8049); + private static _INTENSITY4 := new InternalFormat($804A); + private static _INTENSITY8 := new InternalFormat($804B); + private static _INTENSITY12 := new InternalFormat($804C); + private static _INTENSITY16 := new InternalFormat($804D); + private static _RGB2_EXT := new InternalFormat($804E); + private static _RGB4 := new InternalFormat($804F); + private static _RGB4_EXT := new InternalFormat($804F); + private static _RGB5 := new InternalFormat($8050); + private static _RGB5_EXT := new InternalFormat($8050); + private static _RGB8 := new InternalFormat($8051); + private static _RGB8_EXT := new InternalFormat($8051); + private static _RGB8_OES := new InternalFormat($8051); + private static _RGB10 := new InternalFormat($8052); + private static _RGB10_EXT := new InternalFormat($8052); + private static _RGB12 := new InternalFormat($8053); + private static _RGB12_EXT := new InternalFormat($8053); + private static _RGB16 := new InternalFormat($8054); + private static _RGB16_EXT := new InternalFormat($8054); + private static _RGBA4 := new InternalFormat($8056); + private static _RGBA4_EXT := new InternalFormat($8056); + private static _RGBA4_OES := new InternalFormat($8056); + private static _RGB5_A1 := new InternalFormat($8057); + private static _RGB5_A1_EXT := new InternalFormat($8057); + private static _RGB5_A1_OES := new InternalFormat($8057); + private static _RGBA8 := new InternalFormat($8058); + private static _RGBA8_EXT := new InternalFormat($8058); + private static _RGBA8_OES := new InternalFormat($8058); + private static _RGB10_A2 := new InternalFormat($8059); + private static _RGB10_A2_EXT := new InternalFormat($8059); + private static _RGBA12 := new InternalFormat($805A); + private static _RGBA12_EXT := new InternalFormat($805A); + private static _RGBA16 := new InternalFormat($805B); + private static _RGBA16_EXT := new InternalFormat($805B); + private static _DUAL_ALPHA4_SGIS := new InternalFormat($8110); + private static _DUAL_ALPHA8_SGIS := new InternalFormat($8111); + private static _DUAL_ALPHA12_SGIS := new InternalFormat($8112); + private static _DUAL_ALPHA16_SGIS := new InternalFormat($8113); + private static _DUAL_LUMINANCE4_SGIS := new InternalFormat($8114); + private static _DUAL_LUMINANCE8_SGIS := new InternalFormat($8115); + private static _DUAL_LUMINANCE12_SGIS := new InternalFormat($8116); + private static _DUAL_LUMINANCE16_SGIS := new InternalFormat($8117); + private static _DUAL_INTENSITY4_SGIS := new InternalFormat($8118); + private static _DUAL_INTENSITY8_SGIS := new InternalFormat($8119); + private static _DUAL_INTENSITY12_SGIS := new InternalFormat($811A); + private static _DUAL_INTENSITY16_SGIS := new InternalFormat($811B); + private static _DUAL_LUMINANCE_ALPHA4_SGIS := new InternalFormat($811C); + private static _DUAL_LUMINANCE_ALPHA8_SGIS := new InternalFormat($811D); + private static _QUAD_ALPHA4_SGIS := new InternalFormat($811E); + private static _QUAD_ALPHA8_SGIS := new InternalFormat($811F); + private static _QUAD_LUMINANCE4_SGIS := new InternalFormat($8120); + private static _QUAD_LUMINANCE8_SGIS := new InternalFormat($8121); + private static _QUAD_INTENSITY4_SGIS := new InternalFormat($8122); + private static _QUAD_INTENSITY8_SGIS := new InternalFormat($8123); + private static _DEPTH_COMPONENT16 := new InternalFormat($81A5); + private static _DEPTH_COMPONENT16_ARB := new InternalFormat($81A5); + private static _DEPTH_COMPONENT16_OES := new InternalFormat($81A5); + private static _DEPTH_COMPONENT16_SGIX := new InternalFormat($81A5); + private static _DEPTH_COMPONENT24_ARB := new InternalFormat($81A6); + private static _DEPTH_COMPONENT24_OES := new InternalFormat($81A6); + private static _DEPTH_COMPONENT24_SGIX := new InternalFormat($81A6); + private static _DEPTH_COMPONENT32_ARB := new InternalFormat($81A7); + private static _DEPTH_COMPONENT32_OES := new InternalFormat($81A7); + private static _DEPTH_COMPONENT32_SGIX := new InternalFormat($81A7); + private static _COMPRESSED_RED := new InternalFormat($8225); + private static _COMPRESSED_RG := new InternalFormat($8226); + private static _RG := new InternalFormat($8227); + private static _R8 := new InternalFormat($8229); + private static _R8_EXT := new InternalFormat($8229); + private static _R16 := new InternalFormat($822A); + private static _R16_EXT := new InternalFormat($822A); + private static _RG8 := new InternalFormat($822B); + private static _RG8_EXT := new InternalFormat($822B); + private static _RG16 := new InternalFormat($822C); + private static _RG16_EXT := new InternalFormat($822C); + private static _R16F := new InternalFormat($822D); + private static _R16F_EXT := new InternalFormat($822D); + private static _R32F := new InternalFormat($822E); + private static _R32F_EXT := new InternalFormat($822E); + private static _RG16F := new InternalFormat($822F); + private static _RG16F_EXT := new InternalFormat($822F); + private static _RG32F := new InternalFormat($8230); + private static _RG32F_EXT := new InternalFormat($8230); + private static _R8I := new InternalFormat($8231); + private static _R8UI := new InternalFormat($8232); + private static _R16I := new InternalFormat($8233); + private static _R16UI := new InternalFormat($8234); + private static _R32I := new InternalFormat($8235); + private static _R32UI := new InternalFormat($8236); + private static _RG8I := new InternalFormat($8237); + private static _RG8UI := new InternalFormat($8238); + private static _RG16I := new InternalFormat($8239); + private static _RG16UI := new InternalFormat($823A); + private static _RG32I := new InternalFormat($823B); + private static _RG32UI := new InternalFormat($823C); + private static _COMPRESSED_RGB_S3TC_DXT1_EXT := new InternalFormat($83F0); + private static _COMPRESSED_RGBA_S3TC_DXT1_EXT := new InternalFormat($83F1); + private static _COMPRESSED_RGBA_S3TC_DXT3_EXT := new InternalFormat($83F2); + private static _COMPRESSED_RGBA_S3TC_DXT5_EXT := new InternalFormat($83F3); + private static _COMPRESSED_RGB := new InternalFormat($84ED); + private static _COMPRESSED_RGBA := new InternalFormat($84EE); + private static _DEPTH_STENCIL := new InternalFormat($84F9); + private static _DEPTH_STENCIL_EXT := new InternalFormat($84F9); + private static _DEPTH_STENCIL_NV := new InternalFormat($84F9); + private static _DEPTH_STENCIL_OES := new InternalFormat($84F9); + private static _DEPTH_STENCIL_MESA := new InternalFormat($8750); + private static _RGBA32F := new InternalFormat($8814); + private static _RGBA32F_ARB := new InternalFormat($8814); + private static _RGBA32F_EXT := new InternalFormat($8814); + private static _RGB32F := new InternalFormat($8815); + private static _RGBA16F := new InternalFormat($881A); + private static _RGBA16F_ARB := new InternalFormat($881A); + private static _RGBA16F_EXT := new InternalFormat($881A); + private static _RGB16F := new InternalFormat($881B); + private static _RGB16F_ARB := new InternalFormat($881B); + private static _RGB16F_EXT := new InternalFormat($881B); + private static _DEPTH24_STENCIL8 := new InternalFormat($88F0); + private static _DEPTH24_STENCIL8_EXT := new InternalFormat($88F0); + private static _DEPTH24_STENCIL8_OES := new InternalFormat($88F0); + private static _R11F_G11F_B10F := new InternalFormat($8C3A); + private static _R11F_G11F_B10F_APPLE := new InternalFormat($8C3A); + private static _R11F_G11F_B10F_EXT := new InternalFormat($8C3A); + private static _RGB9_E5 := new InternalFormat($8C3D); + private static _RGB9_E5_APPLE := new InternalFormat($8C3D); + private static _RGB9_E5_EXT := new InternalFormat($8C3D); + private static _SRGB := new InternalFormat($8C40); + private static _SRGB_EXT := new InternalFormat($8C40); + private static _SRGB8 := new InternalFormat($8C41); + private static _SRGB8_EXT := new InternalFormat($8C41); + private static _SRGB8_NV := new InternalFormat($8C41); + private static _SRGB_ALPHA := new InternalFormat($8C42); + private static _SRGB_ALPHA_EXT := new InternalFormat($8C42); + private static _SRGB8_ALPHA8 := new InternalFormat($8C43); + private static _SRGB8_ALPHA8_EXT := new InternalFormat($8C43); + private static _COMPRESSED_SRGB := new InternalFormat($8C48); + private static _COMPRESSED_SRGB_ALPHA := new InternalFormat($8C49); + private static _COMPRESSED_SRGB_S3TC_DXT1_EXT := new InternalFormat($8C4C); + private static _COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT := new InternalFormat($8C4D); + private static _COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT := new InternalFormat($8C4E); + private static _COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT := new InternalFormat($8C4F); + private static _DEPTH_COMPONENT32F := new InternalFormat($8CAC); + private static _DEPTH32F_STENCIL8 := new InternalFormat($8CAD); + private static _STENCIL_INDEX1 := new InternalFormat($8D46); + private static _STENCIL_INDEX1_EXT := new InternalFormat($8D46); + private static _STENCIL_INDEX1_OES := new InternalFormat($8D46); + private static _STENCIL_INDEX4 := new InternalFormat($8D47); + private static _STENCIL_INDEX4_EXT := new InternalFormat($8D47); + private static _STENCIL_INDEX4_OES := new InternalFormat($8D47); + private static _STENCIL_INDEX8 := new InternalFormat($8D48); + private static _STENCIL_INDEX8_EXT := new InternalFormat($8D48); + private static _STENCIL_INDEX8_OES := new InternalFormat($8D48); + private static _STENCIL_INDEX16 := new InternalFormat($8D49); + private static _STENCIL_INDEX16_EXT := new InternalFormat($8D49); + private static _RGBA32UI := new InternalFormat($8D70); + private static _RGB32UI := new InternalFormat($8D71); + private static _RGBA16UI := new InternalFormat($8D76); + private static _RGB16UI := new InternalFormat($8D77); + private static _RGBA8UI := new InternalFormat($8D7C); + private static _RGB8UI := new InternalFormat($8D7D); + private static _RGBA32I := new InternalFormat($8D82); + private static _RGB32I := new InternalFormat($8D83); + private static _RGBA16I := new InternalFormat($8D88); + private static _RGB16I := new InternalFormat($8D89); + private static _RGBA8I := new InternalFormat($8D8E); + private static _RGB8I := new InternalFormat($8D8F); + private static _DEPTH_COMPONENT32F_NV := new InternalFormat($8DAB); + private static _DEPTH32F_STENCIL8_NV := new InternalFormat($8DAC); + private static _COMPRESSED_RED_RGTC1 := new InternalFormat($8DBB); + private static _COMPRESSED_RED_RGTC1_EXT := new InternalFormat($8DBB); + private static _COMPRESSED_SIGNED_RED_RGTC1 := new InternalFormat($8DBC); + private static _COMPRESSED_SIGNED_RED_RGTC1_EXT := new InternalFormat($8DBC); + private static _COMPRESSED_RG_RGTC2 := new InternalFormat($8DBD); + private static _COMPRESSED_SIGNED_RG_RGTC2 := new InternalFormat($8DBE); + private static _COMPRESSED_RGBA_BPTC_UNORM := new InternalFormat($8E8C); + private static _COMPRESSED_SRGB_ALPHA_BPTC_UNORM := new InternalFormat($8E8D); + private static _COMPRESSED_RGB_BPTC_SIGNED_FLOAT := new InternalFormat($8E8E); + private static _COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT := new InternalFormat($8E8F); + private static _R8_SNORM := new InternalFormat($8F94); + private static _RG8_SNORM := new InternalFormat($8F95); + private static _RGB8_SNORM := new InternalFormat($8F96); + private static _RGBA8_SNORM := new InternalFormat($8F97); + private static _R16_SNORM := new InternalFormat($8F98); + private static _R16_SNORM_EXT := new InternalFormat($8F98); + private static _RG16_SNORM := new InternalFormat($8F99); + private static _RG16_SNORM_EXT := new InternalFormat($8F99); + private static _RGB16_SNORM := new InternalFormat($8F9A); + private static _RGB16_SNORM_EXT := new InternalFormat($8F9A); + private static _RGB10_A2UI := new InternalFormat($906F); + private static _COMPRESSED_R11_EAC := new InternalFormat($9270); + private static _COMPRESSED_SIGNED_R11_EAC := new InternalFormat($9271); + private static _COMPRESSED_RG11_EAC := new InternalFormat($9272); + private static _COMPRESSED_SIGNED_RG11_EAC := new InternalFormat($9273); + private static _COMPRESSED_RGB8_ETC2 := new InternalFormat($9274); + private static _COMPRESSED_SRGB8_ETC2 := new InternalFormat($9275); + private static _COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 := new InternalFormat($9276); + private static _COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 := new InternalFormat($9277); + private static _COMPRESSED_RGBA8_ETC2_EAC := new InternalFormat($9278); + private static _COMPRESSED_SRGB8_ALPHA8_ETC2_EAC := new InternalFormat($9279); + private static _COMPRESSED_RGBA_ASTC_4x4 := new InternalFormat($93B0); + private static _COMPRESSED_RGBA_ASTC_4x4_KHR := new InternalFormat($93B0); + private static _COMPRESSED_RGBA_ASTC_5x4 := new InternalFormat($93B1); + private static _COMPRESSED_RGBA_ASTC_5x4_KHR := new InternalFormat($93B1); + private static _COMPRESSED_RGBA_ASTC_5x5 := new InternalFormat($93B2); + private static _COMPRESSED_RGBA_ASTC_5x5_KHR := new InternalFormat($93B2); + private static _COMPRESSED_RGBA_ASTC_6x5 := new InternalFormat($93B3); + private static _COMPRESSED_RGBA_ASTC_6x5_KHR := new InternalFormat($93B3); + private static _COMPRESSED_RGBA_ASTC_6x6 := new InternalFormat($93B4); + private static _COMPRESSED_RGBA_ASTC_6x6_KHR := new InternalFormat($93B4); + private static _COMPRESSED_RGBA_ASTC_8x5 := new InternalFormat($93B5); + private static _COMPRESSED_RGBA_ASTC_8x5_KHR := new InternalFormat($93B5); + private static _COMPRESSED_RGBA_ASTC_8x6 := new InternalFormat($93B6); + private static _COMPRESSED_RGBA_ASTC_8x6_KHR := new InternalFormat($93B6); + private static _COMPRESSED_RGBA_ASTC_8x8 := new InternalFormat($93B7); + private static _COMPRESSED_RGBA_ASTC_8x8_KHR := new InternalFormat($93B7); + private static _COMPRESSED_RGBA_ASTC_10x5 := new InternalFormat($93B8); + private static _COMPRESSED_RGBA_ASTC_10x5_KHR := new InternalFormat($93B8); + private static _COMPRESSED_RGBA_ASTC_10x6 := new InternalFormat($93B9); + private static _COMPRESSED_RGBA_ASTC_10x6_KHR := new InternalFormat($93B9); + private static _COMPRESSED_RGBA_ASTC_10x8 := new InternalFormat($93BA); + private static _COMPRESSED_RGBA_ASTC_10x8_KHR := new InternalFormat($93BA); + private static _COMPRESSED_RGBA_ASTC_10x10 := new InternalFormat($93BB); + private static _COMPRESSED_RGBA_ASTC_10x10_KHR := new InternalFormat($93BB); + private static _COMPRESSED_RGBA_ASTC_12x10 := new InternalFormat($93BC); + private static _COMPRESSED_RGBA_ASTC_12x10_KHR := new InternalFormat($93BC); + private static _COMPRESSED_RGBA_ASTC_12x12 := new InternalFormat($93BD); + private static _COMPRESSED_RGBA_ASTC_12x12_KHR := new InternalFormat($93BD); + private static _COMPRESSED_RGBA_ASTC_3x3x3_OES := new InternalFormat($93C0); + private static _COMPRESSED_RGBA_ASTC_4x3x3_OES := new InternalFormat($93C1); + private static _COMPRESSED_RGBA_ASTC_4x4x3_OES := new InternalFormat($93C2); + private static _COMPRESSED_RGBA_ASTC_4x4x4_OES := new InternalFormat($93C3); + private static _COMPRESSED_RGBA_ASTC_5x4x4_OES := new InternalFormat($93C4); + private static _COMPRESSED_RGBA_ASTC_5x5x4_OES := new InternalFormat($93C5); + private static _COMPRESSED_RGBA_ASTC_5x5x5_OES := new InternalFormat($93C6); + private static _COMPRESSED_RGBA_ASTC_6x5x5_OES := new InternalFormat($93C7); + private static _COMPRESSED_RGBA_ASTC_6x6x5_OES := new InternalFormat($93C8); + private static _COMPRESSED_RGBA_ASTC_6x6x6_OES := new InternalFormat($93C9); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 := new InternalFormat($93D0); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR := new InternalFormat($93D0); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 := new InternalFormat($93D1); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR := new InternalFormat($93D1); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 := new InternalFormat($93D2); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR := new InternalFormat($93D2); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 := new InternalFormat($93D3); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR := new InternalFormat($93D3); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 := new InternalFormat($93D4); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR := new InternalFormat($93D4); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 := new InternalFormat($93D5); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR := new InternalFormat($93D5); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 := new InternalFormat($93D6); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR := new InternalFormat($93D6); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 := new InternalFormat($93D7); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR := new InternalFormat($93D7); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 := new InternalFormat($93D8); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR := new InternalFormat($93D8); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 := new InternalFormat($93D9); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR := new InternalFormat($93D9); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 := new InternalFormat($93DA); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR := new InternalFormat($93DA); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 := new InternalFormat($93DB); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR := new InternalFormat($93DB); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 := new InternalFormat($93DC); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR := new InternalFormat($93DC); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 := new InternalFormat($93DD); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR := new InternalFormat($93DD); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES := new InternalFormat($93E0); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES := new InternalFormat($93E1); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES := new InternalFormat($93E2); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES := new InternalFormat($93E3); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES := new InternalFormat($93E4); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES := new InternalFormat($93E5); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES := new InternalFormat($93E6); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES := new InternalFormat($93E7); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES := new InternalFormat($93E8); + private static _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES := new InternalFormat($93E9); + + public static property STENCIL_INDEX: InternalFormat read _STENCIL_INDEX; + public static property STENCIL_INDEX_OES: InternalFormat read _STENCIL_INDEX_OES; + public static property DEPTH_COMPONENT: InternalFormat read _DEPTH_COMPONENT; + public static property RED: InternalFormat read _RED; + public static property RED_EXT: InternalFormat read _RED_EXT; + public static property RGB: InternalFormat read _RGB; + public static property RGBA: InternalFormat read _RGBA; + public static property R3_G3_B2: InternalFormat read _R3_G3_B2; + public static property ALPHA4: InternalFormat read _ALPHA4; + public static property ALPHA8: InternalFormat read _ALPHA8; + public static property ALPHA12: InternalFormat read _ALPHA12; + public static property ALPHA16: InternalFormat read _ALPHA16; + public static property LUMINANCE4: InternalFormat read _LUMINANCE4; + public static property LUMINANCE8: InternalFormat read _LUMINANCE8; + public static property LUMINANCE12: InternalFormat read _LUMINANCE12; + public static property LUMINANCE16: InternalFormat read _LUMINANCE16; + public static property LUMINANCE4_ALPHA4: InternalFormat read _LUMINANCE4_ALPHA4; + public static property LUMINANCE6_ALPHA2: InternalFormat read _LUMINANCE6_ALPHA2; + public static property LUMINANCE8_ALPHA8: InternalFormat read _LUMINANCE8_ALPHA8; + public static property LUMINANCE12_ALPHA4: InternalFormat read _LUMINANCE12_ALPHA4; + public static property LUMINANCE12_ALPHA12: InternalFormat read _LUMINANCE12_ALPHA12; + public static property LUMINANCE16_ALPHA16: InternalFormat read _LUMINANCE16_ALPHA16; + public static property INTENSITY: InternalFormat read _INTENSITY; + public static property INTENSITY4: InternalFormat read _INTENSITY4; + public static property INTENSITY8: InternalFormat read _INTENSITY8; + public static property INTENSITY12: InternalFormat read _INTENSITY12; + public static property INTENSITY16: InternalFormat read _INTENSITY16; + public static property RGB2_EXT: InternalFormat read _RGB2_EXT; + public static property RGB4: InternalFormat read _RGB4; + public static property RGB4_EXT: InternalFormat read _RGB4_EXT; + public static property RGB5: InternalFormat read _RGB5; + public static property RGB5_EXT: InternalFormat read _RGB5_EXT; + public static property RGB8: InternalFormat read _RGB8; + public static property RGB8_EXT: InternalFormat read _RGB8_EXT; + public static property RGB8_OES: InternalFormat read _RGB8_OES; + public static property RGB10: InternalFormat read _RGB10; + public static property RGB10_EXT: InternalFormat read _RGB10_EXT; + public static property RGB12: InternalFormat read _RGB12; + public static property RGB12_EXT: InternalFormat read _RGB12_EXT; + public static property RGB16: InternalFormat read _RGB16; + public static property RGB16_EXT: InternalFormat read _RGB16_EXT; + public static property RGBA4: InternalFormat read _RGBA4; + public static property RGBA4_EXT: InternalFormat read _RGBA4_EXT; + public static property RGBA4_OES: InternalFormat read _RGBA4_OES; + public static property RGB5_A1: InternalFormat read _RGB5_A1; + public static property RGB5_A1_EXT: InternalFormat read _RGB5_A1_EXT; + public static property RGB5_A1_OES: InternalFormat read _RGB5_A1_OES; + public static property RGBA8: InternalFormat read _RGBA8; + public static property RGBA8_EXT: InternalFormat read _RGBA8_EXT; + public static property RGBA8_OES: InternalFormat read _RGBA8_OES; + public static property RGB10_A2: InternalFormat read _RGB10_A2; + public static property RGB10_A2_EXT: InternalFormat read _RGB10_A2_EXT; + public static property RGBA12: InternalFormat read _RGBA12; + public static property RGBA12_EXT: InternalFormat read _RGBA12_EXT; + public static property RGBA16: InternalFormat read _RGBA16; + public static property RGBA16_EXT: InternalFormat read _RGBA16_EXT; + public static property DUAL_ALPHA4_SGIS: InternalFormat read _DUAL_ALPHA4_SGIS; + public static property DUAL_ALPHA8_SGIS: InternalFormat read _DUAL_ALPHA8_SGIS; + public static property DUAL_ALPHA12_SGIS: InternalFormat read _DUAL_ALPHA12_SGIS; + public static property DUAL_ALPHA16_SGIS: InternalFormat read _DUAL_ALPHA16_SGIS; + public static property DUAL_LUMINANCE4_SGIS: InternalFormat read _DUAL_LUMINANCE4_SGIS; + public static property DUAL_LUMINANCE8_SGIS: InternalFormat read _DUAL_LUMINANCE8_SGIS; + public static property DUAL_LUMINANCE12_SGIS: InternalFormat read _DUAL_LUMINANCE12_SGIS; + public static property DUAL_LUMINANCE16_SGIS: InternalFormat read _DUAL_LUMINANCE16_SGIS; + public static property DUAL_INTENSITY4_SGIS: InternalFormat read _DUAL_INTENSITY4_SGIS; + public static property DUAL_INTENSITY8_SGIS: InternalFormat read _DUAL_INTENSITY8_SGIS; + public static property DUAL_INTENSITY12_SGIS: InternalFormat read _DUAL_INTENSITY12_SGIS; + public static property DUAL_INTENSITY16_SGIS: InternalFormat read _DUAL_INTENSITY16_SGIS; + public static property DUAL_LUMINANCE_ALPHA4_SGIS: InternalFormat read _DUAL_LUMINANCE_ALPHA4_SGIS; + public static property DUAL_LUMINANCE_ALPHA8_SGIS: InternalFormat read _DUAL_LUMINANCE_ALPHA8_SGIS; + public static property QUAD_ALPHA4_SGIS: InternalFormat read _QUAD_ALPHA4_SGIS; + public static property QUAD_ALPHA8_SGIS: InternalFormat read _QUAD_ALPHA8_SGIS; + public static property QUAD_LUMINANCE4_SGIS: InternalFormat read _QUAD_LUMINANCE4_SGIS; + public static property QUAD_LUMINANCE8_SGIS: InternalFormat read _QUAD_LUMINANCE8_SGIS; + public static property QUAD_INTENSITY4_SGIS: InternalFormat read _QUAD_INTENSITY4_SGIS; + public static property QUAD_INTENSITY8_SGIS: InternalFormat read _QUAD_INTENSITY8_SGIS; + public static property DEPTH_COMPONENT16: InternalFormat read _DEPTH_COMPONENT16; + public static property DEPTH_COMPONENT16_ARB: InternalFormat read _DEPTH_COMPONENT16_ARB; + public static property DEPTH_COMPONENT16_OES: InternalFormat read _DEPTH_COMPONENT16_OES; + public static property DEPTH_COMPONENT16_SGIX: InternalFormat read _DEPTH_COMPONENT16_SGIX; + public static property DEPTH_COMPONENT24_ARB: InternalFormat read _DEPTH_COMPONENT24_ARB; + public static property DEPTH_COMPONENT24_OES: InternalFormat read _DEPTH_COMPONENT24_OES; + public static property DEPTH_COMPONENT24_SGIX: InternalFormat read _DEPTH_COMPONENT24_SGIX; + public static property DEPTH_COMPONENT32_ARB: InternalFormat read _DEPTH_COMPONENT32_ARB; + public static property DEPTH_COMPONENT32_OES: InternalFormat read _DEPTH_COMPONENT32_OES; + public static property DEPTH_COMPONENT32_SGIX: InternalFormat read _DEPTH_COMPONENT32_SGIX; + public static property COMPRESSED_RED: InternalFormat read _COMPRESSED_RED; + public static property COMPRESSED_RG: InternalFormat read _COMPRESSED_RG; + public static property RG: InternalFormat read _RG; + public static property R8: InternalFormat read _R8; + public static property R8_EXT: InternalFormat read _R8_EXT; + public static property R16: InternalFormat read _R16; + public static property R16_EXT: InternalFormat read _R16_EXT; + public static property RG8: InternalFormat read _RG8; + public static property RG8_EXT: InternalFormat read _RG8_EXT; + public static property RG16: InternalFormat read _RG16; + public static property RG16_EXT: InternalFormat read _RG16_EXT; + public static property R16F: InternalFormat read _R16F; + public static property R16F_EXT: InternalFormat read _R16F_EXT; + public static property R32F: InternalFormat read _R32F; + public static property R32F_EXT: InternalFormat read _R32F_EXT; + public static property RG16F: InternalFormat read _RG16F; + public static property RG16F_EXT: InternalFormat read _RG16F_EXT; + public static property RG32F: InternalFormat read _RG32F; + public static property RG32F_EXT: InternalFormat read _RG32F_EXT; + public static property R8I: InternalFormat read _R8I; + public static property R8UI: InternalFormat read _R8UI; + public static property R16I: InternalFormat read _R16I; + public static property R16UI: InternalFormat read _R16UI; + public static property R32I: InternalFormat read _R32I; + public static property R32UI: InternalFormat read _R32UI; + public static property RG8I: InternalFormat read _RG8I; + public static property RG8UI: InternalFormat read _RG8UI; + public static property RG16I: InternalFormat read _RG16I; + public static property RG16UI: InternalFormat read _RG16UI; + public static property RG32I: InternalFormat read _RG32I; + public static property RG32UI: InternalFormat read _RG32UI; + public static property COMPRESSED_RGB_S3TC_DXT1_EXT: InternalFormat read _COMPRESSED_RGB_S3TC_DXT1_EXT; + public static property COMPRESSED_RGBA_S3TC_DXT1_EXT: InternalFormat read _COMPRESSED_RGBA_S3TC_DXT1_EXT; + public static property COMPRESSED_RGBA_S3TC_DXT3_EXT: InternalFormat read _COMPRESSED_RGBA_S3TC_DXT3_EXT; + public static property COMPRESSED_RGBA_S3TC_DXT5_EXT: InternalFormat read _COMPRESSED_RGBA_S3TC_DXT5_EXT; + public static property COMPRESSED_RGB: InternalFormat read _COMPRESSED_RGB; + public static property COMPRESSED_RGBA: InternalFormat read _COMPRESSED_RGBA; + public static property DEPTH_STENCIL: InternalFormat read _DEPTH_STENCIL; + public static property DEPTH_STENCIL_EXT: InternalFormat read _DEPTH_STENCIL_EXT; + public static property DEPTH_STENCIL_NV: InternalFormat read _DEPTH_STENCIL_NV; + public static property DEPTH_STENCIL_OES: InternalFormat read _DEPTH_STENCIL_OES; + public static property DEPTH_STENCIL_MESA: InternalFormat read _DEPTH_STENCIL_MESA; + public static property RGBA32F: InternalFormat read _RGBA32F; + public static property RGBA32F_ARB: InternalFormat read _RGBA32F_ARB; + public static property RGBA32F_EXT: InternalFormat read _RGBA32F_EXT; + public static property RGB32F: InternalFormat read _RGB32F; + public static property RGBA16F: InternalFormat read _RGBA16F; + public static property RGBA16F_ARB: InternalFormat read _RGBA16F_ARB; + public static property RGBA16F_EXT: InternalFormat read _RGBA16F_EXT; + public static property RGB16F: InternalFormat read _RGB16F; + public static property RGB16F_ARB: InternalFormat read _RGB16F_ARB; + public static property RGB16F_EXT: InternalFormat read _RGB16F_EXT; + public static property DEPTH24_STENCIL8: InternalFormat read _DEPTH24_STENCIL8; + public static property DEPTH24_STENCIL8_EXT: InternalFormat read _DEPTH24_STENCIL8_EXT; + public static property DEPTH24_STENCIL8_OES: InternalFormat read _DEPTH24_STENCIL8_OES; + public static property R11F_G11F_B10F: InternalFormat read _R11F_G11F_B10F; + public static property R11F_G11F_B10F_APPLE: InternalFormat read _R11F_G11F_B10F_APPLE; + public static property R11F_G11F_B10F_EXT: InternalFormat read _R11F_G11F_B10F_EXT; + public static property RGB9_E5: InternalFormat read _RGB9_E5; + public static property RGB9_E5_APPLE: InternalFormat read _RGB9_E5_APPLE; + public static property RGB9_E5_EXT: InternalFormat read _RGB9_E5_EXT; + public static property SRGB: InternalFormat read _SRGB; + public static property SRGB_EXT: InternalFormat read _SRGB_EXT; + public static property SRGB8: InternalFormat read _SRGB8; + public static property SRGB8_EXT: InternalFormat read _SRGB8_EXT; + public static property SRGB8_NV: InternalFormat read _SRGB8_NV; + public static property SRGB_ALPHA: InternalFormat read _SRGB_ALPHA; + public static property SRGB_ALPHA_EXT: InternalFormat read _SRGB_ALPHA_EXT; + public static property SRGB8_ALPHA8: InternalFormat read _SRGB8_ALPHA8; + public static property SRGB8_ALPHA8_EXT: InternalFormat read _SRGB8_ALPHA8_EXT; + public static property COMPRESSED_SRGB: InternalFormat read _COMPRESSED_SRGB; + public static property COMPRESSED_SRGB_ALPHA: InternalFormat read _COMPRESSED_SRGB_ALPHA; + public static property COMPRESSED_SRGB_S3TC_DXT1_EXT: InternalFormat read _COMPRESSED_SRGB_S3TC_DXT1_EXT; + public static property COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: InternalFormat read _COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT; + public static property COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: InternalFormat read _COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT; + public static property COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: InternalFormat read _COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT; + public static property DEPTH_COMPONENT32F: InternalFormat read _DEPTH_COMPONENT32F; + public static property DEPTH32F_STENCIL8: InternalFormat read _DEPTH32F_STENCIL8; + public static property STENCIL_INDEX1: InternalFormat read _STENCIL_INDEX1; + public static property STENCIL_INDEX1_EXT: InternalFormat read _STENCIL_INDEX1_EXT; + public static property STENCIL_INDEX1_OES: InternalFormat read _STENCIL_INDEX1_OES; + public static property STENCIL_INDEX4: InternalFormat read _STENCIL_INDEX4; + public static property STENCIL_INDEX4_EXT: InternalFormat read _STENCIL_INDEX4_EXT; + public static property STENCIL_INDEX4_OES: InternalFormat read _STENCIL_INDEX4_OES; + public static property STENCIL_INDEX8: InternalFormat read _STENCIL_INDEX8; + public static property STENCIL_INDEX8_EXT: InternalFormat read _STENCIL_INDEX8_EXT; + public static property STENCIL_INDEX8_OES: InternalFormat read _STENCIL_INDEX8_OES; + public static property STENCIL_INDEX16: InternalFormat read _STENCIL_INDEX16; + public static property STENCIL_INDEX16_EXT: InternalFormat read _STENCIL_INDEX16_EXT; + public static property RGBA32UI: InternalFormat read _RGBA32UI; + public static property RGB32UI: InternalFormat read _RGB32UI; + public static property RGBA16UI: InternalFormat read _RGBA16UI; + public static property RGB16UI: InternalFormat read _RGB16UI; + public static property RGBA8UI: InternalFormat read _RGBA8UI; + public static property RGB8UI: InternalFormat read _RGB8UI; + public static property RGBA32I: InternalFormat read _RGBA32I; + public static property RGB32I: InternalFormat read _RGB32I; + public static property RGBA16I: InternalFormat read _RGBA16I; + public static property RGB16I: InternalFormat read _RGB16I; + public static property RGBA8I: InternalFormat read _RGBA8I; + public static property RGB8I: InternalFormat read _RGB8I; + public static property DEPTH_COMPONENT32F_NV: InternalFormat read _DEPTH_COMPONENT32F_NV; + public static property DEPTH32F_STENCIL8_NV: InternalFormat read _DEPTH32F_STENCIL8_NV; + public static property COMPRESSED_RED_RGTC1: InternalFormat read _COMPRESSED_RED_RGTC1; + public static property COMPRESSED_RED_RGTC1_EXT: InternalFormat read _COMPRESSED_RED_RGTC1_EXT; + public static property COMPRESSED_SIGNED_RED_RGTC1: InternalFormat read _COMPRESSED_SIGNED_RED_RGTC1; + public static property COMPRESSED_SIGNED_RED_RGTC1_EXT: InternalFormat read _COMPRESSED_SIGNED_RED_RGTC1_EXT; + public static property COMPRESSED_RG_RGTC2: InternalFormat read _COMPRESSED_RG_RGTC2; + public static property COMPRESSED_SIGNED_RG_RGTC2: InternalFormat read _COMPRESSED_SIGNED_RG_RGTC2; + public static property COMPRESSED_RGBA_BPTC_UNORM: InternalFormat read _COMPRESSED_RGBA_BPTC_UNORM; + public static property COMPRESSED_SRGB_ALPHA_BPTC_UNORM: InternalFormat read _COMPRESSED_SRGB_ALPHA_BPTC_UNORM; + public static property COMPRESSED_RGB_BPTC_SIGNED_FLOAT: InternalFormat read _COMPRESSED_RGB_BPTC_SIGNED_FLOAT; + public static property COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: InternalFormat read _COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT; + public static property R8_SNORM: InternalFormat read _R8_SNORM; + public static property RG8_SNORM: InternalFormat read _RG8_SNORM; + public static property RGB8_SNORM: InternalFormat read _RGB8_SNORM; + public static property RGBA8_SNORM: InternalFormat read _RGBA8_SNORM; + public static property R16_SNORM: InternalFormat read _R16_SNORM; + public static property R16_SNORM_EXT: InternalFormat read _R16_SNORM_EXT; + public static property RG16_SNORM: InternalFormat read _RG16_SNORM; + public static property RG16_SNORM_EXT: InternalFormat read _RG16_SNORM_EXT; + public static property RGB16_SNORM: InternalFormat read _RGB16_SNORM; + public static property RGB16_SNORM_EXT: InternalFormat read _RGB16_SNORM_EXT; + public static property RGB10_A2UI: InternalFormat read _RGB10_A2UI; + public static property COMPRESSED_R11_EAC: InternalFormat read _COMPRESSED_R11_EAC; + public static property COMPRESSED_SIGNED_R11_EAC: InternalFormat read _COMPRESSED_SIGNED_R11_EAC; + public static property COMPRESSED_RG11_EAC: InternalFormat read _COMPRESSED_RG11_EAC; + public static property COMPRESSED_SIGNED_RG11_EAC: InternalFormat read _COMPRESSED_SIGNED_RG11_EAC; + public static property COMPRESSED_RGB8_ETC2: InternalFormat read _COMPRESSED_RGB8_ETC2; + public static property COMPRESSED_SRGB8_ETC2: InternalFormat read _COMPRESSED_SRGB8_ETC2; + public static property COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: InternalFormat read _COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2; + public static property COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: InternalFormat read _COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2; + public static property COMPRESSED_RGBA8_ETC2_EAC: InternalFormat read _COMPRESSED_RGBA8_ETC2_EAC; + public static property COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ETC2_EAC; + public static property COMPRESSED_RGBA_ASTC_4x4: InternalFormat read _COMPRESSED_RGBA_ASTC_4x4; + public static property COMPRESSED_RGBA_ASTC_4x4_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_4x4_KHR; + public static property COMPRESSED_RGBA_ASTC_5x4: InternalFormat read _COMPRESSED_RGBA_ASTC_5x4; + public static property COMPRESSED_RGBA_ASTC_5x4_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_5x4_KHR; + public static property COMPRESSED_RGBA_ASTC_5x5: InternalFormat read _COMPRESSED_RGBA_ASTC_5x5; + public static property COMPRESSED_RGBA_ASTC_5x5_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_5x5_KHR; + public static property COMPRESSED_RGBA_ASTC_6x5: InternalFormat read _COMPRESSED_RGBA_ASTC_6x5; + public static property COMPRESSED_RGBA_ASTC_6x5_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_6x5_KHR; + public static property COMPRESSED_RGBA_ASTC_6x6: InternalFormat read _COMPRESSED_RGBA_ASTC_6x6; + public static property COMPRESSED_RGBA_ASTC_6x6_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_6x6_KHR; + public static property COMPRESSED_RGBA_ASTC_8x5: InternalFormat read _COMPRESSED_RGBA_ASTC_8x5; + public static property COMPRESSED_RGBA_ASTC_8x5_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_8x5_KHR; + public static property COMPRESSED_RGBA_ASTC_8x6: InternalFormat read _COMPRESSED_RGBA_ASTC_8x6; + public static property COMPRESSED_RGBA_ASTC_8x6_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_8x6_KHR; + public static property COMPRESSED_RGBA_ASTC_8x8: InternalFormat read _COMPRESSED_RGBA_ASTC_8x8; + public static property COMPRESSED_RGBA_ASTC_8x8_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_8x8_KHR; + public static property COMPRESSED_RGBA_ASTC_10x5: InternalFormat read _COMPRESSED_RGBA_ASTC_10x5; + public static property COMPRESSED_RGBA_ASTC_10x5_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_10x5_KHR; + public static property COMPRESSED_RGBA_ASTC_10x6: InternalFormat read _COMPRESSED_RGBA_ASTC_10x6; + public static property COMPRESSED_RGBA_ASTC_10x6_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_10x6_KHR; + public static property COMPRESSED_RGBA_ASTC_10x8: InternalFormat read _COMPRESSED_RGBA_ASTC_10x8; + public static property COMPRESSED_RGBA_ASTC_10x8_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_10x8_KHR; + public static property COMPRESSED_RGBA_ASTC_10x10: InternalFormat read _COMPRESSED_RGBA_ASTC_10x10; + public static property COMPRESSED_RGBA_ASTC_10x10_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_10x10_KHR; + public static property COMPRESSED_RGBA_ASTC_12x10: InternalFormat read _COMPRESSED_RGBA_ASTC_12x10; + public static property COMPRESSED_RGBA_ASTC_12x10_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_12x10_KHR; + public static property COMPRESSED_RGBA_ASTC_12x12: InternalFormat read _COMPRESSED_RGBA_ASTC_12x12; + public static property COMPRESSED_RGBA_ASTC_12x12_KHR: InternalFormat read _COMPRESSED_RGBA_ASTC_12x12_KHR; + public static property COMPRESSED_RGBA_ASTC_3x3x3_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_3x3x3_OES; + public static property COMPRESSED_RGBA_ASTC_4x3x3_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_4x3x3_OES; + public static property COMPRESSED_RGBA_ASTC_4x4x3_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_4x4x3_OES; + public static property COMPRESSED_RGBA_ASTC_4x4x4_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_4x4x4_OES; + public static property COMPRESSED_RGBA_ASTC_5x4x4_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_5x4x4_OES; + public static property COMPRESSED_RGBA_ASTC_5x5x4_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_5x5x4_OES; + public static property COMPRESSED_RGBA_ASTC_5x5x5_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_5x5x5_OES; + public static property COMPRESSED_RGBA_ASTC_6x5x5_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_6x5x5_OES; + public static property COMPRESSED_RGBA_ASTC_6x6x5_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_6x6x5_OES; + public static property COMPRESSED_RGBA_ASTC_6x6x6_OES: InternalFormat read _COMPRESSED_RGBA_ASTC_6x6x6_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_4x4: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x4: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x4; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x5: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x5: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x5; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x6: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_8x5: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_8x5; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_8x6: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_8x6; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_8x8: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_8x8; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x5: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x5; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x6: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x6; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x8: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x8; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x10: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x10; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_12x10: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_12x10; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_12x12: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_12x12; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES; + public static property COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES: InternalFormat read _COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES; + + public function ToString: string; override; + begin + var res := typeof(InternalFormat).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'InternalFormat[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + InternalFormatPName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SAMPLES := new InternalFormatPName($80A9); + private static _GENERATE_MIPMAP := new InternalFormatPName($8191); + private static _INTERNALFORMAT_SUPPORTED := new InternalFormatPName($826F); + private static _INTERNALFORMAT_PREFERRED := new InternalFormatPName($8270); + private static _INTERNALFORMAT_RED_SIZE := new InternalFormatPName($8271); + private static _INTERNALFORMAT_GREEN_SIZE := new InternalFormatPName($8272); + private static _INTERNALFORMAT_BLUE_SIZE := new InternalFormatPName($8273); + private static _INTERNALFORMAT_ALPHA_SIZE := new InternalFormatPName($8274); + private static _INTERNALFORMAT_DEPTH_SIZE := new InternalFormatPName($8275); + private static _INTERNALFORMAT_STENCIL_SIZE := new InternalFormatPName($8276); + private static _INTERNALFORMAT_SHARED_SIZE := new InternalFormatPName($8277); + private static _INTERNALFORMAT_RED_TYPE := new InternalFormatPName($8278); + private static _INTERNALFORMAT_GREEN_TYPE := new InternalFormatPName($8279); + private static _INTERNALFORMAT_BLUE_TYPE := new InternalFormatPName($827A); + private static _INTERNALFORMAT_ALPHA_TYPE := new InternalFormatPName($827B); + private static _INTERNALFORMAT_DEPTH_TYPE := new InternalFormatPName($827C); + private static _INTERNALFORMAT_STENCIL_TYPE := new InternalFormatPName($827D); + private static _MAX_WIDTH := new InternalFormatPName($827E); + private static _MAX_HEIGHT := new InternalFormatPName($827F); + private static _MAX_DEPTH := new InternalFormatPName($8280); + private static _MAX_LAYERS := new InternalFormatPName($8281); + private static _COLOR_COMPONENTS := new InternalFormatPName($8283); + private static _COLOR_RENDERABLE := new InternalFormatPName($8286); + private static _DEPTH_RENDERABLE := new InternalFormatPName($8287); + private static _STENCIL_RENDERABLE := new InternalFormatPName($8288); + private static _FRAMEBUFFER_RENDERABLE := new InternalFormatPName($8289); + private static _FRAMEBUFFER_RENDERABLE_LAYERED := new InternalFormatPName($828A); + private static _FRAMEBUFFER_BLEND := new InternalFormatPName($828B); + private static _READ_PIXELS := new InternalFormatPName($828C); + private static _READ_PIXELS_FORMAT := new InternalFormatPName($828D); + private static _READ_PIXELS_TYPE := new InternalFormatPName($828E); + private static _TEXTURE_IMAGE_FORMAT := new InternalFormatPName($828F); + private static _TEXTURE_IMAGE_TYPE := new InternalFormatPName($8290); + private static _GET__TEXTURE_IMAGE_FORMAT := new InternalFormatPName($8291); + private static _GET__TEXTURE_IMAGE_TYPE := new InternalFormatPName($8292); + private static _MIPMAP := new InternalFormatPName($8293); + private static _AUTO_GENERATE_MIPMAP := new InternalFormatPName($8295); + private static _COLOR_ENCODING := new InternalFormatPName($8296); + private static _SRGB_READ := new InternalFormatPName($8297); + private static _SRGB_WRITE := new InternalFormatPName($8298); + private static _FILTER := new InternalFormatPName($829A); + private static _VERTEX_TEXTURE := new InternalFormatPName($829B); + private static _TESS_CONTROL_TEXTURE := new InternalFormatPName($829C); + private static _TESS_EVALUATION_TEXTURE := new InternalFormatPName($829D); + private static _GEOMETRY_TEXTURE := new InternalFormatPName($829E); + private static _FRAGMENT_TEXTURE := new InternalFormatPName($829F); + private static _COMPUTE_TEXTURE := new InternalFormatPName($82A0); + private static _TEXTURE_SHADOW := new InternalFormatPName($82A1); + private static _TEXTURE_GATHER := new InternalFormatPName($82A2); + private static _TEXTURE_GATHER_SHADOW := new InternalFormatPName($82A3); + private static _SHADER_IMAGE_LOAD := new InternalFormatPName($82A4); + private static _SHADER_IMAGE_STORE := new InternalFormatPName($82A5); + private static _SHADER_IMAGE_ATOMIC := new InternalFormatPName($82A6); + private static _IMAGE_TEXEL_SIZE := new InternalFormatPName($82A7); + private static _IMAGE_COMPATIBILITY_CLASS := new InternalFormatPName($82A8); + private static _IMAGE_PIXEL_FORMAT := new InternalFormatPName($82A9); + private static _IMAGE_PIXEL_TYPE := new InternalFormatPName($82AA); + private static _SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST := new InternalFormatPName($82AC); + private static _SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST := new InternalFormatPName($82AD); + private static _SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE := new InternalFormatPName($82AE); + private static _SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE := new InternalFormatPName($82AF); + private static _TEXTURE_COMPRESSED_BLOCK_WIDTH := new InternalFormatPName($82B1); + private static _TEXTURE_COMPRESSED_BLOCK_HEIGHT := new InternalFormatPName($82B2); + private static _TEXTURE_COMPRESSED_BLOCK_SIZE := new InternalFormatPName($82B3); + private static _CLEAR_BUFFER := new InternalFormatPName($82B4); + private static _TEXTURE_VIEW := new InternalFormatPName($82B5); + private static _VIEW_COMPATIBILITY_CLASS := new InternalFormatPName($82B6); + private static _TEXTURE_COMPRESSED := new InternalFormatPName($86A1); + private static _IMAGE_FORMAT_COMPATIBILITY_TYPE := new InternalFormatPName($90C7); + private static _CLEAR_TEXTURE := new InternalFormatPName($9365); + private static _NUM_SAMPLE_COUNTS := new InternalFormatPName($9380); + + public static property SAMPLES: InternalFormatPName read _SAMPLES; + public static property GENERATE_MIPMAP: InternalFormatPName read _GENERATE_MIPMAP; + public static property INTERNALFORMAT_SUPPORTED: InternalFormatPName read _INTERNALFORMAT_SUPPORTED; + public static property INTERNALFORMAT_PREFERRED: InternalFormatPName read _INTERNALFORMAT_PREFERRED; + public static property INTERNALFORMAT_RED_SIZE: InternalFormatPName read _INTERNALFORMAT_RED_SIZE; + public static property INTERNALFORMAT_GREEN_SIZE: InternalFormatPName read _INTERNALFORMAT_GREEN_SIZE; + public static property INTERNALFORMAT_BLUE_SIZE: InternalFormatPName read _INTERNALFORMAT_BLUE_SIZE; + public static property INTERNALFORMAT_ALPHA_SIZE: InternalFormatPName read _INTERNALFORMAT_ALPHA_SIZE; + public static property INTERNALFORMAT_DEPTH_SIZE: InternalFormatPName read _INTERNALFORMAT_DEPTH_SIZE; + public static property INTERNALFORMAT_STENCIL_SIZE: InternalFormatPName read _INTERNALFORMAT_STENCIL_SIZE; + public static property INTERNALFORMAT_SHARED_SIZE: InternalFormatPName read _INTERNALFORMAT_SHARED_SIZE; + public static property INTERNALFORMAT_RED_TYPE: InternalFormatPName read _INTERNALFORMAT_RED_TYPE; + public static property INTERNALFORMAT_GREEN_TYPE: InternalFormatPName read _INTERNALFORMAT_GREEN_TYPE; + public static property INTERNALFORMAT_BLUE_TYPE: InternalFormatPName read _INTERNALFORMAT_BLUE_TYPE; + public static property INTERNALFORMAT_ALPHA_TYPE: InternalFormatPName read _INTERNALFORMAT_ALPHA_TYPE; + public static property INTERNALFORMAT_DEPTH_TYPE: InternalFormatPName read _INTERNALFORMAT_DEPTH_TYPE; + public static property INTERNALFORMAT_STENCIL_TYPE: InternalFormatPName read _INTERNALFORMAT_STENCIL_TYPE; + public static property MAX_WIDTH: InternalFormatPName read _MAX_WIDTH; + public static property MAX_HEIGHT: InternalFormatPName read _MAX_HEIGHT; + public static property MAX_DEPTH: InternalFormatPName read _MAX_DEPTH; + public static property MAX_LAYERS: InternalFormatPName read _MAX_LAYERS; + public static property COLOR_COMPONENTS: InternalFormatPName read _COLOR_COMPONENTS; + public static property COLOR_RENDERABLE: InternalFormatPName read _COLOR_RENDERABLE; + public static property DEPTH_RENDERABLE: InternalFormatPName read _DEPTH_RENDERABLE; + public static property STENCIL_RENDERABLE: InternalFormatPName read _STENCIL_RENDERABLE; + public static property FRAMEBUFFER_RENDERABLE: InternalFormatPName read _FRAMEBUFFER_RENDERABLE; + public static property FRAMEBUFFER_RENDERABLE_LAYERED: InternalFormatPName read _FRAMEBUFFER_RENDERABLE_LAYERED; + public static property FRAMEBUFFER_BLEND: InternalFormatPName read _FRAMEBUFFER_BLEND; + public static property READ_PIXELS: InternalFormatPName read _READ_PIXELS; + public static property READ_PIXELS_FORMAT: InternalFormatPName read _READ_PIXELS_FORMAT; + public static property READ_PIXELS_TYPE: InternalFormatPName read _READ_PIXELS_TYPE; + public static property TEXTURE_IMAGE_FORMAT: InternalFormatPName read _TEXTURE_IMAGE_FORMAT; + public static property TEXTURE_IMAGE_TYPE: InternalFormatPName read _TEXTURE_IMAGE_TYPE; + public static property GET__TEXTURE_IMAGE_FORMAT: InternalFormatPName read _GET__TEXTURE_IMAGE_FORMAT; + public static property GET__TEXTURE_IMAGE_TYPE: InternalFormatPName read _GET__TEXTURE_IMAGE_TYPE; + public static property MIPMAP: InternalFormatPName read _MIPMAP; + public static property AUTO_GENERATE_MIPMAP: InternalFormatPName read _AUTO_GENERATE_MIPMAP; + public static property COLOR_ENCODING: InternalFormatPName read _COLOR_ENCODING; + public static property SRGB_READ: InternalFormatPName read _SRGB_READ; + public static property SRGB_WRITE: InternalFormatPName read _SRGB_WRITE; + public static property FILTER: InternalFormatPName read _FILTER; + public static property VERTEX_TEXTURE: InternalFormatPName read _VERTEX_TEXTURE; + public static property TESS_CONTROL_TEXTURE: InternalFormatPName read _TESS_CONTROL_TEXTURE; + public static property TESS_EVALUATION_TEXTURE: InternalFormatPName read _TESS_EVALUATION_TEXTURE; + public static property GEOMETRY_TEXTURE: InternalFormatPName read _GEOMETRY_TEXTURE; + public static property FRAGMENT_TEXTURE: InternalFormatPName read _FRAGMENT_TEXTURE; + public static property COMPUTE_TEXTURE: InternalFormatPName read _COMPUTE_TEXTURE; + public static property TEXTURE_SHADOW: InternalFormatPName read _TEXTURE_SHADOW; + public static property TEXTURE_GATHER: InternalFormatPName read _TEXTURE_GATHER; + public static property TEXTURE_GATHER_SHADOW: InternalFormatPName read _TEXTURE_GATHER_SHADOW; + public static property SHADER_IMAGE_LOAD: InternalFormatPName read _SHADER_IMAGE_LOAD; + public static property SHADER_IMAGE_STORE: InternalFormatPName read _SHADER_IMAGE_STORE; + public static property SHADER_IMAGE_ATOMIC: InternalFormatPName read _SHADER_IMAGE_ATOMIC; + public static property IMAGE_TEXEL_SIZE: InternalFormatPName read _IMAGE_TEXEL_SIZE; + public static property IMAGE_COMPATIBILITY_CLASS: InternalFormatPName read _IMAGE_COMPATIBILITY_CLASS; + public static property IMAGE_PIXEL_FORMAT: InternalFormatPName read _IMAGE_PIXEL_FORMAT; + public static property IMAGE_PIXEL_TYPE: InternalFormatPName read _IMAGE_PIXEL_TYPE; + public static property SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST: InternalFormatPName read _SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST; + public static property SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST: InternalFormatPName read _SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST; + public static property SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE: InternalFormatPName read _SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE; + public static property SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE: InternalFormatPName read _SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE; + public static property TEXTURE_COMPRESSED_BLOCK_WIDTH: InternalFormatPName read _TEXTURE_COMPRESSED_BLOCK_WIDTH; + public static property TEXTURE_COMPRESSED_BLOCK_HEIGHT: InternalFormatPName read _TEXTURE_COMPRESSED_BLOCK_HEIGHT; + public static property TEXTURE_COMPRESSED_BLOCK_SIZE: InternalFormatPName read _TEXTURE_COMPRESSED_BLOCK_SIZE; + public static property CLEAR_BUFFER: InternalFormatPName read _CLEAR_BUFFER; + public static property TEXTURE_VIEW: InternalFormatPName read _TEXTURE_VIEW; + public static property VIEW_COMPATIBILITY_CLASS: InternalFormatPName read _VIEW_COMPATIBILITY_CLASS; + public static property TEXTURE_COMPRESSED: InternalFormatPName read _TEXTURE_COMPRESSED; + public static property IMAGE_FORMAT_COMPATIBILITY_TYPE: InternalFormatPName read _IMAGE_FORMAT_COMPATIBILITY_TYPE; + public static property CLEAR_TEXTURE: InternalFormatPName read _CLEAR_TEXTURE; + public static property NUM_SAMPLE_COUNTS: InternalFormatPName read _NUM_SAMPLE_COUNTS; + + public function ToString: string; override; + begin + var res := typeof(InternalFormatPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'InternalFormatPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + InvalidateFramebufferAttachment = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COLOR := new InvalidateFramebufferAttachment($1800); + private static _DEPTH := new InvalidateFramebufferAttachment($1801); + private static _STENCIL := new InvalidateFramebufferAttachment($1802); + private static _DEPTH_STENCIL_ATTACHMENT := new InvalidateFramebufferAttachment($821A); + private static _COLOR_ATTACHMENT0 := new InvalidateFramebufferAttachment($8CE0); + private static _COLOR_ATTACHMENT0_EXT := new InvalidateFramebufferAttachment($8CE0); + private static _COLOR_ATTACHMENT0_NV := new InvalidateFramebufferAttachment($8CE0); + private static _COLOR_ATTACHMENT0_OES := new InvalidateFramebufferAttachment($8CE0); + private static _COLOR_ATTACHMENT1 := new InvalidateFramebufferAttachment($8CE1); + private static _COLOR_ATTACHMENT1_EXT := new InvalidateFramebufferAttachment($8CE1); + private static _COLOR_ATTACHMENT1_NV := new InvalidateFramebufferAttachment($8CE1); + private static _COLOR_ATTACHMENT2 := new InvalidateFramebufferAttachment($8CE2); + private static _COLOR_ATTACHMENT2_EXT := new InvalidateFramebufferAttachment($8CE2); + private static _COLOR_ATTACHMENT2_NV := new InvalidateFramebufferAttachment($8CE2); + private static _COLOR_ATTACHMENT3 := new InvalidateFramebufferAttachment($8CE3); + private static _COLOR_ATTACHMENT3_EXT := new InvalidateFramebufferAttachment($8CE3); + private static _COLOR_ATTACHMENT3_NV := new InvalidateFramebufferAttachment($8CE3); + private static _COLOR_ATTACHMENT4 := new InvalidateFramebufferAttachment($8CE4); + private static _COLOR_ATTACHMENT4_EXT := new InvalidateFramebufferAttachment($8CE4); + private static _COLOR_ATTACHMENT4_NV := new InvalidateFramebufferAttachment($8CE4); + private static _COLOR_ATTACHMENT5 := new InvalidateFramebufferAttachment($8CE5); + private static _COLOR_ATTACHMENT5_EXT := new InvalidateFramebufferAttachment($8CE5); + private static _COLOR_ATTACHMENT5_NV := new InvalidateFramebufferAttachment($8CE5); + private static _COLOR_ATTACHMENT6 := new InvalidateFramebufferAttachment($8CE6); + private static _COLOR_ATTACHMENT6_EXT := new InvalidateFramebufferAttachment($8CE6); + private static _COLOR_ATTACHMENT6_NV := new InvalidateFramebufferAttachment($8CE6); + private static _COLOR_ATTACHMENT7 := new InvalidateFramebufferAttachment($8CE7); + private static _COLOR_ATTACHMENT7_EXT := new InvalidateFramebufferAttachment($8CE7); + private static _COLOR_ATTACHMENT7_NV := new InvalidateFramebufferAttachment($8CE7); + private static _COLOR_ATTACHMENT8 := new InvalidateFramebufferAttachment($8CE8); + private static _COLOR_ATTACHMENT8_EXT := new InvalidateFramebufferAttachment($8CE8); + private static _COLOR_ATTACHMENT8_NV := new InvalidateFramebufferAttachment($8CE8); + private static _COLOR_ATTACHMENT9 := new InvalidateFramebufferAttachment($8CE9); + private static _COLOR_ATTACHMENT9_EXT := new InvalidateFramebufferAttachment($8CE9); + private static _COLOR_ATTACHMENT9_NV := new InvalidateFramebufferAttachment($8CE9); + private static _COLOR_ATTACHMENT10 := new InvalidateFramebufferAttachment($8CEA); + private static _COLOR_ATTACHMENT10_EXT := new InvalidateFramebufferAttachment($8CEA); + private static _COLOR_ATTACHMENT10_NV := new InvalidateFramebufferAttachment($8CEA); + private static _COLOR_ATTACHMENT11 := new InvalidateFramebufferAttachment($8CEB); + private static _COLOR_ATTACHMENT11_EXT := new InvalidateFramebufferAttachment($8CEB); + private static _COLOR_ATTACHMENT11_NV := new InvalidateFramebufferAttachment($8CEB); + private static _COLOR_ATTACHMENT12 := new InvalidateFramebufferAttachment($8CEC); + private static _COLOR_ATTACHMENT12_EXT := new InvalidateFramebufferAttachment($8CEC); + private static _COLOR_ATTACHMENT12_NV := new InvalidateFramebufferAttachment($8CEC); + private static _COLOR_ATTACHMENT13 := new InvalidateFramebufferAttachment($8CED); + private static _COLOR_ATTACHMENT13_EXT := new InvalidateFramebufferAttachment($8CED); + private static _COLOR_ATTACHMENT13_NV := new InvalidateFramebufferAttachment($8CED); + private static _COLOR_ATTACHMENT14 := new InvalidateFramebufferAttachment($8CEE); + private static _COLOR_ATTACHMENT14_EXT := new InvalidateFramebufferAttachment($8CEE); + private static _COLOR_ATTACHMENT14_NV := new InvalidateFramebufferAttachment($8CEE); + private static _COLOR_ATTACHMENT15 := new InvalidateFramebufferAttachment($8CEF); + private static _COLOR_ATTACHMENT15_EXT := new InvalidateFramebufferAttachment($8CEF); + private static _COLOR_ATTACHMENT15_NV := new InvalidateFramebufferAttachment($8CEF); + private static _COLOR_ATTACHMENT16 := new InvalidateFramebufferAttachment($8CF0); + private static _COLOR_ATTACHMENT17 := new InvalidateFramebufferAttachment($8CF1); + private static _COLOR_ATTACHMENT18 := new InvalidateFramebufferAttachment($8CF2); + private static _COLOR_ATTACHMENT19 := new InvalidateFramebufferAttachment($8CF3); + private static _COLOR_ATTACHMENT20 := new InvalidateFramebufferAttachment($8CF4); + private static _COLOR_ATTACHMENT21 := new InvalidateFramebufferAttachment($8CF5); + private static _COLOR_ATTACHMENT22 := new InvalidateFramebufferAttachment($8CF6); + private static _COLOR_ATTACHMENT23 := new InvalidateFramebufferAttachment($8CF7); + private static _COLOR_ATTACHMENT24 := new InvalidateFramebufferAttachment($8CF8); + private static _COLOR_ATTACHMENT25 := new InvalidateFramebufferAttachment($8CF9); + private static _COLOR_ATTACHMENT26 := new InvalidateFramebufferAttachment($8CFA); + private static _COLOR_ATTACHMENT27 := new InvalidateFramebufferAttachment($8CFB); + private static _COLOR_ATTACHMENT28 := new InvalidateFramebufferAttachment($8CFC); + private static _COLOR_ATTACHMENT29 := new InvalidateFramebufferAttachment($8CFD); + private static _COLOR_ATTACHMENT30 := new InvalidateFramebufferAttachment($8CFE); + private static _COLOR_ATTACHMENT31 := new InvalidateFramebufferAttachment($8CFF); + private static _DEPTH_ATTACHMENT := new InvalidateFramebufferAttachment($8D00); + private static _DEPTH_ATTACHMENT_EXT := new InvalidateFramebufferAttachment($8D00); + private static _DEPTH_ATTACHMENT_OES := new InvalidateFramebufferAttachment($8D00); + private static _STENCIL_ATTACHMENT_EXT := new InvalidateFramebufferAttachment($8D20); + private static _STENCIL_ATTACHMENT_OES := new InvalidateFramebufferAttachment($8D20); + + public static property COLOR: InvalidateFramebufferAttachment read _COLOR; + public static property DEPTH: InvalidateFramebufferAttachment read _DEPTH; + public static property STENCIL: InvalidateFramebufferAttachment read _STENCIL; + public static property DEPTH_STENCIL_ATTACHMENT: InvalidateFramebufferAttachment read _DEPTH_STENCIL_ATTACHMENT; + public static property COLOR_ATTACHMENT0: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT0; + public static property COLOR_ATTACHMENT0_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT0_EXT; + public static property COLOR_ATTACHMENT0_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT0_NV; + public static property COLOR_ATTACHMENT0_OES: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT0_OES; + public static property COLOR_ATTACHMENT1: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT1; + public static property COLOR_ATTACHMENT1_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT1_EXT; + public static property COLOR_ATTACHMENT1_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT1_NV; + public static property COLOR_ATTACHMENT2: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT2; + public static property COLOR_ATTACHMENT2_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT2_EXT; + public static property COLOR_ATTACHMENT2_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT2_NV; + public static property COLOR_ATTACHMENT3: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT3; + public static property COLOR_ATTACHMENT3_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT3_EXT; + public static property COLOR_ATTACHMENT3_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT3_NV; + public static property COLOR_ATTACHMENT4: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT4; + public static property COLOR_ATTACHMENT4_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT4_EXT; + public static property COLOR_ATTACHMENT4_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT4_NV; + public static property COLOR_ATTACHMENT5: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT5; + public static property COLOR_ATTACHMENT5_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT5_EXT; + public static property COLOR_ATTACHMENT5_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT5_NV; + public static property COLOR_ATTACHMENT6: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT6; + public static property COLOR_ATTACHMENT6_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT6_EXT; + public static property COLOR_ATTACHMENT6_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT6_NV; + public static property COLOR_ATTACHMENT7: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT7; + public static property COLOR_ATTACHMENT7_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT7_EXT; + public static property COLOR_ATTACHMENT7_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT7_NV; + public static property COLOR_ATTACHMENT8: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT8; + public static property COLOR_ATTACHMENT8_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT8_EXT; + public static property COLOR_ATTACHMENT8_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT8_NV; + public static property COLOR_ATTACHMENT9: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT9; + public static property COLOR_ATTACHMENT9_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT9_EXT; + public static property COLOR_ATTACHMENT9_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT9_NV; + public static property COLOR_ATTACHMENT10: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT10; + public static property COLOR_ATTACHMENT10_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT10_EXT; + public static property COLOR_ATTACHMENT10_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT10_NV; + public static property COLOR_ATTACHMENT11: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT11; + public static property COLOR_ATTACHMENT11_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT11_EXT; + public static property COLOR_ATTACHMENT11_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT11_NV; + public static property COLOR_ATTACHMENT12: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT12; + public static property COLOR_ATTACHMENT12_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT12_EXT; + public static property COLOR_ATTACHMENT12_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT12_NV; + public static property COLOR_ATTACHMENT13: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT13; + public static property COLOR_ATTACHMENT13_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT13_EXT; + public static property COLOR_ATTACHMENT13_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT13_NV; + public static property COLOR_ATTACHMENT14: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT14; + public static property COLOR_ATTACHMENT14_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT14_EXT; + public static property COLOR_ATTACHMENT14_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT14_NV; + public static property COLOR_ATTACHMENT15: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT15; + public static property COLOR_ATTACHMENT15_EXT: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT15_EXT; + public static property COLOR_ATTACHMENT15_NV: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT15_NV; + public static property COLOR_ATTACHMENT16: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT16; + public static property COLOR_ATTACHMENT17: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT17; + public static property COLOR_ATTACHMENT18: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT18; + public static property COLOR_ATTACHMENT19: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT19; + public static property COLOR_ATTACHMENT20: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT20; + public static property COLOR_ATTACHMENT21: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT21; + public static property COLOR_ATTACHMENT22: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT22; + public static property COLOR_ATTACHMENT23: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT23; + public static property COLOR_ATTACHMENT24: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT24; + public static property COLOR_ATTACHMENT25: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT25; + public static property COLOR_ATTACHMENT26: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT26; + public static property COLOR_ATTACHMENT27: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT27; + public static property COLOR_ATTACHMENT28: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT28; + public static property COLOR_ATTACHMENT29: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT29; + public static property COLOR_ATTACHMENT30: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT30; + public static property COLOR_ATTACHMENT31: InvalidateFramebufferAttachment read _COLOR_ATTACHMENT31; + public static property DEPTH_ATTACHMENT: InvalidateFramebufferAttachment read _DEPTH_ATTACHMENT; + public static property DEPTH_ATTACHMENT_EXT: InvalidateFramebufferAttachment read _DEPTH_ATTACHMENT_EXT; + public static property DEPTH_ATTACHMENT_OES: InvalidateFramebufferAttachment read _DEPTH_ATTACHMENT_OES; + public static property STENCIL_ATTACHMENT_EXT: InvalidateFramebufferAttachment read _STENCIL_ATTACHMENT_EXT; + public static property STENCIL_ATTACHMENT_OES: InvalidateFramebufferAttachment read _STENCIL_ATTACHMENT_OES; + + public function ToString: string; override; + begin + var res := typeof(InvalidateFramebufferAttachment).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'InvalidateFramebufferAttachment[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LightModelParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _LIGHT_MODEL_LOCAL_VIEWER := new LightModelParameter($0B51); + private static _LIGHT_MODEL_TWO_SIDE := new LightModelParameter($0B52); + private static _LIGHT_MODEL_AMBIENT := new LightModelParameter($0B53); + private static _LIGHT_MODEL_COLOR_CONTROL := new LightModelParameter($81F8); + private static _LIGHT_MODEL_COLOR_CONTROL_EXT := new LightModelParameter($81F8); + + public static property LIGHT_MODEL_LOCAL_VIEWER: LightModelParameter read _LIGHT_MODEL_LOCAL_VIEWER; + public static property LIGHT_MODEL_TWO_SIDE: LightModelParameter read _LIGHT_MODEL_TWO_SIDE; + public static property LIGHT_MODEL_AMBIENT: LightModelParameter read _LIGHT_MODEL_AMBIENT; + public static property LIGHT_MODEL_COLOR_CONTROL: LightModelParameter read _LIGHT_MODEL_COLOR_CONTROL; + public static property LIGHT_MODEL_COLOR_CONTROL_EXT: LightModelParameter read _LIGHT_MODEL_COLOR_CONTROL_EXT; + + public function ToString: string; override; + begin + var res := typeof(LightModelParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LightModelParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LightName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _LIGHT0 := new LightName($4000); + private static _LIGHT1 := new LightName($4001); + private static _LIGHT2 := new LightName($4002); + private static _LIGHT3 := new LightName($4003); + private static _LIGHT4 := new LightName($4004); + private static _LIGHT5 := new LightName($4005); + private static _LIGHT6 := new LightName($4006); + private static _LIGHT7 := new LightName($4007); + private static _FRAGMENT_LIGHT0_SGIX := new LightName($840C); + private static _FRAGMENT_LIGHT1_SGIX := new LightName($840D); + private static _FRAGMENT_LIGHT2_SGIX := new LightName($840E); + private static _FRAGMENT_LIGHT3_SGIX := new LightName($840F); + private static _FRAGMENT_LIGHT4_SGIX := new LightName($8410); + private static _FRAGMENT_LIGHT5_SGIX := new LightName($8411); + private static _FRAGMENT_LIGHT6_SGIX := new LightName($8412); + private static _FRAGMENT_LIGHT7_SGIX := new LightName($8413); + + public static property LIGHT0: LightName read _LIGHT0; + public static property LIGHT1: LightName read _LIGHT1; + public static property LIGHT2: LightName read _LIGHT2; + public static property LIGHT3: LightName read _LIGHT3; + public static property LIGHT4: LightName read _LIGHT4; + public static property LIGHT5: LightName read _LIGHT5; + public static property LIGHT6: LightName read _LIGHT6; + public static property LIGHT7: LightName read _LIGHT7; + public static property FRAGMENT_LIGHT0_SGIX: LightName read _FRAGMENT_LIGHT0_SGIX; + public static property FRAGMENT_LIGHT1_SGIX: LightName read _FRAGMENT_LIGHT1_SGIX; + public static property FRAGMENT_LIGHT2_SGIX: LightName read _FRAGMENT_LIGHT2_SGIX; + public static property FRAGMENT_LIGHT3_SGIX: LightName read _FRAGMENT_LIGHT3_SGIX; + public static property FRAGMENT_LIGHT4_SGIX: LightName read _FRAGMENT_LIGHT4_SGIX; + public static property FRAGMENT_LIGHT5_SGIX: LightName read _FRAGMENT_LIGHT5_SGIX; + public static property FRAGMENT_LIGHT6_SGIX: LightName read _FRAGMENT_LIGHT6_SGIX; + public static property FRAGMENT_LIGHT7_SGIX: LightName read _FRAGMENT_LIGHT7_SGIX; + + public function ToString: string; override; + begin + var res := typeof(LightName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LightName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LightParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _POSITION := new LightParameter($1203); + private static _SPOT_DIRECTION := new LightParameter($1204); + private static _SPOT_EXPONENT := new LightParameter($1205); + private static _SPOT_CUTOFF := new LightParameter($1206); + private static _CONSTANT_ATTENUATION := new LightParameter($1207); + private static _LINEAR_ATTENUATION := new LightParameter($1208); + private static _QUADRATIC_ATTENUATION := new LightParameter($1209); + + public static property POSITION: LightParameter read _POSITION; + public static property SPOT_DIRECTION: LightParameter read _SPOT_DIRECTION; + public static property SPOT_EXPONENT: LightParameter read _SPOT_EXPONENT; + public static property SPOT_CUTOFF: LightParameter read _SPOT_CUTOFF; + public static property CONSTANT_ATTENUATION: LightParameter read _CONSTANT_ATTENUATION; + public static property LINEAR_ATTENUATION: LightParameter read _LINEAR_ATTENUATION; + public static property QUADRATIC_ATTENUATION: LightParameter read _QUADRATIC_ATTENUATION; + + public function ToString: string; override; + begin + var res := typeof(LightParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LightParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ListMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COMPILE := new ListMode($1300); + private static _COMPILE_AND_EXECUTE := new ListMode($1301); + + public static property COMPILE: ListMode read _COMPILE; + public static property COMPILE_AND_EXECUTE: ListMode read _COMPILE_AND_EXECUTE; + + public function ToString: string; override; + begin + var res := typeof(ListMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ListMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ListNameType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new ListNameType($1400); + private static _UNSIGNED_BYTE := new ListNameType($1401); + private static _SHORT := new ListNameType($1402); + private static _UNSIGNED_SHORT := new ListNameType($1403); + private static _INT := new ListNameType($1404); + private static _UNSIGNED_INT := new ListNameType($1405); + private static _FLOAT := new ListNameType($1406); + private static _GL_2_BYTES := new ListNameType($1407); + private static _GL_3_BYTES := new ListNameType($1408); + private static _GL_4_BYTES := new ListNameType($1409); + + public static property BYTE: ListNameType read _BYTE; + public static property UNSIGNED_BYTE: ListNameType read _UNSIGNED_BYTE; + public static property SHORT: ListNameType read _SHORT; + public static property UNSIGNED_SHORT: ListNameType read _UNSIGNED_SHORT; + public static property INT: ListNameType read _INT; + public static property UNSIGNED_INT: ListNameType read _UNSIGNED_INT; + public static property FLOAT: ListNameType read _FLOAT; + public static property GL_2_BYTES: ListNameType read _GL_2_BYTES; + public static property GL_3_BYTES: ListNameType read _GL_3_BYTES; + public static property GL_4_BYTES: ListNameType read _GL_4_BYTES; + + public function ToString: string; override; + begin + var res := typeof(ListNameType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ListNameType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ListParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _LIST_PRIORITY_SGIX := new ListParameterName($8182); + + public static property LIST_PRIORITY_SGIX: ListParameterName read _LIST_PRIORITY_SGIX; + + public function ToString: string; override; + begin + var res := typeof(ListParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ListParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LogicOp = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CLEAR := new LogicOp($1500); + private static _AND := new LogicOp($1501); + private static _AND_REVERSE := new LogicOp($1502); + private static _COPY := new LogicOp($1503); + private static _AND_INVERTED := new LogicOp($1504); + private static _NOOP := new LogicOp($1505); + private static _XOR := new LogicOp($1506); + private static _OR := new LogicOp($1507); + private static _NOR := new LogicOp($1508); + private static _EQUIV := new LogicOp($1509); + private static _INVERT := new LogicOp($150A); + private static _OR_REVERSE := new LogicOp($150B); + private static _COPY_INVERTED := new LogicOp($150C); + private static _OR_INVERTED := new LogicOp($150D); + private static _NAND := new LogicOp($150E); + private static _SET := new LogicOp($150F); + + public static property CLEAR: LogicOp read _CLEAR; + public static property &AND: LogicOp read _AND; + public static property AND_REVERSE: LogicOp read _AND_REVERSE; + public static property COPY: LogicOp read _COPY; + public static property AND_INVERTED: LogicOp read _AND_INVERTED; + public static property NOOP: LogicOp read _NOOP; + public static property &XOR: LogicOp read _XOR; + public static property &OR: LogicOp read _OR; + public static property NOR: LogicOp read _NOR; + public static property EQUIV: LogicOp read _EQUIV; + public static property INVERT: LogicOp read _INVERT; + public static property OR_REVERSE: LogicOp read _OR_REVERSE; + public static property COPY_INVERTED: LogicOp read _COPY_INVERTED; + public static property OR_INVERTED: LogicOp read _OR_INVERTED; + public static property NAND: LogicOp read _NAND; + public static property &SET: LogicOp read _SET; + + public function ToString: string; override; + begin + var res := typeof(LogicOp).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LogicOp[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MapBufferAccessMask = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MAP_READ_BIT := new MapBufferAccessMask($0001); + private static _MAP_READ_BIT_EXT := new MapBufferAccessMask($0001); + private static _MAP_WRITE_BIT := new MapBufferAccessMask($0002); + private static _MAP_WRITE_BIT_EXT := new MapBufferAccessMask($0002); + private static _MAP_INVALIDATE_RANGE_BIT := new MapBufferAccessMask($0004); + private static _MAP_INVALIDATE_RANGE_BIT_EXT := new MapBufferAccessMask($0004); + private static _MAP_INVALIDATE_BUFFER_BIT := new MapBufferAccessMask($0008); + private static _MAP_INVALIDATE_BUFFER_BIT_EXT := new MapBufferAccessMask($0008); + private static _MAP_FLUSH_EXPLICIT_BIT := new MapBufferAccessMask($0010); + private static _MAP_FLUSH_EXPLICIT_BIT_EXT := new MapBufferAccessMask($0010); + private static _MAP_UNSYNCHRONIZED_BIT := new MapBufferAccessMask($0020); + private static _MAP_UNSYNCHRONIZED_BIT_EXT := new MapBufferAccessMask($0020); + private static _MAP_PERSISTENT_BIT := new MapBufferAccessMask($0040); + private static _MAP_PERSISTENT_BIT_EXT := new MapBufferAccessMask($0040); + private static _MAP_COHERENT_BIT := new MapBufferAccessMask($0080); + private static _MAP_COHERENT_BIT_EXT := new MapBufferAccessMask($0080); + + public static property MAP_READ_BIT: MapBufferAccessMask read _MAP_READ_BIT; + public static property MAP_READ_BIT_EXT: MapBufferAccessMask read _MAP_READ_BIT_EXT; + public static property MAP_WRITE_BIT: MapBufferAccessMask read _MAP_WRITE_BIT; + public static property MAP_WRITE_BIT_EXT: MapBufferAccessMask read _MAP_WRITE_BIT_EXT; + public static property MAP_INVALIDATE_RANGE_BIT: MapBufferAccessMask read _MAP_INVALIDATE_RANGE_BIT; + public static property MAP_INVALIDATE_RANGE_BIT_EXT: MapBufferAccessMask read _MAP_INVALIDATE_RANGE_BIT_EXT; + public static property MAP_INVALIDATE_BUFFER_BIT: MapBufferAccessMask read _MAP_INVALIDATE_BUFFER_BIT; + public static property MAP_INVALIDATE_BUFFER_BIT_EXT: MapBufferAccessMask read _MAP_INVALIDATE_BUFFER_BIT_EXT; + public static property MAP_FLUSH_EXPLICIT_BIT: MapBufferAccessMask read _MAP_FLUSH_EXPLICIT_BIT; + public static property MAP_FLUSH_EXPLICIT_BIT_EXT: MapBufferAccessMask read _MAP_FLUSH_EXPLICIT_BIT_EXT; + public static property MAP_UNSYNCHRONIZED_BIT: MapBufferAccessMask read _MAP_UNSYNCHRONIZED_BIT; + public static property MAP_UNSYNCHRONIZED_BIT_EXT: MapBufferAccessMask read _MAP_UNSYNCHRONIZED_BIT_EXT; + public static property MAP_PERSISTENT_BIT: MapBufferAccessMask read _MAP_PERSISTENT_BIT; + public static property MAP_PERSISTENT_BIT_EXT: MapBufferAccessMask read _MAP_PERSISTENT_BIT_EXT; + public static property MAP_COHERENT_BIT: MapBufferAccessMask read _MAP_COHERENT_BIT; + public static property MAP_COHERENT_BIT_EXT: MapBufferAccessMask read _MAP_COHERENT_BIT_EXT; + + public static function operator or(f1,f2: MapBufferAccessMask) := new MapBufferAccessMask(f1.val or f2.val); + + public property HAS_FLAG_MAP_READ_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_MAP_READ_BIT_EXT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_MAP_WRITE_BIT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_MAP_WRITE_BIT_EXT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_MAP_INVALIDATE_RANGE_BIT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_MAP_INVALIDATE_RANGE_BIT_EXT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_MAP_INVALIDATE_BUFFER_BIT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_MAP_INVALIDATE_BUFFER_BIT_EXT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_MAP_FLUSH_EXPLICIT_BIT: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_MAP_FLUSH_EXPLICIT_BIT_EXT: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_MAP_UNSYNCHRONIZED_BIT: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_MAP_UNSYNCHRONIZED_BIT_EXT: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_MAP_PERSISTENT_BIT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_MAP_PERSISTENT_BIT_EXT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_MAP_COHERENT_BIT: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_MAP_COHERENT_BIT_EXT: boolean read self.val and $0080 <> 0; + + public function ToString: string; override; + begin + var res := typeof(MapBufferAccessMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'MapBufferAccessMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + MapQuery = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COEFF := new MapQuery($0A00); + private static _ORDER := new MapQuery($0A01); + private static _DOMAIN := new MapQuery($0A02); + + public static property COEFF: MapQuery read _COEFF; + public static property ORDER: MapQuery read _ORDER; + public static property DOMAIN: MapQuery read _DOMAIN; + + public function ToString: string; override; + begin + var res := typeof(MapQuery).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MapQuery[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MapTarget = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MAP1_COLOR_4 := new MapTarget($0D90); + private static _MAP1_INDEX := new MapTarget($0D91); + private static _MAP1_NORMAL := new MapTarget($0D92); + private static _MAP1_TEXTURE_COORD_1 := new MapTarget($0D93); + private static _MAP1_TEXTURE_COORD_2 := new MapTarget($0D94); + private static _MAP1_TEXTURE_COORD_3 := new MapTarget($0D95); + private static _MAP1_TEXTURE_COORD_4 := new MapTarget($0D96); + private static _MAP1_VERTEX_3 := new MapTarget($0D97); + private static _MAP1_VERTEX_4 := new MapTarget($0D98); + private static _MAP2_COLOR_4 := new MapTarget($0DB0); + private static _MAP2_INDEX := new MapTarget($0DB1); + private static _MAP2_NORMAL := new MapTarget($0DB2); + private static _MAP2_TEXTURE_COORD_1 := new MapTarget($0DB3); + private static _MAP2_TEXTURE_COORD_2 := new MapTarget($0DB4); + private static _MAP2_TEXTURE_COORD_3 := new MapTarget($0DB5); + private static _MAP2_TEXTURE_COORD_4 := new MapTarget($0DB6); + private static _MAP2_VERTEX_3 := new MapTarget($0DB7); + private static _MAP2_VERTEX_4 := new MapTarget($0DB8); + private static _GEOMETRY_DEFORMATION_SGIX := new MapTarget($8194); + private static _TEXTURE_DEFORMATION_SGIX := new MapTarget($8195); + + public static property MAP1_COLOR_4: MapTarget read _MAP1_COLOR_4; + public static property MAP1_INDEX: MapTarget read _MAP1_INDEX; + public static property MAP1_NORMAL: MapTarget read _MAP1_NORMAL; + public static property MAP1_TEXTURE_COORD_1: MapTarget read _MAP1_TEXTURE_COORD_1; + public static property MAP1_TEXTURE_COORD_2: MapTarget read _MAP1_TEXTURE_COORD_2; + public static property MAP1_TEXTURE_COORD_3: MapTarget read _MAP1_TEXTURE_COORD_3; + public static property MAP1_TEXTURE_COORD_4: MapTarget read _MAP1_TEXTURE_COORD_4; + public static property MAP1_VERTEX_3: MapTarget read _MAP1_VERTEX_3; + public static property MAP1_VERTEX_4: MapTarget read _MAP1_VERTEX_4; + public static property MAP2_COLOR_4: MapTarget read _MAP2_COLOR_4; + public static property MAP2_INDEX: MapTarget read _MAP2_INDEX; + public static property MAP2_NORMAL: MapTarget read _MAP2_NORMAL; + public static property MAP2_TEXTURE_COORD_1: MapTarget read _MAP2_TEXTURE_COORD_1; + public static property MAP2_TEXTURE_COORD_2: MapTarget read _MAP2_TEXTURE_COORD_2; + public static property MAP2_TEXTURE_COORD_3: MapTarget read _MAP2_TEXTURE_COORD_3; + public static property MAP2_TEXTURE_COORD_4: MapTarget read _MAP2_TEXTURE_COORD_4; + public static property MAP2_VERTEX_3: MapTarget read _MAP2_VERTEX_3; + public static property MAP2_VERTEX_4: MapTarget read _MAP2_VERTEX_4; + public static property GEOMETRY_DEFORMATION_SGIX: MapTarget read _GEOMETRY_DEFORMATION_SGIX; + public static property TEXTURE_DEFORMATION_SGIX: MapTarget read _TEXTURE_DEFORMATION_SGIX; + + public function ToString: string; override; + begin + var res := typeof(MapTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MapTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MaterialParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _AMBIENT := new MaterialParameter($1200); + private static _DIFFUSE := new MaterialParameter($1201); + private static _SPECULAR := new MaterialParameter($1202); + private static _EMISSION := new MaterialParameter($1600); + private static _SHININESS := new MaterialParameter($1601); + private static _AMBIENT_AND_DIFFUSE := new MaterialParameter($1602); + private static _COLOR_INDEXES := new MaterialParameter($1603); + + public static property AMBIENT: MaterialParameter read _AMBIENT; + public static property DIFFUSE: MaterialParameter read _DIFFUSE; + public static property SPECULAR: MaterialParameter read _SPECULAR; + public static property EMISSION: MaterialParameter read _EMISSION; + public static property SHININESS: MaterialParameter read _SHININESS; + public static property AMBIENT_AND_DIFFUSE: MaterialParameter read _AMBIENT_AND_DIFFUSE; + public static property COLOR_INDEXES: MaterialParameter read _COLOR_INDEXES; + + public function ToString: string; override; + begin + var res := typeof(MaterialParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MaterialParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MatrixMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MODELVIEW := new MatrixMode($1700); + private static _MODELVIEW0_EXT := new MatrixMode($1700); + private static _PROJECTION := new MatrixMode($1701); + private static _TEXTURE := new MatrixMode($1702); + + public static property MODELVIEW: MatrixMode read _MODELVIEW; + public static property MODELVIEW0_EXT: MatrixMode read _MODELVIEW0_EXT; + public static property PROJECTION: MatrixMode read _PROJECTION; + public static property TEXTURE: MatrixMode read _TEXTURE; + + public function ToString: string; override; + begin + var res := typeof(MatrixMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MatrixMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MemoryBarrierMask = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_ATTRIB_ARRAY_BARRIER_BIT := new MemoryBarrierMask($0001); + private static _VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT := new MemoryBarrierMask($0001); + private static _ELEMENT_ARRAY_BARRIER_BIT := new MemoryBarrierMask($0002); + private static _ELEMENT_ARRAY_BARRIER_BIT_EXT := new MemoryBarrierMask($0002); + private static _UNIFORM_BARRIER_BIT := new MemoryBarrierMask($0004); + private static _UNIFORM_BARRIER_BIT_EXT := new MemoryBarrierMask($0004); + private static _TEXTURE_FETCH_BARRIER_BIT := new MemoryBarrierMask($0008); + private static _TEXTURE_FETCH_BARRIER_BIT_EXT := new MemoryBarrierMask($0008); + private static _SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV := new MemoryBarrierMask($0010); + private static _SHADER_IMAGE_ACCESS_BARRIER_BIT := new MemoryBarrierMask($0020); + private static _SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT := new MemoryBarrierMask($0020); + private static _COMMAND_BARRIER_BIT := new MemoryBarrierMask($0040); + private static _COMMAND_BARRIER_BIT_EXT := new MemoryBarrierMask($0040); + private static _PIXEL_BUFFER_BARRIER_BIT := new MemoryBarrierMask($0080); + private static _PIXEL_BUFFER_BARRIER_BIT_EXT := new MemoryBarrierMask($0080); + private static _TEXTURE_UPDATE_BARRIER_BIT := new MemoryBarrierMask($0100); + private static _TEXTURE_UPDATE_BARRIER_BIT_EXT := new MemoryBarrierMask($0100); + private static _BUFFER_UPDATE_BARRIER_BIT := new MemoryBarrierMask($0200); + private static _BUFFER_UPDATE_BARRIER_BIT_EXT := new MemoryBarrierMask($0200); + private static _FRAMEBUFFER_BARRIER_BIT := new MemoryBarrierMask($0400); + private static _FRAMEBUFFER_BARRIER_BIT_EXT := new MemoryBarrierMask($0400); + private static _TRANSFORM_FEEDBACK_BARRIER_BIT := new MemoryBarrierMask($0800); + private static _TRANSFORM_FEEDBACK_BARRIER_BIT_EXT := new MemoryBarrierMask($0800); + private static _ATOMIC_COUNTER_BARRIER_BIT := new MemoryBarrierMask($1000); + private static _ATOMIC_COUNTER_BARRIER_BIT_EXT := new MemoryBarrierMask($1000); + private static _SHADER_STORAGE_BARRIER_BIT := new MemoryBarrierMask($2000); + private static _CLIENT_MAPPED_BUFFER_BARRIER_BIT := new MemoryBarrierMask($4000); + private static _CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT := new MemoryBarrierMask($4000); + private static _QUERY_BUFFER_BARRIER_BIT := new MemoryBarrierMask($8000); + private static _ALL_BARRIER_BITS := new MemoryBarrierMask($FFFFFFFF); + private static _ALL_BARRIER_BITS_EXT := new MemoryBarrierMask($FFFFFFFF); + + public static property VERTEX_ATTRIB_ARRAY_BARRIER_BIT: MemoryBarrierMask read _VERTEX_ATTRIB_ARRAY_BARRIER_BIT; + public static property VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT: MemoryBarrierMask read _VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT; + public static property ELEMENT_ARRAY_BARRIER_BIT: MemoryBarrierMask read _ELEMENT_ARRAY_BARRIER_BIT; + public static property ELEMENT_ARRAY_BARRIER_BIT_EXT: MemoryBarrierMask read _ELEMENT_ARRAY_BARRIER_BIT_EXT; + public static property UNIFORM_BARRIER_BIT: MemoryBarrierMask read _UNIFORM_BARRIER_BIT; + public static property UNIFORM_BARRIER_BIT_EXT: MemoryBarrierMask read _UNIFORM_BARRIER_BIT_EXT; + public static property TEXTURE_FETCH_BARRIER_BIT: MemoryBarrierMask read _TEXTURE_FETCH_BARRIER_BIT; + public static property TEXTURE_FETCH_BARRIER_BIT_EXT: MemoryBarrierMask read _TEXTURE_FETCH_BARRIER_BIT_EXT; + public static property SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV: MemoryBarrierMask read _SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV; + public static property SHADER_IMAGE_ACCESS_BARRIER_BIT: MemoryBarrierMask read _SHADER_IMAGE_ACCESS_BARRIER_BIT; + public static property SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT: MemoryBarrierMask read _SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT; + public static property COMMAND_BARRIER_BIT: MemoryBarrierMask read _COMMAND_BARRIER_BIT; + public static property COMMAND_BARRIER_BIT_EXT: MemoryBarrierMask read _COMMAND_BARRIER_BIT_EXT; + public static property PIXEL_BUFFER_BARRIER_BIT: MemoryBarrierMask read _PIXEL_BUFFER_BARRIER_BIT; + public static property PIXEL_BUFFER_BARRIER_BIT_EXT: MemoryBarrierMask read _PIXEL_BUFFER_BARRIER_BIT_EXT; + public static property TEXTURE_UPDATE_BARRIER_BIT: MemoryBarrierMask read _TEXTURE_UPDATE_BARRIER_BIT; + public static property TEXTURE_UPDATE_BARRIER_BIT_EXT: MemoryBarrierMask read _TEXTURE_UPDATE_BARRIER_BIT_EXT; + public static property BUFFER_UPDATE_BARRIER_BIT: MemoryBarrierMask read _BUFFER_UPDATE_BARRIER_BIT; + public static property BUFFER_UPDATE_BARRIER_BIT_EXT: MemoryBarrierMask read _BUFFER_UPDATE_BARRIER_BIT_EXT; + public static property FRAMEBUFFER_BARRIER_BIT: MemoryBarrierMask read _FRAMEBUFFER_BARRIER_BIT; + public static property FRAMEBUFFER_BARRIER_BIT_EXT: MemoryBarrierMask read _FRAMEBUFFER_BARRIER_BIT_EXT; + public static property TRANSFORM_FEEDBACK_BARRIER_BIT: MemoryBarrierMask read _TRANSFORM_FEEDBACK_BARRIER_BIT; + public static property TRANSFORM_FEEDBACK_BARRIER_BIT_EXT: MemoryBarrierMask read _TRANSFORM_FEEDBACK_BARRIER_BIT_EXT; + public static property ATOMIC_COUNTER_BARRIER_BIT: MemoryBarrierMask read _ATOMIC_COUNTER_BARRIER_BIT; + public static property ATOMIC_COUNTER_BARRIER_BIT_EXT: MemoryBarrierMask read _ATOMIC_COUNTER_BARRIER_BIT_EXT; + public static property SHADER_STORAGE_BARRIER_BIT: MemoryBarrierMask read _SHADER_STORAGE_BARRIER_BIT; + public static property CLIENT_MAPPED_BUFFER_BARRIER_BIT: MemoryBarrierMask read _CLIENT_MAPPED_BUFFER_BARRIER_BIT; + public static property CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT: MemoryBarrierMask read _CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT; + public static property QUERY_BUFFER_BARRIER_BIT: MemoryBarrierMask read _QUERY_BUFFER_BARRIER_BIT; + public static property ALL_BARRIER_BITS: MemoryBarrierMask read _ALL_BARRIER_BITS; + public static property ALL_BARRIER_BITS_EXT: MemoryBarrierMask read _ALL_BARRIER_BITS_EXT; + + public static function operator or(f1,f2: MemoryBarrierMask) := new MemoryBarrierMask(f1.val or f2.val); + + public property HAS_FLAG_VERTEX_ATTRIB_ARRAY_BARRIER_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_ELEMENT_ARRAY_BARRIER_BIT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_ELEMENT_ARRAY_BARRIER_BIT_EXT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_UNIFORM_BARRIER_BIT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_UNIFORM_BARRIER_BIT_EXT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_TEXTURE_FETCH_BARRIER_BIT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_TEXTURE_FETCH_BARRIER_BIT_EXT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_SHADER_IMAGE_ACCESS_BARRIER_BIT: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_COMMAND_BARRIER_BIT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_COMMAND_BARRIER_BIT_EXT: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_PIXEL_BUFFER_BARRIER_BIT: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_PIXEL_BUFFER_BARRIER_BIT_EXT: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_TEXTURE_UPDATE_BARRIER_BIT: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_TEXTURE_UPDATE_BARRIER_BIT_EXT: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_BUFFER_UPDATE_BARRIER_BIT: boolean read self.val and $0200 <> 0; + public property HAS_FLAG_BUFFER_UPDATE_BARRIER_BIT_EXT: boolean read self.val and $0200 <> 0; + public property HAS_FLAG_FRAMEBUFFER_BARRIER_BIT: boolean read self.val and $0400 <> 0; + public property HAS_FLAG_FRAMEBUFFER_BARRIER_BIT_EXT: boolean read self.val and $0400 <> 0; + public property HAS_FLAG_TRANSFORM_FEEDBACK_BARRIER_BIT: boolean read self.val and $0800 <> 0; + public property HAS_FLAG_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT: boolean read self.val and $0800 <> 0; + public property HAS_FLAG_ATOMIC_COUNTER_BARRIER_BIT: boolean read self.val and $1000 <> 0; + public property HAS_FLAG_ATOMIC_COUNTER_BARRIER_BIT_EXT: boolean read self.val and $1000 <> 0; + public property HAS_FLAG_SHADER_STORAGE_BARRIER_BIT: boolean read self.val and $2000 <> 0; + public property HAS_FLAG_CLIENT_MAPPED_BUFFER_BARRIER_BIT: boolean read self.val and $4000 <> 0; + public property HAS_FLAG_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT: boolean read self.val and $4000 <> 0; + public property HAS_FLAG_QUERY_BUFFER_BARRIER_BIT: boolean read self.val and $8000 <> 0; + public property HAS_FLAG_ALL_BARRIER_BITS: boolean read self.val and $FFFFFFFF <> 0; + public property HAS_FLAG_ALL_BARRIER_BITS_EXT: boolean read self.val and $FFFFFFFF <> 0; + + public function ToString: string; override; + begin + var res := typeof(MemoryBarrierMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'MemoryBarrierMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + MemoryObjectParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _DEDICATED_MEMORY_OBJECT_EXT := new MemoryObjectParameterName($9581); + private static _PROTECTED_MEMORY_OBJECT_EXT := new MemoryObjectParameterName($959B); + + public static property DEDICATED_MEMORY_OBJECT_EXT: MemoryObjectParameterName read _DEDICATED_MEMORY_OBJECT_EXT; + public static property PROTECTED_MEMORY_OBJECT_EXT: MemoryObjectParameterName read _PROTECTED_MEMORY_OBJECT_EXT; + + public function ToString: string; override; + begin + var res := typeof(MemoryObjectParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MemoryObjectParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MeshMode1 = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _POINT := new MeshMode1($1B00); + private static _LINE := new MeshMode1($1B01); + + public static property POINT: MeshMode1 read _POINT; + public static property LINE: MeshMode1 read _LINE; + + public function ToString: string; override; + begin + var res := typeof(MeshMode1).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MeshMode1[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MeshMode2 = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _POINT := new MeshMode2($1B00); + private static _LINE := new MeshMode2($1B01); + private static _FILL := new MeshMode2($1B02); + + public static property POINT: MeshMode2 read _POINT; + public static property LINE: MeshMode2 read _LINE; + public static property FILL: MeshMode2 read _FILL; + + public function ToString: string; override; + begin + var res := typeof(MeshMode2).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MeshMode2[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + NormalPointerType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new NormalPointerType($1400); + private static _SHORT := new NormalPointerType($1402); + private static _INT := new NormalPointerType($1404); + private static _FLOAT := new NormalPointerType($1406); + private static _DOUBLE := new NormalPointerType($140A); + + public static property BYTE: NormalPointerType read _BYTE; + public static property SHORT: NormalPointerType read _SHORT; + public static property INT: NormalPointerType read _INT; + public static property FLOAT: NormalPointerType read _FLOAT; + public static property DOUBLE: NormalPointerType read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(NormalPointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'NormalPointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ObjectIdentifier = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE := new ObjectIdentifier($1702); + private static _VERTEX_ARRAY := new ObjectIdentifier($8074); + private static _BUFFER := new ObjectIdentifier($82E0); + private static _SHADER := new ObjectIdentifier($82E1); + private static _PROGRAM := new ObjectIdentifier($82E2); + private static _QUERY := new ObjectIdentifier($82E3); + private static _PROGRAM_PIPELINE := new ObjectIdentifier($82E4); + private static _SAMPLER := new ObjectIdentifier($82E6); + private static _FRAMEBUFFER := new ObjectIdentifier($8D40); + private static _RENDERBUFFER := new ObjectIdentifier($8D41); + private static _TRANSFORM_FEEDBACK := new ObjectIdentifier($8E22); + + public static property TEXTURE: ObjectIdentifier read _TEXTURE; + public static property VERTEX_ARRAY: ObjectIdentifier read _VERTEX_ARRAY; + public static property BUFFER: ObjectIdentifier read _BUFFER; + public static property SHADER: ObjectIdentifier read _SHADER; + public static property &PROGRAM: ObjectIdentifier read _PROGRAM; + public static property QUERY: ObjectIdentifier read _QUERY; + public static property PROGRAM_PIPELINE: ObjectIdentifier read _PROGRAM_PIPELINE; + public static property SAMPLER: ObjectIdentifier read _SAMPLER; + public static property FRAMEBUFFER: ObjectIdentifier read _FRAMEBUFFER; + public static property RENDERBUFFER: ObjectIdentifier read _RENDERBUFFER; + public static property TRANSFORM_FEEDBACK: ObjectIdentifier read _TRANSFORM_FEEDBACK; + + public function ToString: string; override; + begin + var res := typeof(ObjectIdentifier).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ObjectIdentifier[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PatchParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PATCH_VERTICES := new PatchParameterName($8E72); + private static _PATCH_DEFAULT_INNER_LEVEL := new PatchParameterName($8E73); + private static _PATCH_DEFAULT_OUTER_LEVEL := new PatchParameterName($8E74); + + public static property PATCH_VERTICES: PatchParameterName read _PATCH_VERTICES; + public static property PATCH_DEFAULT_INNER_LEVEL: PatchParameterName read _PATCH_DEFAULT_INNER_LEVEL; + public static property PATCH_DEFAULT_OUTER_LEVEL: PatchParameterName read _PATCH_DEFAULT_OUTER_LEVEL; + + public function ToString: string; override; + begin + var res := typeof(PatchParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PatchParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathColor = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PRIMARY_COLOR_NV := new PathColor($852C); + private static _SECONDARY_COLOR_NV := new PathColor($852D); + private static _PRIMARY_COLOR := new PathColor($8577); + + public static property PRIMARY_COLOR_NV: PathColor read _PRIMARY_COLOR_NV; + public static property SECONDARY_COLOR_NV: PathColor read _SECONDARY_COLOR_NV; + public static property PRIMARY_COLOR: PathColor read _PRIMARY_COLOR; + + public function ToString: string; override; + begin + var res := typeof(PathColor).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathColor[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathColorFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NONE := new PathColorFormat($0000); + private static _ALPHA := new PathColorFormat($1906); + private static _RGB := new PathColorFormat($1907); + private static _RGBA := new PathColorFormat($1908); + private static _LUMINANCE := new PathColorFormat($1909); + private static _LUMINANCE_ALPHA := new PathColorFormat($190A); + private static _INTENSITY := new PathColorFormat($8049); + + public static property NONE: PathColorFormat read _NONE; + public static property ALPHA: PathColorFormat read _ALPHA; + public static property RGB: PathColorFormat read _RGB; + public static property RGBA: PathColorFormat read _RGBA; + public static property LUMINANCE: PathColorFormat read _LUMINANCE; + public static property LUMINANCE_ALPHA: PathColorFormat read _LUMINANCE_ALPHA; + public static property INTENSITY: PathColorFormat read _INTENSITY; + + public function ToString: string; override; + begin + var res := typeof(PathColorFormat).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathColorFormat[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathCoordType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CLOSE_PATH_NV := new PathCoordType($0000); + private static _MOVE_TO_NV := new PathCoordType($0002); + private static _RELATIVE_MOVE_TO_NV := new PathCoordType($0003); + private static _LINE_TO_NV := new PathCoordType($0004); + private static _RELATIVE_LINE_TO_NV := new PathCoordType($0005); + private static _HORIZONTAL_LINE_TO_NV := new PathCoordType($0006); + private static _RELATIVE_HORIZONTAL_LINE_TO_NV := new PathCoordType($0007); + private static _VERTICAL_LINE_TO_NV := new PathCoordType($0008); + private static _RELATIVE_VERTICAL_LINE_TO_NV := new PathCoordType($0009); + private static _QUADRATIC_CURVE_TO_NV := new PathCoordType($000A); + private static _RELATIVE_QUADRATIC_CURVE_TO_NV := new PathCoordType($000B); + private static _CUBIC_CURVE_TO_NV := new PathCoordType($000C); + private static _RELATIVE_CUBIC_CURVE_TO_NV := new PathCoordType($000D); + private static _SMOOTH_QUADRATIC_CURVE_TO_NV := new PathCoordType($000E); + private static _RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV := new PathCoordType($000F); + private static _SMOOTH_CUBIC_CURVE_TO_NV := new PathCoordType($0010); + private static _RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV := new PathCoordType($0011); + private static _SMALL_CCW_ARC_TO_NV := new PathCoordType($0012); + private static _RELATIVE_SMALL_CCW_ARC_TO_NV := new PathCoordType($0013); + private static _SMALL_CW_ARC_TO_NV := new PathCoordType($0014); + private static _RELATIVE_SMALL_CW_ARC_TO_NV := new PathCoordType($0015); + private static _LARGE_CCW_ARC_TO_NV := new PathCoordType($0016); + private static _RELATIVE_LARGE_CCW_ARC_TO_NV := new PathCoordType($0017); + private static _LARGE_CW_ARC_TO_NV := new PathCoordType($0018); + private static _RELATIVE_LARGE_CW_ARC_TO_NV := new PathCoordType($0019); + private static _CONIC_CURVE_TO_NV := new PathCoordType($001A); + private static _RELATIVE_CONIC_CURVE_TO_NV := new PathCoordType($001B); + private static _ROUNDED_RECT_NV := new PathCoordType($00E8); + private static _RELATIVE_ROUNDED_RECT_NV := new PathCoordType($00E9); + private static _ROUNDED_RECT2_NV := new PathCoordType($00EA); + private static _RELATIVE_ROUNDED_RECT2_NV := new PathCoordType($00EB); + private static _ROUNDED_RECT4_NV := new PathCoordType($00EC); + private static _RELATIVE_ROUNDED_RECT4_NV := new PathCoordType($00ED); + private static _ROUNDED_RECT8_NV := new PathCoordType($00EE); + private static _RELATIVE_ROUNDED_RECT8_NV := new PathCoordType($00EF); + private static _RESTART_PATH_NV := new PathCoordType($00F0); + private static _DUP_FIRST_CUBIC_CURVE_TO_NV := new PathCoordType($00F2); + private static _DUP_LAST_CUBIC_CURVE_TO_NV := new PathCoordType($00F4); + private static _RECT_NV := new PathCoordType($00F6); + private static _RELATIVE_RECT_NV := new PathCoordType($00F7); + private static _CIRCULAR_CCW_ARC_TO_NV := new PathCoordType($00F8); + private static _CIRCULAR_CW_ARC_TO_NV := new PathCoordType($00FA); + private static _CIRCULAR_TANGENT_ARC_TO_NV := new PathCoordType($00FC); + private static _ARC_TO_NV := new PathCoordType($00FE); + private static _RELATIVE_ARC_TO_NV := new PathCoordType($00FF); + + public static property CLOSE_PATH_NV: PathCoordType read _CLOSE_PATH_NV; + public static property MOVE_TO_NV: PathCoordType read _MOVE_TO_NV; + public static property RELATIVE_MOVE_TO_NV: PathCoordType read _RELATIVE_MOVE_TO_NV; + public static property LINE_TO_NV: PathCoordType read _LINE_TO_NV; + public static property RELATIVE_LINE_TO_NV: PathCoordType read _RELATIVE_LINE_TO_NV; + public static property HORIZONTAL_LINE_TO_NV: PathCoordType read _HORIZONTAL_LINE_TO_NV; + public static property RELATIVE_HORIZONTAL_LINE_TO_NV: PathCoordType read _RELATIVE_HORIZONTAL_LINE_TO_NV; + public static property VERTICAL_LINE_TO_NV: PathCoordType read _VERTICAL_LINE_TO_NV; + public static property RELATIVE_VERTICAL_LINE_TO_NV: PathCoordType read _RELATIVE_VERTICAL_LINE_TO_NV; + public static property QUADRATIC_CURVE_TO_NV: PathCoordType read _QUADRATIC_CURVE_TO_NV; + public static property RELATIVE_QUADRATIC_CURVE_TO_NV: PathCoordType read _RELATIVE_QUADRATIC_CURVE_TO_NV; + public static property CUBIC_CURVE_TO_NV: PathCoordType read _CUBIC_CURVE_TO_NV; + public static property RELATIVE_CUBIC_CURVE_TO_NV: PathCoordType read _RELATIVE_CUBIC_CURVE_TO_NV; + public static property SMOOTH_QUADRATIC_CURVE_TO_NV: PathCoordType read _SMOOTH_QUADRATIC_CURVE_TO_NV; + public static property RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV: PathCoordType read _RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV; + public static property SMOOTH_CUBIC_CURVE_TO_NV: PathCoordType read _SMOOTH_CUBIC_CURVE_TO_NV; + public static property RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV: PathCoordType read _RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV; + public static property SMALL_CCW_ARC_TO_NV: PathCoordType read _SMALL_CCW_ARC_TO_NV; + public static property RELATIVE_SMALL_CCW_ARC_TO_NV: PathCoordType read _RELATIVE_SMALL_CCW_ARC_TO_NV; + public static property SMALL_CW_ARC_TO_NV: PathCoordType read _SMALL_CW_ARC_TO_NV; + public static property RELATIVE_SMALL_CW_ARC_TO_NV: PathCoordType read _RELATIVE_SMALL_CW_ARC_TO_NV; + public static property LARGE_CCW_ARC_TO_NV: PathCoordType read _LARGE_CCW_ARC_TO_NV; + public static property RELATIVE_LARGE_CCW_ARC_TO_NV: PathCoordType read _RELATIVE_LARGE_CCW_ARC_TO_NV; + public static property LARGE_CW_ARC_TO_NV: PathCoordType read _LARGE_CW_ARC_TO_NV; + public static property RELATIVE_LARGE_CW_ARC_TO_NV: PathCoordType read _RELATIVE_LARGE_CW_ARC_TO_NV; + public static property CONIC_CURVE_TO_NV: PathCoordType read _CONIC_CURVE_TO_NV; + public static property RELATIVE_CONIC_CURVE_TO_NV: PathCoordType read _RELATIVE_CONIC_CURVE_TO_NV; + public static property ROUNDED_RECT_NV: PathCoordType read _ROUNDED_RECT_NV; + public static property RELATIVE_ROUNDED_RECT_NV: PathCoordType read _RELATIVE_ROUNDED_RECT_NV; + public static property ROUNDED_RECT2_NV: PathCoordType read _ROUNDED_RECT2_NV; + public static property RELATIVE_ROUNDED_RECT2_NV: PathCoordType read _RELATIVE_ROUNDED_RECT2_NV; + public static property ROUNDED_RECT4_NV: PathCoordType read _ROUNDED_RECT4_NV; + public static property RELATIVE_ROUNDED_RECT4_NV: PathCoordType read _RELATIVE_ROUNDED_RECT4_NV; + public static property ROUNDED_RECT8_NV: PathCoordType read _ROUNDED_RECT8_NV; + public static property RELATIVE_ROUNDED_RECT8_NV: PathCoordType read _RELATIVE_ROUNDED_RECT8_NV; + public static property RESTART_PATH_NV: PathCoordType read _RESTART_PATH_NV; + public static property DUP_FIRST_CUBIC_CURVE_TO_NV: PathCoordType read _DUP_FIRST_CUBIC_CURVE_TO_NV; + public static property DUP_LAST_CUBIC_CURVE_TO_NV: PathCoordType read _DUP_LAST_CUBIC_CURVE_TO_NV; + public static property RECT_NV: PathCoordType read _RECT_NV; + public static property RELATIVE_RECT_NV: PathCoordType read _RELATIVE_RECT_NV; + public static property CIRCULAR_CCW_ARC_TO_NV: PathCoordType read _CIRCULAR_CCW_ARC_TO_NV; + public static property CIRCULAR_CW_ARC_TO_NV: PathCoordType read _CIRCULAR_CW_ARC_TO_NV; + public static property CIRCULAR_TANGENT_ARC_TO_NV: PathCoordType read _CIRCULAR_TANGENT_ARC_TO_NV; + public static property ARC_TO_NV: PathCoordType read _ARC_TO_NV; + public static property RELATIVE_ARC_TO_NV: PathCoordType read _RELATIVE_ARC_TO_NV; + + public function ToString: string; override; + begin + var res := typeof(PathCoordType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathCoordType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathCoverMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PATH_FILL_COVER_MODE_NV := new PathCoverMode($9082); + private static _CONVEX_HULL_NV := new PathCoverMode($908B); + private static _BOUNDING_BOX_NV := new PathCoverMode($908D); + private static _BOUNDING_BOX_OF_BOUNDING_BOXES_NV := new PathCoverMode($909C); + + public static property PATH_FILL_COVER_MODE_NV: PathCoverMode read _PATH_FILL_COVER_MODE_NV; + public static property CONVEX_HULL_NV: PathCoverMode read _CONVEX_HULL_NV; + public static property BOUNDING_BOX_NV: PathCoverMode read _BOUNDING_BOX_NV; + public static property BOUNDING_BOX_OF_BOUNDING_BOXES_NV: PathCoverMode read _BOUNDING_BOX_OF_BOUNDING_BOXES_NV; + + public function ToString: string; override; + begin + var res := typeof(PathCoverMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathCoverMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathElementType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UTF8_NV := new PathElementType($909A); + private static _UTF16_NV := new PathElementType($909B); + + public static property UTF8_NV: PathElementType read _UTF8_NV; + public static property UTF16_NV: PathElementType read _UTF16_NV; + + public function ToString: string; override; + begin + var res := typeof(PathElementType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathElementType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathFillMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _INVERT := new PathFillMode($150A); + private static _PATH_FILL_MODE_NV := new PathFillMode($9080); + private static _COUNT_UP_NV := new PathFillMode($9088); + private static _COUNT_DOWN_NV := new PathFillMode($9089); + + public static property INVERT: PathFillMode read _INVERT; + public static property PATH_FILL_MODE_NV: PathFillMode read _PATH_FILL_MODE_NV; + public static property COUNT_UP_NV: PathFillMode read _COUNT_UP_NV; + public static property COUNT_DOWN_NV: PathFillMode read _COUNT_DOWN_NV; + + public function ToString: string; override; + begin + var res := typeof(PathFillMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathFillMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathFontStyle = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NONE := new PathFontStyle($0000); + private static _BOLD_BIT_NV := new PathFontStyle($0001); + private static _ITALIC_BIT_NV := new PathFontStyle($0002); + + public static property NONE: PathFontStyle read _NONE; + public static property BOLD_BIT_NV: PathFontStyle read _BOLD_BIT_NV; + public static property ITALIC_BIT_NV: PathFontStyle read _ITALIC_BIT_NV; + + public static function operator or(f1,f2: PathFontStyle) := new PathFontStyle(f1.val or f2.val); + + public property ANY_FLAGS: boolean read self.val<>0; + public property HAS_FLAG_BOLD_BIT_NV: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_ITALIC_BIT_NV: boolean read self.val and $0002 <> 0; + + public function ToString: string; override; + begin + var res := typeof(PathFontStyle).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'PathFontStyle[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + PathFontTarget = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _STANDARD_FONT_NAME_NV := new PathFontTarget($9072); + private static _SYSTEM_FONT_NAME_NV := new PathFontTarget($9073); + private static _FILE_NAME_NV := new PathFontTarget($9074); + + public static property STANDARD_FONT_NAME_NV: PathFontTarget read _STANDARD_FONT_NAME_NV; + public static property SYSTEM_FONT_NAME_NV: PathFontTarget read _SYSTEM_FONT_NAME_NV; + public static property FILE_NAME_NV: PathFontTarget read _FILE_NAME_NV; + + public function ToString: string; override; + begin + var res := typeof(PathFontTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathFontTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathGenMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NONE := new PathGenMode($0000); + private static _EYE_LINEAR := new PathGenMode($2400); + private static _OBJECT_LINEAR := new PathGenMode($2401); + private static _CONSTANT := new PathGenMode($8576); + private static _PATH_OBJECT_BOUNDING_BOX_NV := new PathGenMode($908A); + + public static property NONE: PathGenMode read _NONE; + public static property EYE_LINEAR: PathGenMode read _EYE_LINEAR; + public static property OBJECT_LINEAR: PathGenMode read _OBJECT_LINEAR; + public static property CONSTANT: PathGenMode read _CONSTANT; + public static property PATH_OBJECT_BOUNDING_BOX_NV: PathGenMode read _PATH_OBJECT_BOUNDING_BOX_NV; + + public function ToString: string; override; + begin + var res := typeof(PathGenMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathGenMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathHandleMissingGlyphs = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SKIP_MISSING_GLYPH_NV := new PathHandleMissingGlyphs($90A9); + private static _USE_MISSING_GLYPH_NV := new PathHandleMissingGlyphs($90AA); + + public static property SKIP_MISSING_GLYPH_NV: PathHandleMissingGlyphs read _SKIP_MISSING_GLYPH_NV; + public static property USE_MISSING_GLYPH_NV: PathHandleMissingGlyphs read _USE_MISSING_GLYPH_NV; + + public function ToString: string; override; + begin + var res := typeof(PathHandleMissingGlyphs).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathHandleMissingGlyphs[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathListMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _ACCUM_ADJACENT_PAIRS_NV := new PathListMode($90AD); + private static _ADJACENT_PAIRS_NV := new PathListMode($90AE); + private static _FIRST_TO_REST_NV := new PathListMode($90AF); + + public static property ACCUM_ADJACENT_PAIRS_NV: PathListMode read _ACCUM_ADJACENT_PAIRS_NV; + public static property ADJACENT_PAIRS_NV: PathListMode read _ADJACENT_PAIRS_NV; + public static property FIRST_TO_REST_NV: PathListMode read _FIRST_TO_REST_NV; + + public function ToString: string; override; + begin + var res := typeof(PathListMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathListMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathMetricMask = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _GLYPH_WIDTH_BIT_NV := new PathMetricMask($0001); + private static _GLYPH_HEIGHT_BIT_NV := new PathMetricMask($0002); + private static _GLYPH_HORIZONTAL_BEARING_X_BIT_NV := new PathMetricMask($0004); + private static _GLYPH_HORIZONTAL_BEARING_Y_BIT_NV := new PathMetricMask($0008); + private static _GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV := new PathMetricMask($0010); + private static _GLYPH_VERTICAL_BEARING_X_BIT_NV := new PathMetricMask($0020); + private static _GLYPH_VERTICAL_BEARING_Y_BIT_NV := new PathMetricMask($0040); + private static _GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV := new PathMetricMask($0080); + private static _GLYPH_HAS_KERNING_BIT_NV := new PathMetricMask($0100); + private static _FONT_X_MIN_BOUNDS_BIT_NV := new PathMetricMask($10000); + private static _FONT_Y_MIN_BOUNDS_BIT_NV := new PathMetricMask($20000); + private static _FONT_X_MAX_BOUNDS_BIT_NV := new PathMetricMask($40000); + private static _FONT_Y_MAX_BOUNDS_BIT_NV := new PathMetricMask($80000); + private static _FONT_UNITS_PER_EM_BIT_NV := new PathMetricMask($100000); + private static _FONT_ASCENDER_BIT_NV := new PathMetricMask($200000); + private static _FONT_DESCENDER_BIT_NV := new PathMetricMask($400000); + private static _FONT_HEIGHT_BIT_NV := new PathMetricMask($800000); + private static _FONT_MAX_ADVANCE_WIDTH_BIT_NV := new PathMetricMask($1000000); + private static _FONT_MAX_ADVANCE_HEIGHT_BIT_NV := new PathMetricMask($2000000); + private static _FONT_UNDERLINE_POSITION_BIT_NV := new PathMetricMask($4000000); + private static _FONT_UNDERLINE_THICKNESS_BIT_NV := new PathMetricMask($8000000); + private static _FONT_HAS_KERNING_BIT_NV := new PathMetricMask($10000000); + private static _FONT_NUM_GLYPH_INDICES_BIT_NV := new PathMetricMask($20000000); + + public static property GLYPH_WIDTH_BIT_NV: PathMetricMask read _GLYPH_WIDTH_BIT_NV; + public static property GLYPH_HEIGHT_BIT_NV: PathMetricMask read _GLYPH_HEIGHT_BIT_NV; + public static property GLYPH_HORIZONTAL_BEARING_X_BIT_NV: PathMetricMask read _GLYPH_HORIZONTAL_BEARING_X_BIT_NV; + public static property GLYPH_HORIZONTAL_BEARING_Y_BIT_NV: PathMetricMask read _GLYPH_HORIZONTAL_BEARING_Y_BIT_NV; + public static property GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV: PathMetricMask read _GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV; + public static property GLYPH_VERTICAL_BEARING_X_BIT_NV: PathMetricMask read _GLYPH_VERTICAL_BEARING_X_BIT_NV; + public static property GLYPH_VERTICAL_BEARING_Y_BIT_NV: PathMetricMask read _GLYPH_VERTICAL_BEARING_Y_BIT_NV; + public static property GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV: PathMetricMask read _GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV; + public static property GLYPH_HAS_KERNING_BIT_NV: PathMetricMask read _GLYPH_HAS_KERNING_BIT_NV; + public static property FONT_X_MIN_BOUNDS_BIT_NV: PathMetricMask read _FONT_X_MIN_BOUNDS_BIT_NV; + public static property FONT_Y_MIN_BOUNDS_BIT_NV: PathMetricMask read _FONT_Y_MIN_BOUNDS_BIT_NV; + public static property FONT_X_MAX_BOUNDS_BIT_NV: PathMetricMask read _FONT_X_MAX_BOUNDS_BIT_NV; + public static property FONT_Y_MAX_BOUNDS_BIT_NV: PathMetricMask read _FONT_Y_MAX_BOUNDS_BIT_NV; + public static property FONT_UNITS_PER_EM_BIT_NV: PathMetricMask read _FONT_UNITS_PER_EM_BIT_NV; + public static property FONT_ASCENDER_BIT_NV: PathMetricMask read _FONT_ASCENDER_BIT_NV; + public static property FONT_DESCENDER_BIT_NV: PathMetricMask read _FONT_DESCENDER_BIT_NV; + public static property FONT_HEIGHT_BIT_NV: PathMetricMask read _FONT_HEIGHT_BIT_NV; + public static property FONT_MAX_ADVANCE_WIDTH_BIT_NV: PathMetricMask read _FONT_MAX_ADVANCE_WIDTH_BIT_NV; + public static property FONT_MAX_ADVANCE_HEIGHT_BIT_NV: PathMetricMask read _FONT_MAX_ADVANCE_HEIGHT_BIT_NV; + public static property FONT_UNDERLINE_POSITION_BIT_NV: PathMetricMask read _FONT_UNDERLINE_POSITION_BIT_NV; + public static property FONT_UNDERLINE_THICKNESS_BIT_NV: PathMetricMask read _FONT_UNDERLINE_THICKNESS_BIT_NV; + public static property FONT_HAS_KERNING_BIT_NV: PathMetricMask read _FONT_HAS_KERNING_BIT_NV; + public static property FONT_NUM_GLYPH_INDICES_BIT_NV: PathMetricMask read _FONT_NUM_GLYPH_INDICES_BIT_NV; + + public static function operator or(f1,f2: PathMetricMask) := new PathMetricMask(f1.val or f2.val); + + public property HAS_FLAG_GLYPH_WIDTH_BIT_NV: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_GLYPH_HEIGHT_BIT_NV: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_GLYPH_HORIZONTAL_BEARING_X_BIT_NV: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_GLYPH_VERTICAL_BEARING_X_BIT_NV: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_GLYPH_VERTICAL_BEARING_Y_BIT_NV: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_GLYPH_HAS_KERNING_BIT_NV: boolean read self.val and $0100 <> 0; + public property HAS_FLAG_FONT_X_MIN_BOUNDS_BIT_NV: boolean read self.val and $10000 <> 0; + public property HAS_FLAG_FONT_Y_MIN_BOUNDS_BIT_NV: boolean read self.val and $20000 <> 0; + public property HAS_FLAG_FONT_X_MAX_BOUNDS_BIT_NV: boolean read self.val and $40000 <> 0; + public property HAS_FLAG_FONT_Y_MAX_BOUNDS_BIT_NV: boolean read self.val and $80000 <> 0; + public property HAS_FLAG_FONT_UNITS_PER_EM_BIT_NV: boolean read self.val and $100000 <> 0; + public property HAS_FLAG_FONT_ASCENDER_BIT_NV: boolean read self.val and $200000 <> 0; + public property HAS_FLAG_FONT_DESCENDER_BIT_NV: boolean read self.val and $400000 <> 0; + public property HAS_FLAG_FONT_HEIGHT_BIT_NV: boolean read self.val and $800000 <> 0; + public property HAS_FLAG_FONT_MAX_ADVANCE_WIDTH_BIT_NV: boolean read self.val and $1000000 <> 0; + public property HAS_FLAG_FONT_MAX_ADVANCE_HEIGHT_BIT_NV: boolean read self.val and $2000000 <> 0; + public property HAS_FLAG_FONT_UNDERLINE_POSITION_BIT_NV: boolean read self.val and $4000000 <> 0; + public property HAS_FLAG_FONT_UNDERLINE_THICKNESS_BIT_NV: boolean read self.val and $8000000 <> 0; + public property HAS_FLAG_FONT_HAS_KERNING_BIT_NV: boolean read self.val and $10000000 <> 0; + public property HAS_FLAG_FONT_NUM_GLYPH_INDICES_BIT_NV: boolean read self.val and $20000000 <> 0; + + public function ToString: string; override; + begin + var res := typeof(PathMetricMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'PathMetricMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + PathParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PATH_STROKE_WIDTH_NV := new PathParameter($9075); + private static _PATH_END_CAPS_NV := new PathParameter($9076); + private static _PATH_INITIAL_END_CAP_NV := new PathParameter($9077); + private static _PATH_TERMINAL_END_CAP_NV := new PathParameter($9078); + private static _PATH_JOIN_STYLE_NV := new PathParameter($9079); + private static _PATH_MITER_LIMIT_NV := new PathParameter($907A); + private static _PATH_DASH_CAPS_NV := new PathParameter($907B); + private static _PATH_INITIAL_DASH_CAP_NV := new PathParameter($907C); + private static _PATH_TERMINAL_DASH_CAP_NV := new PathParameter($907D); + private static _PATH_DASH_OFFSET_NV := new PathParameter($907E); + private static _PATH_CLIENT_LENGTH_NV := new PathParameter($907F); + private static _PATH_FILL_MODE_NV := new PathParameter($9080); + private static _PATH_FILL_MASK_NV := new PathParameter($9081); + private static _PATH_FILL_COVER_MODE_NV := new PathParameter($9082); + private static _PATH_STROKE_COVER_MODE_NV := new PathParameter($9083); + private static _PATH_STROKE_MASK_NV := new PathParameter($9084); + private static _PATH_OBJECT_BOUNDING_BOX_NV := new PathParameter($908A); + private static _PATH_COMMAND_COUNT_NV := new PathParameter($909D); + private static _PATH_COORD_COUNT_NV := new PathParameter($909E); + private static _PATH_DASH_ARRAY_COUNT_NV := new PathParameter($909F); + private static _PATH_COMPUTED_LENGTH_NV := new PathParameter($90A0); + private static _PATH_FILL_BOUNDING_BOX_NV := new PathParameter($90A1); + private static _PATH_STROKE_BOUNDING_BOX_NV := new PathParameter($90A2); + private static _PATH_DASH_OFFSET_RESET_NV := new PathParameter($90B4); + + public static property PATH_STROKE_WIDTH_NV: PathParameter read _PATH_STROKE_WIDTH_NV; + public static property PATH_END_CAPS_NV: PathParameter read _PATH_END_CAPS_NV; + public static property PATH_INITIAL_END_CAP_NV: PathParameter read _PATH_INITIAL_END_CAP_NV; + public static property PATH_TERMINAL_END_CAP_NV: PathParameter read _PATH_TERMINAL_END_CAP_NV; + public static property PATH_JOIN_STYLE_NV: PathParameter read _PATH_JOIN_STYLE_NV; + public static property PATH_MITER_LIMIT_NV: PathParameter read _PATH_MITER_LIMIT_NV; + public static property PATH_DASH_CAPS_NV: PathParameter read _PATH_DASH_CAPS_NV; + public static property PATH_INITIAL_DASH_CAP_NV: PathParameter read _PATH_INITIAL_DASH_CAP_NV; + public static property PATH_TERMINAL_DASH_CAP_NV: PathParameter read _PATH_TERMINAL_DASH_CAP_NV; + public static property PATH_DASH_OFFSET_NV: PathParameter read _PATH_DASH_OFFSET_NV; + public static property PATH_CLIENT_LENGTH_NV: PathParameter read _PATH_CLIENT_LENGTH_NV; + public static property PATH_FILL_MODE_NV: PathParameter read _PATH_FILL_MODE_NV; + public static property PATH_FILL_MASK_NV: PathParameter read _PATH_FILL_MASK_NV; + public static property PATH_FILL_COVER_MODE_NV: PathParameter read _PATH_FILL_COVER_MODE_NV; + public static property PATH_STROKE_COVER_MODE_NV: PathParameter read _PATH_STROKE_COVER_MODE_NV; + public static property PATH_STROKE_MASK_NV: PathParameter read _PATH_STROKE_MASK_NV; + public static property PATH_OBJECT_BOUNDING_BOX_NV: PathParameter read _PATH_OBJECT_BOUNDING_BOX_NV; + public static property PATH_COMMAND_COUNT_NV: PathParameter read _PATH_COMMAND_COUNT_NV; + public static property PATH_COORD_COUNT_NV: PathParameter read _PATH_COORD_COUNT_NV; + public static property PATH_DASH_ARRAY_COUNT_NV: PathParameter read _PATH_DASH_ARRAY_COUNT_NV; + public static property PATH_COMPUTED_LENGTH_NV: PathParameter read _PATH_COMPUTED_LENGTH_NV; + public static property PATH_FILL_BOUNDING_BOX_NV: PathParameter read _PATH_FILL_BOUNDING_BOX_NV; + public static property PATH_STROKE_BOUNDING_BOX_NV: PathParameter read _PATH_STROKE_BOUNDING_BOX_NV; + public static property PATH_DASH_OFFSET_RESET_NV: PathParameter read _PATH_DASH_OFFSET_RESET_NV; + + public function ToString: string; override; + begin + var res := typeof(PathParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathStringFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PATH_FORMAT_SVG_NV := new PathStringFormat($9070); + private static _PATH_FORMAT_PS_NV := new PathStringFormat($9071); + + public static property PATH_FORMAT_SVG_NV: PathStringFormat read _PATH_FORMAT_SVG_NV; + public static property PATH_FORMAT_PS_NV: PathStringFormat read _PATH_FORMAT_PS_NV; + + public function ToString: string; override; + begin + var res := typeof(PathStringFormat).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathStringFormat[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PathTransformType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NONE := new PathTransformType($0000); + private static _TRANSLATE_X_NV := new PathTransformType($908E); + private static _TRANSLATE_Y_NV := new PathTransformType($908F); + private static _TRANSLATE_2D_NV := new PathTransformType($9090); + private static _TRANSLATE_3D_NV := new PathTransformType($9091); + private static _AFFINE_2D_NV := new PathTransformType($9092); + private static _AFFINE_3D_NV := new PathTransformType($9094); + private static _TRANSPOSE_AFFINE_2D_NV := new PathTransformType($9096); + private static _TRANSPOSE_AFFINE_3D_NV := new PathTransformType($9098); + + public static property NONE: PathTransformType read _NONE; + public static property TRANSLATE_X_NV: PathTransformType read _TRANSLATE_X_NV; + public static property TRANSLATE_Y_NV: PathTransformType read _TRANSLATE_Y_NV; + public static property TRANSLATE_2D_NV: PathTransformType read _TRANSLATE_2D_NV; + public static property TRANSLATE_3D_NV: PathTransformType read _TRANSLATE_3D_NV; + public static property AFFINE_2D_NV: PathTransformType read _AFFINE_2D_NV; + public static property AFFINE_3D_NV: PathTransformType read _AFFINE_3D_NV; + public static property TRANSPOSE_AFFINE_2D_NV: PathTransformType read _TRANSPOSE_AFFINE_2D_NV; + public static property TRANSPOSE_AFFINE_3D_NV: PathTransformType read _TRANSPOSE_AFFINE_3D_NV; + + public function ToString: string; override; + begin + var res := typeof(PathTransformType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PathTransformType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PipelineParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _ACTIVE_PROGRAM := new PipelineParameterName($8259); + private static _FRAGMENT_SHADER := new PipelineParameterName($8B30); + private static _VERTEX_SHADER := new PipelineParameterName($8B31); + private static _INFO_LOG_LENGTH := new PipelineParameterName($8B84); + private static _GEOMETRY_SHADER := new PipelineParameterName($8DD9); + private static _TESS_EVALUATION_SHADER := new PipelineParameterName($8E87); + private static _TESS_CONTROL_SHADER := new PipelineParameterName($8E88); + + public static property ACTIVE_PROGRAM: PipelineParameterName read _ACTIVE_PROGRAM; + public static property FRAGMENT_SHADER: PipelineParameterName read _FRAGMENT_SHADER; + public static property VERTEX_SHADER: PipelineParameterName read _VERTEX_SHADER; + public static property INFO_LOG_LENGTH: PipelineParameterName read _INFO_LOG_LENGTH; + public static property GEOMETRY_SHADER: PipelineParameterName read _GEOMETRY_SHADER; + public static property TESS_EVALUATION_SHADER: PipelineParameterName read _TESS_EVALUATION_SHADER; + public static property TESS_CONTROL_SHADER: PipelineParameterName read _TESS_CONTROL_SHADER; + + public function ToString: string; override; + begin + var res := typeof(PipelineParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PipelineParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelCopyType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COLOR := new PixelCopyType($1800); + private static _COLOR_EXT := new PixelCopyType($1800); + private static _DEPTH := new PixelCopyType($1801); + private static _DEPTH_EXT := new PixelCopyType($1801); + private static _STENCIL := new PixelCopyType($1802); + private static _STENCIL_EXT := new PixelCopyType($1802); + + public static property COLOR: PixelCopyType read _COLOR; + public static property COLOR_EXT: PixelCopyType read _COLOR_EXT; + public static property DEPTH: PixelCopyType read _DEPTH; + public static property DEPTH_EXT: PixelCopyType read _DEPTH_EXT; + public static property STENCIL: PixelCopyType read _STENCIL; + public static property STENCIL_EXT: PixelCopyType read _STENCIL_EXT; + + public function ToString: string; override; + begin + var res := typeof(PixelCopyType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelCopyType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelFormat = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNSIGNED_SHORT := new PixelFormat($1403); + private static _UNSIGNED_INT := new PixelFormat($1405); + private static _COLOR_INDEX := new PixelFormat($1900); + private static _STENCIL_INDEX := new PixelFormat($1901); + private static _DEPTH_COMPONENT := new PixelFormat($1902); + private static _RED := new PixelFormat($1903); + private static _RED_EXT := new PixelFormat($1903); + private static _GREEN := new PixelFormat($1904); + private static _BLUE := new PixelFormat($1905); + private static _ALPHA := new PixelFormat($1906); + private static _RGB := new PixelFormat($1907); + private static _RGBA := new PixelFormat($1908); + private static _LUMINANCE := new PixelFormat($1909); + private static _LUMINANCE_ALPHA := new PixelFormat($190A); + private static _ABGR_EXT := new PixelFormat($8000); + private static _CMYK_EXT := new PixelFormat($800C); + private static _CMYKA_EXT := new PixelFormat($800D); + private static _BGR := new PixelFormat($80E0); + private static _BGRA := new PixelFormat($80E1); + private static _YCRCB_422_SGIX := new PixelFormat($81BB); + private static _YCRCB_444_SGIX := new PixelFormat($81BC); + private static _RG := new PixelFormat($8227); + private static _RG_INTEGER := new PixelFormat($8228); + private static _DEPTH_STENCIL := new PixelFormat($84F9); + private static _RED_INTEGER := new PixelFormat($8D94); + private static _GREEN_INTEGER := new PixelFormat($8D95); + private static _BLUE_INTEGER := new PixelFormat($8D96); + private static _RGB_INTEGER := new PixelFormat($8D98); + private static _RGBA_INTEGER := new PixelFormat($8D99); + private static _BGR_INTEGER := new PixelFormat($8D9A); + private static _BGRA_INTEGER := new PixelFormat($8D9B); + + public static property UNSIGNED_SHORT: PixelFormat read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: PixelFormat read _UNSIGNED_INT; + public static property COLOR_INDEX: PixelFormat read _COLOR_INDEX; + public static property STENCIL_INDEX: PixelFormat read _STENCIL_INDEX; + public static property DEPTH_COMPONENT: PixelFormat read _DEPTH_COMPONENT; + public static property RED: PixelFormat read _RED; + public static property RED_EXT: PixelFormat read _RED_EXT; + public static property GREEN: PixelFormat read _GREEN; + public static property BLUE: PixelFormat read _BLUE; + public static property ALPHA: PixelFormat read _ALPHA; + public static property RGB: PixelFormat read _RGB; + public static property RGBA: PixelFormat read _RGBA; + public static property LUMINANCE: PixelFormat read _LUMINANCE; + public static property LUMINANCE_ALPHA: PixelFormat read _LUMINANCE_ALPHA; + public static property ABGR_EXT: PixelFormat read _ABGR_EXT; + public static property CMYK_EXT: PixelFormat read _CMYK_EXT; + public static property CMYKA_EXT: PixelFormat read _CMYKA_EXT; + public static property BGR: PixelFormat read _BGR; + public static property BGRA: PixelFormat read _BGRA; + public static property YCRCB_422_SGIX: PixelFormat read _YCRCB_422_SGIX; + public static property YCRCB_444_SGIX: PixelFormat read _YCRCB_444_SGIX; + public static property RG: PixelFormat read _RG; + public static property RG_INTEGER: PixelFormat read _RG_INTEGER; + public static property DEPTH_STENCIL: PixelFormat read _DEPTH_STENCIL; + public static property RED_INTEGER: PixelFormat read _RED_INTEGER; + public static property GREEN_INTEGER: PixelFormat read _GREEN_INTEGER; + public static property BLUE_INTEGER: PixelFormat read _BLUE_INTEGER; + public static property RGB_INTEGER: PixelFormat read _RGB_INTEGER; + public static property RGBA_INTEGER: PixelFormat read _RGBA_INTEGER; + public static property BGR_INTEGER: PixelFormat read _BGR_INTEGER; + public static property BGRA_INTEGER: PixelFormat read _BGRA_INTEGER; + + public function ToString: string; override; + begin + var res := typeof(PixelFormat).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelFormat[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelMap = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PIXEL_MAP_I_TO_I := new PixelMap($0C70); + private static _PIXEL_MAP_S_TO_S := new PixelMap($0C71); + private static _PIXEL_MAP_I_TO_R := new PixelMap($0C72); + private static _PIXEL_MAP_I_TO_G := new PixelMap($0C73); + private static _PIXEL_MAP_I_TO_B := new PixelMap($0C74); + private static _PIXEL_MAP_I_TO_A := new PixelMap($0C75); + private static _PIXEL_MAP_R_TO_R := new PixelMap($0C76); + private static _PIXEL_MAP_G_TO_G := new PixelMap($0C77); + private static _PIXEL_MAP_B_TO_B := new PixelMap($0C78); + private static _PIXEL_MAP_A_TO_A := new PixelMap($0C79); + + public static property PIXEL_MAP_I_TO_I: PixelMap read _PIXEL_MAP_I_TO_I; + public static property PIXEL_MAP_S_TO_S: PixelMap read _PIXEL_MAP_S_TO_S; + public static property PIXEL_MAP_I_TO_R: PixelMap read _PIXEL_MAP_I_TO_R; + public static property PIXEL_MAP_I_TO_G: PixelMap read _PIXEL_MAP_I_TO_G; + public static property PIXEL_MAP_I_TO_B: PixelMap read _PIXEL_MAP_I_TO_B; + public static property PIXEL_MAP_I_TO_A: PixelMap read _PIXEL_MAP_I_TO_A; + public static property PIXEL_MAP_R_TO_R: PixelMap read _PIXEL_MAP_R_TO_R; + public static property PIXEL_MAP_G_TO_G: PixelMap read _PIXEL_MAP_G_TO_G; + public static property PIXEL_MAP_B_TO_B: PixelMap read _PIXEL_MAP_B_TO_B; + public static property PIXEL_MAP_A_TO_A: PixelMap read _PIXEL_MAP_A_TO_A; + + public function ToString: string; override; + begin + var res := typeof(PixelMap).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelMap[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelStoreParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNPACK_SWAP_BYTES := new PixelStoreParameter($0CF0); + private static _UNPACK_LSB_FIRST := new PixelStoreParameter($0CF1); + private static _UNPACK_ROW_LENGTH := new PixelStoreParameter($0CF2); + private static _UNPACK_ROW_LENGTH_EXT := new PixelStoreParameter($0CF2); + private static _UNPACK_SKIP_ROWS := new PixelStoreParameter($0CF3); + private static _UNPACK_SKIP_ROWS_EXT := new PixelStoreParameter($0CF3); + private static _UNPACK_SKIP_PIXELS := new PixelStoreParameter($0CF4); + private static _UNPACK_SKIP_PIXELS_EXT := new PixelStoreParameter($0CF4); + private static _UNPACK_ALIGNMENT := new PixelStoreParameter($0CF5); + private static _PACK_SWAP_BYTES := new PixelStoreParameter($0D00); + private static _PACK_LSB_FIRST := new PixelStoreParameter($0D01); + private static _PACK_ROW_LENGTH := new PixelStoreParameter($0D02); + private static _PACK_SKIP_ROWS := new PixelStoreParameter($0D03); + private static _PACK_SKIP_PIXELS := new PixelStoreParameter($0D04); + private static _PACK_ALIGNMENT := new PixelStoreParameter($0D05); + private static _PACK_SKIP_IMAGES := new PixelStoreParameter($806B); + private static _PACK_SKIP_IMAGES_EXT := new PixelStoreParameter($806B); + private static _PACK_IMAGE_HEIGHT := new PixelStoreParameter($806C); + private static _PACK_IMAGE_HEIGHT_EXT := new PixelStoreParameter($806C); + private static _UNPACK_SKIP_IMAGES := new PixelStoreParameter($806D); + private static _UNPACK_SKIP_IMAGES_EXT := new PixelStoreParameter($806D); + private static _UNPACK_IMAGE_HEIGHT := new PixelStoreParameter($806E); + private static _UNPACK_IMAGE_HEIGHT_EXT := new PixelStoreParameter($806E); + private static _PACK_SKIP_VOLUMES_SGIS := new PixelStoreParameter($8130); + private static _PACK_IMAGE_DEPTH_SGIS := new PixelStoreParameter($8131); + private static _UNPACK_SKIP_VOLUMES_SGIS := new PixelStoreParameter($8132); + private static _UNPACK_IMAGE_DEPTH_SGIS := new PixelStoreParameter($8133); + private static _PIXEL_TILE_WIDTH_SGIX := new PixelStoreParameter($8140); + private static _PIXEL_TILE_HEIGHT_SGIX := new PixelStoreParameter($8141); + private static _PIXEL_TILE_GRID_WIDTH_SGIX := new PixelStoreParameter($8142); + private static _PIXEL_TILE_GRID_HEIGHT_SGIX := new PixelStoreParameter($8143); + private static _PIXEL_TILE_GRID_DEPTH_SGIX := new PixelStoreParameter($8144); + private static _PIXEL_TILE_CACHE_SIZE_SGIX := new PixelStoreParameter($8145); + private static _PACK_RESAMPLE_SGIX := new PixelStoreParameter($842E); + private static _UNPACK_RESAMPLE_SGIX := new PixelStoreParameter($842F); + private static _PACK_SUBSAMPLE_RATE_SGIX := new PixelStoreParameter($85A0); + private static _UNPACK_SUBSAMPLE_RATE_SGIX := new PixelStoreParameter($85A1); + private static _PACK_RESAMPLE_OML := new PixelStoreParameter($8984); + private static _UNPACK_RESAMPLE_OML := new PixelStoreParameter($8985); + + public static property UNPACK_SWAP_BYTES: PixelStoreParameter read _UNPACK_SWAP_BYTES; + public static property UNPACK_LSB_FIRST: PixelStoreParameter read _UNPACK_LSB_FIRST; + public static property UNPACK_ROW_LENGTH: PixelStoreParameter read _UNPACK_ROW_LENGTH; + public static property UNPACK_ROW_LENGTH_EXT: PixelStoreParameter read _UNPACK_ROW_LENGTH_EXT; + public static property UNPACK_SKIP_ROWS: PixelStoreParameter read _UNPACK_SKIP_ROWS; + public static property UNPACK_SKIP_ROWS_EXT: PixelStoreParameter read _UNPACK_SKIP_ROWS_EXT; + public static property UNPACK_SKIP_PIXELS: PixelStoreParameter read _UNPACK_SKIP_PIXELS; + public static property UNPACK_SKIP_PIXELS_EXT: PixelStoreParameter read _UNPACK_SKIP_PIXELS_EXT; + public static property UNPACK_ALIGNMENT: PixelStoreParameter read _UNPACK_ALIGNMENT; + public static property PACK_SWAP_BYTES: PixelStoreParameter read _PACK_SWAP_BYTES; + public static property PACK_LSB_FIRST: PixelStoreParameter read _PACK_LSB_FIRST; + public static property PACK_ROW_LENGTH: PixelStoreParameter read _PACK_ROW_LENGTH; + public static property PACK_SKIP_ROWS: PixelStoreParameter read _PACK_SKIP_ROWS; + public static property PACK_SKIP_PIXELS: PixelStoreParameter read _PACK_SKIP_PIXELS; + public static property PACK_ALIGNMENT: PixelStoreParameter read _PACK_ALIGNMENT; + public static property PACK_SKIP_IMAGES: PixelStoreParameter read _PACK_SKIP_IMAGES; + public static property PACK_SKIP_IMAGES_EXT: PixelStoreParameter read _PACK_SKIP_IMAGES_EXT; + public static property PACK_IMAGE_HEIGHT: PixelStoreParameter read _PACK_IMAGE_HEIGHT; + public static property PACK_IMAGE_HEIGHT_EXT: PixelStoreParameter read _PACK_IMAGE_HEIGHT_EXT; + public static property UNPACK_SKIP_IMAGES: PixelStoreParameter read _UNPACK_SKIP_IMAGES; + public static property UNPACK_SKIP_IMAGES_EXT: PixelStoreParameter read _UNPACK_SKIP_IMAGES_EXT; + public static property UNPACK_IMAGE_HEIGHT: PixelStoreParameter read _UNPACK_IMAGE_HEIGHT; + public static property UNPACK_IMAGE_HEIGHT_EXT: PixelStoreParameter read _UNPACK_IMAGE_HEIGHT_EXT; + public static property PACK_SKIP_VOLUMES_SGIS: PixelStoreParameter read _PACK_SKIP_VOLUMES_SGIS; + public static property PACK_IMAGE_DEPTH_SGIS: PixelStoreParameter read _PACK_IMAGE_DEPTH_SGIS; + public static property UNPACK_SKIP_VOLUMES_SGIS: PixelStoreParameter read _UNPACK_SKIP_VOLUMES_SGIS; + public static property UNPACK_IMAGE_DEPTH_SGIS: PixelStoreParameter read _UNPACK_IMAGE_DEPTH_SGIS; + public static property PIXEL_TILE_WIDTH_SGIX: PixelStoreParameter read _PIXEL_TILE_WIDTH_SGIX; + public static property PIXEL_TILE_HEIGHT_SGIX: PixelStoreParameter read _PIXEL_TILE_HEIGHT_SGIX; + public static property PIXEL_TILE_GRID_WIDTH_SGIX: PixelStoreParameter read _PIXEL_TILE_GRID_WIDTH_SGIX; + public static property PIXEL_TILE_GRID_HEIGHT_SGIX: PixelStoreParameter read _PIXEL_TILE_GRID_HEIGHT_SGIX; + public static property PIXEL_TILE_GRID_DEPTH_SGIX: PixelStoreParameter read _PIXEL_TILE_GRID_DEPTH_SGIX; + public static property PIXEL_TILE_CACHE_SIZE_SGIX: PixelStoreParameter read _PIXEL_TILE_CACHE_SIZE_SGIX; + public static property PACK_RESAMPLE_SGIX: PixelStoreParameter read _PACK_RESAMPLE_SGIX; + public static property UNPACK_RESAMPLE_SGIX: PixelStoreParameter read _UNPACK_RESAMPLE_SGIX; + public static property PACK_SUBSAMPLE_RATE_SGIX: PixelStoreParameter read _PACK_SUBSAMPLE_RATE_SGIX; + public static property UNPACK_SUBSAMPLE_RATE_SGIX: PixelStoreParameter read _UNPACK_SUBSAMPLE_RATE_SGIX; + public static property PACK_RESAMPLE_OML: PixelStoreParameter read _PACK_RESAMPLE_OML; + public static property UNPACK_RESAMPLE_OML: PixelStoreParameter read _UNPACK_RESAMPLE_OML; + + public function ToString: string; override; + begin + var res := typeof(PixelStoreParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelStoreParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelTransferParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MAP_COLOR := new PixelTransferParameter($0D10); + private static _MAP_STENCIL := new PixelTransferParameter($0D11); + private static _INDEX_SHIFT := new PixelTransferParameter($0D12); + private static _INDEX_OFFSET := new PixelTransferParameter($0D13); + private static _RED_SCALE := new PixelTransferParameter($0D14); + private static _RED_BIAS := new PixelTransferParameter($0D15); + private static _GREEN_SCALE := new PixelTransferParameter($0D18); + private static _GREEN_BIAS := new PixelTransferParameter($0D19); + private static _BLUE_SCALE := new PixelTransferParameter($0D1A); + private static _BLUE_BIAS := new PixelTransferParameter($0D1B); + private static _ALPHA_SCALE := new PixelTransferParameter($0D1C); + private static _ALPHA_BIAS := new PixelTransferParameter($0D1D); + private static _DEPTH_SCALE := new PixelTransferParameter($0D1E); + private static _DEPTH_BIAS := new PixelTransferParameter($0D1F); + private static _POST_CONVOLUTION_RED_SCALE := new PixelTransferParameter($801C); + private static _POST_CONVOLUTION_RED_SCALE_EXT := new PixelTransferParameter($801C); + private static _POST_CONVOLUTION_GREEN_SCALE := new PixelTransferParameter($801D); + private static _POST_CONVOLUTION_GREEN_SCALE_EXT := new PixelTransferParameter($801D); + private static _POST_CONVOLUTION_BLUE_SCALE := new PixelTransferParameter($801E); + private static _POST_CONVOLUTION_BLUE_SCALE_EXT := new PixelTransferParameter($801E); + private static _POST_CONVOLUTION_ALPHA_SCALE := new PixelTransferParameter($801F); + private static _POST_CONVOLUTION_ALPHA_SCALE_EXT := new PixelTransferParameter($801F); + private static _POST_CONVOLUTION_RED_BIAS := new PixelTransferParameter($8020); + private static _POST_CONVOLUTION_RED_BIAS_EXT := new PixelTransferParameter($8020); + private static _POST_CONVOLUTION_GREEN_BIAS := new PixelTransferParameter($8021); + private static _POST_CONVOLUTION_GREEN_BIAS_EXT := new PixelTransferParameter($8021); + private static _POST_CONVOLUTION_BLUE_BIAS := new PixelTransferParameter($8022); + private static _POST_CONVOLUTION_BLUE_BIAS_EXT := new PixelTransferParameter($8022); + private static _POST_CONVOLUTION_ALPHA_BIAS := new PixelTransferParameter($8023); + private static _POST_CONVOLUTION_ALPHA_BIAS_EXT := new PixelTransferParameter($8023); + private static _POST_COLOR_MATRIX_RED_SCALE := new PixelTransferParameter($80B4); + private static _POST_COLOR_MATRIX_RED_SCALE_SGI := new PixelTransferParameter($80B4); + private static _POST_COLOR_MATRIX_GREEN_SCALE := new PixelTransferParameter($80B5); + private static _POST_COLOR_MATRIX_GREEN_SCALE_SGI := new PixelTransferParameter($80B5); + private static _POST_COLOR_MATRIX_BLUE_SCALE := new PixelTransferParameter($80B6); + private static _POST_COLOR_MATRIX_BLUE_SCALE_SGI := new PixelTransferParameter($80B6); + private static _POST_COLOR_MATRIX_ALPHA_SCALE := new PixelTransferParameter($80B7); + private static _POST_COLOR_MATRIX_ALPHA_SCALE_SGI := new PixelTransferParameter($80B7); + private static _POST_COLOR_MATRIX_RED_BIAS := new PixelTransferParameter($80B8); + private static _POST_COLOR_MATRIX_RED_BIAS_SGI := new PixelTransferParameter($80B8); + private static _POST_COLOR_MATRIX_GREEN_BIAS := new PixelTransferParameter($80B9); + private static _POST_COLOR_MATRIX_GREEN_BIAS_SGI := new PixelTransferParameter($80B9); + private static _POST_COLOR_MATRIX_BLUE_BIAS := new PixelTransferParameter($80BA); + private static _POST_COLOR_MATRIX_BLUE_BIAS_SGI := new PixelTransferParameter($80BA); + private static _POST_COLOR_MATRIX_ALPHA_BIAS := new PixelTransferParameter($80BB); + private static _POST_COLOR_MATRIX_ALPHA_BIAS_SGI := new PixelTransferParameter($80BB); + + public static property MAP_COLOR: PixelTransferParameter read _MAP_COLOR; + public static property MAP_STENCIL: PixelTransferParameter read _MAP_STENCIL; + public static property INDEX_SHIFT: PixelTransferParameter read _INDEX_SHIFT; + public static property INDEX_OFFSET: PixelTransferParameter read _INDEX_OFFSET; + public static property RED_SCALE: PixelTransferParameter read _RED_SCALE; + public static property RED_BIAS: PixelTransferParameter read _RED_BIAS; + public static property GREEN_SCALE: PixelTransferParameter read _GREEN_SCALE; + public static property GREEN_BIAS: PixelTransferParameter read _GREEN_BIAS; + public static property BLUE_SCALE: PixelTransferParameter read _BLUE_SCALE; + public static property BLUE_BIAS: PixelTransferParameter read _BLUE_BIAS; + public static property ALPHA_SCALE: PixelTransferParameter read _ALPHA_SCALE; + public static property ALPHA_BIAS: PixelTransferParameter read _ALPHA_BIAS; + public static property DEPTH_SCALE: PixelTransferParameter read _DEPTH_SCALE; + public static property DEPTH_BIAS: PixelTransferParameter read _DEPTH_BIAS; + public static property POST_CONVOLUTION_RED_SCALE: PixelTransferParameter read _POST_CONVOLUTION_RED_SCALE; + public static property POST_CONVOLUTION_RED_SCALE_EXT: PixelTransferParameter read _POST_CONVOLUTION_RED_SCALE_EXT; + public static property POST_CONVOLUTION_GREEN_SCALE: PixelTransferParameter read _POST_CONVOLUTION_GREEN_SCALE; + public static property POST_CONVOLUTION_GREEN_SCALE_EXT: PixelTransferParameter read _POST_CONVOLUTION_GREEN_SCALE_EXT; + public static property POST_CONVOLUTION_BLUE_SCALE: PixelTransferParameter read _POST_CONVOLUTION_BLUE_SCALE; + public static property POST_CONVOLUTION_BLUE_SCALE_EXT: PixelTransferParameter read _POST_CONVOLUTION_BLUE_SCALE_EXT; + public static property POST_CONVOLUTION_ALPHA_SCALE: PixelTransferParameter read _POST_CONVOLUTION_ALPHA_SCALE; + public static property POST_CONVOLUTION_ALPHA_SCALE_EXT: PixelTransferParameter read _POST_CONVOLUTION_ALPHA_SCALE_EXT; + public static property POST_CONVOLUTION_RED_BIAS: PixelTransferParameter read _POST_CONVOLUTION_RED_BIAS; + public static property POST_CONVOLUTION_RED_BIAS_EXT: PixelTransferParameter read _POST_CONVOLUTION_RED_BIAS_EXT; + public static property POST_CONVOLUTION_GREEN_BIAS: PixelTransferParameter read _POST_CONVOLUTION_GREEN_BIAS; + public static property POST_CONVOLUTION_GREEN_BIAS_EXT: PixelTransferParameter read _POST_CONVOLUTION_GREEN_BIAS_EXT; + public static property POST_CONVOLUTION_BLUE_BIAS: PixelTransferParameter read _POST_CONVOLUTION_BLUE_BIAS; + public static property POST_CONVOLUTION_BLUE_BIAS_EXT: PixelTransferParameter read _POST_CONVOLUTION_BLUE_BIAS_EXT; + public static property POST_CONVOLUTION_ALPHA_BIAS: PixelTransferParameter read _POST_CONVOLUTION_ALPHA_BIAS; + public static property POST_CONVOLUTION_ALPHA_BIAS_EXT: PixelTransferParameter read _POST_CONVOLUTION_ALPHA_BIAS_EXT; + public static property POST_COLOR_MATRIX_RED_SCALE: PixelTransferParameter read _POST_COLOR_MATRIX_RED_SCALE; + public static property POST_COLOR_MATRIX_RED_SCALE_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_RED_SCALE_SGI; + public static property POST_COLOR_MATRIX_GREEN_SCALE: PixelTransferParameter read _POST_COLOR_MATRIX_GREEN_SCALE; + public static property POST_COLOR_MATRIX_GREEN_SCALE_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_GREEN_SCALE_SGI; + public static property POST_COLOR_MATRIX_BLUE_SCALE: PixelTransferParameter read _POST_COLOR_MATRIX_BLUE_SCALE; + public static property POST_COLOR_MATRIX_BLUE_SCALE_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_BLUE_SCALE_SGI; + public static property POST_COLOR_MATRIX_ALPHA_SCALE: PixelTransferParameter read _POST_COLOR_MATRIX_ALPHA_SCALE; + public static property POST_COLOR_MATRIX_ALPHA_SCALE_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_ALPHA_SCALE_SGI; + public static property POST_COLOR_MATRIX_RED_BIAS: PixelTransferParameter read _POST_COLOR_MATRIX_RED_BIAS; + public static property POST_COLOR_MATRIX_RED_BIAS_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_RED_BIAS_SGI; + public static property POST_COLOR_MATRIX_GREEN_BIAS: PixelTransferParameter read _POST_COLOR_MATRIX_GREEN_BIAS; + public static property POST_COLOR_MATRIX_GREEN_BIAS_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_GREEN_BIAS_SGI; + public static property POST_COLOR_MATRIX_BLUE_BIAS: PixelTransferParameter read _POST_COLOR_MATRIX_BLUE_BIAS; + public static property POST_COLOR_MATRIX_BLUE_BIAS_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_BLUE_BIAS_SGI; + public static property POST_COLOR_MATRIX_ALPHA_BIAS: PixelTransferParameter read _POST_COLOR_MATRIX_ALPHA_BIAS; + public static property POST_COLOR_MATRIX_ALPHA_BIAS_SGI: PixelTransferParameter read _POST_COLOR_MATRIX_ALPHA_BIAS_SGI; + + public function ToString: string; override; + begin + var res := typeof(PixelTransferParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelTransferParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new PixelType($1400); + private static _UNSIGNED_BYTE := new PixelType($1401); + private static _SHORT := new PixelType($1402); + private static _UNSIGNED_SHORT := new PixelType($1403); + private static _INT := new PixelType($1404); + private static _UNSIGNED_INT := new PixelType($1405); + private static _FLOAT := new PixelType($1406); + private static _BITMAP := new PixelType($1A00); + private static _UNSIGNED_BYTE_3_3_2 := new PixelType($8032); + private static _UNSIGNED_BYTE_3_3_2_EXT := new PixelType($8032); + private static _UNSIGNED_SHORT_4_4_4_4 := new PixelType($8033); + private static _UNSIGNED_SHORT_4_4_4_4_EXT := new PixelType($8033); + private static _UNSIGNED_SHORT_5_5_5_1 := new PixelType($8034); + private static _UNSIGNED_SHORT_5_5_5_1_EXT := new PixelType($8034); + private static _UNSIGNED_INT_8_8_8_8 := new PixelType($8035); + private static _UNSIGNED_INT_8_8_8_8_EXT := new PixelType($8035); + private static _UNSIGNED_INT_10_10_10_2 := new PixelType($8036); + private static _UNSIGNED_INT_10_10_10_2_EXT := new PixelType($8036); + + public static property BYTE: PixelType read _BYTE; + public static property UNSIGNED_BYTE: PixelType read _UNSIGNED_BYTE; + public static property SHORT: PixelType read _SHORT; + public static property UNSIGNED_SHORT: PixelType read _UNSIGNED_SHORT; + public static property INT: PixelType read _INT; + public static property UNSIGNED_INT: PixelType read _UNSIGNED_INT; + public static property FLOAT: PixelType read _FLOAT; + public static property BITMAP: PixelType read _BITMAP; + public static property UNSIGNED_BYTE_3_3_2: PixelType read _UNSIGNED_BYTE_3_3_2; + public static property UNSIGNED_BYTE_3_3_2_EXT: PixelType read _UNSIGNED_BYTE_3_3_2_EXT; + public static property UNSIGNED_SHORT_4_4_4_4: PixelType read _UNSIGNED_SHORT_4_4_4_4; + public static property UNSIGNED_SHORT_4_4_4_4_EXT: PixelType read _UNSIGNED_SHORT_4_4_4_4_EXT; + public static property UNSIGNED_SHORT_5_5_5_1: PixelType read _UNSIGNED_SHORT_5_5_5_1; + public static property UNSIGNED_SHORT_5_5_5_1_EXT: PixelType read _UNSIGNED_SHORT_5_5_5_1_EXT; + public static property UNSIGNED_INT_8_8_8_8: PixelType read _UNSIGNED_INT_8_8_8_8; + public static property UNSIGNED_INT_8_8_8_8_EXT: PixelType read _UNSIGNED_INT_8_8_8_8_EXT; + public static property UNSIGNED_INT_10_10_10_2: PixelType read _UNSIGNED_INT_10_10_10_2; + public static property UNSIGNED_INT_10_10_10_2_EXT: PixelType read _UNSIGNED_INT_10_10_10_2_EXT; + + public function ToString: string; override; + begin + var res := typeof(PixelType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PolygonMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _POINT := new PolygonMode($1B00); + private static _LINE := new PolygonMode($1B01); + private static _FILL := new PolygonMode($1B02); + + public static property POINT: PolygonMode read _POINT; + public static property LINE: PolygonMode read _LINE; + public static property FILL: PolygonMode read _FILL; + + public function ToString: string; override; + begin + var res := typeof(PolygonMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PolygonMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PrecisionType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _LOW_FLOAT := new PrecisionType($8DF0); + private static _MEDIUM_FLOAT := new PrecisionType($8DF1); + private static _HIGH_FLOAT := new PrecisionType($8DF2); + private static _LOW_INT := new PrecisionType($8DF3); + private static _MEDIUM_INT := new PrecisionType($8DF4); + private static _HIGH_INT := new PrecisionType($8DF5); + + public static property LOW_FLOAT: PrecisionType read _LOW_FLOAT; + public static property MEDIUM_FLOAT: PrecisionType read _MEDIUM_FLOAT; + public static property HIGH_FLOAT: PrecisionType read _HIGH_FLOAT; + public static property LOW_INT: PrecisionType read _LOW_INT; + public static property MEDIUM_INT: PrecisionType read _MEDIUM_INT; + public static property HIGH_INT: PrecisionType read _HIGH_INT; + + public function ToString: string; override; + begin + var res := typeof(PrecisionType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PrecisionType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S PrimitiveType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property POINTS: PrimitiveType read new PrimitiveType($0000); + private static _POINTS := new PrimitiveType($0000); + private static _LINES := new PrimitiveType($0001); + private static _LINE_LOOP := new PrimitiveType($0002); + private static _LINE_STRIP := new PrimitiveType($0003); + private static _TRIANGLES := new PrimitiveType($0004); + private static _TRIANGLE_STRIP := new PrimitiveType($0005); + private static _TRIANGLE_FAN := new PrimitiveType($0006); + private static _QUADS := new PrimitiveType($0007); + private static _QUADS_EXT := new PrimitiveType($0007); + private static _QUAD_STRIP := new PrimitiveType($0008); + private static _POLYGON := new PrimitiveType($0009); + private static _LINES_ADJACENCY := new PrimitiveType($000A); + private static _LINES_ADJACENCY_ARB := new PrimitiveType($000A); + private static _LINES_ADJACENCY_EXT := new PrimitiveType($000A); + private static _LINE_STRIP_ADJACENCY := new PrimitiveType($000B); + private static _LINE_STRIP_ADJACENCY_ARB := new PrimitiveType($000B); + private static _LINE_STRIP_ADJACENCY_EXT := new PrimitiveType($000B); + private static _TRIANGLES_ADJACENCY := new PrimitiveType($000C); + private static _TRIANGLES_ADJACENCY_ARB := new PrimitiveType($000C); + private static _TRIANGLES_ADJACENCY_EXT := new PrimitiveType($000C); + private static _TRIANGLE_STRIP_ADJACENCY := new PrimitiveType($000D); + private static _TRIANGLE_STRIP_ADJACENCY_ARB := new PrimitiveType($000D); + private static _TRIANGLE_STRIP_ADJACENCY_EXT := new PrimitiveType($000D); + private static _PATCHES := new PrimitiveType($000E); + private static _PATCHES_EXT := new PrimitiveType($000E); - public static property LINES: PrimitiveType read new PrimitiveType($0001); - public static property LINE_LOOP: PrimitiveType read new PrimitiveType($0002); - public static property LINE_STRIP: PrimitiveType read new PrimitiveType($0003); - public static property LINES_ADJACENCY: PrimitiveType read new PrimitiveType($000A); - public static property LINE_STRIP_ADJACENCY: PrimitiveType read new PrimitiveType($000B); + public static property POINTS: PrimitiveType read _POINTS; + public static property LINES: PrimitiveType read _LINES; + public static property LINE_LOOP: PrimitiveType read _LINE_LOOP; + public static property LINE_STRIP: PrimitiveType read _LINE_STRIP; + public static property TRIANGLES: PrimitiveType read _TRIANGLES; + public static property TRIANGLE_STRIP: PrimitiveType read _TRIANGLE_STRIP; + public static property TRIANGLE_FAN: PrimitiveType read _TRIANGLE_FAN; + public static property QUADS: PrimitiveType read _QUADS; + public static property QUADS_EXT: PrimitiveType read _QUADS_EXT; + public static property QUAD_STRIP: PrimitiveType read _QUAD_STRIP; + public static property POLYGON: PrimitiveType read _POLYGON; + public static property LINES_ADJACENCY: PrimitiveType read _LINES_ADJACENCY; + public static property LINES_ADJACENCY_ARB: PrimitiveType read _LINES_ADJACENCY_ARB; + public static property LINES_ADJACENCY_EXT: PrimitiveType read _LINES_ADJACENCY_EXT; + public static property LINE_STRIP_ADJACENCY: PrimitiveType read _LINE_STRIP_ADJACENCY; + public static property LINE_STRIP_ADJACENCY_ARB: PrimitiveType read _LINE_STRIP_ADJACENCY_ARB; + public static property LINE_STRIP_ADJACENCY_EXT: PrimitiveType read _LINE_STRIP_ADJACENCY_EXT; + public static property TRIANGLES_ADJACENCY: PrimitiveType read _TRIANGLES_ADJACENCY; + public static property TRIANGLES_ADJACENCY_ARB: PrimitiveType read _TRIANGLES_ADJACENCY_ARB; + public static property TRIANGLES_ADJACENCY_EXT: PrimitiveType read _TRIANGLES_ADJACENCY_EXT; + public static property TRIANGLE_STRIP_ADJACENCY: PrimitiveType read _TRIANGLE_STRIP_ADJACENCY; + public static property TRIANGLE_STRIP_ADJACENCY_ARB: PrimitiveType read _TRIANGLE_STRIP_ADJACENCY_ARB; + public static property TRIANGLE_STRIP_ADJACENCY_EXT: PrimitiveType read _TRIANGLE_STRIP_ADJACENCY_EXT; + public static property PATCHES: PrimitiveType read _PATCHES; + public static property PATCHES_EXT: PrimitiveType read _PATCHES_EXT; - public static property TRIANGLES: PrimitiveType read new PrimitiveType($0004); - public static property TRIANGLE_STRIP: PrimitiveType read new PrimitiveType($0005); - public static property TRIANGLE_FAN: PrimitiveType read new PrimitiveType($0006); - public static property TRIANGLES_ADJACENCY: PrimitiveType read new PrimitiveType($000C); - public static property TRIANGLE_STRIP_ADJACENCY: PrimitiveType read new PrimitiveType($000D); - - public static property PATCHES: PrimitiveType read new PrimitiveType($000E); + public function ToString: string; override; + begin + var res := typeof(PrimitiveType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PrimitiveType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - FramebufferAttachmentInfoType = record + ProgramFormat = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property OBJECT_TYPE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8CD0); // FramebufferAttachmentObjectType + private static _PROGRAM_FORMAT_ASCII_ARB := new ProgramFormat($8875); - // non- NONE - public static property OBJECT_NAME: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8CD1); // UInt32 - public static property RED_SIZE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8212); // Int32 - public static property GREEN_SIZE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8213); // Int32 - public static property BLUE_SIZE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8214); // Int32 - public static property ALPHA_SIZE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8215); // Int32 - public static property DEPTH_SIZE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8216); // Int32 - public static property STENCIL_SIZE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8217); // Int32 - public static property COMPONENT_TYPE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8211); // Int32 - public static property COLOR_ENCODING: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8210); // Int32 + public static property PROGRAM_FORMAT_ASCII_ARB: ProgramFormat read _PROGRAM_FORMAT_ASCII_ARB; - // TEXTURE - public static property TEXTURE_LEVEL: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8CD2); // Int32 - public static property TEXTURE_CUBE_MAP_FACE: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8CD3); // Int32 - public static property LAYERED: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8DA7); // 32-битное boolean (Int32, 0=False, остальное=True) - public static property TEXTURE_LAYER: FramebufferAttachmentInfoType read new FramebufferAttachmentInfoType($8CD4); // Int32 + public function ToString: string; override; + begin + var res := typeof(ProgramFormat).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramFormat[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - FramebufferInfoType = record + ProgramInterface = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property WIDTH: FramebufferInfoType read new FramebufferInfoType($9310); - public static property HEIGHT: FramebufferInfoType read new FramebufferInfoType($9311); - public static property LAYERS: FramebufferInfoType read new FramebufferInfoType($9312); - public static property SAMPLES: FramebufferInfoType read new FramebufferInfoType($9313); - public static property FIXED_SAMPLE_LOCATIONS: FramebufferInfoType read new FramebufferInfoType($9314); + private static _TRANSFORM_FEEDBACK_BUFFER := new ProgramInterface($8C8E); + private static _UNIFORM := new ProgramInterface($92E1); + private static _UNIFORM_BLOCK := new ProgramInterface($92E2); + private static _PROGRAM_INPUT := new ProgramInterface($92E3); + private static _PROGRAM_OUTPUT := new ProgramInterface($92E4); + private static _BUFFER_VARIABLE := new ProgramInterface($92E5); + private static _SHADER_STORAGE_BLOCK := new ProgramInterface($92E6); + private static _VERTEX_SUBROUTINE := new ProgramInterface($92E8); + private static _TESS_CONTROL_SUBROUTINE := new ProgramInterface($92E9); + private static _TESS_EVALUATION_SUBROUTINE := new ProgramInterface($92EA); + private static _GEOMETRY_SUBROUTINE := new ProgramInterface($92EB); + private static _FRAGMENT_SUBROUTINE := new ProgramInterface($92EC); + private static _COMPUTE_SUBROUTINE := new ProgramInterface($92ED); + private static _VERTEX_SUBROUTINE_UNIFORM := new ProgramInterface($92EE); + private static _TESS_CONTROL_SUBROUTINE_UNIFORM := new ProgramInterface($92EF); + private static _TESS_EVALUATION_SUBROUTINE_UNIFORM := new ProgramInterface($92F0); + private static _GEOMETRY_SUBROUTINE_UNIFORM := new ProgramInterface($92F1); + private static _FRAGMENT_SUBROUTINE_UNIFORM := new ProgramInterface($92F2); + private static _COMPUTE_SUBROUTINE_UNIFORM := new ProgramInterface($92F3); + private static _TRANSFORM_FEEDBACK_VARYING := new ProgramInterface($92F4); + + public static property TRANSFORM_FEEDBACK_BUFFER: ProgramInterface read _TRANSFORM_FEEDBACK_BUFFER; + public static property UNIFORM: ProgramInterface read _UNIFORM; + public static property UNIFORM_BLOCK: ProgramInterface read _UNIFORM_BLOCK; + public static property PROGRAM_INPUT: ProgramInterface read _PROGRAM_INPUT; + public static property PROGRAM_OUTPUT: ProgramInterface read _PROGRAM_OUTPUT; + public static property BUFFER_VARIABLE: ProgramInterface read _BUFFER_VARIABLE; + public static property SHADER_STORAGE_BLOCK: ProgramInterface read _SHADER_STORAGE_BLOCK; + public static property VERTEX_SUBROUTINE: ProgramInterface read _VERTEX_SUBROUTINE; + public static property TESS_CONTROL_SUBROUTINE: ProgramInterface read _TESS_CONTROL_SUBROUTINE; + public static property TESS_EVALUATION_SUBROUTINE: ProgramInterface read _TESS_EVALUATION_SUBROUTINE; + public static property GEOMETRY_SUBROUTINE: ProgramInterface read _GEOMETRY_SUBROUTINE; + public static property FRAGMENT_SUBROUTINE: ProgramInterface read _FRAGMENT_SUBROUTINE; + public static property COMPUTE_SUBROUTINE: ProgramInterface read _COMPUTE_SUBROUTINE; + public static property VERTEX_SUBROUTINE_UNIFORM: ProgramInterface read _VERTEX_SUBROUTINE_UNIFORM; + public static property TESS_CONTROL_SUBROUTINE_UNIFORM: ProgramInterface read _TESS_CONTROL_SUBROUTINE_UNIFORM; + public static property TESS_EVALUATION_SUBROUTINE_UNIFORM: ProgramInterface read _TESS_EVALUATION_SUBROUTINE_UNIFORM; + public static property GEOMETRY_SUBROUTINE_UNIFORM: ProgramInterface read _GEOMETRY_SUBROUTINE_UNIFORM; + public static property FRAGMENT_SUBROUTINE_UNIFORM: ProgramInterface read _FRAGMENT_SUBROUTINE_UNIFORM; + public static property COMPUTE_SUBROUTINE_UNIFORM: ProgramInterface read _COMPUTE_SUBROUTINE_UNIFORM; + public static property TRANSFORM_FEEDBACK_VARYING: ProgramInterface read _TRANSFORM_FEEDBACK_VARYING; + + public function ToString: string; override; + begin + var res := typeof(ProgramInterface).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramInterface[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - FramebufferBindTarget = record + ProgramInterfacePName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property READ_FRAMEBUFFER: FramebufferBindTarget read new FramebufferBindTarget($8CA8); - public static property DRAW_FRAMEBUFFER: FramebufferBindTarget read new FramebufferBindTarget($8CA9); - public static property FRAMEBUFFER: FramebufferBindTarget read new FramebufferBindTarget($8D40); + private static _ACTIVE_RESOURCES := new ProgramInterfacePName($92F5); + private static _MAX_NAME_LENGTH := new ProgramInterfacePName($92F6); + private static _MAX_NUM_ACTIVE_VARIABLES := new ProgramInterfacePName($92F7); + private static _MAX_NUM_COMPATIBLE_SUBROUTINES := new ProgramInterfacePName($92F8); + + public static property ACTIVE_RESOURCES: ProgramInterfacePName read _ACTIVE_RESOURCES; + public static property MAX_NAME_LENGTH: ProgramInterfacePName read _MAX_NAME_LENGTH; + public static property MAX_NUM_ACTIVE_VARIABLES: ProgramInterfacePName read _MAX_NUM_ACTIVE_VARIABLES; + public static property MAX_NUM_COMPATIBLE_SUBROUTINES: ProgramInterfacePName read _MAX_NUM_COMPATIBLE_SUBROUTINES; + + public function ToString: string; override; + begin + var res := typeof(ProgramInterfacePName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramInterfacePName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TextureCubeSide = record + ProgramParameterPName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property POSITIVE_X: TextureCubeSide read new TextureCubeSide($8515); - public static property NEGATIVE_X: TextureCubeSide read new TextureCubeSide($8516); - public static property POSITIVE_Y: TextureCubeSide read new TextureCubeSide($8517); - public static property NEGATIVE_Y: TextureCubeSide read new TextureCubeSide($8518); - public static property POSITIVE_Z: TextureCubeSide read new TextureCubeSide($8519); - public static property NEGATIVE_Z: TextureCubeSide read new TextureCubeSide($851A); + private static _PROGRAM_BINARY_RETRIEVABLE_HINT := new ProgramParameterPName($8257); + private static _PROGRAM_SEPARABLE := new ProgramParameterPName($8258); + + public static property PROGRAM_BINARY_RETRIEVABLE_HINT: ProgramParameterPName read _PROGRAM_BINARY_RETRIEVABLE_HINT; + public static property PROGRAM_SEPARABLE: ProgramParameterPName read _PROGRAM_SEPARABLE; + + public function ToString: string; override; + begin + var res := typeof(ProgramParameterPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramParameterPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - RenderbufferBindTarget = record + ProgramResourceProperty = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property RENDERBUFFER: RenderbufferBindTarget read new RenderbufferBindTarget($8D41); + private static _NUM_COMPATIBLE_SUBROUTINES := new ProgramResourceProperty($8E4A); + private static _COMPATIBLE_SUBROUTINES := new ProgramResourceProperty($8E4B); + private static _UNIFORM := new ProgramResourceProperty($92E1); + private static _IS_PER_PATCH := new ProgramResourceProperty($92E7); + private static _NAME_LENGTH := new ProgramResourceProperty($92F9); + private static _TYPE := new ProgramResourceProperty($92FA); + private static _ARRAY_SIZE := new ProgramResourceProperty($92FB); + private static _OFFSET := new ProgramResourceProperty($92FC); + private static _BLOCK_INDEX := new ProgramResourceProperty($92FD); + private static _ARRAY_STRIDE := new ProgramResourceProperty($92FE); + private static _MATRIX_STRIDE := new ProgramResourceProperty($92FF); + private static _IS_ROW_MAJOR := new ProgramResourceProperty($9300); + private static _ATOMIC_COUNTER_BUFFER_INDEX := new ProgramResourceProperty($9301); + private static _BUFFER_BINDING := new ProgramResourceProperty($9302); + private static _BUFFER_DATA_SIZE := new ProgramResourceProperty($9303); + private static _NUM_ACTIVE_VARIABLES := new ProgramResourceProperty($9304); + private static _ACTIVE_VARIABLES := new ProgramResourceProperty($9305); + private static _REFERENCED_BY_VERTEX_SHADER := new ProgramResourceProperty($9306); + private static _REFERENCED_BY_TESS_CONTROL_SHADER := new ProgramResourceProperty($9307); + private static _REFERENCED_BY_TESS_EVALUATION_SHADER := new ProgramResourceProperty($9308); + private static _REFERENCED_BY_GEOMETRY_SHADER := new ProgramResourceProperty($9309); + private static _REFERENCED_BY_FRAGMENT_SHADER := new ProgramResourceProperty($930A); + private static _REFERENCED_BY_COMPUTE_SHADER := new ProgramResourceProperty($930B); + private static _TOP_LEVEL_ARRAY_SIZE := new ProgramResourceProperty($930C); + private static _TOP_LEVEL_ARRAY_STRIDE := new ProgramResourceProperty($930D); + private static _LOCATION := new ProgramResourceProperty($930E); + private static _LOCATION_INDEX := new ProgramResourceProperty($930F); + private static _LOCATION_COMPONENT := new ProgramResourceProperty($934A); + private static _TRANSFORM_FEEDBACK_BUFFER_INDEX := new ProgramResourceProperty($934B); + private static _TRANSFORM_FEEDBACK_BUFFER_STRIDE := new ProgramResourceProperty($934C); + + public static property NUM_COMPATIBLE_SUBROUTINES: ProgramResourceProperty read _NUM_COMPATIBLE_SUBROUTINES; + public static property COMPATIBLE_SUBROUTINES: ProgramResourceProperty read _COMPATIBLE_SUBROUTINES; + public static property UNIFORM: ProgramResourceProperty read _UNIFORM; + public static property IS_PER_PATCH: ProgramResourceProperty read _IS_PER_PATCH; + public static property NAME_LENGTH: ProgramResourceProperty read _NAME_LENGTH; + public static property &TYPE: ProgramResourceProperty read _TYPE; + public static property ARRAY_SIZE: ProgramResourceProperty read _ARRAY_SIZE; + public static property OFFSET: ProgramResourceProperty read _OFFSET; + public static property BLOCK_INDEX: ProgramResourceProperty read _BLOCK_INDEX; + public static property ARRAY_STRIDE: ProgramResourceProperty read _ARRAY_STRIDE; + public static property MATRIX_STRIDE: ProgramResourceProperty read _MATRIX_STRIDE; + public static property IS_ROW_MAJOR: ProgramResourceProperty read _IS_ROW_MAJOR; + public static property ATOMIC_COUNTER_BUFFER_INDEX: ProgramResourceProperty read _ATOMIC_COUNTER_BUFFER_INDEX; + public static property BUFFER_BINDING: ProgramResourceProperty read _BUFFER_BINDING; + public static property BUFFER_DATA_SIZE: ProgramResourceProperty read _BUFFER_DATA_SIZE; + public static property NUM_ACTIVE_VARIABLES: ProgramResourceProperty read _NUM_ACTIVE_VARIABLES; + public static property ACTIVE_VARIABLES: ProgramResourceProperty read _ACTIVE_VARIABLES; + public static property REFERENCED_BY_VERTEX_SHADER: ProgramResourceProperty read _REFERENCED_BY_VERTEX_SHADER; + public static property REFERENCED_BY_TESS_CONTROL_SHADER: ProgramResourceProperty read _REFERENCED_BY_TESS_CONTROL_SHADER; + public static property REFERENCED_BY_TESS_EVALUATION_SHADER: ProgramResourceProperty read _REFERENCED_BY_TESS_EVALUATION_SHADER; + public static property REFERENCED_BY_GEOMETRY_SHADER: ProgramResourceProperty read _REFERENCED_BY_GEOMETRY_SHADER; + public static property REFERENCED_BY_FRAGMENT_SHADER: ProgramResourceProperty read _REFERENCED_BY_FRAGMENT_SHADER; + public static property REFERENCED_BY_COMPUTE_SHADER: ProgramResourceProperty read _REFERENCED_BY_COMPUTE_SHADER; + public static property TOP_LEVEL_ARRAY_SIZE: ProgramResourceProperty read _TOP_LEVEL_ARRAY_SIZE; + public static property TOP_LEVEL_ARRAY_STRIDE: ProgramResourceProperty read _TOP_LEVEL_ARRAY_STRIDE; + public static property LOCATION: ProgramResourceProperty read _LOCATION; + public static property LOCATION_INDEX: ProgramResourceProperty read _LOCATION_INDEX; + public static property LOCATION_COMPONENT: ProgramResourceProperty read _LOCATION_COMPONENT; + public static property TRANSFORM_FEEDBACK_BUFFER_INDEX: ProgramResourceProperty read _TRANSFORM_FEEDBACK_BUFFER_INDEX; + public static property TRANSFORM_FEEDBACK_BUFFER_STRIDE: ProgramResourceProperty read _TRANSFORM_FEEDBACK_BUFFER_STRIDE; + + public function ToString: string; override; + begin + var res := typeof(ProgramResourceProperty).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramResourceProperty[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - AccessType = record + ProgramStagePName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property READ_ONLY: AccessType read new AccessType($88B8); - public static property WRITE_ONLY: AccessType read new AccessType($88B9); - public static property READ_WRITE: AccessType read new AccessType($88BA); + private static _ACTIVE_SUBROUTINES := new ProgramStagePName($8DE5); + private static _ACTIVE_SUBROUTINE_UNIFORMS := new ProgramStagePName($8DE6); + private static _ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS := new ProgramStagePName($8E47); + private static _ACTIVE_SUBROUTINE_MAX_LENGTH := new ProgramStagePName($8E48); + private static _ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH := new ProgramStagePName($8E49); + + public static property ACTIVE_SUBROUTINES: ProgramStagePName read _ACTIVE_SUBROUTINES; + public static property ACTIVE_SUBROUTINE_UNIFORMS: ProgramStagePName read _ACTIVE_SUBROUTINE_UNIFORMS; + public static property ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS: ProgramStagePName read _ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS; + public static property ACTIVE_SUBROUTINE_MAX_LENGTH: ProgramStagePName read _ACTIVE_SUBROUTINE_MAX_LENGTH; + public static property ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH: ProgramStagePName read _ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH; + + public function ToString: string; override; + begin + var res := typeof(ProgramStagePName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramStagePName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TextureInfoType = record + ProgramStringProperty = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property DEPTH_STENCIL_TEXTURE_MODE: TextureInfoType read new TextureInfoType($90EA); - public static property BASE_LEVEL: TextureInfoType read new TextureInfoType($813C); - public static property BORDER_COLOR: TextureInfoType read new TextureInfoType($1004); - public static property COMPARE_MODE: TextureInfoType read new TextureInfoType($884C); - public static property COMPARE_FUNC: TextureInfoType read new TextureInfoType($884D); - public static property LOD_BIAS: TextureInfoType read new TextureInfoType($8501); - public static property MAG_FILTER: TextureInfoType read new TextureInfoType($2800); - public static property MAX_ANISOTROPY: TextureInfoType read new TextureInfoType($84FE); - public static property MAX_LEVEL: TextureInfoType read new TextureInfoType($813D); - public static property MAX_LOD: TextureInfoType read new TextureInfoType($813B); - public static property MIN_FILTER: TextureInfoType read new TextureInfoType($2801); - public static property MIN_LOD: TextureInfoType read new TextureInfoType($813A); - public static property SWIZZLE_R: TextureInfoType read new TextureInfoType($8E42); - public static property SWIZZLE_G: TextureInfoType read new TextureInfoType($8E43); - public static property SWIZZLE_B: TextureInfoType read new TextureInfoType($8E44); - public static property SWIZZLE_A: TextureInfoType read new TextureInfoType($8E45); - public static property SWIZZLE_RGBA: TextureInfoType read new TextureInfoType($8E46); - public static property WRAP_S: TextureInfoType read new TextureInfoType($2802); - public static property WRAP_T: TextureInfoType read new TextureInfoType($2803); - public static property WRAP_R: TextureInfoType read new TextureInfoType($8072); + private static _PROGRAM_STRING_ARB := new ProgramStringProperty($8628); + + public static property PROGRAM_STRING_ARB: ProgramStringProperty read _PROGRAM_STRING_ARB; + + public function ToString: string; override; + begin + var res := typeof(ProgramStringProperty).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramStringProperty[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - PixelInfoType = record + ProgramTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property UNPACK_SWAP_BYTES: PixelInfoType read new PixelInfoType($0CF0); - public static property UNPACK_LSB_FIRST: PixelInfoType read new PixelInfoType($0CF1); - public static property UNPACK_ROW_LENGTH: PixelInfoType read new PixelInfoType($0CF2); - public static property UNPACK_SKIP_ROWS: PixelInfoType read new PixelInfoType($0CF3); - public static property UNPACK_SKIP_PIXELS: PixelInfoType read new PixelInfoType($0CF4); - public static property UNPACK_ALIGNMENT: PixelInfoType read new PixelInfoType($0CF5); - public static property UNPACK_IMAGE_HEIGHT: PixelInfoType read new PixelInfoType($806E); - public static property UNPACK_SKIP_IMAGES: PixelInfoType read new PixelInfoType($806D); - public static property UNPACK_COMPRESSED_BLOCK_WIDTH: PixelInfoType read new PixelInfoType($9127); - public static property UNPACK_COMPRESSED_BLOCK_HEIGHT: PixelInfoType read new PixelInfoType($9128); - public static property UNPACK_COMPRESSED_BLOCK_DEPTH: PixelInfoType read new PixelInfoType($9129); - public static property UNPACK_COMPRESSED_BLOCK_SIZE: PixelInfoType read new PixelInfoType($912A); - public static property PACK_SWAP_BYTES: PixelInfoType read new PixelInfoType($0D00); - public static property PACK_LSB_FIRST: PixelInfoType read new PixelInfoType($0D01); - public static property PACK_ROW_LENGTH: PixelInfoType read new PixelInfoType($0D02); - public static property PACK_SKIP_ROWS: PixelInfoType read new PixelInfoType($0D03); - public static property PACK_SKIP_PIXELS: PixelInfoType read new PixelInfoType($0D04); - public static property PACK_ALIGNMENT: PixelInfoType read new PixelInfoType($0D05); - public static property PACK_IMAGE_HEIGHT: PixelInfoType read new PixelInfoType($806C); - public static property PACK_SKIP_IMAGES: PixelInfoType read new PixelInfoType($806B); - public static property PACK_COMPRESSED_BLOCK_WIDTH: PixelInfoType read new PixelInfoType($912B); - public static property PACK_COMPRESSED_BLOCK_HEIGHT: PixelInfoType read new PixelInfoType($912C); - public static property PACK_COMPRESSED_BLOCK_DEPTH: PixelInfoType read new PixelInfoType($912D); - public static property PACK_COMPRESSED_BLOCK_SIZE: PixelInfoType read new PixelInfoType($912E); + private static _TEXT_FRAGMENT_SHADER_ATI := new ProgramTarget($8200); + private static _VERTEX_PROGRAM_ARB := new ProgramTarget($8620); + private static _FRAGMENT_PROGRAM_ARB := new ProgramTarget($8804); + private static _TESS_CONTROL_PROGRAM_NV := new ProgramTarget($891E); + private static _TESS_EVALUATION_PROGRAM_NV := new ProgramTarget($891F); + private static _GEOMETRY_PROGRAM_NV := new ProgramTarget($8C26); + private static _COMPUTE_PROGRAM_NV := new ProgramTarget($90FB); + + public static property TEXT_FRAGMENT_SHADER_ATI: ProgramTarget read _TEXT_FRAGMENT_SHADER_ATI; + public static property VERTEX_PROGRAM_ARB: ProgramTarget read _VERTEX_PROGRAM_ARB; + public static property FRAGMENT_PROGRAM_ARB: ProgramTarget read _FRAGMENT_PROGRAM_ARB; + public static property TESS_CONTROL_PROGRAM_NV: ProgramTarget read _TESS_CONTROL_PROGRAM_NV; + public static property TESS_EVALUATION_PROGRAM_NV: ProgramTarget read _TESS_EVALUATION_PROGRAM_NV; + public static property GEOMETRY_PROGRAM_NV: ProgramTarget read _GEOMETRY_PROGRAM_NV; + public static property COMPUTE_PROGRAM_NV: ProgramTarget read _COMPUTE_PROGRAM_NV; + + public function ToString: string; override; + begin + var res := typeof(ProgramTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TextureUnitId = record + QueryCounterTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property Texture[i: integer]: TextureUnitId read new TextureUnitId($84C0+i); + private static _TIMESTAMP := new QueryCounterTarget($8E28); + + public static property TIMESTAMP: QueryCounterTarget read _TIMESTAMP; + + public function ToString: string; override; + begin + var res := typeof(QueryCounterTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'QueryCounterTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - FramebufferAttachmentPoint = record + QueryObjectParameterName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - // custom framebuffer - public static property COLOR_ATTACHMENT[i: integer]: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($8CE0+i); - public static property DEPTH_ATTACHMENT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($8D00); - public static property STENCIL_ATTACHMENT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($8D20); - public static property DEPTH_STENCIL_ATTACHMENT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($821A); + private static _QUERY_TARGET := new QueryObjectParameterName($82EA); + private static _QUERY_RESULT := new QueryObjectParameterName($8866); + private static _QUERY_RESULT_AVAILABLE := new QueryObjectParameterName($8867); + private static _QUERY_RESULT_NO_WAIT := new QueryObjectParameterName($9194); - // default framebuffer - public static property FRONT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($0404); - public static property FRONT_LEFT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($0400); - public static property FRONT_RIGHT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($0401); - public static property BACK: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($0405); - public static property BACK_LEFT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($0402); - public static property BACK_RIGHT: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($0403); - public static property DEPTH: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($1801); - public static property STENCIL: FramebufferAttachmentPoint read new FramebufferAttachmentPoint($1802); + public static property QUERY_TARGET: QueryObjectParameterName read _QUERY_TARGET; + public static property QUERY_RESULT: QueryObjectParameterName read _QUERY_RESULT; + public static property QUERY_RESULT_AVAILABLE: QueryObjectParameterName read _QUERY_RESULT_AVAILABLE; + public static property QUERY_RESULT_NO_WAIT: QueryObjectParameterName read _QUERY_RESULT_NO_WAIT; + + public function ToString: string; override; + begin + var res := typeof(QueryObjectParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'QueryObjectParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - TextureBindTarget = record + QueryParameterName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property T_1D: TextureBindTarget read new TextureBindTarget($0DE0); - public static property T_2D: TextureBindTarget read new TextureBindTarget($0DE1); - public static property T_3D: TextureBindTarget read new TextureBindTarget($806F); - public static property T_1D_ARRAY: TextureBindTarget read new TextureBindTarget($8C18); - public static property T_2D_ARRAY: TextureBindTarget read new TextureBindTarget($8C1A); - public static property T_RECTANGLE: TextureBindTarget read new TextureBindTarget($84F5); - public static property T_BUFFER: TextureBindTarget read new TextureBindTarget($8C2A); - public static property T_CUBE_MAP: TextureBindTarget read new TextureBindTarget($8513); - public static property T_CUBE_MAP_ARRAY: TextureBindTarget read new TextureBindTarget($9009); - public static property T_2D_MULTISAMPLE: TextureBindTarget read new TextureBindTarget($9100); - public static property PROXY_T_2D_MULTISAMPLE: TextureBindTarget read new TextureBindTarget($9101); - public static property T_2D_MULTISAMPLE_ARRAY: TextureBindTarget read new TextureBindTarget($9102); - public static property PROXY_T_2D_MULTISAMPLE_ARRAY: TextureBindTarget read new TextureBindTarget($9103); + private static _QUERY_COUNTER_BITS := new QueryParameterName($8864); + private static _CURRENT_QUERY := new QueryParameterName($8865); + + public static property QUERY_COUNTER_BITS: QueryParameterName read _QUERY_COUNTER_BITS; + public static property CURRENT_QUERY: QueryParameterName read _CURRENT_QUERY; + + public function ToString: string; override; + begin + var res := typeof(QueryParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'QueryParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ShaderPrecisionFormatType = record + QueryTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property LOW_FLOAT: ShaderPrecisionFormatType read new ShaderPrecisionFormatType($8DF0); - public static property MEDIUM_FLOAT: ShaderPrecisionFormatType read new ShaderPrecisionFormatType($8DF1); - public static property HIGH_FLOAT: ShaderPrecisionFormatType read new ShaderPrecisionFormatType($8DF2); - public static property LOW_INT: ShaderPrecisionFormatType read new ShaderPrecisionFormatType($8DF3); - public static property MEDIUM_INT: ShaderPrecisionFormatType read new ShaderPrecisionFormatType($8DF4); - public static property HIGH_INT: ShaderPrecisionFormatType read new ShaderPrecisionFormatType($8DF5); + private static _TRANSFORM_FEEDBACK_OVERFLOW := new QueryTarget($82EC); + private static _VERTICES_SUBMITTED := new QueryTarget($82EE); + private static _PRIMITIVES_SUBMITTED := new QueryTarget($82EF); + private static _VERTEX_SHADER_INVOCATIONS := new QueryTarget($82F0); + private static _TIME_ELAPSED := new QueryTarget($88BF); + private static _SAMPLES_PASSED := new QueryTarget($8914); + private static _ANY_SAMPLES_PASSED := new QueryTarget($8C2F); + private static _PRIMITIVES_GENERATED := new QueryTarget($8C87); + private static _TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN := new QueryTarget($8C88); + private static _ANY_SAMPLES_PASSED_CONSERVATIVE := new QueryTarget($8D6A); + + public static property TRANSFORM_FEEDBACK_OVERFLOW: QueryTarget read _TRANSFORM_FEEDBACK_OVERFLOW; + public static property VERTICES_SUBMITTED: QueryTarget read _VERTICES_SUBMITTED; + public static property PRIMITIVES_SUBMITTED: QueryTarget read _PRIMITIVES_SUBMITTED; + public static property VERTEX_SHADER_INVOCATIONS: QueryTarget read _VERTEX_SHADER_INVOCATIONS; + public static property TIME_ELAPSED: QueryTarget read _TIME_ELAPSED; + public static property SAMPLES_PASSED: QueryTarget read _SAMPLES_PASSED; + public static property ANY_SAMPLES_PASSED: QueryTarget read _ANY_SAMPLES_PASSED; + public static property PRIMITIVES_GENERATED: QueryTarget read _PRIMITIVES_GENERATED; + public static property TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: QueryTarget read _TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN; + public static property ANY_SAMPLES_PASSED_CONSERVATIVE: QueryTarget read _ANY_SAMPLES_PASSED_CONSERVATIVE; + + public function ToString: string; override; + begin + var res := typeof(QueryTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'QueryTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ProgramInterfaceProperty = record + ReadBufferMode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property ACTIVE_VARIABLES: ProgramInterfaceProperty read new ProgramInterfaceProperty($9305); - public static property BUFFER_BINDING: ProgramInterfaceProperty read new ProgramInterfaceProperty($9302); - public static property NUM_ACTIVE_VARIABLES: ProgramInterfaceProperty read new ProgramInterfaceProperty($9304); - public static property ARRAY_SIZE: ProgramInterfaceProperty read new ProgramInterfaceProperty($92FB); - public static property ARRAY_STRIDE: ProgramInterfaceProperty read new ProgramInterfaceProperty($92FE); - public static property BLOCK_INDEX: ProgramInterfaceProperty read new ProgramInterfaceProperty($92FD); - public static property IS_ROW_MAJOR: ProgramInterfaceProperty read new ProgramInterfaceProperty($9300); - public static property MATRIX_STRIDE: ProgramInterfaceProperty read new ProgramInterfaceProperty($92FF); - public static property ATOMIC_COUNTER_BUFFER_INDEX: ProgramInterfaceProperty read new ProgramInterfaceProperty($9301); - public static property BUFFER_DATA_SIZE: ProgramInterfaceProperty read new ProgramInterfaceProperty($9303); - public static property NUM_COMPATIBLE_SUBROUTINES: ProgramInterfaceProperty read new ProgramInterfaceProperty($8E4A); - public static property COMPATIBLE_SUBROUTINES: ProgramInterfaceProperty read new ProgramInterfaceProperty($8E4B); - public static property IS_PER_PATCH: ProgramInterfaceProperty read new ProgramInterfaceProperty($92E7); - public static property LOCATION: ProgramInterfaceProperty read new ProgramInterfaceProperty($930E); - public static property LOCATION_COMPONENT: ProgramInterfaceProperty read new ProgramInterfaceProperty($934A); - public static property LOCATION_INDEX: ProgramInterfaceProperty read new ProgramInterfaceProperty($930F); - public static property NAME_LENGTH: ProgramInterfaceProperty read new ProgramInterfaceProperty($92F9); - public static property OFFSET: ProgramInterfaceProperty read new ProgramInterfaceProperty($92FC); - public static property REFERENCED_BY_VERTEX_SHADER: ProgramInterfaceProperty read new ProgramInterfaceProperty($9306); - public static property REFERENCED_BY_TESS_CONTROL_SHADER: ProgramInterfaceProperty read new ProgramInterfaceProperty($9307); - public static property REFERENCED_BY_TESS_EVALUATION_SHADER: ProgramInterfaceProperty read new ProgramInterfaceProperty($9308); - public static property REFERENCED_BY_GEOMETRY_SHADER: ProgramInterfaceProperty read new ProgramInterfaceProperty($9309); - public static property REFERENCED_BY_FRAGMENT_SHADER: ProgramInterfaceProperty read new ProgramInterfaceProperty($930A); - public static property REFERENCED_BY_COMPUTE_SHADER: ProgramInterfaceProperty read new ProgramInterfaceProperty($930B); - public static property TRANSFORM_FEEDBACK_BUFFER_INDEX: ProgramInterfaceProperty read new ProgramInterfaceProperty($934B); - public static property TRANSFORM_FEEDBACK_BUFFER_STRIDE: ProgramInterfaceProperty read new ProgramInterfaceProperty($934C); - public static property TOP_LEVEL_ARRAY_SIZE: ProgramInterfaceProperty read new ProgramInterfaceProperty($930C); - public static property TOP_LEVEL_ARRAY_STRIDE: ProgramInterfaceProperty read new ProgramInterfaceProperty($930D); - public static property &TYPE: ProgramInterfaceProperty read new ProgramInterfaceProperty($92FA); + private static _NONE := new ReadBufferMode($0000); + private static _NONE_OES := new ReadBufferMode($0000); + private static _FRONT_LEFT := new ReadBufferMode($0400); + private static _FRONT_RIGHT := new ReadBufferMode($0401); + private static _BACK_LEFT := new ReadBufferMode($0402); + private static _BACK_RIGHT := new ReadBufferMode($0403); + private static _FRONT := new ReadBufferMode($0404); + private static _BACK := new ReadBufferMode($0405); + private static _LEFT := new ReadBufferMode($0406); + private static _RIGHT := new ReadBufferMode($0407); + private static _AUX0 := new ReadBufferMode($0409); + private static _AUX1 := new ReadBufferMode($040A); + private static _AUX2 := new ReadBufferMode($040B); + private static _AUX3 := new ReadBufferMode($040C); + private static _COLOR_ATTACHMENT0 := new ReadBufferMode($8CE0); + private static _COLOR_ATTACHMENT1 := new ReadBufferMode($8CE1); + private static _COLOR_ATTACHMENT2 := new ReadBufferMode($8CE2); + private static _COLOR_ATTACHMENT3 := new ReadBufferMode($8CE3); + private static _COLOR_ATTACHMENT4 := new ReadBufferMode($8CE4); + private static _COLOR_ATTACHMENT5 := new ReadBufferMode($8CE5); + private static _COLOR_ATTACHMENT6 := new ReadBufferMode($8CE6); + private static _COLOR_ATTACHMENT7 := new ReadBufferMode($8CE7); + private static _COLOR_ATTACHMENT8 := new ReadBufferMode($8CE8); + private static _COLOR_ATTACHMENT9 := new ReadBufferMode($8CE9); + private static _COLOR_ATTACHMENT10 := new ReadBufferMode($8CEA); + private static _COLOR_ATTACHMENT11 := new ReadBufferMode($8CEB); + private static _COLOR_ATTACHMENT12 := new ReadBufferMode($8CEC); + private static _COLOR_ATTACHMENT13 := new ReadBufferMode($8CED); + private static _COLOR_ATTACHMENT14 := new ReadBufferMode($8CEE); + private static _COLOR_ATTACHMENT15 := new ReadBufferMode($8CEF); -// public static property TEXTURE_BUFFER: read new ProgramInterfaceProperty($8C2A); // типа существует, но это не точно + public static property NONE: ReadBufferMode read _NONE; + public static property NONE_OES: ReadBufferMode read _NONE_OES; + public static property FRONT_LEFT: ReadBufferMode read _FRONT_LEFT; + public static property FRONT_RIGHT: ReadBufferMode read _FRONT_RIGHT; + public static property BACK_LEFT: ReadBufferMode read _BACK_LEFT; + public static property BACK_RIGHT: ReadBufferMode read _BACK_RIGHT; + public static property FRONT: ReadBufferMode read _FRONT; + public static property BACK: ReadBufferMode read _BACK; + public static property LEFT: ReadBufferMode read _LEFT; + public static property RIGHT: ReadBufferMode read _RIGHT; + public static property AUX0: ReadBufferMode read _AUX0; + public static property AUX1: ReadBufferMode read _AUX1; + public static property AUX2: ReadBufferMode read _AUX2; + public static property AUX3: ReadBufferMode read _AUX3; + public static property COLOR_ATTACHMENT0: ReadBufferMode read _COLOR_ATTACHMENT0; + public static property COLOR_ATTACHMENT1: ReadBufferMode read _COLOR_ATTACHMENT1; + public static property COLOR_ATTACHMENT2: ReadBufferMode read _COLOR_ATTACHMENT2; + public static property COLOR_ATTACHMENT3: ReadBufferMode read _COLOR_ATTACHMENT3; + public static property COLOR_ATTACHMENT4: ReadBufferMode read _COLOR_ATTACHMENT4; + public static property COLOR_ATTACHMENT5: ReadBufferMode read _COLOR_ATTACHMENT5; + public static property COLOR_ATTACHMENT6: ReadBufferMode read _COLOR_ATTACHMENT6; + public static property COLOR_ATTACHMENT7: ReadBufferMode read _COLOR_ATTACHMENT7; + public static property COLOR_ATTACHMENT8: ReadBufferMode read _COLOR_ATTACHMENT8; + public static property COLOR_ATTACHMENT9: ReadBufferMode read _COLOR_ATTACHMENT9; + public static property COLOR_ATTACHMENT10: ReadBufferMode read _COLOR_ATTACHMENT10; + public static property COLOR_ATTACHMENT11: ReadBufferMode read _COLOR_ATTACHMENT11; + public static property COLOR_ATTACHMENT12: ReadBufferMode read _COLOR_ATTACHMENT12; + public static property COLOR_ATTACHMENT13: ReadBufferMode read _COLOR_ATTACHMENT13; + public static property COLOR_ATTACHMENT14: ReadBufferMode read _COLOR_ATTACHMENT14; + public static property COLOR_ATTACHMENT15: ReadBufferMode read _COLOR_ATTACHMENT15; + + public function ToString: string; override; + begin + var res := typeof(ReadBufferMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ReadBufferMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ProgramInterfaceInfoType = record + RenderbufferParameterName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property ACTIVE_RESOURCES: ProgramInterfaceInfoType read new ProgramInterfaceInfoType($92F5); - public static property MAX_NAME_LENGTH: ProgramInterfaceInfoType read new ProgramInterfaceInfoType($92F6); - public static property MAX_NUM_ACTIVE_VARIABLES: ProgramInterfaceInfoType read new ProgramInterfaceInfoType($92F7); - public static property MAX_NUM_COMPATIBLE_SUBROUTINES: ProgramInterfaceInfoType read new ProgramInterfaceInfoType($92F8); + private static _RENDERBUFFER_COVERAGE_SAMPLES_NV := new RenderbufferParameterName($8CAB); + private static _RENDERBUFFER_SAMPLES := new RenderbufferParameterName($8CAB); + private static _RENDERBUFFER_SAMPLES_ANGLE := new RenderbufferParameterName($8CAB); + private static _RENDERBUFFER_SAMPLES_APPLE := new RenderbufferParameterName($8CAB); + private static _RENDERBUFFER_SAMPLES_EXT := new RenderbufferParameterName($8CAB); + private static _RENDERBUFFER_SAMPLES_NV := new RenderbufferParameterName($8CAB); + private static _RENDERBUFFER_WIDTH := new RenderbufferParameterName($8D42); + private static _RENDERBUFFER_WIDTH_EXT := new RenderbufferParameterName($8D42); + private static _RENDERBUFFER_WIDTH_OES := new RenderbufferParameterName($8D42); + private static _RENDERBUFFER_HEIGHT := new RenderbufferParameterName($8D43); + private static _RENDERBUFFER_HEIGHT_EXT := new RenderbufferParameterName($8D43); + private static _RENDERBUFFER_HEIGHT_OES := new RenderbufferParameterName($8D43); + private static _RENDERBUFFER_INTERNAL_FORMAT := new RenderbufferParameterName($8D44); + private static _RENDERBUFFER_INTERNAL_FORMAT_EXT := new RenderbufferParameterName($8D44); + private static _RENDERBUFFER_INTERNAL_FORMAT_OES := new RenderbufferParameterName($8D44); + private static _RENDERBUFFER_RED_SIZE := new RenderbufferParameterName($8D50); + private static _RENDERBUFFER_RED_SIZE_EXT := new RenderbufferParameterName($8D50); + private static _RENDERBUFFER_RED_SIZE_OES := new RenderbufferParameterName($8D50); + private static _RENDERBUFFER_GREEN_SIZE := new RenderbufferParameterName($8D51); + private static _RENDERBUFFER_GREEN_SIZE_EXT := new RenderbufferParameterName($8D51); + private static _RENDERBUFFER_GREEN_SIZE_OES := new RenderbufferParameterName($8D51); + private static _RENDERBUFFER_BLUE_SIZE := new RenderbufferParameterName($8D52); + private static _RENDERBUFFER_BLUE_SIZE_EXT := new RenderbufferParameterName($8D52); + private static _RENDERBUFFER_BLUE_SIZE_OES := new RenderbufferParameterName($8D52); + private static _RENDERBUFFER_ALPHA_SIZE := new RenderbufferParameterName($8D53); + private static _RENDERBUFFER_ALPHA_SIZE_EXT := new RenderbufferParameterName($8D53); + private static _RENDERBUFFER_ALPHA_SIZE_OES := new RenderbufferParameterName($8D53); + private static _RENDERBUFFER_DEPTH_SIZE := new RenderbufferParameterName($8D54); + private static _RENDERBUFFER_DEPTH_SIZE_EXT := new RenderbufferParameterName($8D54); + private static _RENDERBUFFER_DEPTH_SIZE_OES := new RenderbufferParameterName($8D54); + private static _RENDERBUFFER_STENCIL_SIZE := new RenderbufferParameterName($8D55); + private static _RENDERBUFFER_STENCIL_SIZE_EXT := new RenderbufferParameterName($8D55); + private static _RENDERBUFFER_STENCIL_SIZE_OES := new RenderbufferParameterName($8D55); + private static _RENDERBUFFER_COLOR_SAMPLES_NV := new RenderbufferParameterName($8E10); + private static _RENDERBUFFER_SAMPLES_IMG := new RenderbufferParameterName($9133); + private static _RENDERBUFFER_STORAGE_SAMPLES_AMD := new RenderbufferParameterName($91B2); + + public static property RENDERBUFFER_COVERAGE_SAMPLES_NV: RenderbufferParameterName read _RENDERBUFFER_COVERAGE_SAMPLES_NV; + public static property RENDERBUFFER_SAMPLES: RenderbufferParameterName read _RENDERBUFFER_SAMPLES; + public static property RENDERBUFFER_SAMPLES_ANGLE: RenderbufferParameterName read _RENDERBUFFER_SAMPLES_ANGLE; + public static property RENDERBUFFER_SAMPLES_APPLE: RenderbufferParameterName read _RENDERBUFFER_SAMPLES_APPLE; + public static property RENDERBUFFER_SAMPLES_EXT: RenderbufferParameterName read _RENDERBUFFER_SAMPLES_EXT; + public static property RENDERBUFFER_SAMPLES_NV: RenderbufferParameterName read _RENDERBUFFER_SAMPLES_NV; + public static property RENDERBUFFER_WIDTH: RenderbufferParameterName read _RENDERBUFFER_WIDTH; + public static property RENDERBUFFER_WIDTH_EXT: RenderbufferParameterName read _RENDERBUFFER_WIDTH_EXT; + public static property RENDERBUFFER_WIDTH_OES: RenderbufferParameterName read _RENDERBUFFER_WIDTH_OES; + public static property RENDERBUFFER_HEIGHT: RenderbufferParameterName read _RENDERBUFFER_HEIGHT; + public static property RENDERBUFFER_HEIGHT_EXT: RenderbufferParameterName read _RENDERBUFFER_HEIGHT_EXT; + public static property RENDERBUFFER_HEIGHT_OES: RenderbufferParameterName read _RENDERBUFFER_HEIGHT_OES; + public static property RENDERBUFFER_INTERNAL_FORMAT: RenderbufferParameterName read _RENDERBUFFER_INTERNAL_FORMAT; + public static property RENDERBUFFER_INTERNAL_FORMAT_EXT: RenderbufferParameterName read _RENDERBUFFER_INTERNAL_FORMAT_EXT; + public static property RENDERBUFFER_INTERNAL_FORMAT_OES: RenderbufferParameterName read _RENDERBUFFER_INTERNAL_FORMAT_OES; + public static property RENDERBUFFER_RED_SIZE: RenderbufferParameterName read _RENDERBUFFER_RED_SIZE; + public static property RENDERBUFFER_RED_SIZE_EXT: RenderbufferParameterName read _RENDERBUFFER_RED_SIZE_EXT; + public static property RENDERBUFFER_RED_SIZE_OES: RenderbufferParameterName read _RENDERBUFFER_RED_SIZE_OES; + public static property RENDERBUFFER_GREEN_SIZE: RenderbufferParameterName read _RENDERBUFFER_GREEN_SIZE; + public static property RENDERBUFFER_GREEN_SIZE_EXT: RenderbufferParameterName read _RENDERBUFFER_GREEN_SIZE_EXT; + public static property RENDERBUFFER_GREEN_SIZE_OES: RenderbufferParameterName read _RENDERBUFFER_GREEN_SIZE_OES; + public static property RENDERBUFFER_BLUE_SIZE: RenderbufferParameterName read _RENDERBUFFER_BLUE_SIZE; + public static property RENDERBUFFER_BLUE_SIZE_EXT: RenderbufferParameterName read _RENDERBUFFER_BLUE_SIZE_EXT; + public static property RENDERBUFFER_BLUE_SIZE_OES: RenderbufferParameterName read _RENDERBUFFER_BLUE_SIZE_OES; + public static property RENDERBUFFER_ALPHA_SIZE: RenderbufferParameterName read _RENDERBUFFER_ALPHA_SIZE; + public static property RENDERBUFFER_ALPHA_SIZE_EXT: RenderbufferParameterName read _RENDERBUFFER_ALPHA_SIZE_EXT; + public static property RENDERBUFFER_ALPHA_SIZE_OES: RenderbufferParameterName read _RENDERBUFFER_ALPHA_SIZE_OES; + public static property RENDERBUFFER_DEPTH_SIZE: RenderbufferParameterName read _RENDERBUFFER_DEPTH_SIZE; + public static property RENDERBUFFER_DEPTH_SIZE_EXT: RenderbufferParameterName read _RENDERBUFFER_DEPTH_SIZE_EXT; + public static property RENDERBUFFER_DEPTH_SIZE_OES: RenderbufferParameterName read _RENDERBUFFER_DEPTH_SIZE_OES; + public static property RENDERBUFFER_STENCIL_SIZE: RenderbufferParameterName read _RENDERBUFFER_STENCIL_SIZE; + public static property RENDERBUFFER_STENCIL_SIZE_EXT: RenderbufferParameterName read _RENDERBUFFER_STENCIL_SIZE_EXT; + public static property RENDERBUFFER_STENCIL_SIZE_OES: RenderbufferParameterName read _RENDERBUFFER_STENCIL_SIZE_OES; + public static property RENDERBUFFER_COLOR_SAMPLES_NV: RenderbufferParameterName read _RENDERBUFFER_COLOR_SAMPLES_NV; + public static property RENDERBUFFER_SAMPLES_IMG: RenderbufferParameterName read _RENDERBUFFER_SAMPLES_IMG; + public static property RENDERBUFFER_STORAGE_SAMPLES_AMD: RenderbufferParameterName read _RENDERBUFFER_STORAGE_SAMPLES_AMD; + + public function ToString: string; override; + begin + var res := typeof(RenderbufferParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'RenderbufferParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ProgramInterfaceType = record + RenderbufferTarget = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92E1); - public static property UNIFORM_BLOCK: ProgramInterfaceType read new ProgramInterfaceType($92E2); - public static property ATOMIC_COUNTER_BUFFER: ProgramInterfaceType read new ProgramInterfaceType($92C0); - public static property PROGRAM_INPUT: ProgramInterfaceType read new ProgramInterfaceType($92E3); - public static property PROGRAM_OUTPUT: ProgramInterfaceType read new ProgramInterfaceType($92E4); - public static property VERTEX_SUBROUTINE: ProgramInterfaceType read new ProgramInterfaceType($92E8); - public static property TESS_CONTROL_SUBROUTINE: ProgramInterfaceType read new ProgramInterfaceType($92E9); - public static property TESS_EVALUATION_SUBROUTINE: ProgramInterfaceType read new ProgramInterfaceType($92EA); - public static property GEOMETRY_SUBROUTINE: ProgramInterfaceType read new ProgramInterfaceType($92EB); - public static property FRAGMENT_SUBROUTINE: ProgramInterfaceType read new ProgramInterfaceType($92EC); - public static property COMPUTE_SUBROUTINE: ProgramInterfaceType read new ProgramInterfaceType($92ED); - public static property VERTEX_SUBROUTINE_UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92EE); - public static property TESS_CONTROL_SUBROUTINE_UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92EF); - public static property TESS_EVALUATION_SUBROUTINE_UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92F0); - public static property GEOMETRY_SUBROUTINE_UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92F1); - public static property FRAGMENT_SUBROUTINE_UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92F2); - public static property COMPUTE_SUBROUTINE_UNIFORM: ProgramInterfaceType read new ProgramInterfaceType($92F3); - public static property TRANSFORM_FEEDBACK_VARYING: ProgramInterfaceType read new ProgramInterfaceType($92F4); - public static property BUFFER_VARIABLE: ProgramInterfaceType read new ProgramInterfaceType($92E5); - public static property SHADER_STORAGE_BLOCK: ProgramInterfaceType read new ProgramInterfaceType($92E6); - public static property TRANSFORM_FEEDBACK_BUFFER: ProgramInterfaceType read new ProgramInterfaceType($8C8E); + private static _RENDERBUFFER := new RenderbufferTarget($8D41); + private static _RENDERBUFFER_OES := new RenderbufferTarget($8D41); + + public static property RENDERBUFFER: RenderbufferTarget read _RENDERBUFFER; + public static property RENDERBUFFER_OES: RenderbufferTarget read _RENDERBUFFER_OES; + + public function ToString: string; override; + begin + var res := typeof(RenderbufferTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'RenderbufferTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S - ProgramParameterType = record + RenderingMode = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property SEPARABLE: ProgramParameterType read new ProgramParameterType($8258); - public static property BINARY_RETRIEVABLE_HINT: ProgramParameterType read new ProgramParameterType($8257); + private static _RENDER := new RenderingMode($1C00); + private static _FEEDBACK := new RenderingMode($1C01); + private static _SELECT := new RenderingMode($1C02); + + public static property RENDER: RenderingMode read _RENDER; + public static property FEEDBACK: RenderingMode read _FEEDBACK; + public static property SELECT: RenderingMode read _SELECT; + + public function ToString: string; override; + begin + var res := typeof(RenderingMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'RenderingMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SamplerParameterF = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_BORDER_COLOR := new SamplerParameterF($1004); + private static _TEXTURE_MIN_LOD := new SamplerParameterF($813A); + private static _TEXTURE_MAX_LOD := new SamplerParameterF($813B); + private static _TEXTURE_MAX_ANISOTROPY := new SamplerParameterF($84FE); + + public static property TEXTURE_BORDER_COLOR: SamplerParameterF read _TEXTURE_BORDER_COLOR; + public static property TEXTURE_MIN_LOD: SamplerParameterF read _TEXTURE_MIN_LOD; + public static property TEXTURE_MAX_LOD: SamplerParameterF read _TEXTURE_MAX_LOD; + public static property TEXTURE_MAX_ANISOTROPY: SamplerParameterF read _TEXTURE_MAX_ANISOTROPY; + + public function ToString: string; override; + begin + var res := typeof(SamplerParameterF).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SamplerParameterF[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SamplerParameterI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_MAG_FILTER := new SamplerParameterI($2800); + private static _TEXTURE_MIN_FILTER := new SamplerParameterI($2801); + private static _TEXTURE_WRAP_S := new SamplerParameterI($2802); + private static _TEXTURE_WRAP_T := new SamplerParameterI($2803); + private static _TEXTURE_WRAP_R := new SamplerParameterI($8072); + private static _TEXTURE_COMPARE_MODE := new SamplerParameterI($884C); + private static _TEXTURE_COMPARE_FUNC := new SamplerParameterI($884D); + + public static property TEXTURE_MAG_FILTER: SamplerParameterI read _TEXTURE_MAG_FILTER; + public static property TEXTURE_MIN_FILTER: SamplerParameterI read _TEXTURE_MIN_FILTER; + public static property TEXTURE_WRAP_S: SamplerParameterI read _TEXTURE_WRAP_S; + public static property TEXTURE_WRAP_T: SamplerParameterI read _TEXTURE_WRAP_T; + public static property TEXTURE_WRAP_R: SamplerParameterI read _TEXTURE_WRAP_R; + public static property TEXTURE_COMPARE_MODE: SamplerParameterI read _TEXTURE_COMPARE_MODE; + public static property TEXTURE_COMPARE_FUNC: SamplerParameterI read _TEXTURE_COMPARE_FUNC; + + public function ToString: string; override; + begin + var res := typeof(SamplerParameterI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SamplerParameterI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ScalarType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNSIGNED_BYTE := new ScalarType($1401); + private static _UNSIGNED_SHORT := new ScalarType($1403); + private static _UNSIGNED_INT := new ScalarType($1405); + + public static property UNSIGNED_BYTE: ScalarType read _UNSIGNED_BYTE; + public static property UNSIGNED_SHORT: ScalarType read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: ScalarType read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(ScalarType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ScalarType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SemaphoreParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _D3D12_FENCE_VALUE_EXT := new SemaphoreParameterName($9595); + + public static property D3D12_FENCE_VALUE_EXT: SemaphoreParameterName read _D3D12_FENCE_VALUE_EXT; + + public function ToString: string; override; + begin + var res := typeof(SemaphoreParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SemaphoreParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ShaderParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SHADER_TYPE := new ShaderParameterName($8B4F); + private static _DELETE_STATUS := new ShaderParameterName($8B80); + private static _COMPILE_STATUS := new ShaderParameterName($8B81); + private static _INFO_LOG_LENGTH := new ShaderParameterName($8B84); + private static _SHADER_SOURCE_LENGTH := new ShaderParameterName($8B88); + + public static property SHADER_TYPE: ShaderParameterName read _SHADER_TYPE; + public static property DELETE_STATUS: ShaderParameterName read _DELETE_STATUS; + public static property COMPILE_STATUS: ShaderParameterName read _COMPILE_STATUS; + public static property INFO_LOG_LENGTH: ShaderParameterName read _INFO_LOG_LENGTH; + public static property SHADER_SOURCE_LENGTH: ShaderParameterName read _SHADER_SOURCE_LENGTH; + + public function ToString: string; override; + begin + var res := typeof(ShaderParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ShaderParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; end; - //S ShaderType = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property VERTEX_SHADER: ShaderType read new ShaderType($8B31); - public static property TESS_CONTROL_SHADER: ShaderType read new ShaderType($8E88); - public static property TESS_EVALUATION_SHADER: ShaderType read new ShaderType($8E87); - public static property GEOMETRY_SHADER: ShaderType read new ShaderType($8DD9); - public static property FRAGMENT_SHADER: ShaderType read new ShaderType($8B30); - public static property COMPUTE_SHADER: ShaderType read new ShaderType($91B9); + private static _FRAGMENT_SHADER := new ShaderType($8B30); + private static _FRAGMENT_SHADER_ARB := new ShaderType($8B30); + private static _VERTEX_SHADER := new ShaderType($8B31); + private static _VERTEX_SHADER_ARB := new ShaderType($8B31); + private static _GEOMETRY_SHADER := new ShaderType($8DD9); + private static _TESS_EVALUATION_SHADER := new ShaderType($8E87); + private static _TESS_CONTROL_SHADER := new ShaderType($8E88); + private static _COMPUTE_SHADER := new ShaderType($91B9); - end; - - //S - SyncObjectType = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property GL_SYNC_FENCE: SyncObjectType read new SyncObjectType($9116); - - end; - - //S - FenceStatus = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property UNSIGNALED: FenceStatus read new FenceStatus($9118); - public static property SIGNALED: FenceStatus read new FenceStatus($9119); - - end; - - //S - FenceCondition = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property GL_SYNC_GPU_COMMANDS_COMPLETE: FenceCondition read new FenceCondition($9117); - - end; - - //S - BufferBindType = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property ARRAY_BUFFER: BufferBindType read new BufferBindType($8892); - public static property ATOMIC_COUNTER_BUFFER: BufferBindType read new BufferBindType($92C0); - public static property COPY_READ_BUFFER: BufferBindType read new BufferBindType($8F36); - public static property COPY_WRITE_BUFFER: BufferBindType read new BufferBindType($8F37); - public static property DISPATCH_INDIRECT_BUFFER: BufferBindType read new BufferBindType($90EE); - public static property DRAW_INDIRECT_BUFFER: BufferBindType read new BufferBindType($8F3F); - public static property ELEMENT_ARRAY_BUFFER: BufferBindType read new BufferBindType($8893); - public static property PIXEL_PACK_BUFFER: BufferBindType read new BufferBindType($88EB); - public static property PIXEL_UNPACK_BUFFER: BufferBindType read new BufferBindType($88EC); - public static property QUERY_BUFFER: BufferBindType read new BufferBindType($9192); - public static property SHADER_STORAGE_BUFFER: BufferBindType read new BufferBindType($90D2); - public static property TEXTURE_BUFFER: BufferBindType read new BufferBindType($8C2A); - public static property TRANSFORM_FEEDBACK_BUFFER: BufferBindType read new BufferBindType($8C8E); - public static property UNIFORM_BUFFER: BufferBindType read new BufferBindType($8A11); - - end; - - //S - CopyableImageType = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property ARRAY_BUFFER: CopyableImageType read new CopyableImageType($8892); - public static property ATOMIC_COUNTER_BUFFER: CopyableImageType read new CopyableImageType($92C0); - public static property COPY_READ_BUFFER: CopyableImageType read new CopyableImageType($8F36); - public static property COPY_WRITE_BUFFER: CopyableImageType read new CopyableImageType($8F37); - public static property DISPATCH_INDIRECT_BUFFER: CopyableImageType read new CopyableImageType($90EE); - public static property DRAW_INDIRECT_BUFFER: CopyableImageType read new CopyableImageType($8F3F); - public static property ELEMENT_ARRAY_BUFFER: CopyableImageType read new CopyableImageType($8893); - public static property PIXEL_PACK_BUFFER: CopyableImageType read new CopyableImageType($88EB); - public static property PIXEL_UNPACK_BUFFER: CopyableImageType read new CopyableImageType($88EC); - public static property QUERY_BUFFER: CopyableImageType read new CopyableImageType($9192); - public static property SHADER_STORAGE_BUFFER: CopyableImageType read new CopyableImageType($90D2); - public static property TEXTURE_BUFFER: CopyableImageType read new CopyableImageType($8C2A); - public static property TRANSFORM_FEEDBACK_BUFFER: CopyableImageType read new CopyableImageType($8C8E); - public static property UNIFORM_BUFFER: CopyableImageType read new CopyableImageType($8A11); - - public static property GL_RENDERBUFFER: CopyableImageType read new CopyableImageType($8D41); - - end; - - //S - BufferDataUsage = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property STREAM_DRAW: BufferDataUsage read new BufferDataUsage($88E0); - public static property STREAM_READ: BufferDataUsage read new BufferDataUsage($88E1); - public static property STREAM_COPY: BufferDataUsage read new BufferDataUsage($88E2); - public static property STATIC_DRAW: BufferDataUsage read new BufferDataUsage($88E4); - public static property STATIC_READ: BufferDataUsage read new BufferDataUsage($88E5); - public static property STATIC_COPY: BufferDataUsage read new BufferDataUsage($88E6); - public static property DYNAMIC_DRAW: BufferDataUsage read new BufferDataUsage($88E8); - public static property DYNAMIC_READ: BufferDataUsage read new BufferDataUsage($88E9); - public static property DYNAMIC_COPY: BufferDataUsage read new BufferDataUsage($88EA); - - end; - - //S - InternalDataFormat = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property R8: InternalDataFormat read new InternalDataFormat($8229); - public static property R8I: InternalDataFormat read new InternalDataFormat($8231); - public static property R8UI: InternalDataFormat read new InternalDataFormat($8232); - public static property R16: InternalDataFormat read new InternalDataFormat($822A); - public static property R16I: InternalDataFormat read new InternalDataFormat($8233); - public static property R16UI: InternalDataFormat read new InternalDataFormat($8234); - public static property R16F: InternalDataFormat read new InternalDataFormat($822D); - public static property R32I: InternalDataFormat read new InternalDataFormat($8235); - public static property R32UI: InternalDataFormat read new InternalDataFormat($8236); - public static property R32F: InternalDataFormat read new InternalDataFormat($822E); - - public static property RG8: InternalDataFormat read new InternalDataFormat($822B); - public static property RG8I: InternalDataFormat read new InternalDataFormat($8237); - public static property RG8UI: InternalDataFormat read new InternalDataFormat($8238); - public static property RG16: InternalDataFormat read new InternalDataFormat($822C); - public static property RG16I: InternalDataFormat read new InternalDataFormat($8239); - public static property RG16UI: InternalDataFormat read new InternalDataFormat($823A); - public static property RG16F: InternalDataFormat read new InternalDataFormat($822F); - public static property RG32I: InternalDataFormat read new InternalDataFormat($823B); - public static property RG32UI: InternalDataFormat read new InternalDataFormat($823C); - public static property RG32F: InternalDataFormat read new InternalDataFormat($8230); - - public static property RGB8: InternalDataFormat read new InternalDataFormat($8051); - public static property RGB8I: InternalDataFormat read new InternalDataFormat($8D8F); - public static property RGB8UI: InternalDataFormat read new InternalDataFormat($8D7D); - public static property RGB16: InternalDataFormat read new InternalDataFormat($8054); - public static property RGB16I: InternalDataFormat read new InternalDataFormat($8D89); - public static property RGB16UI: InternalDataFormat read new InternalDataFormat($8D77); - public static property RGB16F: InternalDataFormat read new InternalDataFormat($881B); - public static property RGB32I: InternalDataFormat read new InternalDataFormat($8D83); - public static property RGB32UI: InternalDataFormat read new InternalDataFormat($8D71); - public static property RGB32F: InternalDataFormat read new InternalDataFormat($8815); - - public static property RGBA8: InternalDataFormat read new InternalDataFormat($8058); - public static property RGBA16: InternalDataFormat read new InternalDataFormat($805B); - public static property RGBA16F: InternalDataFormat read new InternalDataFormat($881A); - public static property RGBA32F: InternalDataFormat read new InternalDataFormat($8814); - public static property RGBA8I: InternalDataFormat read new InternalDataFormat($8D8E); - public static property RGBA16I: InternalDataFormat read new InternalDataFormat($8D88); - public static property RGBA32I: InternalDataFormat read new InternalDataFormat($8D82); - public static property RGBA8UI: InternalDataFormat read new InternalDataFormat($8D7C); - public static property RGBA16UI: InternalDataFormat read new InternalDataFormat($8D76); - public static property RGBA32UI: InternalDataFormat read new InternalDataFormat($8D70); - - public static property RGB4: InternalDataFormat read new InternalDataFormat($804F); - public static property RGB5: InternalDataFormat read new InternalDataFormat($8050); - public static property RGB10: InternalDataFormat read new InternalDataFormat($8052); - public static property RGB12: InternalDataFormat read new InternalDataFormat($8053); - public static property RGB5_A1: InternalDataFormat read new InternalDataFormat($8057); - public static property RGB10_A2: InternalDataFormat read new InternalDataFormat($8059); - - public static property RGBA2: InternalDataFormat read new InternalDataFormat($8055); - public static property RGBA4: InternalDataFormat read new InternalDataFormat($8056); - public static property RGBA12: InternalDataFormat read new InternalDataFormat($805A); - - end; - - //S - DataFormat = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property RED: DataFormat read new DataFormat($1903); - public static property GREEN: DataFormat read new DataFormat($1904); - public static property BLUE: DataFormat read new DataFormat($1905); - public static property RG: DataFormat read new DataFormat($8227); - public static property RGB: DataFormat read new DataFormat($1907); - public static property BGR: DataFormat read new DataFormat($80E0); - public static property RGBA: DataFormat read new DataFormat($1908); - public static property BGRA: DataFormat read new DataFormat($80E1); - public static property RED_INTEGER: DataFormat read new DataFormat($8D94); - public static property GREEN_INTEGER: DataFormat read new DataFormat($8D95); - public static property BLUE_INTEGER: DataFormat read new DataFormat($8D96); - public static property RGB_INTEGER: DataFormat read new DataFormat($8D98); - public static property RGBA_INTEGER: DataFormat read new DataFormat($8D99); - public static property BGR_INTEGER: DataFormat read new DataFormat($8D9A); - public static property BGRA_INTEGER: DataFormat read new DataFormat($8D9B); - public static property RG_INTEGER: DataFormat read new DataFormat($8228); - public static property STENCIL_INDEX: DataFormat read new DataFormat($1901); - public static property DEPTH_COMPONENT: DataFormat read new DataFormat($1902); - public static property DEPTH_STENCIL: DataFormat read new DataFormat($84F9); - - end; - - //S - GLGetQueries = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property ACTIVE_TEXTURE: GLGetQueries read new GLGetQueries($84E0); - public static property ALIASED_LINE_WIDTH_RANGE: GLGetQueries read new GLGetQueries($846E); - public static property ARRAY_BUFFER_BINDING: GLGetQueries read new GLGetQueries($8894); - public static property BLEND_COLOR: GLGetQueries read new GLGetQueries($8005); - public static property BLEND_DST_ALPHA: GLGetQueries read new GLGetQueries($80CA); - public static property BLEND_DST_RGB: GLGetQueries read new GLGetQueries($80C8); - public static property BLEND_EQUATION_RGB: GLGetQueries read new GLGetQueries($8009); - public static property BLEND_EQUATION_ALPHA: GLGetQueries read new GLGetQueries($883D); - public static property BLEND_SRC_ALPHA: GLGetQueries read new GLGetQueries($80CB); - public static property BLEND_SRC_RGB: GLGetQueries read new GLGetQueries($80C9); - public static property COLOR_CLEAR_VALUE: GLGetQueries read new GLGetQueries($0C22); - public static property COLOR_WRITEMASK: GLGetQueries read new GLGetQueries($0C23); - public static property COMPRESSED_TEXTURE_FORMATS: GLGetQueries read new GLGetQueries($86A3); - public static property MAX_COMPUTE_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90DB); - public static property MAX_COMBINED_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90DC); - public static property MAX_COMPUTE_UNIFORM_BLOCKS: GLGetQueries read new GLGetQueries($91BB); - public static property MAX_COMPUTE_TEXTURE_IMAGE_UNITS: GLGetQueries read new GLGetQueries($91BC); - public static property MAX_COMPUTE_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8263); - public static property MAX_COMPUTE_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($8265); - public static property MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS: GLGetQueries read new GLGetQueries($8264); - public static property MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8266); - public static property MAX_COMPUTE_WORK_GROUP_INVOCATIONS: GLGetQueries read new GLGetQueries($90EB); - public static property MAX_COMPUTE_WORK_GROUP_COUNT: GLGetQueries read new GLGetQueries($91BE); - public static property MAX_COMPUTE_WORK_GROUP_SIZE: GLGetQueries read new GLGetQueries($91BF); - public static property DISPATCH_INDIRECT_BUFFER_BINDING: GLGetQueries read new GLGetQueries($90EF); - public static property MAX_DEBUG_GROUP_STACK_DEPTH: GLGetQueries read new GLGetQueries($826C); - public static property DEBUG_GROUP_STACK_DEPTH: GLGetQueries read new GLGetQueries($826D); - public static property CONTEXT_FLAGS: GLGetQueries read new GLGetQueries($821E); - public static property CULL_FACE_MODE: GLGetQueries read new GLGetQueries($0B45); - public static property CURRENT_PROGRAM: GLGetQueries read new GLGetQueries($8B8D); - public static property DEPTH_CLEAR_VALUE: GLGetQueries read new GLGetQueries($0B73); - public static property DEPTH_FUNC: GLGetQueries read new GLGetQueries($0B74); - public static property DEPTH_RANGE: GLGetQueries read new GLGetQueries($0B70); - public static property DEPTH_WRITEMASK: GLGetQueries read new GLGetQueries($0B72); - public static property DOUBLEBUFFER: GLGetQueries read new GLGetQueries($0C32); - public static property DRAW_BUFFER: GLGetQueries read new GLGetQueries($0C01); - public static property DRAW_FRAMEBUFFER_BINDING: GLGetQueries read new GLGetQueries($8CA6); - public static property READ_FRAMEBUFFER_BINDING: GLGetQueries read new GLGetQueries($8CAA); - public static property ELEMENT_ARRAY_BUFFER_BINDING: GLGetQueries read new GLGetQueries($8895); - public static property FRAGMENT_SHADER_DERIVATIVE_HINT: GLGetQueries read new GLGetQueries($8B8B); - public static property IMPLEMENTATION_COLOR_READ_FORMAT: GLGetQueries read new GLGetQueries($8B9B); - public static property IMPLEMENTATION_COLOR_READ_TYPE: GLGetQueries read new GLGetQueries($8B9A); - public static property LINE_SMOOTH_HINT: GLGetQueries read new GLGetQueries($0C52); - public static property LINE_WIDTH: GLGetQueries read new GLGetQueries($0B21); - public static property LAYER_PROVOKING_VERTEX: GLGetQueries read new GLGetQueries($825E); - public static property LOGIC_OP_MODE: GLGetQueries read new GLGetQueries($0BF0); - public static property MAJOR_VERSION: GLGetQueries read new GLGetQueries($821B); - public static property MAX_3D_TEXTURE_SIZE: GLGetQueries read new GLGetQueries($8073); - public static property MAX_ARRAY_TEXTURE_LAYERS: GLGetQueries read new GLGetQueries($88FF); - public static property MAX_CLIP_DISTANCES: GLGetQueries read new GLGetQueries($0D32); - public static property MAX_COLOR_TEXTURE_SAMPLES: GLGetQueries read new GLGetQueries($910E); - public static property MAX_COMBINED_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($92D7); - public static property MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8A33); - public static property MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8A32); - public static property MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLGetQueries read new GLGetQueries($8B4D); - public static property MAX_COMBINED_UNIFORM_BLOCKS: GLGetQueries read new GLGetQueries($8A2E); - public static property MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8A31); - public static property MAX_CUBE_MAP_TEXTURE_SIZE: GLGetQueries read new GLGetQueries($851C); - public static property MAX_DEPTH_TEXTURE_SAMPLES: GLGetQueries read new GLGetQueries($910F); - public static property MAX_DRAW_BUFFERS: GLGetQueries read new GLGetQueries($8824); - public static property MAX_DUAL_SOURCE_DRAW_BUFFERS: GLGetQueries read new GLGetQueries($88FC); - public static property MAX_ELEMENTS_INDICES: GLGetQueries read new GLGetQueries($80E9); - public static property MAX_ELEMENTS_VERTICES: GLGetQueries read new GLGetQueries($80E8); - public static property MAX_FRAGMENT_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($92D6); - public static property MAX_FRAGMENT_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90DA); - public static property MAX_FRAGMENT_INPUT_COMPONENTS: GLGetQueries read new GLGetQueries($9125); - public static property MAX_FRAGMENT_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8B49); - public static property MAX_FRAGMENT_UNIFORM_VECTORS: GLGetQueries read new GLGetQueries($8DFD); - public static property MAX_FRAGMENT_UNIFORM_BLOCKS: GLGetQueries read new GLGetQueries($8A2D); - public static property MAX_FRAMEBUFFER_WIDTH: GLGetQueries read new GLGetQueries($9315); - public static property MAX_FRAMEBUFFER_HEIGHT: GLGetQueries read new GLGetQueries($9316); - public static property MAX_FRAMEBUFFER_LAYERS: GLGetQueries read new GLGetQueries($9317); - public static property MAX_FRAMEBUFFER_SAMPLES: GLGetQueries read new GLGetQueries($9318); - public static property MAX_GEOMETRY_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($92D5); - public static property MAX_GEOMETRY_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90D7); - public static property MAX_GEOMETRY_INPUT_COMPONENTS: GLGetQueries read new GLGetQueries($9123); - public static property MAX_GEOMETRY_OUTPUT_COMPONENTS: GLGetQueries read new GLGetQueries($9124); - public static property MAX_GEOMETRY_TEXTURE_IMAGE_UNITS: GLGetQueries read new GLGetQueries($8C29); - public static property MAX_GEOMETRY_UNIFORM_BLOCKS: GLGetQueries read new GLGetQueries($8A2C); - public static property MAX_GEOMETRY_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8DDF); - public static property MAX_INTEGER_SAMPLES: GLGetQueries read new GLGetQueries($9110); - public static property MIN_MAP_BUFFER_ALIGNMENT: GLGetQueries read new GLGetQueries($90BC); - public static property MAX_LABEL_LENGTH: GLGetQueries read new GLGetQueries($82E8); - public static property MAX_PROGRAM_TEXEL_OFFSET: GLGetQueries read new GLGetQueries($8905); - public static property MIN_PROGRAM_TEXEL_OFFSET: GLGetQueries read new GLGetQueries($8904); - public static property MAX_RECTANGLE_TEXTURE_SIZE: GLGetQueries read new GLGetQueries($84F8); - public static property MAX_RENDERBUFFER_SIZE: GLGetQueries read new GLGetQueries($84E8); - public static property MAX_SAMPLE_MASK_WORDS: GLGetQueries read new GLGetQueries($8E59); - public static property MAX_SERVER_WAIT_TIMEOUT: GLGetQueries read new GLGetQueries($9111); - public static property MAX_SHADER_STORAGE_BUFFER_BINDINGS: GLGetQueries read new GLGetQueries($90DD); - public static property MAX_TESS_CONTROL_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($92D3); - public static property MAX_TESS_EVALUATION_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($92D4); - public static property MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90D8); - public static property MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90D9); - public static property MAX_TEXTURE_BUFFER_SIZE: GLGetQueries read new GLGetQueries($8C2B); - public static property MAX_TEXTURE_IMAGE_UNITS: GLGetQueries read new GLGetQueries($8872); - public static property MAX_TEXTURE_LOD_BIAS: GLGetQueries read new GLGetQueries($84FD); - public static property MAX_TEXTURE_SIZE: GLGetQueries read new GLGetQueries($0D33); - public static property MAX_UNIFORM_BUFFER_BINDINGS: GLGetQueries read new GLGetQueries($8A2F); - public static property MAX_UNIFORM_BLOCK_SIZE: GLGetQueries read new GLGetQueries($8A30); - public static property MAX_UNIFORM_LOCATIONS: GLGetQueries read new GLGetQueries($826E); - public static property MAX_VARYING_COMPONENTS: GLGetQueries read new GLGetQueries($8B4B); - public static property MAX_VARYING_VECTORS: GLGetQueries read new GLGetQueries($8DFC); - public static property MAX_VARYING_FLOATS: GLGetQueries read new GLGetQueries($8B4B); - public static property MAX_VERTEX_ATOMIC_COUNTERS: GLGetQueries read new GLGetQueries($92D2); - public static property MAX_VERTEX_ATTRIBS: GLGetQueries read new GLGetQueries($8869); - public static property MAX_VERTEX_SHADER_STORAGE_BLOCKS: GLGetQueries read new GLGetQueries($90D6); - public static property MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLGetQueries read new GLGetQueries($8B4C); - public static property MAX_VERTEX_UNIFORM_COMPONENTS: GLGetQueries read new GLGetQueries($8B4A); - public static property MAX_VERTEX_UNIFORM_VECTORS: GLGetQueries read new GLGetQueries($8DFB); - public static property MAX_VERTEX_OUTPUT_COMPONENTS: GLGetQueries read new GLGetQueries($9122); - public static property MAX_VERTEX_UNIFORM_BLOCKS: GLGetQueries read new GLGetQueries($8A2B); - public static property MAX_VIEWPORT_DIMS: GLGetQueries read new GLGetQueries($0D3A); - public static property MAX_VIEWPORTS: GLGetQueries read new GLGetQueries($825B); - public static property MINOR_VERSION: GLGetQueries read new GLGetQueries($821C); - public static property NUM_COMPRESSED_TEXTURE_FORMATS: GLGetQueries read new GLGetQueries($86A2); - public static property NUM_EXTENSIONS: GLGetQueries read new GLGetQueries($821D); - public static property NUM_PROGRAM_BINARY_FORMATS: GLGetQueries read new GLGetQueries($87FE); - public static property NUM_SHADER_BINARY_FORMATS: GLGetQueries read new GLGetQueries($8DF9); - public static property PACK_ALIGNMENT: GLGetQueries read new GLGetQueries($0D05); - public static property PACK_IMAGE_HEIGHT: GLGetQueries read new GLGetQueries($806C); - public static property PACK_LSB_FIRST: GLGetQueries read new GLGetQueries($0D01); - public static property PACK_ROW_LENGTH: GLGetQueries read new GLGetQueries($0D02); - public static property PACK_SKIP_IMAGES: GLGetQueries read new GLGetQueries($806B); - public static property PACK_SKIP_PIXELS: GLGetQueries read new GLGetQueries($0D04); - public static property PACK_SKIP_ROWS: GLGetQueries read new GLGetQueries($0D03); - public static property PACK_SWAP_BYTES: GLGetQueries read new GLGetQueries($0D00); - public static property PIXEL_PACK_BUFFER_BINDING: GLGetQueries read new GLGetQueries($88ED); - public static property PIXEL_UNPACK_BUFFER_BINDING: GLGetQueries read new GLGetQueries($88EF); - public static property POINT_FADE_THRESHOLD_SIZE: GLGetQueries read new GLGetQueries($8128); - public static property PRIMITIVE_RESTART_INDEX: GLGetQueries read new GLGetQueries($8F9E); - public static property PROGRAM_BINARY_FORMATS: GLGetQueries read new GLGetQueries($87FF); - public static property PROGRAM_PIPELINE_BINDING: GLGetQueries read new GLGetQueries($825A); - public static property PROGRAM_POINT_SIZE: GLGetQueries read new GLGetQueries($8642); - public static property PROVOKING_VERTEX: GLGetQueries read new GLGetQueries($8E4F); - public static property POINT_SIZE: GLGetQueries read new GLGetQueries($0B11); - public static property POINT_SIZE_GRANULARITY: GLGetQueries read new GLGetQueries($0B13); - public static property POINT_SIZE_RANGE: GLGetQueries read new GLGetQueries($0B12); - public static property POLYGON_OFFSET_FACTOR: GLGetQueries read new GLGetQueries($8038); - public static property POLYGON_OFFSET_UNITS: GLGetQueries read new GLGetQueries($2A00); - public static property POLYGON_SMOOTH_HINT: GLGetQueries read new GLGetQueries($0C53); - public static property READ_BUFFER: GLGetQueries read new GLGetQueries($0C02); - public static property RENDERBUFFER_BINDING: GLGetQueries read new GLGetQueries($8CA7); - public static property SAMPLE_BUFFERS: GLGetQueries read new GLGetQueries($80A8); - public static property SAMPLE_COVERAGE_VALUE: GLGetQueries read new GLGetQueries($80AA); - public static property SAMPLE_COVERAGE_INVERT: GLGetQueries read new GLGetQueries($80AB); - public static property SAMPLER_BINDING: GLGetQueries read new GLGetQueries($8919); - public static property SAMPLES: GLGetQueries read new GLGetQueries($80A9); - public static property SCISSOR_BOX: GLGetQueries read new GLGetQueries($0C10); - public static property SHADER_COMPILER: GLGetQueries read new GLGetQueries($8DFA); - public static property SHADER_STORAGE_BUFFER_BINDING: GLGetQueries read new GLGetQueries($90D3); - public static property SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT: GLGetQueries read new GLGetQueries($90DF); - public static property SHADER_STORAGE_BUFFER_START: GLGetQueries read new GLGetQueries($90D4); - public static property SHADER_STORAGE_BUFFER_SIZE: GLGetQueries read new GLGetQueries($90D5); - public static property SMOOTH_LINE_WIDTH_RANGE: GLGetQueries read new GLGetQueries($0B22); - public static property SMOOTH_LINE_WIDTH_GRANULARITY: GLGetQueries read new GLGetQueries($0B23); - public static property STENCIL_BACK_FAIL: GLGetQueries read new GLGetQueries($8801); - public static property STENCIL_BACK_FUNC: GLGetQueries read new GLGetQueries($8800); - public static property STENCIL_BACK_PASS_DEPTH_FAIL: GLGetQueries read new GLGetQueries($8802); - public static property STENCIL_BACK_PASS_DEPTH_PASS: GLGetQueries read new GLGetQueries($8803); - public static property STENCIL_BACK_REF: GLGetQueries read new GLGetQueries($8CA3); - public static property STENCIL_BACK_VALUE_MASK: GLGetQueries read new GLGetQueries($8CA4); - public static property STENCIL_BACK_WRITEMASK: GLGetQueries read new GLGetQueries($8CA5); - public static property STENCIL_CLEAR_VALUE: GLGetQueries read new GLGetQueries($0B91); - public static property STENCIL_FAIL: GLGetQueries read new GLGetQueries($0B94); - public static property STENCIL_FUNC: GLGetQueries read new GLGetQueries($0B92); - public static property STENCIL_PASS_DEPTH_FAIL: GLGetQueries read new GLGetQueries($0B95); - public static property STENCIL_PASS_DEPTH_PASS: GLGetQueries read new GLGetQueries($0B96); - public static property STENCIL_REF: GLGetQueries read new GLGetQueries($0B97); - public static property STENCIL_VALUE_MASK: GLGetQueries read new GLGetQueries($0B93); - public static property STENCIL_WRITEMASK: GLGetQueries read new GLGetQueries($0B98); - public static property STEREO: GLGetQueries read new GLGetQueries($0C33); - public static property SUBPIXEL_BITS: GLGetQueries read new GLGetQueries($0D50); - public static property TEXTURE_BINDING_1D: GLGetQueries read new GLGetQueries($8068); - public static property TEXTURE_BINDING_1D_ARRAY: GLGetQueries read new GLGetQueries($8C1C); - public static property TEXTURE_BINDING_2D: GLGetQueries read new GLGetQueries($8069); - public static property TEXTURE_BINDING_2D_ARRAY: GLGetQueries read new GLGetQueries($8C1D); - public static property TEXTURE_BINDING_2D_MULTISAMPLE: GLGetQueries read new GLGetQueries($9104); - public static property TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY: GLGetQueries read new GLGetQueries($9105); - public static property TEXTURE_BINDING_3D: GLGetQueries read new GLGetQueries($806A); - public static property TEXTURE_BINDING_BUFFER: GLGetQueries read new GLGetQueries($8C2C); - public static property TEXTURE_BINDING_CUBE_MAP: GLGetQueries read new GLGetQueries($8514); - public static property TEXTURE_BINDING_RECTANGLE: GLGetQueries read new GLGetQueries($84F6); - public static property TEXTURE_COMPRESSION_HINT: GLGetQueries read new GLGetQueries($84EF); - public static property TEXTURE_BUFFER_OFFSET_ALIGNMENT: GLGetQueries read new GLGetQueries($919F); - public static property TIMESTAMP: GLGetQueries read new GLGetQueries($8E28); - public static property TRANSFORM_FEEDBACK_BUFFER_BINDING: GLGetQueries read new GLGetQueries($8C8F); - public static property TRANSFORM_FEEDBACK_BUFFER_START: GLGetQueries read new GLGetQueries($8C84); - public static property TRANSFORM_FEEDBACK_BUFFER_SIZE: GLGetQueries read new GLGetQueries($8C85); - public static property UNIFORM_BUFFER_BINDING: GLGetQueries read new GLGetQueries($8A28); - public static property UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLGetQueries read new GLGetQueries($8A34); - public static property UNIFORM_BUFFER_SIZE: GLGetQueries read new GLGetQueries($8A2A); - public static property UNIFORM_BUFFER_START: GLGetQueries read new GLGetQueries($8A29); - public static property UNPACK_ALIGNMENT: GLGetQueries read new GLGetQueries($0CF5); - public static property UNPACK_IMAGE_HEIGHT: GLGetQueries read new GLGetQueries($806E); - public static property UNPACK_LSB_FIRST: GLGetQueries read new GLGetQueries($0CF1); - public static property UNPACK_ROW_LENGTH: GLGetQueries read new GLGetQueries($0CF2); - public static property UNPACK_SKIP_IMAGES: GLGetQueries read new GLGetQueries($806D); - public static property UNPACK_SKIP_PIXELS: GLGetQueries read new GLGetQueries($0CF4); - public static property UNPACK_SKIP_ROWS: GLGetQueries read new GLGetQueries($0CF3); - public static property UNPACK_SWAP_BYTES: GLGetQueries read new GLGetQueries($0CF0); - public static property VERTEX_ARRAY_BINDING: GLGetQueries read new GLGetQueries($85B5); - public static property VERTEX_BINDING_DIVISOR: GLGetQueries read new GLGetQueries($82D6); - public static property VERTEX_BINDING_OFFSET: GLGetQueries read new GLGetQueries($82D7); - public static property VERTEX_BINDING_STRIDE: GLGetQueries read new GLGetQueries($82D8); - public static property MAX_VERTEX_ATTRIB_RELATIVE_OFFSET: GLGetQueries read new GLGetQueries($82D9); - public static property MAX_VERTEX_ATTRIB_BINDINGS: GLGetQueries read new GLGetQueries($82DA); - public static property VIEWPORT: GLGetQueries read new GLGetQueries($0BA2); - public static property VIEWPORT_BOUNDS_RANGE: GLGetQueries read new GLGetQueries($825D); - public static property VIEWPORT_INDEX_PROVOKING_VERTEX: GLGetQueries read new GLGetQueries($825F); - public static property VIEWPORT_SUBPIXEL_BITS: GLGetQueries read new GLGetQueries($825C); - public static property MAX_ELEMENT_INDEX: GLGetQueries read new GLGetQueries($8D6B); - - end; - - //S - EnablableName = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property BLEND: EnablableName read new EnablableName($0BE2); - public static property CLIP_DISTANCE0: EnablableName read new EnablableName($3000); - public static property CLIP_DISTANCE1: EnablableName read new EnablableName($3001); - public static property CLIP_DISTANCE2: EnablableName read new EnablableName($3002); - public static property CLIP_DISTANCE3: EnablableName read new EnablableName($3003); - public static property CLIP_DISTANCE4: EnablableName read new EnablableName($3004); - public static property CLIP_DISTANCE5: EnablableName read new EnablableName($3005); - public static property CLIP_DISTANCE6: EnablableName read new EnablableName($3006); - public static property CLIP_DISTANCE7: EnablableName read new EnablableName($3007); - public static property COLOR_LOGIC_OP: EnablableName read new EnablableName($0BF2); - public static property CULL_FACE: EnablableName read new EnablableName($0B44); - public static property DEBUG_OUTPUT: EnablableName read new EnablableName($92E0); - public static property DEBUG_OUTPUT_SYNCHRONOUS: EnablableName read new EnablableName($8242); - public static property DEPTH_CLAMP: EnablableName read new EnablableName($864F); - public static property DEPTH_TEST: EnablableName read new EnablableName($0B71); - public static property DITHER: EnablableName read new EnablableName($0BD0); - public static property FRAMEBUFFER_SRGB: EnablableName read new EnablableName($8DB9); - public static property LINE_SMOOTH: EnablableName read new EnablableName($0B20); - public static property MULTISAMPLE: EnablableName read new EnablableName($809D); - public static property POLYGON_OFFSET_FILL: EnablableName read new EnablableName($8037); - public static property POLYGON_OFFSET_LINE: EnablableName read new EnablableName($2A02); - public static property POLYGON_OFFSET_POINT: EnablableName read new EnablableName($2A01); - public static property POLYGON_SMOOTH: EnablableName read new EnablableName($0B41); - public static property PRIMITIVE_RESTART: EnablableName read new EnablableName($8F9D); - public static property PRIMITIVE_RESTART_FIXED_INDEX: EnablableName read new EnablableName($8D69); - public static property RASTERIZER_DISCARD: EnablableName read new EnablableName($8C89); - public static property SAMPLE_ALPHA_TO_COVERAGE: EnablableName read new EnablableName($809E); - public static property SAMPLE_ALPHA_TO_ONE: EnablableName read new EnablableName($809F); - public static property SAMPLE_COVERAGE: EnablableName read new EnablableName($80A0); - public static property SAMPLE_SHADING: EnablableName read new EnablableName($8C36); - public static property SAMPLE_MASK: EnablableName read new EnablableName($8E51); - public static property SCISSOR_TEST: EnablableName read new EnablableName($0C11); - public static property STENCIL_TEST: EnablableName read new EnablableName($0B90); - public static property TEXTURE_CUBE_MAP_SEAMLESS: EnablableName read new EnablableName($884F); - public static property PROGRAM_POINT_SIZE: EnablableName read new EnablableName($8642); - - public static function operator implicit(v: EnablableName): GLGetQueries := new GLGetQueries(v.val); - - end; - - //S - GLGetStringQueries = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property VENDOR: GLGetStringQueries read new GLGetStringQueries($1F00); - public static property RENDERER: GLGetStringQueries read new GLGetStringQueries($1F01); - public static property VERSION: GLGetStringQueries read new GLGetStringQueries($1F02); - public static property EXTENSIONS: GLGetStringQueries read new GLGetStringQueries($1F03); - public static property SHADING_LANGUAGE_VERSION: GLGetStringQueries read new GLGetStringQueries($8B8C); - - end; - - //SR - ColorEncodingMode = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property LINEAR: ColorEncodingMode read new ColorEncodingMode($2601); - public static property SRGB: ColorEncodingMode read new ColorEncodingMode($8C40); - - public property IS_LINEAR: boolean read self = ColorEncodingMode.LINEAR; - public property IS_SRGB: boolean read self = ColorEncodingMode.SRGB; + public static property FRAGMENT_SHADER: ShaderType read _FRAGMENT_SHADER; + public static property FRAGMENT_SHADER_ARB: ShaderType read _FRAGMENT_SHADER_ARB; + public static property VERTEX_SHADER: ShaderType read _VERTEX_SHADER; + public static property VERTEX_SHADER_ARB: ShaderType read _VERTEX_SHADER_ARB; + public static property GEOMETRY_SHADER: ShaderType read _GEOMETRY_SHADER; + public static property TESS_EVALUATION_SHADER: ShaderType read _TESS_EVALUATION_SHADER; + public static property TESS_CONTROL_SHADER: ShaderType read _TESS_CONTROL_SHADER; + public static property COMPUTE_SHADER: ShaderType read _COMPUTE_SHADER; public function ToString: string; override; begin - var res := typeof(ColorEncodingMode).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(ShaderType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'ColorEncodingMode[{self.val}]': - res[0].Substring(3); + $'ShaderType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //SR - DataType = record + ShadingModel = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property BYTE: DataType read new DataType($1400); - public static property UNSIGNED_BYTE: DataType read new DataType($1401); - public static property SHORT: DataType read new DataType($1402); - public static property UNSIGNED_SHORT: DataType read new DataType($1403); - public static property INT: DataType read new DataType($1404); - public static property UNSIGNED_INT: DataType read new DataType($1405); - public static property FLOAT: DataType read new DataType($1406); - public static property HALF_FLOAT: DataType read new DataType($140B); - public static property UNSIGNED_BYTE_3_3_2: DataType read new DataType($8032); - public static property UNSIGNED_SHORT_5_6_5: DataType read new DataType($8363); - public static property UNSIGNED_SHORT_4_4_4_4: DataType read new DataType($8033); - public static property UNSIGNED_SHORT_5_5_5_1: DataType read new DataType($8034); - public static property UNSIGNED_INT_8_8_8_8: DataType read new DataType($8035); - public static property UNSIGNED_INT_10_10_10_2: DataType read new DataType($8036); - public static property UNSIGNED_BYTE_2_3_3_REV: DataType read new DataType($8362); - public static property UNSIGNED_SHORT_5_6_5_REV: DataType read new DataType($8364); - public static property UNSIGNED_SHORT_4_4_4_4_REV: DataType read new DataType($8365); - public static property UNSIGNED_SHORT_1_5_5_5_REV: DataType read new DataType($8366); - public static property UNSIGNED_INT_8_8_8_8_REV: DataType read new DataType($8367); - public static property UNSIGNED_INT_2_10_10_10_REV: DataType read new DataType($8368); - public static property SIGNED_NORMALIZED: DataType read new DataType($8F9C); - public static property UNSIGNED_NORMALIZED: DataType read new DataType($8C17); + private static _FLAT := new ShadingModel($1D00); + private static _SMOOTH := new ShadingModel($1D01); - public property IS_NONE: boolean read self.val = 0; - public property IS_BYTE: boolean read self.val = BYTE.val; - public property IS_UNSIGNED_BYTE: boolean read self.val = UNSIGNED_BYTE.val; - public property IS_SHORT: boolean read self.val = SHORT.val; - public property IS_UNSIGNED_SHORT: boolean read self.val = UNSIGNED_SHORT.val; - public property IS_INT: boolean read self.val = INT.val; - public property IS_UNSIGNED_INT: boolean read self.val = UNSIGNED_INT.val; - public property IS_FLOAT: boolean read self.val = FLOAT.val; - public property IS_HALF_FLOAT: boolean read self.val = HALF_FLOAT.val; - public property IS_UNSIGNED_BYTE_3_3_2: boolean read self.val = UNSIGNED_BYTE_3_3_2.val; - public property IS_UNSIGNED_SHORT_5_6_5: boolean read self.val = UNSIGNED_SHORT_5_6_5.val; - public property IS_UNSIGNED_SHORT_4_4_4_4: boolean read self.val = UNSIGNED_SHORT_4_4_4_4.val; - public property IS_UNSIGNED_SHORT_5_5_5_1: boolean read self.val = UNSIGNED_SHORT_5_5_5_1.val; - public property IS_UNSIGNED_INT_8_8_8_8: boolean read self.val = UNSIGNED_INT_8_8_8_8.val; - public property IS_UNSIGNED_INT_10_10_10_2: boolean read self.val = UNSIGNED_INT_10_10_10_2.val; - public property IS_UNSIGNED_BYTE_2_3_3_REV: boolean read self.val = UNSIGNED_BYTE_2_3_3_REV.val; - public property IS_UNSIGNED_SHORT_5_6_5_REV: boolean read self.val = UNSIGNED_SHORT_5_6_5_REV.val; - public property IS_UNSIGNED_SHORT_4_4_4_4_REV: boolean read self.val = UNSIGNED_SHORT_4_4_4_4_REV.val; - public property IS_UNSIGNED_SHORT_1_5_5_5_REV: boolean read self.val = UNSIGNED_SHORT_1_5_5_5_REV.val; - public property IS_UNSIGNED_INT_8_8_8_8_REV: boolean read self.val = UNSIGNED_INT_8_8_8_8_REV.val; - public property IS_UNSIGNED_INT_2_10_10_10_REV: boolean read self.val = UNSIGNED_INT_2_10_10_10_REV.val; - public property IS_SIGNED_NORMALIZED: boolean read self.val = SIGNED_NORMALIZED.val; - public property IS_UNSIGNED_NORMALIZED: boolean read self.val = UNSIGNED_NORMALIZED.val; + public static property FLAT: ShadingModel read _FLAT; + public static property SMOOTH: ShadingModel read _SMOOTH; public function ToString: string; override; begin - var res := typeof(DataType).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(ShadingModel).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'DataType[{self.val}]': - res[0].Substring(3); + $'ShadingModel[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R - ProgramVarType = record + StencilFaceDirection = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property FLOAT: boolean read self.val = $1406; - public property FLOAT_VEC2: boolean read self.val = $8B50; - public property FLOAT_VEC3: boolean read self.val = $8B51; - public property FLOAT_VEC4: boolean read self.val = $8B52; - public property FLOAT_MAT2: boolean read self.val = $8B5A; - public property FLOAT_MAT3: boolean read self.val = $8B5B; - public property FLOAT_MAT4: boolean read self.val = $8B5C; - public property FLOAT_MAT2x3: boolean read self.val = $8B65; - public property FLOAT_MAT3x2: boolean read self.val = $8B67; - public property FLOAT_MAT2x4: boolean read self.val = $8B66; - public property FLOAT_MAT4x2: boolean read self.val = $8B69; - public property FLOAT_MAT3x4: boolean read self.val = $8B68; - public property FLOAT_MAT4x3: boolean read self.val = $8B6A; - public property INT: boolean read self.val = $1404; - public property INT_VEC2: boolean read self.val = $8B53; - public property INT_VEC3: boolean read self.val = $8B54; - public property INT_VEC4: boolean read self.val = $8B55; - public property UNSIGNED_INT: boolean read self.val = $1405; - public property UNSIGNED_INT_VEC2: boolean read self.val = $8DC6; - public property UNSIGNED_INT_VEC3: boolean read self.val = $8DC7; - public property UNSIGNED_INT_VEC4: boolean read self.val = $8DC8; - public property DOUBLE: boolean read self.val = $140A; - public property DOUBLE_VEC2: boolean read self.val = $8FFC; - public property DOUBLE_VEC3: boolean read self.val = $8FFD; - public property DOUBLE_VEC4: boolean read self.val = $8FFE; - public property DOUBLE_MAT2: boolean read self.val = $8F46; - public property DOUBLE_MAT3: boolean read self.val = $8F47; - public property DOUBLE_MAT4: boolean read self.val = $8F48; - public property DOUBLE_MAT2x3: boolean read self.val = $8F49; - public property DOUBLE_MAT3x2: boolean read self.val = $8F4B; - public property DOUBLE_MAT2x4: boolean read self.val = $8F4A; - public property DOUBLE_MAT4x2: boolean read self.val = $8F4D; - public property DOUBLE_MAT3x4: boolean read self.val = $8F4C; - public property DOUBLE_MAT4x3: boolean read self.val = $8F4E; + private static _FRONT := new StencilFaceDirection($0404); + private static _BACK := new StencilFaceDirection($0405); + private static _FRONT_AND_BACK := new StencilFaceDirection($0408); + + public static property FRONT: StencilFaceDirection read _FRONT; + public static property BACK: StencilFaceDirection read _BACK; + public static property FRONT_AND_BACK: StencilFaceDirection read _FRONT_AND_BACK; public function ToString: string; override; begin - var res := typeof(ProgramVarType).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(StencilFaceDirection).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'ProgramVarType[{self.val}]': - res[0]; + $'StencilFaceDirection[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R - FramebufferAttachmentObjectType = record + StencilFunction = record public val: UInt32; + public constructor(val: UInt32) := self.val := val; - public property NONE: boolean read self.val = 0; - public property FRAMEBUFFER_DEFAULT: boolean read self.val = $8218; - public property TEXTURE: boolean read self.val = $1702; - public property RENDERBUFFER: boolean read self.val = $8D41; + private static _NEVER := new StencilFunction($0200); + private static _LESS := new StencilFunction($0201); + private static _EQUAL := new StencilFunction($0202); + private static _LEQUAL := new StencilFunction($0203); + private static _GREATER := new StencilFunction($0204); + private static _NOTEQUAL := new StencilFunction($0205); + private static _GEQUAL := new StencilFunction($0206); + private static _ALWAYS := new StencilFunction($0207); + + public static property NEVER: StencilFunction read _NEVER; + public static property LESS: StencilFunction read _LESS; + public static property EQUAL: StencilFunction read _EQUAL; + public static property LEQUAL: StencilFunction read _LEQUAL; + public static property GREATER: StencilFunction read _GREATER; + public static property NOTEQUAL: StencilFunction read _NOTEQUAL; + public static property GEQUAL: StencilFunction read _GEQUAL; + public static property ALWAYS: StencilFunction read _ALWAYS; public function ToString: string; override; begin - var res := typeof(FramebufferAttachmentObjectType).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(StencilFunction).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'FramebufferAttachmentObjectType[{self.val}]': - res[0]; + $'StencilFunction[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R - ClientWaitSyncResult = record + StencilOp = record public val: UInt32; + public constructor(val: UInt32) := self.val := val; - public property ALREADY_SIGNALED: boolean read self.val = $911A; - public property TIMEOUT_EXPIRED: boolean read self.val = $911B; - public property CONDITION_SATISFIED: boolean read self.val = $911C; - public property WAIT_FAILED: boolean read self.val = $911D; + private static _ZERO := new StencilOp($0000); + private static _INVERT := new StencilOp($150A); + private static _KEEP := new StencilOp($1E00); + private static _REPLACE := new StencilOp($1E01); + private static _INCR := new StencilOp($1E02); + private static _DECR := new StencilOp($1E03); + private static _INCR_WRAP := new StencilOp($8507); + private static _DECR_WRAP := new StencilOp($8508); + + public static property ZERO: StencilOp read _ZERO; + public static property INVERT: StencilOp read _INVERT; + public static property KEEP: StencilOp read _KEEP; + public static property REPLACE: StencilOp read _REPLACE; + public static property INCR: StencilOp read _INCR; + public static property DECR: StencilOp read _DECR; + public static property INCR_WRAP: StencilOp read _INCR_WRAP; + public static property DECR_WRAP: StencilOp read _DECR_WRAP; public function ToString: string; override; begin - var res := typeof(ClientWaitSyncResult).GetProperties.Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(StencilOp).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'ClientWaitSyncResult[{self.val}]': - res[0]; + $'StencilOp[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R - ShadingLanguageTypeToken = record - public val: UInt32; - - public property FLOAT: boolean read self.val = $1406; - public property FLOAT_VEC2: boolean read self.val = $8B50; - public property FLOAT_VEC3: boolean read self.val = $8B51; - public property FLOAT_VEC4: boolean read self.val = $8B52; - public property DOUBLE: boolean read self.val = $140A; - public property DOUBLE_VEC2: boolean read self.val = $8FFC; - public property DOUBLE_VEC3: boolean read self.val = $8FFD; - public property DOUBLE_VEC4: boolean read self.val = $8FFE; - public property INT: boolean read self.val = $1404; - public property INT_VEC2: boolean read self.val = $8B53; - public property INT_VEC3: boolean read self.val = $8B54; - public property INT_VEC4: boolean read self.val = $8B55; - public property UNSIGNED_INT: boolean read self.val = $1405; - public property UNSIGNED_INT_VEC2: boolean read self.val = $8DC6; - public property UNSIGNED_INT_VEC3: boolean read self.val = $8DC7; - public property UNSIGNED_INT_VEC4: boolean read self.val = $8DC8; - public property BOOL: boolean read self.val = $8B56; - public property BOOL_VEC2: boolean read self.val = $8B57; - public property BOOL_VEC3: boolean read self.val = $8B58; - public property BOOL_VEC4: boolean read self.val = $8B59; - public property FLOAT_MAT2: boolean read self.val = $8B5A; - public property FLOAT_MAT3: boolean read self.val = $8B5B; - public property FLOAT_MAT4: boolean read self.val = $8B5C; - public property FLOAT_MAT2x3: boolean read self.val = $8B65; - public property FLOAT_MAT2x4: boolean read self.val = $8B66; - public property FLOAT_MAT3x2: boolean read self.val = $8B67; - public property FLOAT_MAT3x4: boolean read self.val = $8B68; - public property FLOAT_MAT4x2: boolean read self.val = $8B69; - public property FLOAT_MAT4x3: boolean read self.val = $8B6A; - public property DOUBLE_MAT2: boolean read self.val = $8F46; - public property DOUBLE_MAT3: boolean read self.val = $8F47; - public property DOUBLE_MAT4: boolean read self.val = $8F48; - public property DOUBLE_MAT2x3: boolean read self.val = $8F49; - public property DOUBLE_MAT2x4: boolean read self.val = $8F4A; - public property DOUBLE_MAT3x2: boolean read self.val = $8F4B; - public property DOUBLE_MAT3x4: boolean read self.val = $8F4C; - public property DOUBLE_MAT4x2: boolean read self.val = $8F4D; - public property DOUBLE_MAT4x3: boolean read self.val = $8F4E; - public property SAMPLER_1D: boolean read self.val = $8B5D; - public property SAMPLER_2D: boolean read self.val = $8B5E; - public property SAMPLER_3D: boolean read self.val = $8B5F; - public property SAMPLER_CUBE: boolean read self.val = $8B60; - public property SAMPLER_1D_SHADOW: boolean read self.val = $8B61; - public property SAMPLER_2D_SHADOW: boolean read self.val = $8B62; - public property SAMPLER_1D_ARRAY: boolean read self.val = $8DC0; - public property SAMPLER_2D_ARRAY: boolean read self.val = $8DC1; - public property SAMPLER_CUBE_MAP_ARRAY: boolean read self.val = $900C; - public property SAMPLER_1D_ARRAY_SHADOW: boolean read self.val = $8DC3; - public property SAMPLER_2D_ARRAY_SHADOW: boolean read self.val = $8DC4; - public property SAMPLER_2D_MULTISAMPLE: boolean read self.val = $9108; - public property SAMPLER_2D_MULTISAMPLE_ARRAY: boolean read self.val = $910B; - public property SAMPLER_CUBE_SHADOW: boolean read self.val = $8DC5; - public property SAMPLER_CUBE_MAP_ARRAY_SHADOW: boolean read self.val = $900D; - public property SAMPLER_BUFFER: boolean read self.val = $8DC2; - public property SAMPLER_2D_RECT: boolean read self.val = $8B63; - public property SAMPLER_2D_RECT_SHADOW: boolean read self.val = $8B64; - public property INT_SAMPLER_1D: boolean read self.val = $8DC9; - public property INT_SAMPLER_2D: boolean read self.val = $8DCA; - public property INT_SAMPLER_3D: boolean read self.val = $8DCB; - public property INT_SAMPLER_CUBE: boolean read self.val = $8DCC; - public property INT_SAMPLER_1D_ARRAY: boolean read self.val = $8DCE; - public property INT_SAMPLER_2D_ARRAY: boolean read self.val = $8DCF; - public property INT_SAMPLER_CUBE_MAP_ARRAY: boolean read self.val = $900E; - public property INT_SAMPLER_2D_MULTISAMPLE: boolean read self.val = $9109; - public property INT_SAMPLER_2D_MULTISAMPLE_ARRAY: boolean read self.val = $910C; - public property INT_SAMPLER_BUFFER: boolean read self.val = $8DD0; - public property INT_SAMPLER_2D_RECT: boolean read self.val = $8DCD; - public property UNSIGNED_INT_SAMPLER_1D: boolean read self.val = $8DD1; - public property UNSIGNED_INT_SAMPLER_2D: boolean read self.val = $8DD2; - public property UNSIGNED_INT_SAMPLER_3D: boolean read self.val = $8DD3; - public property UNSIGNED_INT_SAMPLER_CUBE: boolean read self.val = $8DD4; - public property UNSIGNED_INT_SAMPLER_1D_ARRAY: boolean read self.val = $8DD6; - public property UNSIGNED_INT_SAMPLER_2D_ARRAY: boolean read self.val = $8DD7; - public property UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: boolean read self.val = $900F; - public property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: boolean read self.val = $910A; - public property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: boolean read self.val = $910D; - public property UNSIGNED_INT_SAMPLER_BUFFER: boolean read self.val = $8DD8; - public property UNSIGNED_INT_SAMPLER_2D_RECT: boolean read self.val = $8DD5; - public property IMAGE_1D: boolean read self.val = $904C; - public property IMAGE_2D: boolean read self.val = $904D; - public property IMAGE_3D: boolean read self.val = $904E; - public property IMAGE_2D_RECT: boolean read self.val = $904F; - public property IMAGE_CUBE: boolean read self.val = $9050; - public property IMAGE_BUFFER: boolean read self.val = $9051; - public property IMAGE_1D_ARRAY: boolean read self.val = $9052; - public property IMAGE_2D_ARRAY: boolean read self.val = $9053; - public property IMAGE_CUBE_MAP_ARRAY: boolean read self.val = $9054; - public property IMAGE_2D_MULTISAMPLE: boolean read self.val = $9055; - public property IMAGE_2D_MULTISAMPLE_ARRAY: boolean read self.val = $9056; - public property INT_IMAGE_1D: boolean read self.val = $9057; - public property INT_IMAGE_2D: boolean read self.val = $9058; - public property INT_IMAGE_3D: boolean read self.val = $9059; - public property INT_IMAGE_2D_RECT: boolean read self.val = $905A; - public property INT_IMAGE_CUBE: boolean read self.val = $905B; - public property INT_IMAGE_BUFFER: boolean read self.val = $905C; - public property INT_IMAGE_1D_ARRAY: boolean read self.val = $905D; - public property INT_IMAGE_2D_ARRAY: boolean read self.val = $905E; - public property INT_IMAGE_CUBE_MAP_ARRAY: boolean read self.val = $905F; - public property INT_IMAGE_2D_MULTISAMPLE: boolean read self.val = $9060; - public property INT_IMAGE_2D_MULTISAMPLE_ARRAY: boolean read self.val = $9061; - public property UNSIGNED_INT_IMAGE_1D: boolean read self.val = $9062; - public property UNSIGNED_INT_IMAGE_2D: boolean read self.val = $9063; - public property UNSIGNED_INT_IMAGE_3D: boolean read self.val = $9064; - public property UNSIGNED_INT_IMAGE_2D_RECT: boolean read self.val = $9065; - public property UNSIGNED_INT_IMAGE_CUBE: boolean read self.val = $9066; - public property UNSIGNED_INT_IMAGE_BUFFER: boolean read self.val = $9067; - public property UNSIGNED_INT_IMAGE_1D_ARRAY: boolean read self.val = $9068; - public property UNSIGNED_INT_IMAGE_2D_ARRAY: boolean read self.val = $9069; - public property UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY: boolean read self.val = $906A; - public property UNSIGNED_INT_IMAGE_2D_MULTISAMPLE: boolean read self.val = $906B; - public property UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY: boolean read self.val = $906C; - public property UNSIGNED_INT_ATOMIC_COUNTER: boolean read self.val = $92DB; - - end; - - //R - DebugSourceType = record + StringName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property API: boolean read self.val = $8246; - public property WINDOW_SYSTEM: boolean read self.val = $8247; - public property SHADER_COMPILER: boolean read self.val = $8248; - public property THIRD_PARTY: boolean read self.val = $8249; - public property APPLICATION: boolean read self.val = $824A; - public property OTHER: boolean read self.val = $824B; - public property API_ARB: boolean read self.val = $8246; - public property WINDOW_SYSTEM_ARB: boolean read self.val = $8247; - public property SHADER_COMPILER_ARB: boolean read self.val = $8248; - public property THIRD_PARTY_ARB: boolean read self.val = $8249; - public property APPLICATION_ARB: boolean read self.val = $824A; - public property OTHER_ARB: boolean read self.val = $824B; + private static _VENDOR := new StringName($1F00); + private static _RENDERER := new StringName($1F01); + private static _VERSION := new StringName($1F02); + private static _EXTENSIONS := new StringName($1F03); + private static _SHADING_LANGUAGE_VERSION := new StringName($8B8C); + + public static property VENDOR: StringName read _VENDOR; + public static property RENDERER: StringName read _RENDERER; + public static property VERSION: StringName read _VERSION; + public static property EXTENSIONS: StringName read _EXTENSIONS; + public static property SHADING_LANGUAGE_VERSION: StringName read _SHADING_LANGUAGE_VERSION; public function ToString: string; override; begin - var res := typeof(DebugSourceType).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(StringName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'DebugSourceType[{self.val}]': - res[0]; + $'StringName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R - DebugMessageType = record + SubroutineParameterName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property ERROR: boolean read self.val = $824C; - public property DEPRECATED_BEHAVIOR: boolean read self.val = $824D; - public property UNDEFINED_BEHAVIOR: boolean read self.val = $824E; - public property PORTABILITY: boolean read self.val = $824F; - public property PERFORMANCE: boolean read self.val = $8250; - public property OTHER: boolean read self.val = $8251; - public property MARKER: boolean read self.val = $8268; - public property PUSH_GROUP: boolean read self.val = $8269; - public property POP_GROUP: boolean read self.val = $826A; + private static _UNIFORM_SIZE := new SubroutineParameterName($8A38); + private static _UNIFORM_NAME_LENGTH := new SubroutineParameterName($8A39); + private static _NUM_COMPATIBLE_SUBROUTINES := new SubroutineParameterName($8E4A); + private static _COMPATIBLE_SUBROUTINES := new SubroutineParameterName($8E4B); + + public static property UNIFORM_SIZE: SubroutineParameterName read _UNIFORM_SIZE; + public static property UNIFORM_NAME_LENGTH: SubroutineParameterName read _UNIFORM_NAME_LENGTH; + public static property NUM_COMPATIBLE_SUBROUTINES: SubroutineParameterName read _NUM_COMPATIBLE_SUBROUTINES; + public static property COMPATIBLE_SUBROUTINES: SubroutineParameterName read _COMPATIBLE_SUBROUTINES; public function ToString: string; override; begin - var res := typeof(DebugMessageType).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(SubroutineParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'DebugMessageType[{self.val}]': - res[0]; + $'SubroutineParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R - DebugSeverityLevel = record + SyncCondition = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property HIGH: boolean read self.val = $9146; - public property MEDIUM: boolean read self.val = $9147; - public property LOW: boolean read self.val = $9148; - public property NOTIFICATION: boolean read self.val = $826B; + private static _SYNC_GPU_COMMANDS_COMPLETE := new SyncCondition($9117); + + public static property SYNC_GPU_COMMANDS_COMPLETE: SyncCondition read _SYNC_GPU_COMMANDS_COMPLETE; public function ToString: string; override; begin - var res := typeof(DebugSeverityLevel).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(SyncCondition).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'DebugSeverityLevel[{self.val}]': - res[0]; + $'SyncCondition[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - {$endregion 1 значение} - - {$region Флаги} - - //S - GDI_PixelFormatFlags = record + SyncObjectMask = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public static property DOUBLEBUFFER: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000001); - public static property STEREO: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000002); - public static property DRAW_TO_WINDOW: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000004); - public static property DRAW_TO_BITMAP: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000008); - public static property SUPPORT_GDI: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000010); - public static property SUPPORT_OPENGL: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000020); - public static property GENERIC_FORMAT: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000040); - public static property NEED_PALETTE: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000080); - public static property NEED_SYSTEM_PALETTE: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000100); - public static property SWAP_EXCHANGE: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000200); - public static property SWAP_COPY: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000400); - public static property SWAP_LAYER_BUFFERS: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00000800); - public static property GENERIC_ACCELERATED: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00001000); - public static property SUPPORT_DIRECTDRAW: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($00002000); - public static property DEPTH_DONTCARE: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($20000000); - public static property DOUBLEBUFFER_DONTCARE: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($40000000); - public static property STEREO_DONTCARE: GDI_PixelFormatFlags read new GDI_PixelFormatFlags($80000000); + private static _SYNC_FLUSH_COMMANDS_BIT := new SyncObjectMask($0001); + private static _SYNC_FLUSH_COMMANDS_BIT_APPLE := new SyncObjectMask($0001); - public static function operator or(v1,v2: GDI_PixelFormatFlags): GDI_PixelFormatFlags := new GDI_PixelFormatFlags(v1.val or v2.val); + public static property SYNC_FLUSH_COMMANDS_BIT: SyncObjectMask read _SYNC_FLUSH_COMMANDS_BIT; + public static property SYNC_FLUSH_COMMANDS_BIT_APPLE: SyncObjectMask read _SYNC_FLUSH_COMMANDS_BIT_APPLE; - end; - - //S - BufferTypeFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; + public static function operator or(f1,f2: SyncObjectMask) := new SyncObjectMask(f1.val or f2.val); - public static property COLOR_BUFFER_BIT: BufferTypeFlags read new BufferTypeFlags($00004000); - public static property DEPTH_BUFFER_BIT: BufferTypeFlags read new BufferTypeFlags($00000100); - public static property STENCIL_BUFFER_BIT: BufferTypeFlags read new BufferTypeFlags($00000400); - - public static function operator or(f1,f2: BufferTypeFlags): BufferTypeFlags := new BufferTypeFlags(f1.val or f2.val); - - end; - - //S - MemoryBarrierTypeFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property VERTEX_ATTRIB_ARRAY_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000001); - public static property ELEMENT_ARRAY_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000002); - public static property UNIFORM_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000004); - public static property TEXTURE_FETCH_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000008); - public static property SHADER_IMAGE_ACCESS_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000020); - public static property COMMAND_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000040); - public static property PIXEL_BUFFER_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000080); - public static property TEXTURE_UPDATE_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000100); - public static property BUFFER_UPDATE_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000200); - public static property FRAMEBUFFER_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000400); - public static property TRANSFORM_FEEDBACK_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00000800); - public static property ATOMIC_COUNTER_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00001000); - public static property SHADER_STORAGE_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00002000); - public static property QUERY_BUFFER_BARRIER_BIT: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($00008000); - public static property ALL_BARRIER_BITS: MemoryBarrierTypeFlags read new MemoryBarrierTypeFlags($FFFFFFFF); - - public static function operator or(f1,f2: MemoryBarrierTypeFlags): MemoryBarrierTypeFlags := new MemoryBarrierTypeFlags(f1.val or f2.val); - - end; - - //S - ProgramStagesFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property VERTEX_SHADER_BIT: ProgramStagesFlags read new ProgramStagesFlags($00000001); - public static property FRAGMENT_SHADER_BIT: ProgramStagesFlags read new ProgramStagesFlags($00000002); - public static property GEOMETRY_SHADER_BIT: ProgramStagesFlags read new ProgramStagesFlags($00000004); - public static property TESS_CONTROL_SHADER_BIT: ProgramStagesFlags read new ProgramStagesFlags($00000008); - public static property TESS_EVALUATION_SHADER_BIT: ProgramStagesFlags read new ProgramStagesFlags($00000010); - public static property COMPUTE_SHADER_BIT: ProgramStagesFlags read new ProgramStagesFlags($00000020); - public static property ALL_SHADER_BITS: ProgramStagesFlags read new ProgramStagesFlags($FFFFFFFF); - - public static function operator or(f1,f2: ProgramStagesFlags): ProgramStagesFlags := new ProgramStagesFlags(f1.val or f2.val); - - end; - - //S - ReservedFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property NONE: ReservedFlags read new ReservedFlags($0); - - public static function operator or(f1,f2: ReservedFlags): ReservedFlags := new ReservedFlags(f1.val or f2.val); - - end; - - //S - CommandFlushingBehaviorFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property SYNC_FLUSH_COMMANDS: CommandFlushingBehaviorFlags read new CommandFlushingBehaviorFlags($00000001); - - public static function operator or(f1,f2: CommandFlushingBehaviorFlags): CommandFlushingBehaviorFlags := new CommandFlushingBehaviorFlags(f1.val or f2.val); - - end; - - //S - BufferMapFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public static property READ_BIT: BufferMapFlags read new BufferMapFlags($0001); - public static property WRITE_BIT: BufferMapFlags read new BufferMapFlags($0002); - public static property INVALIDATE_RANGE_BIT: BufferMapFlags read new BufferMapFlags($0004); - public static property INVALIDATE_BUFFER_BIT: BufferMapFlags read new BufferMapFlags($0008); - public static property FLUSH_EXPLICIT_BIT: BufferMapFlags read new BufferMapFlags($0010); - public static property UNSYNCHRONIZED_BIT: BufferMapFlags read new BufferMapFlags($0020); - public static property PERSISTENT_BIT: BufferMapFlags read new BufferMapFlags($0040); - public static property COHERENT_BIT: BufferMapFlags read new BufferMapFlags($0080); - - public static function operator or(f1,f2: BufferMapFlags): BufferMapFlags := new BufferMapFlags(f1.val or f2.val); - - end; - - //S - BufferStorageFlags = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - -// public static property NONE: BufferStorageFlags read new BufferStorageFlags(0); //ToDo узнать надо ли - public static property MAP_READ_BIT: BufferStorageFlags read new BufferStorageFlags($0001); - public static property MAP_WRITE_BIT: BufferStorageFlags read new BufferStorageFlags($0002); - public static property MAP_PERSISTENT_BIT: BufferStorageFlags read new BufferStorageFlags($0040); - public static property MAP_COHERENT_BIT: BufferStorageFlags read new BufferStorageFlags($0080); - public static property DYNAMIC_STORAGE_BIT: BufferStorageFlags read new BufferStorageFlags($0100); - public static property CLIENT_STORAGE_BIT: BufferStorageFlags read new BufferStorageFlags($0200); - - public static function operator or(f1,f2: BufferStorageFlags): BufferStorageFlags := new BufferStorageFlags(f1.val or f2.val); - - end; - - {$endregion Флаги} - - {$region Ext} - - {$region INTEL_performance_query} - - //S - PerfQueryDataFlagsINTEL = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public property DONOT_FLUSH: boolean read self.val = $83F9; - public property FLUSH: boolean read self.val = $83FA; - public property WAIT: boolean read self.val = $83FB; - - public static function operator or(a,b: PerfQueryDataFlagsINTEL) := - new PerfQueryDataFlagsINTEL(a.val or b.val); - - end; - - //R - PerfQueryCounterTypeINTEL = record - public val: UInt32; - public constructor(val: UInt32) := self.val := val; - - public property &EVENT: boolean read self.val = $94F0; - public property DURATION_NORM: boolean read self.val = $94F1; - public property DURATION_RAW: boolean read self.val = $94F2; - public property THROUGHPUT: boolean read self.val = $94F3; - public property RAW: boolean read self.val = $94F4; - public property TIMESTAMP: boolean read self.val = $94F5; + public property HAS_FLAG_SYNC_FLUSH_COMMANDS_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_SYNC_FLUSH_COMMANDS_BIT_APPLE: boolean read self.val and $0001 <> 0; public function ToString: string; override; begin - var res := typeof(PerfQueryCounterTypeINTEL).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault; - Result := res=nil? - $'PerfQueryCounterTypeINTEL[{self.val}]': - res[0]; + var res := typeof(SyncObjectMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'SyncObjectMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); end; end; - //R - PerfQueryCounterDataTypeINTEL = record + SyncParameterName = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property UINT32: boolean read self.val = $94F8; - public property UINT64: boolean read self.val = $94F9; - public property FLOAT: boolean read self.val = $94FA; - public property DOUBLE: boolean read self.val = $94FB; - public property BOOL32: boolean read self.val = $94FC; + private static _OBJECT_TYPE := new SyncParameterName($9112); + private static _SYNC_CONDITION := new SyncParameterName($9113); + private static _SYNC_STATUS := new SyncParameterName($9114); + private static _SYNC_FLAGS := new SyncParameterName($9115); + + public static property OBJECT_TYPE: SyncParameterName read _OBJECT_TYPE; + public static property SYNC_CONDITION: SyncParameterName read _SYNC_CONDITION; + public static property SYNC_STATUS: SyncParameterName read _SYNC_STATUS; + public static property SYNC_FLAGS: SyncParameterName read _SYNC_FLAGS; public function ToString: string; override; begin - var res := typeof(PerfQueryCounterDataTypeINTEL).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault; + var res := typeof(SyncParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'PerfQueryCounterDataTypeINTEL[{self.val}]': - res[0]; + $'SyncParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - //R + SyncStatus = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _ALREADY_SIGNALED := new SyncStatus($911A); + private static _TIMEOUT_EXPIRED := new SyncStatus($911B); + private static _CONDITION_SATISFIED := new SyncStatus($911C); + private static _WAIT_FAILED := new SyncStatus($911D); + + public static property ALREADY_SIGNALED: SyncStatus read _ALREADY_SIGNALED; + public static property TIMEOUT_EXPIRED: SyncStatus read _TIMEOUT_EXPIRED; + public static property CONDITION_SATISFIED: SyncStatus read _CONDITION_SATISFIED; + public static property WAIT_FAILED: SyncStatus read _WAIT_FAILED; + + public function ToString: string; override; + begin + var res := typeof(SyncStatus).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SyncStatus[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TexCoordPointerType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SHORT := new TexCoordPointerType($1402); + private static _INT := new TexCoordPointerType($1404); + private static _FLOAT := new TexCoordPointerType($1406); + private static _DOUBLE := new TexCoordPointerType($140A); + + public static property SHORT: TexCoordPointerType read _SHORT; + public static property INT: TexCoordPointerType read _INT; + public static property FLOAT: TexCoordPointerType read _FLOAT; + public static property DOUBLE: TexCoordPointerType read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(TexCoordPointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TexCoordPointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureCoordName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _S := new TextureCoordName($2000); + private static _T := new TextureCoordName($2001); + private static _R := new TextureCoordName($2002); + private static _Q := new TextureCoordName($2003); + + public static property S: TextureCoordName read _S; + public static property T: TextureCoordName read _T; + public static property R: TextureCoordName read _R; + public static property Q: TextureCoordName read _Q; + + public function ToString: string; override; + begin + var res := typeof(TextureCoordName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureCoordName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureEnvParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_ENV_MODE := new TextureEnvParameter($2200); + private static _TEXTURE_ENV_COLOR := new TextureEnvParameter($2201); + + public static property TEXTURE_ENV_MODE: TextureEnvParameter read _TEXTURE_ENV_MODE; + public static property TEXTURE_ENV_COLOR: TextureEnvParameter read _TEXTURE_ENV_COLOR; + + public function ToString: string; override; + begin + var res := typeof(TextureEnvParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureEnvParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureEnvTarget = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_ENV := new TextureEnvTarget($2300); + + public static property TEXTURE_ENV: TextureEnvTarget read _TEXTURE_ENV; + + public function ToString: string; override; + begin + var res := typeof(TextureEnvTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureEnvTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureGenParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_GEN_MODE := new TextureGenParameter($2500); + private static _OBJECT_PLANE := new TextureGenParameter($2501); + private static _EYE_PLANE := new TextureGenParameter($2502); + private static _EYE_POINT_SGIS := new TextureGenParameter($81F4); + private static _OBJECT_POINT_SGIS := new TextureGenParameter($81F5); + private static _EYE_LINE_SGIS := new TextureGenParameter($81F6); + private static _OBJECT_LINE_SGIS := new TextureGenParameter($81F7); + + public static property TEXTURE_GEN_MODE: TextureGenParameter read _TEXTURE_GEN_MODE; + public static property OBJECT_PLANE: TextureGenParameter read _OBJECT_PLANE; + public static property EYE_PLANE: TextureGenParameter read _EYE_PLANE; + public static property EYE_POINT_SGIS: TextureGenParameter read _EYE_POINT_SGIS; + public static property OBJECT_POINT_SGIS: TextureGenParameter read _OBJECT_POINT_SGIS; + public static property EYE_LINE_SGIS: TextureGenParameter read _EYE_LINE_SGIS; + public static property OBJECT_LINE_SGIS: TextureGenParameter read _OBJECT_LINE_SGIS; + + public function ToString: string; override; + begin + var res := typeof(TextureGenParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureGenParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureLayout = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT := new TextureLayout($9530); + private static _LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT := new TextureLayout($9531); + private static _LAYOUT_GENERAL_EXT := new TextureLayout($958D); + private static _LAYOUT_COLOR_ATTACHMENT_EXT := new TextureLayout($958E); + private static _LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT := new TextureLayout($958F); + private static _LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT := new TextureLayout($9590); + private static _LAYOUT_SHADER_READ_ONLY_EXT := new TextureLayout($9591); + private static _LAYOUT_TRANSFER_SRC_EXT := new TextureLayout($9592); + private static _LAYOUT_TRANSFER_DST_EXT := new TextureLayout($9593); + + public static property LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT: TextureLayout read _LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT; + public static property LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT: TextureLayout read _LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT; + public static property LAYOUT_GENERAL_EXT: TextureLayout read _LAYOUT_GENERAL_EXT; + public static property LAYOUT_COLOR_ATTACHMENT_EXT: TextureLayout read _LAYOUT_COLOR_ATTACHMENT_EXT; + public static property LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT: TextureLayout read _LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT; + public static property LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT: TextureLayout read _LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT; + public static property LAYOUT_SHADER_READ_ONLY_EXT: TextureLayout read _LAYOUT_SHADER_READ_ONLY_EXT; + public static property LAYOUT_TRANSFER_SRC_EXT: TextureLayout read _LAYOUT_TRANSFER_SRC_EXT; + public static property LAYOUT_TRANSFER_DST_EXT: TextureLayout read _LAYOUT_TRANSFER_DST_EXT; + + public function ToString: string; override; + begin + var res := typeof(TextureLayout).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureLayout[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureParameterName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_WIDTH := new TextureParameterName($1000); + private static _TEXTURE_HEIGHT := new TextureParameterName($1001); + private static _TEXTURE_COMPONENTS := new TextureParameterName($1003); + private static _TEXTURE_INTERNAL_FORMAT := new TextureParameterName($1003); + private static _TEXTURE_BORDER_COLOR := new TextureParameterName($1004); + private static _TEXTURE_BORDER_COLOR_NV := new TextureParameterName($1004); + private static _TEXTURE_BORDER := new TextureParameterName($1005); + private static _TEXTURE_MAG_FILTER := new TextureParameterName($2800); + private static _TEXTURE_MIN_FILTER := new TextureParameterName($2801); + private static _TEXTURE_WRAP_S := new TextureParameterName($2802); + private static _TEXTURE_WRAP_T := new TextureParameterName($2803); + private static _TEXTURE_RED_SIZE := new TextureParameterName($805C); + private static _TEXTURE_GREEN_SIZE := new TextureParameterName($805D); + private static _TEXTURE_BLUE_SIZE := new TextureParameterName($805E); + private static _TEXTURE_ALPHA_SIZE := new TextureParameterName($805F); + private static _TEXTURE_LUMINANCE_SIZE := new TextureParameterName($8060); + private static _TEXTURE_INTENSITY_SIZE := new TextureParameterName($8061); + private static _TEXTURE_PRIORITY := new TextureParameterName($8066); + private static _TEXTURE_PRIORITY_EXT := new TextureParameterName($8066); + private static _TEXTURE_RESIDENT := new TextureParameterName($8067); + private static _TEXTURE_DEPTH_EXT := new TextureParameterName($8071); + private static _TEXTURE_WRAP_R := new TextureParameterName($8072); + private static _TEXTURE_WRAP_R_EXT := new TextureParameterName($8072); + private static _TEXTURE_WRAP_R_OES := new TextureParameterName($8072); + private static _DETAIL_TEXTURE_LEVEL_SGIS := new TextureParameterName($809A); + private static _DETAIL_TEXTURE_MODE_SGIS := new TextureParameterName($809B); + private static _DETAIL_TEXTURE_FUNC_POINTS_SGIS := new TextureParameterName($809C); + private static _SHARPEN_TEXTURE_FUNC_POINTS_SGIS := new TextureParameterName($80B0); + private static _SHADOW_AMBIENT_SGIX := new TextureParameterName($80BF); + private static _DUAL_TEXTURE_SELECT_SGIS := new TextureParameterName($8124); + private static _QUAD_TEXTURE_SELECT_SGIS := new TextureParameterName($8125); + private static _TEXTURE_4DSIZE_SGIS := new TextureParameterName($8136); + private static _TEXTURE_WRAP_Q_SGIS := new TextureParameterName($8137); + private static _TEXTURE_MIN_LOD := new TextureParameterName($813A); + private static _TEXTURE_MIN_LOD_SGIS := new TextureParameterName($813A); + private static _TEXTURE_MAX_LOD := new TextureParameterName($813B); + private static _TEXTURE_MAX_LOD_SGIS := new TextureParameterName($813B); + private static _TEXTURE_BASE_LEVEL := new TextureParameterName($813C); + private static _TEXTURE_BASE_LEVEL_SGIS := new TextureParameterName($813C); + private static _TEXTURE_MAX_LEVEL := new TextureParameterName($813D); + private static _TEXTURE_MAX_LEVEL_SGIS := new TextureParameterName($813D); + private static _TEXTURE_FILTER4_SIZE_SGIS := new TextureParameterName($8147); + private static _TEXTURE_CLIPMAP_CENTER_SGIX := new TextureParameterName($8171); + private static _TEXTURE_CLIPMAP_FRAME_SGIX := new TextureParameterName($8172); + private static _TEXTURE_CLIPMAP_OFFSET_SGIX := new TextureParameterName($8173); + private static _TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX := new TextureParameterName($8174); + private static _TEXTURE_CLIPMAP_LOD_OFFSET_SGIX := new TextureParameterName($8175); + private static _TEXTURE_CLIPMAP_DEPTH_SGIX := new TextureParameterName($8176); + private static _POST_TEXTURE_FILTER_BIAS_SGIX := new TextureParameterName($8179); + private static _POST_TEXTURE_FILTER_SCALE_SGIX := new TextureParameterName($817A); + private static _TEXTURE_LOD_BIAS_S_SGIX := new TextureParameterName($818E); + private static _TEXTURE_LOD_BIAS_T_SGIX := new TextureParameterName($818F); + private static _TEXTURE_LOD_BIAS_R_SGIX := new TextureParameterName($8190); + private static _GENERATE_MIPMAP := new TextureParameterName($8191); + private static _GENERATE_MIPMAP_SGIS := new TextureParameterName($8191); + private static _TEXTURE_COMPARE_SGIX := new TextureParameterName($819A); + private static _TEXTURE_COMPARE_OPERATOR_SGIX := new TextureParameterName($819B); + private static _TEXTURE_LEQUAL_R_SGIX := new TextureParameterName($819C); + private static _TEXTURE_GEQUAL_R_SGIX := new TextureParameterName($819D); + private static _TEXTURE_MAX_CLAMP_S_SGIX := new TextureParameterName($8369); + private static _TEXTURE_MAX_CLAMP_T_SGIX := new TextureParameterName($836A); + private static _TEXTURE_MAX_CLAMP_R_SGIX := new TextureParameterName($836B); + private static _TEXTURE_LOD_BIAS := new TextureParameterName($8501); + private static _TEXTURE_COMPARE_MODE := new TextureParameterName($884C); + private static _TEXTURE_COMPARE_FUNC := new TextureParameterName($884D); + private static _TEXTURE_SWIZZLE_R := new TextureParameterName($8E42); + private static _TEXTURE_SWIZZLE_G := new TextureParameterName($8E43); + private static _TEXTURE_SWIZZLE_B := new TextureParameterName($8E44); + private static _TEXTURE_SWIZZLE_A := new TextureParameterName($8E45); + private static _TEXTURE_SWIZZLE_RGBA := new TextureParameterName($8E46); + private static _DEPTH_STENCIL_TEXTURE_MODE := new TextureParameterName($90EA); + private static _TEXTURE_TILING_EXT := new TextureParameterName($9580); + + public static property TEXTURE_WIDTH: TextureParameterName read _TEXTURE_WIDTH; + public static property TEXTURE_HEIGHT: TextureParameterName read _TEXTURE_HEIGHT; + public static property TEXTURE_COMPONENTS: TextureParameterName read _TEXTURE_COMPONENTS; + public static property TEXTURE_INTERNAL_FORMAT: TextureParameterName read _TEXTURE_INTERNAL_FORMAT; + public static property TEXTURE_BORDER_COLOR: TextureParameterName read _TEXTURE_BORDER_COLOR; + public static property TEXTURE_BORDER_COLOR_NV: TextureParameterName read _TEXTURE_BORDER_COLOR_NV; + public static property TEXTURE_BORDER: TextureParameterName read _TEXTURE_BORDER; + public static property TEXTURE_MAG_FILTER: TextureParameterName read _TEXTURE_MAG_FILTER; + public static property TEXTURE_MIN_FILTER: TextureParameterName read _TEXTURE_MIN_FILTER; + public static property TEXTURE_WRAP_S: TextureParameterName read _TEXTURE_WRAP_S; + public static property TEXTURE_WRAP_T: TextureParameterName read _TEXTURE_WRAP_T; + public static property TEXTURE_RED_SIZE: TextureParameterName read _TEXTURE_RED_SIZE; + public static property TEXTURE_GREEN_SIZE: TextureParameterName read _TEXTURE_GREEN_SIZE; + public static property TEXTURE_BLUE_SIZE: TextureParameterName read _TEXTURE_BLUE_SIZE; + public static property TEXTURE_ALPHA_SIZE: TextureParameterName read _TEXTURE_ALPHA_SIZE; + public static property TEXTURE_LUMINANCE_SIZE: TextureParameterName read _TEXTURE_LUMINANCE_SIZE; + public static property TEXTURE_INTENSITY_SIZE: TextureParameterName read _TEXTURE_INTENSITY_SIZE; + public static property TEXTURE_PRIORITY: TextureParameterName read _TEXTURE_PRIORITY; + public static property TEXTURE_PRIORITY_EXT: TextureParameterName read _TEXTURE_PRIORITY_EXT; + public static property TEXTURE_RESIDENT: TextureParameterName read _TEXTURE_RESIDENT; + public static property TEXTURE_DEPTH_EXT: TextureParameterName read _TEXTURE_DEPTH_EXT; + public static property TEXTURE_WRAP_R: TextureParameterName read _TEXTURE_WRAP_R; + public static property TEXTURE_WRAP_R_EXT: TextureParameterName read _TEXTURE_WRAP_R_EXT; + public static property TEXTURE_WRAP_R_OES: TextureParameterName read _TEXTURE_WRAP_R_OES; + public static property DETAIL_TEXTURE_LEVEL_SGIS: TextureParameterName read _DETAIL_TEXTURE_LEVEL_SGIS; + public static property DETAIL_TEXTURE_MODE_SGIS: TextureParameterName read _DETAIL_TEXTURE_MODE_SGIS; + public static property DETAIL_TEXTURE_FUNC_POINTS_SGIS: TextureParameterName read _DETAIL_TEXTURE_FUNC_POINTS_SGIS; + public static property SHARPEN_TEXTURE_FUNC_POINTS_SGIS: TextureParameterName read _SHARPEN_TEXTURE_FUNC_POINTS_SGIS; + public static property SHADOW_AMBIENT_SGIX: TextureParameterName read _SHADOW_AMBIENT_SGIX; + public static property DUAL_TEXTURE_SELECT_SGIS: TextureParameterName read _DUAL_TEXTURE_SELECT_SGIS; + public static property QUAD_TEXTURE_SELECT_SGIS: TextureParameterName read _QUAD_TEXTURE_SELECT_SGIS; + public static property TEXTURE_4DSIZE_SGIS: TextureParameterName read _TEXTURE_4DSIZE_SGIS; + public static property TEXTURE_WRAP_Q_SGIS: TextureParameterName read _TEXTURE_WRAP_Q_SGIS; + public static property TEXTURE_MIN_LOD: TextureParameterName read _TEXTURE_MIN_LOD; + public static property TEXTURE_MIN_LOD_SGIS: TextureParameterName read _TEXTURE_MIN_LOD_SGIS; + public static property TEXTURE_MAX_LOD: TextureParameterName read _TEXTURE_MAX_LOD; + public static property TEXTURE_MAX_LOD_SGIS: TextureParameterName read _TEXTURE_MAX_LOD_SGIS; + public static property TEXTURE_BASE_LEVEL: TextureParameterName read _TEXTURE_BASE_LEVEL; + public static property TEXTURE_BASE_LEVEL_SGIS: TextureParameterName read _TEXTURE_BASE_LEVEL_SGIS; + public static property TEXTURE_MAX_LEVEL: TextureParameterName read _TEXTURE_MAX_LEVEL; + public static property TEXTURE_MAX_LEVEL_SGIS: TextureParameterName read _TEXTURE_MAX_LEVEL_SGIS; + public static property TEXTURE_FILTER4_SIZE_SGIS: TextureParameterName read _TEXTURE_FILTER4_SIZE_SGIS; + public static property TEXTURE_CLIPMAP_CENTER_SGIX: TextureParameterName read _TEXTURE_CLIPMAP_CENTER_SGIX; + public static property TEXTURE_CLIPMAP_FRAME_SGIX: TextureParameterName read _TEXTURE_CLIPMAP_FRAME_SGIX; + public static property TEXTURE_CLIPMAP_OFFSET_SGIX: TextureParameterName read _TEXTURE_CLIPMAP_OFFSET_SGIX; + public static property TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX: TextureParameterName read _TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX; + public static property TEXTURE_CLIPMAP_LOD_OFFSET_SGIX: TextureParameterName read _TEXTURE_CLIPMAP_LOD_OFFSET_SGIX; + public static property TEXTURE_CLIPMAP_DEPTH_SGIX: TextureParameterName read _TEXTURE_CLIPMAP_DEPTH_SGIX; + public static property POST_TEXTURE_FILTER_BIAS_SGIX: TextureParameterName read _POST_TEXTURE_FILTER_BIAS_SGIX; + public static property POST_TEXTURE_FILTER_SCALE_SGIX: TextureParameterName read _POST_TEXTURE_FILTER_SCALE_SGIX; + public static property TEXTURE_LOD_BIAS_S_SGIX: TextureParameterName read _TEXTURE_LOD_BIAS_S_SGIX; + public static property TEXTURE_LOD_BIAS_T_SGIX: TextureParameterName read _TEXTURE_LOD_BIAS_T_SGIX; + public static property TEXTURE_LOD_BIAS_R_SGIX: TextureParameterName read _TEXTURE_LOD_BIAS_R_SGIX; + public static property GENERATE_MIPMAP: TextureParameterName read _GENERATE_MIPMAP; + public static property GENERATE_MIPMAP_SGIS: TextureParameterName read _GENERATE_MIPMAP_SGIS; + public static property TEXTURE_COMPARE_SGIX: TextureParameterName read _TEXTURE_COMPARE_SGIX; + public static property TEXTURE_COMPARE_OPERATOR_SGIX: TextureParameterName read _TEXTURE_COMPARE_OPERATOR_SGIX; + public static property TEXTURE_LEQUAL_R_SGIX: TextureParameterName read _TEXTURE_LEQUAL_R_SGIX; + public static property TEXTURE_GEQUAL_R_SGIX: TextureParameterName read _TEXTURE_GEQUAL_R_SGIX; + public static property TEXTURE_MAX_CLAMP_S_SGIX: TextureParameterName read _TEXTURE_MAX_CLAMP_S_SGIX; + public static property TEXTURE_MAX_CLAMP_T_SGIX: TextureParameterName read _TEXTURE_MAX_CLAMP_T_SGIX; + public static property TEXTURE_MAX_CLAMP_R_SGIX: TextureParameterName read _TEXTURE_MAX_CLAMP_R_SGIX; + public static property TEXTURE_LOD_BIAS: TextureParameterName read _TEXTURE_LOD_BIAS; + public static property TEXTURE_COMPARE_MODE: TextureParameterName read _TEXTURE_COMPARE_MODE; + public static property TEXTURE_COMPARE_FUNC: TextureParameterName read _TEXTURE_COMPARE_FUNC; + public static property TEXTURE_SWIZZLE_R: TextureParameterName read _TEXTURE_SWIZZLE_R; + public static property TEXTURE_SWIZZLE_G: TextureParameterName read _TEXTURE_SWIZZLE_G; + public static property TEXTURE_SWIZZLE_B: TextureParameterName read _TEXTURE_SWIZZLE_B; + public static property TEXTURE_SWIZZLE_A: TextureParameterName read _TEXTURE_SWIZZLE_A; + public static property TEXTURE_SWIZZLE_RGBA: TextureParameterName read _TEXTURE_SWIZZLE_RGBA; + public static property DEPTH_STENCIL_TEXTURE_MODE: TextureParameterName read _DEPTH_STENCIL_TEXTURE_MODE; + public static property TEXTURE_TILING_EXT: TextureParameterName read _TEXTURE_TILING_EXT; + + public function ToString: string; override; + begin + var res := typeof(TextureParameterName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureParameterName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureTarget = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_1D := new TextureTarget($0DE0); + private static _TEXTURE_2D := new TextureTarget($0DE1); + private static _PROXY_TEXTURE_1D := new TextureTarget($8063); + private static _PROXY_TEXTURE_1D_EXT := new TextureTarget($8063); + private static _PROXY_TEXTURE_2D := new TextureTarget($8064); + private static _PROXY_TEXTURE_2D_EXT := new TextureTarget($8064); + private static _TEXTURE_3D := new TextureTarget($806F); + private static _TEXTURE_3D_EXT := new TextureTarget($806F); + private static _TEXTURE_3D_OES := new TextureTarget($806F); + private static _PROXY_TEXTURE_3D := new TextureTarget($8070); + private static _PROXY_TEXTURE_3D_EXT := new TextureTarget($8070); + private static _DETAIL_TEXTURE_2D_SGIS := new TextureTarget($8095); + private static _TEXTURE_4D_SGIS := new TextureTarget($8134); + private static _PROXY_TEXTURE_4D_SGIS := new TextureTarget($8135); + private static _TEXTURE_RECTANGLE := new TextureTarget($84F5); + private static _PROXY_TEXTURE_RECTANGLE := new TextureTarget($84F7); + private static _PROXY_TEXTURE_RECTANGLE_ARB := new TextureTarget($84F7); + private static _PROXY_TEXTURE_RECTANGLE_NV := new TextureTarget($84F7); + private static _TEXTURE_CUBE_MAP := new TextureTarget($8513); + private static _TEXTURE_CUBE_MAP_POSITIVE_X := new TextureTarget($8515); + private static _TEXTURE_CUBE_MAP_NEGATIVE_X := new TextureTarget($8516); + private static _TEXTURE_CUBE_MAP_POSITIVE_Y := new TextureTarget($8517); + private static _TEXTURE_CUBE_MAP_NEGATIVE_Y := new TextureTarget($8518); + private static _TEXTURE_CUBE_MAP_POSITIVE_Z := new TextureTarget($8519); + private static _TEXTURE_CUBE_MAP_NEGATIVE_Z := new TextureTarget($851A); + private static _PROXY_TEXTURE_CUBE_MAP := new TextureTarget($851B); + private static _PROXY_TEXTURE_CUBE_MAP_ARB := new TextureTarget($851B); + private static _PROXY_TEXTURE_CUBE_MAP_EXT := new TextureTarget($851B); + private static _TEXTURE_1D_ARRAY := new TextureTarget($8C18); + private static _PROXY_TEXTURE_1D_ARRAY := new TextureTarget($8C19); + private static _PROXY_TEXTURE_1D_ARRAY_EXT := new TextureTarget($8C19); + private static _TEXTURE_2D_ARRAY := new TextureTarget($8C1A); + private static _PROXY_TEXTURE_2D_ARRAY := new TextureTarget($8C1B); + private static _PROXY_TEXTURE_2D_ARRAY_EXT := new TextureTarget($8C1B); + private static _TEXTURE_CUBE_MAP_ARRAY := new TextureTarget($9009); + private static _TEXTURE_CUBE_MAP_ARRAY_ARB := new TextureTarget($9009); + private static _TEXTURE_CUBE_MAP_ARRAY_EXT := new TextureTarget($9009); + private static _TEXTURE_CUBE_MAP_ARRAY_OES := new TextureTarget($9009); + private static _PROXY_TEXTURE_CUBE_MAP_ARRAY := new TextureTarget($900B); + private static _PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB := new TextureTarget($900B); + private static _TEXTURE_2D_MULTISAMPLE := new TextureTarget($9100); + private static _PROXY_TEXTURE_2D_MULTISAMPLE := new TextureTarget($9101); + private static _TEXTURE_2D_MULTISAMPLE_ARRAY := new TextureTarget($9102); + private static _PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY := new TextureTarget($9103); + + public static property TEXTURE_1D: TextureTarget read _TEXTURE_1D; + public static property TEXTURE_2D: TextureTarget read _TEXTURE_2D; + public static property PROXY_TEXTURE_1D: TextureTarget read _PROXY_TEXTURE_1D; + public static property PROXY_TEXTURE_1D_EXT: TextureTarget read _PROXY_TEXTURE_1D_EXT; + public static property PROXY_TEXTURE_2D: TextureTarget read _PROXY_TEXTURE_2D; + public static property PROXY_TEXTURE_2D_EXT: TextureTarget read _PROXY_TEXTURE_2D_EXT; + public static property TEXTURE_3D: TextureTarget read _TEXTURE_3D; + public static property TEXTURE_3D_EXT: TextureTarget read _TEXTURE_3D_EXT; + public static property TEXTURE_3D_OES: TextureTarget read _TEXTURE_3D_OES; + public static property PROXY_TEXTURE_3D: TextureTarget read _PROXY_TEXTURE_3D; + public static property PROXY_TEXTURE_3D_EXT: TextureTarget read _PROXY_TEXTURE_3D_EXT; + public static property DETAIL_TEXTURE_2D_SGIS: TextureTarget read _DETAIL_TEXTURE_2D_SGIS; + public static property TEXTURE_4D_SGIS: TextureTarget read _TEXTURE_4D_SGIS; + public static property PROXY_TEXTURE_4D_SGIS: TextureTarget read _PROXY_TEXTURE_4D_SGIS; + public static property TEXTURE_RECTANGLE: TextureTarget read _TEXTURE_RECTANGLE; + public static property PROXY_TEXTURE_RECTANGLE: TextureTarget read _PROXY_TEXTURE_RECTANGLE; + public static property PROXY_TEXTURE_RECTANGLE_ARB: TextureTarget read _PROXY_TEXTURE_RECTANGLE_ARB; + public static property PROXY_TEXTURE_RECTANGLE_NV: TextureTarget read _PROXY_TEXTURE_RECTANGLE_NV; + public static property TEXTURE_CUBE_MAP: TextureTarget read _TEXTURE_CUBE_MAP; + public static property TEXTURE_CUBE_MAP_POSITIVE_X: TextureTarget read _TEXTURE_CUBE_MAP_POSITIVE_X; + public static property TEXTURE_CUBE_MAP_NEGATIVE_X: TextureTarget read _TEXTURE_CUBE_MAP_NEGATIVE_X; + public static property TEXTURE_CUBE_MAP_POSITIVE_Y: TextureTarget read _TEXTURE_CUBE_MAP_POSITIVE_Y; + public static property TEXTURE_CUBE_MAP_NEGATIVE_Y: TextureTarget read _TEXTURE_CUBE_MAP_NEGATIVE_Y; + public static property TEXTURE_CUBE_MAP_POSITIVE_Z: TextureTarget read _TEXTURE_CUBE_MAP_POSITIVE_Z; + public static property TEXTURE_CUBE_MAP_NEGATIVE_Z: TextureTarget read _TEXTURE_CUBE_MAP_NEGATIVE_Z; + public static property PROXY_TEXTURE_CUBE_MAP: TextureTarget read _PROXY_TEXTURE_CUBE_MAP; + public static property PROXY_TEXTURE_CUBE_MAP_ARB: TextureTarget read _PROXY_TEXTURE_CUBE_MAP_ARB; + public static property PROXY_TEXTURE_CUBE_MAP_EXT: TextureTarget read _PROXY_TEXTURE_CUBE_MAP_EXT; + public static property TEXTURE_1D_ARRAY: TextureTarget read _TEXTURE_1D_ARRAY; + public static property PROXY_TEXTURE_1D_ARRAY: TextureTarget read _PROXY_TEXTURE_1D_ARRAY; + public static property PROXY_TEXTURE_1D_ARRAY_EXT: TextureTarget read _PROXY_TEXTURE_1D_ARRAY_EXT; + public static property TEXTURE_2D_ARRAY: TextureTarget read _TEXTURE_2D_ARRAY; + public static property PROXY_TEXTURE_2D_ARRAY: TextureTarget read _PROXY_TEXTURE_2D_ARRAY; + public static property PROXY_TEXTURE_2D_ARRAY_EXT: TextureTarget read _PROXY_TEXTURE_2D_ARRAY_EXT; + public static property TEXTURE_CUBE_MAP_ARRAY: TextureTarget read _TEXTURE_CUBE_MAP_ARRAY; + public static property TEXTURE_CUBE_MAP_ARRAY_ARB: TextureTarget read _TEXTURE_CUBE_MAP_ARRAY_ARB; + public static property TEXTURE_CUBE_MAP_ARRAY_EXT: TextureTarget read _TEXTURE_CUBE_MAP_ARRAY_EXT; + public static property TEXTURE_CUBE_MAP_ARRAY_OES: TextureTarget read _TEXTURE_CUBE_MAP_ARRAY_OES; + public static property PROXY_TEXTURE_CUBE_MAP_ARRAY: TextureTarget read _PROXY_TEXTURE_CUBE_MAP_ARRAY; + public static property PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB: TextureTarget read _PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB; + public static property TEXTURE_2D_MULTISAMPLE: TextureTarget read _TEXTURE_2D_MULTISAMPLE; + public static property PROXY_TEXTURE_2D_MULTISAMPLE: TextureTarget read _PROXY_TEXTURE_2D_MULTISAMPLE; + public static property TEXTURE_2D_MULTISAMPLE_ARRAY: TextureTarget read _TEXTURE_2D_MULTISAMPLE_ARRAY; + public static property PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY: TextureTarget read _PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY; + + public function ToString: string; override; + begin + var res := typeof(TextureTarget).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureTarget[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureUnit = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE0 := new TextureUnit($84C0); + private static _TEXTURE1 := new TextureUnit($84C1); + private static _TEXTURE2 := new TextureUnit($84C2); + private static _TEXTURE3 := new TextureUnit($84C3); + private static _TEXTURE4 := new TextureUnit($84C4); + private static _TEXTURE5 := new TextureUnit($84C5); + private static _TEXTURE6 := new TextureUnit($84C6); + private static _TEXTURE7 := new TextureUnit($84C7); + private static _TEXTURE8 := new TextureUnit($84C8); + private static _TEXTURE9 := new TextureUnit($84C9); + private static _TEXTURE10 := new TextureUnit($84CA); + private static _TEXTURE11 := new TextureUnit($84CB); + private static _TEXTURE12 := new TextureUnit($84CC); + private static _TEXTURE13 := new TextureUnit($84CD); + private static _TEXTURE14 := new TextureUnit($84CE); + private static _TEXTURE15 := new TextureUnit($84CF); + private static _TEXTURE16 := new TextureUnit($84D0); + private static _TEXTURE17 := new TextureUnit($84D1); + private static _TEXTURE18 := new TextureUnit($84D2); + private static _TEXTURE19 := new TextureUnit($84D3); + private static _TEXTURE20 := new TextureUnit($84D4); + private static _TEXTURE21 := new TextureUnit($84D5); + private static _TEXTURE22 := new TextureUnit($84D6); + private static _TEXTURE23 := new TextureUnit($84D7); + private static _TEXTURE24 := new TextureUnit($84D8); + private static _TEXTURE25 := new TextureUnit($84D9); + private static _TEXTURE26 := new TextureUnit($84DA); + private static _TEXTURE27 := new TextureUnit($84DB); + private static _TEXTURE28 := new TextureUnit($84DC); + private static _TEXTURE29 := new TextureUnit($84DD); + private static _TEXTURE30 := new TextureUnit($84DE); + private static _TEXTURE31 := new TextureUnit($84DF); + + public static property TEXTURE0: TextureUnit read _TEXTURE0; + public static property TEXTURE1: TextureUnit read _TEXTURE1; + public static property TEXTURE2: TextureUnit read _TEXTURE2; + public static property TEXTURE3: TextureUnit read _TEXTURE3; + public static property TEXTURE4: TextureUnit read _TEXTURE4; + public static property TEXTURE5: TextureUnit read _TEXTURE5; + public static property TEXTURE6: TextureUnit read _TEXTURE6; + public static property TEXTURE7: TextureUnit read _TEXTURE7; + public static property TEXTURE8: TextureUnit read _TEXTURE8; + public static property TEXTURE9: TextureUnit read _TEXTURE9; + public static property TEXTURE10: TextureUnit read _TEXTURE10; + public static property TEXTURE11: TextureUnit read _TEXTURE11; + public static property TEXTURE12: TextureUnit read _TEXTURE12; + public static property TEXTURE13: TextureUnit read _TEXTURE13; + public static property TEXTURE14: TextureUnit read _TEXTURE14; + public static property TEXTURE15: TextureUnit read _TEXTURE15; + public static property TEXTURE16: TextureUnit read _TEXTURE16; + public static property TEXTURE17: TextureUnit read _TEXTURE17; + public static property TEXTURE18: TextureUnit read _TEXTURE18; + public static property TEXTURE19: TextureUnit read _TEXTURE19; + public static property TEXTURE20: TextureUnit read _TEXTURE20; + public static property TEXTURE21: TextureUnit read _TEXTURE21; + public static property TEXTURE22: TextureUnit read _TEXTURE22; + public static property TEXTURE23: TextureUnit read _TEXTURE23; + public static property TEXTURE24: TextureUnit read _TEXTURE24; + public static property TEXTURE25: TextureUnit read _TEXTURE25; + public static property TEXTURE26: TextureUnit read _TEXTURE26; + public static property TEXTURE27: TextureUnit read _TEXTURE27; + public static property TEXTURE28: TextureUnit read _TEXTURE28; + public static property TEXTURE29: TextureUnit read _TEXTURE29; + public static property TEXTURE30: TextureUnit read _TEXTURE30; + public static property TEXTURE31: TextureUnit read _TEXTURE31; + + public function ToString: string; override; + begin + var res := typeof(TextureUnit).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureUnit[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TransformFeedbackBufferMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _INTERLEAVED_ATTRIBS := new TransformFeedbackBufferMode($8C8C); + private static _SEPARATE_ATTRIBS := new TransformFeedbackBufferMode($8C8D); + + public static property INTERLEAVED_ATTRIBS: TransformFeedbackBufferMode read _INTERLEAVED_ATTRIBS; + public static property SEPARATE_ATTRIBS: TransformFeedbackBufferMode read _SEPARATE_ATTRIBS; + + public function ToString: string; override; + begin + var res := typeof(TransformFeedbackBufferMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TransformFeedbackBufferMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TransformFeedbackPName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TRANSFORM_FEEDBACK_BUFFER_START := new TransformFeedbackPName($8C84); + private static _TRANSFORM_FEEDBACK_BUFFER_SIZE := new TransformFeedbackPName($8C85); + private static _TRANSFORM_FEEDBACK_BUFFER_BINDING := new TransformFeedbackPName($8C8F); + private static _TRANSFORM_FEEDBACK_PAUSED := new TransformFeedbackPName($8E23); + private static _TRANSFORM_FEEDBACK_ACTIVE := new TransformFeedbackPName($8E24); + + public static property TRANSFORM_FEEDBACK_BUFFER_START: TransformFeedbackPName read _TRANSFORM_FEEDBACK_BUFFER_START; + public static property TRANSFORM_FEEDBACK_BUFFER_SIZE: TransformFeedbackPName read _TRANSFORM_FEEDBACK_BUFFER_SIZE; + public static property TRANSFORM_FEEDBACK_BUFFER_BINDING: TransformFeedbackPName read _TRANSFORM_FEEDBACK_BUFFER_BINDING; + public static property TRANSFORM_FEEDBACK_PAUSED: TransformFeedbackPName read _TRANSFORM_FEEDBACK_PAUSED; + public static property TRANSFORM_FEEDBACK_ACTIVE: TransformFeedbackPName read _TRANSFORM_FEEDBACK_ACTIVE; + + public function ToString: string; override; + begin + var res := typeof(TransformFeedbackPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TransformFeedbackPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + UniformBlockPName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER := new UniformBlockPName($84F0); + private static _UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER := new UniformBlockPName($84F1); + private static _UNIFORM_BLOCK_BINDING := new UniformBlockPName($8A3F); + private static _UNIFORM_BLOCK_DATA_SIZE := new UniformBlockPName($8A40); + private static _UNIFORM_BLOCK_NAME_LENGTH := new UniformBlockPName($8A41); + private static _UNIFORM_BLOCK_ACTIVE_UNIFORMS := new UniformBlockPName($8A42); + private static _UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES := new UniformBlockPName($8A43); + private static _UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER := new UniformBlockPName($8A44); + private static _UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER := new UniformBlockPName($8A45); + private static _UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER := new UniformBlockPName($8A46); + private static _UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER := new UniformBlockPName($90EC); + + public static property UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER: UniformBlockPName read _UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER; + public static property UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER: UniformBlockPName read _UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER; + public static property UNIFORM_BLOCK_BINDING: UniformBlockPName read _UNIFORM_BLOCK_BINDING; + public static property UNIFORM_BLOCK_DATA_SIZE: UniformBlockPName read _UNIFORM_BLOCK_DATA_SIZE; + public static property UNIFORM_BLOCK_NAME_LENGTH: UniformBlockPName read _UNIFORM_BLOCK_NAME_LENGTH; + public static property UNIFORM_BLOCK_ACTIVE_UNIFORMS: UniformBlockPName read _UNIFORM_BLOCK_ACTIVE_UNIFORMS; + public static property UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: UniformBlockPName read _UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES; + public static property UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: UniformBlockPName read _UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER; + public static property UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER: UniformBlockPName read _UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER; + public static property UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: UniformBlockPName read _UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER; + public static property UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER: UniformBlockPName read _UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER; + + public function ToString: string; override; + begin + var res := typeof(UniformBlockPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'UniformBlockPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + UniformPName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNIFORM_TYPE := new UniformPName($8A37); + private static _UNIFORM_SIZE := new UniformPName($8A38); + private static _UNIFORM_NAME_LENGTH := new UniformPName($8A39); + private static _UNIFORM_BLOCK_INDEX := new UniformPName($8A3A); + private static _UNIFORM_OFFSET := new UniformPName($8A3B); + private static _UNIFORM_ARRAY_STRIDE := new UniformPName($8A3C); + private static _UNIFORM_MATRIX_STRIDE := new UniformPName($8A3D); + private static _UNIFORM_IS_ROW_MAJOR := new UniformPName($8A3E); + private static _UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX := new UniformPName($92DA); + + public static property UNIFORM_TYPE: UniformPName read _UNIFORM_TYPE; + public static property UNIFORM_SIZE: UniformPName read _UNIFORM_SIZE; + public static property UNIFORM_NAME_LENGTH: UniformPName read _UNIFORM_NAME_LENGTH; + public static property UNIFORM_BLOCK_INDEX: UniformPName read _UNIFORM_BLOCK_INDEX; + public static property UNIFORM_OFFSET: UniformPName read _UNIFORM_OFFSET; + public static property UNIFORM_ARRAY_STRIDE: UniformPName read _UNIFORM_ARRAY_STRIDE; + public static property UNIFORM_MATRIX_STRIDE: UniformPName read _UNIFORM_MATRIX_STRIDE; + public static property UNIFORM_IS_ROW_MAJOR: UniformPName read _UNIFORM_IS_ROW_MAJOR; + public static property UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX: UniformPName read _UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX; + + public function ToString: string; override; + begin + var res := typeof(UniformPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'UniformPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + UniformType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _INT := new UniformType($1404); + private static _UNSIGNED_INT := new UniformType($1405); + private static _FLOAT := new UniformType($1406); + private static _DOUBLE := new UniformType($140A); + private static _FLOAT_VEC2 := new UniformType($8B50); + private static _FLOAT_VEC3 := new UniformType($8B51); + private static _FLOAT_VEC4 := new UniformType($8B52); + private static _INT_VEC2 := new UniformType($8B53); + private static _INT_VEC3 := new UniformType($8B54); + private static _INT_VEC4 := new UniformType($8B55); + private static _BOOL := new UniformType($8B56); + private static _BOOL_VEC2 := new UniformType($8B57); + private static _BOOL_VEC3 := new UniformType($8B58); + private static _BOOL_VEC4 := new UniformType($8B59); + private static _FLOAT_MAT2 := new UniformType($8B5A); + private static _FLOAT_MAT3 := new UniformType($8B5B); + private static _FLOAT_MAT4 := new UniformType($8B5C); + private static _SAMPLER_1D := new UniformType($8B5D); + private static _SAMPLER_2D := new UniformType($8B5E); + private static _SAMPLER_3D := new UniformType($8B5F); + private static _SAMPLER_CUBE := new UniformType($8B60); + private static _SAMPLER_1D_SHADOW := new UniformType($8B61); + private static _SAMPLER_2D_SHADOW := new UniformType($8B62); + private static _SAMPLER_2D_RECT := new UniformType($8B63); + private static _SAMPLER_2D_RECT_SHADOW := new UniformType($8B64); + private static _FLOAT_MAT2x3 := new UniformType($8B65); + private static _FLOAT_MAT2x4 := new UniformType($8B66); + private static _FLOAT_MAT3x2 := new UniformType($8B67); + private static _FLOAT_MAT3x4 := new UniformType($8B68); + private static _FLOAT_MAT4x2 := new UniformType($8B69); + private static _FLOAT_MAT4x3 := new UniformType($8B6A); + private static _SAMPLER_1D_ARRAY := new UniformType($8DC0); + private static _SAMPLER_2D_ARRAY := new UniformType($8DC1); + private static _SAMPLER_BUFFER := new UniformType($8DC2); + private static _SAMPLER_1D_ARRAY_SHADOW := new UniformType($8DC3); + private static _SAMPLER_2D_ARRAY_SHADOW := new UniformType($8DC4); + private static _SAMPLER_CUBE_SHADOW := new UniformType($8DC5); + private static _UNSIGNED_INT_VEC2 := new UniformType($8DC6); + private static _UNSIGNED_INT_VEC3 := new UniformType($8DC7); + private static _UNSIGNED_INT_VEC4 := new UniformType($8DC8); + private static _INT_SAMPLER_1D := new UniformType($8DC9); + private static _INT_SAMPLER_2D := new UniformType($8DCA); + private static _INT_SAMPLER_3D := new UniformType($8DCB); + private static _INT_SAMPLER_CUBE := new UniformType($8DCC); + private static _INT_SAMPLER_2D_RECT := new UniformType($8DCD); + private static _INT_SAMPLER_1D_ARRAY := new UniformType($8DCE); + private static _INT_SAMPLER_2D_ARRAY := new UniformType($8DCF); + private static _INT_SAMPLER_BUFFER := new UniformType($8DD0); + private static _UNSIGNED_INT_SAMPLER_1D := new UniformType($8DD1); + private static _UNSIGNED_INT_SAMPLER_2D := new UniformType($8DD2); + private static _UNSIGNED_INT_SAMPLER_3D := new UniformType($8DD3); + private static _UNSIGNED_INT_SAMPLER_CUBE := new UniformType($8DD4); + private static _UNSIGNED_INT_SAMPLER_2D_RECT := new UniformType($8DD5); + private static _UNSIGNED_INT_SAMPLER_1D_ARRAY := new UniformType($8DD6); + private static _UNSIGNED_INT_SAMPLER_2D_ARRAY := new UniformType($8DD7); + private static _UNSIGNED_INT_SAMPLER_BUFFER := new UniformType($8DD8); + private static _DOUBLE_MAT2 := new UniformType($8F46); + private static _DOUBLE_MAT3 := new UniformType($8F47); + private static _DOUBLE_MAT4 := new UniformType($8F48); + private static _DOUBLE_MAT2x3 := new UniformType($8F49); + private static _DOUBLE_MAT2x4 := new UniformType($8F4A); + private static _DOUBLE_MAT3x2 := new UniformType($8F4B); + private static _DOUBLE_MAT3x4 := new UniformType($8F4C); + private static _DOUBLE_MAT4x2 := new UniformType($8F4D); + private static _DOUBLE_MAT4x3 := new UniformType($8F4E); + private static _DOUBLE_VEC2 := new UniformType($8FFC); + private static _DOUBLE_VEC3 := new UniformType($8FFD); + private static _DOUBLE_VEC4 := new UniformType($8FFE); + private static _SAMPLER_CUBE_MAP_ARRAY := new UniformType($900C); + private static _SAMPLER_CUBE_MAP_ARRAY_SHADOW := new UniformType($900D); + private static _INT_SAMPLER_CUBE_MAP_ARRAY := new UniformType($900E); + private static _UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY := new UniformType($900F); + private static _SAMPLER_2D_MULTISAMPLE := new UniformType($9108); + private static _INT_SAMPLER_2D_MULTISAMPLE := new UniformType($9109); + private static _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE := new UniformType($910A); + private static _SAMPLER_2D_MULTISAMPLE_ARRAY := new UniformType($910B); + private static _INT_SAMPLER_2D_MULTISAMPLE_ARRAY := new UniformType($910C); + private static _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY := new UniformType($910D); + + public static property INT: UniformType read _INT; + public static property UNSIGNED_INT: UniformType read _UNSIGNED_INT; + public static property FLOAT: UniformType read _FLOAT; + public static property DOUBLE: UniformType read _DOUBLE; + public static property FLOAT_VEC2: UniformType read _FLOAT_VEC2; + public static property FLOAT_VEC3: UniformType read _FLOAT_VEC3; + public static property FLOAT_VEC4: UniformType read _FLOAT_VEC4; + public static property INT_VEC2: UniformType read _INT_VEC2; + public static property INT_VEC3: UniformType read _INT_VEC3; + public static property INT_VEC4: UniformType read _INT_VEC4; + public static property BOOL: UniformType read _BOOL; + public static property BOOL_VEC2: UniformType read _BOOL_VEC2; + public static property BOOL_VEC3: UniformType read _BOOL_VEC3; + public static property BOOL_VEC4: UniformType read _BOOL_VEC4; + public static property FLOAT_MAT2: UniformType read _FLOAT_MAT2; + public static property FLOAT_MAT3: UniformType read _FLOAT_MAT3; + public static property FLOAT_MAT4: UniformType read _FLOAT_MAT4; + public static property SAMPLER_1D: UniformType read _SAMPLER_1D; + public static property SAMPLER_2D: UniformType read _SAMPLER_2D; + public static property SAMPLER_3D: UniformType read _SAMPLER_3D; + public static property SAMPLER_CUBE: UniformType read _SAMPLER_CUBE; + public static property SAMPLER_1D_SHADOW: UniformType read _SAMPLER_1D_SHADOW; + public static property SAMPLER_2D_SHADOW: UniformType read _SAMPLER_2D_SHADOW; + public static property SAMPLER_2D_RECT: UniformType read _SAMPLER_2D_RECT; + public static property SAMPLER_2D_RECT_SHADOW: UniformType read _SAMPLER_2D_RECT_SHADOW; + public static property FLOAT_MAT2x3: UniformType read _FLOAT_MAT2x3; + public static property FLOAT_MAT2x4: UniformType read _FLOAT_MAT2x4; + public static property FLOAT_MAT3x2: UniformType read _FLOAT_MAT3x2; + public static property FLOAT_MAT3x4: UniformType read _FLOAT_MAT3x4; + public static property FLOAT_MAT4x2: UniformType read _FLOAT_MAT4x2; + public static property FLOAT_MAT4x3: UniformType read _FLOAT_MAT4x3; + public static property SAMPLER_1D_ARRAY: UniformType read _SAMPLER_1D_ARRAY; + public static property SAMPLER_2D_ARRAY: UniformType read _SAMPLER_2D_ARRAY; + public static property SAMPLER_BUFFER: UniformType read _SAMPLER_BUFFER; + public static property SAMPLER_1D_ARRAY_SHADOW: UniformType read _SAMPLER_1D_ARRAY_SHADOW; + public static property SAMPLER_2D_ARRAY_SHADOW: UniformType read _SAMPLER_2D_ARRAY_SHADOW; + public static property SAMPLER_CUBE_SHADOW: UniformType read _SAMPLER_CUBE_SHADOW; + public static property UNSIGNED_INT_VEC2: UniformType read _UNSIGNED_INT_VEC2; + public static property UNSIGNED_INT_VEC3: UniformType read _UNSIGNED_INT_VEC3; + public static property UNSIGNED_INT_VEC4: UniformType read _UNSIGNED_INT_VEC4; + public static property INT_SAMPLER_1D: UniformType read _INT_SAMPLER_1D; + public static property INT_SAMPLER_2D: UniformType read _INT_SAMPLER_2D; + public static property INT_SAMPLER_3D: UniformType read _INT_SAMPLER_3D; + public static property INT_SAMPLER_CUBE: UniformType read _INT_SAMPLER_CUBE; + public static property INT_SAMPLER_2D_RECT: UniformType read _INT_SAMPLER_2D_RECT; + public static property INT_SAMPLER_1D_ARRAY: UniformType read _INT_SAMPLER_1D_ARRAY; + public static property INT_SAMPLER_2D_ARRAY: UniformType read _INT_SAMPLER_2D_ARRAY; + public static property INT_SAMPLER_BUFFER: UniformType read _INT_SAMPLER_BUFFER; + public static property UNSIGNED_INT_SAMPLER_1D: UniformType read _UNSIGNED_INT_SAMPLER_1D; + public static property UNSIGNED_INT_SAMPLER_2D: UniformType read _UNSIGNED_INT_SAMPLER_2D; + public static property UNSIGNED_INT_SAMPLER_3D: UniformType read _UNSIGNED_INT_SAMPLER_3D; + public static property UNSIGNED_INT_SAMPLER_CUBE: UniformType read _UNSIGNED_INT_SAMPLER_CUBE; + public static property UNSIGNED_INT_SAMPLER_2D_RECT: UniformType read _UNSIGNED_INT_SAMPLER_2D_RECT; + public static property UNSIGNED_INT_SAMPLER_1D_ARRAY: UniformType read _UNSIGNED_INT_SAMPLER_1D_ARRAY; + public static property UNSIGNED_INT_SAMPLER_2D_ARRAY: UniformType read _UNSIGNED_INT_SAMPLER_2D_ARRAY; + public static property UNSIGNED_INT_SAMPLER_BUFFER: UniformType read _UNSIGNED_INT_SAMPLER_BUFFER; + public static property DOUBLE_MAT2: UniformType read _DOUBLE_MAT2; + public static property DOUBLE_MAT3: UniformType read _DOUBLE_MAT3; + public static property DOUBLE_MAT4: UniformType read _DOUBLE_MAT4; + public static property DOUBLE_MAT2x3: UniformType read _DOUBLE_MAT2x3; + public static property DOUBLE_MAT2x4: UniformType read _DOUBLE_MAT2x4; + public static property DOUBLE_MAT3x2: UniformType read _DOUBLE_MAT3x2; + public static property DOUBLE_MAT3x4: UniformType read _DOUBLE_MAT3x4; + public static property DOUBLE_MAT4x2: UniformType read _DOUBLE_MAT4x2; + public static property DOUBLE_MAT4x3: UniformType read _DOUBLE_MAT4x3; + public static property DOUBLE_VEC2: UniformType read _DOUBLE_VEC2; + public static property DOUBLE_VEC3: UniformType read _DOUBLE_VEC3; + public static property DOUBLE_VEC4: UniformType read _DOUBLE_VEC4; + public static property SAMPLER_CUBE_MAP_ARRAY: UniformType read _SAMPLER_CUBE_MAP_ARRAY; + public static property SAMPLER_CUBE_MAP_ARRAY_SHADOW: UniformType read _SAMPLER_CUBE_MAP_ARRAY_SHADOW; + public static property INT_SAMPLER_CUBE_MAP_ARRAY: UniformType read _INT_SAMPLER_CUBE_MAP_ARRAY; + public static property UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: UniformType read _UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY; + public static property SAMPLER_2D_MULTISAMPLE: UniformType read _SAMPLER_2D_MULTISAMPLE; + public static property INT_SAMPLER_2D_MULTISAMPLE: UniformType read _INT_SAMPLER_2D_MULTISAMPLE; + public static property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: UniformType read _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE; + public static property SAMPLER_2D_MULTISAMPLE_ARRAY: UniformType read _SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property INT_SAMPLER_2D_MULTISAMPLE_ARRAY: UniformType read _INT_SAMPLER_2D_MULTISAMPLE_ARRAY; + public static property UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: UniformType read _UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY; + + public function ToString: string; override; + begin + var res := typeof(UniformType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'UniformType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + UseProgramStageMask = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_SHADER_BIT := new UseProgramStageMask($0001); + private static _VERTEX_SHADER_BIT_EXT := new UseProgramStageMask($0001); + private static _FRAGMENT_SHADER_BIT := new UseProgramStageMask($0002); + private static _FRAGMENT_SHADER_BIT_EXT := new UseProgramStageMask($0002); + private static _GEOMETRY_SHADER_BIT := new UseProgramStageMask($0004); + private static _GEOMETRY_SHADER_BIT_EXT := new UseProgramStageMask($0004); + private static _GEOMETRY_SHADER_BIT_OES := new UseProgramStageMask($0004); + private static _TESS_CONTROL_SHADER_BIT := new UseProgramStageMask($0008); + private static _TESS_CONTROL_SHADER_BIT_EXT := new UseProgramStageMask($0008); + private static _TESS_CONTROL_SHADER_BIT_OES := new UseProgramStageMask($0008); + private static _TESS_EVALUATION_SHADER_BIT := new UseProgramStageMask($0010); + private static _TESS_EVALUATION_SHADER_BIT_EXT := new UseProgramStageMask($0010); + private static _TESS_EVALUATION_SHADER_BIT_OES := new UseProgramStageMask($0010); + private static _COMPUTE_SHADER_BIT := new UseProgramStageMask($0020); + private static _MESH_SHADER_BIT_NV := new UseProgramStageMask($0040); + private static _TASK_SHADER_BIT_NV := new UseProgramStageMask($0080); + private static _ALL_SHADER_BITS := new UseProgramStageMask($FFFFFFFF); + private static _ALL_SHADER_BITS_EXT := new UseProgramStageMask($FFFFFFFF); + + public static property VERTEX_SHADER_BIT: UseProgramStageMask read _VERTEX_SHADER_BIT; + public static property VERTEX_SHADER_BIT_EXT: UseProgramStageMask read _VERTEX_SHADER_BIT_EXT; + public static property FRAGMENT_SHADER_BIT: UseProgramStageMask read _FRAGMENT_SHADER_BIT; + public static property FRAGMENT_SHADER_BIT_EXT: UseProgramStageMask read _FRAGMENT_SHADER_BIT_EXT; + public static property GEOMETRY_SHADER_BIT: UseProgramStageMask read _GEOMETRY_SHADER_BIT; + public static property GEOMETRY_SHADER_BIT_EXT: UseProgramStageMask read _GEOMETRY_SHADER_BIT_EXT; + public static property GEOMETRY_SHADER_BIT_OES: UseProgramStageMask read _GEOMETRY_SHADER_BIT_OES; + public static property TESS_CONTROL_SHADER_BIT: UseProgramStageMask read _TESS_CONTROL_SHADER_BIT; + public static property TESS_CONTROL_SHADER_BIT_EXT: UseProgramStageMask read _TESS_CONTROL_SHADER_BIT_EXT; + public static property TESS_CONTROL_SHADER_BIT_OES: UseProgramStageMask read _TESS_CONTROL_SHADER_BIT_OES; + public static property TESS_EVALUATION_SHADER_BIT: UseProgramStageMask read _TESS_EVALUATION_SHADER_BIT; + public static property TESS_EVALUATION_SHADER_BIT_EXT: UseProgramStageMask read _TESS_EVALUATION_SHADER_BIT_EXT; + public static property TESS_EVALUATION_SHADER_BIT_OES: UseProgramStageMask read _TESS_EVALUATION_SHADER_BIT_OES; + public static property COMPUTE_SHADER_BIT: UseProgramStageMask read _COMPUTE_SHADER_BIT; + public static property MESH_SHADER_BIT_NV: UseProgramStageMask read _MESH_SHADER_BIT_NV; + public static property TASK_SHADER_BIT_NV: UseProgramStageMask read _TASK_SHADER_BIT_NV; + public static property ALL_SHADER_BITS: UseProgramStageMask read _ALL_SHADER_BITS; + public static property ALL_SHADER_BITS_EXT: UseProgramStageMask read _ALL_SHADER_BITS_EXT; + + public static function operator or(f1,f2: UseProgramStageMask) := new UseProgramStageMask(f1.val or f2.val); + + public property HAS_FLAG_VERTEX_SHADER_BIT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_VERTEX_SHADER_BIT_EXT: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_FRAGMENT_SHADER_BIT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_FRAGMENT_SHADER_BIT_EXT: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_GEOMETRY_SHADER_BIT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_GEOMETRY_SHADER_BIT_EXT: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_GEOMETRY_SHADER_BIT_OES: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_TESS_CONTROL_SHADER_BIT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_TESS_CONTROL_SHADER_BIT_EXT: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_TESS_CONTROL_SHADER_BIT_OES: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_TESS_EVALUATION_SHADER_BIT: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_TESS_EVALUATION_SHADER_BIT_EXT: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_TESS_EVALUATION_SHADER_BIT_OES: boolean read self.val and $0010 <> 0; + public property HAS_FLAG_COMPUTE_SHADER_BIT: boolean read self.val and $0020 <> 0; + public property HAS_FLAG_MESH_SHADER_BIT_NV: boolean read self.val and $0040 <> 0; + public property HAS_FLAG_TASK_SHADER_BIT_NV: boolean read self.val and $0080 <> 0; + public property HAS_FLAG_ALL_SHADER_BITS: boolean read self.val and $FFFFFFFF <> 0; + public property HAS_FLAG_ALL_SHADER_BITS_EXT: boolean read self.val and $FFFFFFFF <> 0; + + public function ToString: string; override; + begin + var res := typeof(UseProgramStageMask).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'UseProgramStageMask[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + VertexArrayPName = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_ATTRIB_RELATIVE_OFFSET := new VertexArrayPName($82D5); + private static _VERTEX_ATTRIB_ARRAY_ENABLED := new VertexArrayPName($8622); + private static _VERTEX_ATTRIB_ARRAY_SIZE := new VertexArrayPName($8623); + private static _VERTEX_ATTRIB_ARRAY_STRIDE := new VertexArrayPName($8624); + private static _VERTEX_ATTRIB_ARRAY_TYPE := new VertexArrayPName($8625); + private static _VERTEX_ATTRIB_ARRAY_LONG := new VertexArrayPName($874E); + private static _VERTEX_ATTRIB_ARRAY_NORMALIZED := new VertexArrayPName($886A); + private static _VERTEX_ATTRIB_ARRAY_INTEGER := new VertexArrayPName($88FD); + private static _VERTEX_ATTRIB_ARRAY_DIVISOR := new VertexArrayPName($88FE); + + public static property VERTEX_ATTRIB_RELATIVE_OFFSET: VertexArrayPName read _VERTEX_ATTRIB_RELATIVE_OFFSET; + public static property VERTEX_ATTRIB_ARRAY_ENABLED: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_ENABLED; + public static property VERTEX_ATTRIB_ARRAY_SIZE: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_SIZE; + public static property VERTEX_ATTRIB_ARRAY_STRIDE: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_STRIDE; + public static property VERTEX_ATTRIB_ARRAY_TYPE: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_TYPE; + public static property VERTEX_ATTRIB_ARRAY_LONG: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_LONG; + public static property VERTEX_ATTRIB_ARRAY_NORMALIZED: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_NORMALIZED; + public static property VERTEX_ATTRIB_ARRAY_INTEGER: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_INTEGER; + public static property VERTEX_ATTRIB_ARRAY_DIVISOR: VertexArrayPName read _VERTEX_ATTRIB_ARRAY_DIVISOR; + + public function ToString: string; override; + begin + var res := typeof(VertexArrayPName).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexArrayPName[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribEnum = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_ATTRIB_ARRAY_ENABLED := new VertexAttribEnum($8622); + private static _VERTEX_ATTRIB_ARRAY_SIZE := new VertexAttribEnum($8623); + private static _VERTEX_ATTRIB_ARRAY_STRIDE := new VertexAttribEnum($8624); + private static _VERTEX_ATTRIB_ARRAY_TYPE := new VertexAttribEnum($8625); + private static _CURRENT_VERTEX_ATTRIB := new VertexAttribEnum($8626); + private static _VERTEX_ATTRIB_ARRAY_NORMALIZED := new VertexAttribEnum($886A); + private static _VERTEX_ATTRIB_ARRAY_BUFFER_BINDING := new VertexAttribEnum($889F); + private static _VERTEX_ATTRIB_ARRAY_INTEGER := new VertexAttribEnum($88FD); + private static _VERTEX_ATTRIB_ARRAY_DIVISOR := new VertexAttribEnum($88FE); + + public static property VERTEX_ATTRIB_ARRAY_ENABLED: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_ENABLED; + public static property VERTEX_ATTRIB_ARRAY_SIZE: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_SIZE; + public static property VERTEX_ATTRIB_ARRAY_STRIDE: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_STRIDE; + public static property VERTEX_ATTRIB_ARRAY_TYPE: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_TYPE; + public static property CURRENT_VERTEX_ATTRIB: VertexAttribEnum read _CURRENT_VERTEX_ATTRIB; + public static property VERTEX_ATTRIB_ARRAY_NORMALIZED: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_NORMALIZED; + public static property VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; + public static property VERTEX_ATTRIB_ARRAY_INTEGER: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_INTEGER; + public static property VERTEX_ATTRIB_ARRAY_DIVISOR: VertexAttribEnum read _VERTEX_ATTRIB_ARRAY_DIVISOR; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribEnum).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribEnum[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribIType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new VertexAttribIType($1400); + private static _UNSIGNED_BYTE := new VertexAttribIType($1401); + private static _SHORT := new VertexAttribIType($1402); + private static _UNSIGNED_SHORT := new VertexAttribIType($1403); + private static _INT := new VertexAttribIType($1404); + private static _UNSIGNED_INT := new VertexAttribIType($1405); + + public static property BYTE: VertexAttribIType read _BYTE; + public static property UNSIGNED_BYTE: VertexAttribIType read _UNSIGNED_BYTE; + public static property SHORT: VertexAttribIType read _SHORT; + public static property UNSIGNED_SHORT: VertexAttribIType read _UNSIGNED_SHORT; + public static property INT: VertexAttribIType read _INT; + public static property UNSIGNED_INT: VertexAttribIType read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribIType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribIType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribLType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _DOUBLE := new VertexAttribLType($140A); + + public static property DOUBLE: VertexAttribLType read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribLType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribLType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribPointerType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new VertexAttribPointerType($1400); + private static _UNSIGNED_BYTE := new VertexAttribPointerType($1401); + private static _SHORT := new VertexAttribPointerType($1402); + private static _UNSIGNED_SHORT := new VertexAttribPointerType($1403); + private static _INT := new VertexAttribPointerType($1404); + private static _UNSIGNED_INT := new VertexAttribPointerType($1405); + private static _FLOAT := new VertexAttribPointerType($1406); + private static _DOUBLE := new VertexAttribPointerType($140A); + private static _HALF_FLOAT := new VertexAttribPointerType($140B); + private static _FIXED := new VertexAttribPointerType($140C); + private static _INT64_ARB := new VertexAttribPointerType($140E); + private static _INT64_NV := new VertexAttribPointerType($140E); + private static _UNSIGNED_INT64_ARB := new VertexAttribPointerType($140F); + private static _UNSIGNED_INT64_NV := new VertexAttribPointerType($140F); + private static _UNSIGNED_INT_2_10_10_10_REV := new VertexAttribPointerType($8368); + private static _UNSIGNED_INT_10F_11F_11F_REV := new VertexAttribPointerType($8C3B); + private static _INT_2_10_10_10_REV := new VertexAttribPointerType($8D9F); + + public static property BYTE: VertexAttribPointerType read _BYTE; + public static property UNSIGNED_BYTE: VertexAttribPointerType read _UNSIGNED_BYTE; + public static property SHORT: VertexAttribPointerType read _SHORT; + public static property UNSIGNED_SHORT: VertexAttribPointerType read _UNSIGNED_SHORT; + public static property INT: VertexAttribPointerType read _INT; + public static property UNSIGNED_INT: VertexAttribPointerType read _UNSIGNED_INT; + public static property FLOAT: VertexAttribPointerType read _FLOAT; + public static property DOUBLE: VertexAttribPointerType read _DOUBLE; + public static property HALF_FLOAT: VertexAttribPointerType read _HALF_FLOAT; + public static property FIXED: VertexAttribPointerType read _FIXED; + public static property INT64_ARB: VertexAttribPointerType read _INT64_ARB; + public static property INT64_NV: VertexAttribPointerType read _INT64_NV; + public static property UNSIGNED_INT64_ARB: VertexAttribPointerType read _UNSIGNED_INT64_ARB; + public static property UNSIGNED_INT64_NV: VertexAttribPointerType read _UNSIGNED_INT64_NV; + public static property UNSIGNED_INT_2_10_10_10_REV: VertexAttribPointerType read _UNSIGNED_INT_2_10_10_10_REV; + public static property UNSIGNED_INT_10F_11F_11F_REV: VertexAttribPointerType read _UNSIGNED_INT_10F_11F_11F_REV; + public static property INT_2_10_10_10_REV: VertexAttribPointerType read _INT_2_10_10_10_REV; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribPointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribPointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new VertexAttribType($1400); + private static _UNSIGNED_BYTE := new VertexAttribType($1401); + private static _SHORT := new VertexAttribType($1402); + private static _UNSIGNED_SHORT := new VertexAttribType($1403); + private static _INT := new VertexAttribType($1404); + private static _UNSIGNED_INT := new VertexAttribType($1405); + private static _FLOAT := new VertexAttribType($1406); + private static _DOUBLE := new VertexAttribType($140A); + private static _HALF_FLOAT := new VertexAttribType($140B); + private static _FIXED := new VertexAttribType($140C); + private static _UNSIGNED_INT_2_10_10_10_REV := new VertexAttribType($8368); + private static _UNSIGNED_INT_10F_11F_11F_REV := new VertexAttribType($8C3B); + private static _INT_2_10_10_10_REV := new VertexAttribType($8D9F); + + public static property BYTE: VertexAttribType read _BYTE; + public static property UNSIGNED_BYTE: VertexAttribType read _UNSIGNED_BYTE; + public static property SHORT: VertexAttribType read _SHORT; + public static property UNSIGNED_SHORT: VertexAttribType read _UNSIGNED_SHORT; + public static property INT: VertexAttribType read _INT; + public static property UNSIGNED_INT: VertexAttribType read _UNSIGNED_INT; + public static property FLOAT: VertexAttribType read _FLOAT; + public static property DOUBLE: VertexAttribType read _DOUBLE; + public static property HALF_FLOAT: VertexAttribType read _HALF_FLOAT; + public static property FIXED: VertexAttribType read _FIXED; + public static property UNSIGNED_INT_2_10_10_10_REV: VertexAttribType read _UNSIGNED_INT_2_10_10_10_REV; + public static property UNSIGNED_INT_10F_11F_11F_REV: VertexAttribType read _UNSIGNED_INT_10F_11F_11F_REV; + public static property INT_2_10_10_10_REV: VertexAttribType read _INT_2_10_10_10_REV; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexBufferObjectParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BUFFER_IMMUTABLE_STORAGE := new VertexBufferObjectParameter($821F); + private static _BUFFER_STORAGE_FLAGS := new VertexBufferObjectParameter($8220); + private static _BUFFER_SIZE := new VertexBufferObjectParameter($8764); + private static _BUFFER_USAGE := new VertexBufferObjectParameter($8765); + private static _BUFFER_ACCESS := new VertexBufferObjectParameter($88BB); + private static _BUFFER_MAPPED := new VertexBufferObjectParameter($88BC); + private static _BUFFER_ACCESS_FLAGS := new VertexBufferObjectParameter($911F); + private static _BUFFER_MAP_LENGTH := new VertexBufferObjectParameter($9120); + private static _BUFFER_MAP_OFFSET := new VertexBufferObjectParameter($9121); + + public static property BUFFER_IMMUTABLE_STORAGE: VertexBufferObjectParameter read _BUFFER_IMMUTABLE_STORAGE; + public static property BUFFER_STORAGE_FLAGS: VertexBufferObjectParameter read _BUFFER_STORAGE_FLAGS; + public static property BUFFER_SIZE: VertexBufferObjectParameter read _BUFFER_SIZE; + public static property BUFFER_USAGE: VertexBufferObjectParameter read _BUFFER_USAGE; + public static property BUFFER_ACCESS: VertexBufferObjectParameter read _BUFFER_ACCESS; + public static property BUFFER_MAPPED: VertexBufferObjectParameter read _BUFFER_MAPPED; + public static property BUFFER_ACCESS_FLAGS: VertexBufferObjectParameter read _BUFFER_ACCESS_FLAGS; + public static property BUFFER_MAP_LENGTH: VertexBufferObjectParameter read _BUFFER_MAP_LENGTH; + public static property BUFFER_MAP_OFFSET: VertexBufferObjectParameter read _BUFFER_MAP_OFFSET; + + public function ToString: string; override; + begin + var res := typeof(VertexBufferObjectParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexBufferObjectParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexBufferObjectUsage = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _STREAM_DRAW := new VertexBufferObjectUsage($88E0); + private static _STREAM_READ := new VertexBufferObjectUsage($88E1); + private static _STREAM_COPY := new VertexBufferObjectUsage($88E2); + private static _STATIC_DRAW := new VertexBufferObjectUsage($88E4); + private static _STATIC_READ := new VertexBufferObjectUsage($88E5); + private static _STATIC_COPY := new VertexBufferObjectUsage($88E6); + private static _DYNAMIC_DRAW := new VertexBufferObjectUsage($88E8); + private static _DYNAMIC_READ := new VertexBufferObjectUsage($88E9); + private static _DYNAMIC_COPY := new VertexBufferObjectUsage($88EA); + + public static property STREAM_DRAW: VertexBufferObjectUsage read _STREAM_DRAW; + public static property STREAM_READ: VertexBufferObjectUsage read _STREAM_READ; + public static property STREAM_COPY: VertexBufferObjectUsage read _STREAM_COPY; + public static property STATIC_DRAW: VertexBufferObjectUsage read _STATIC_DRAW; + public static property STATIC_READ: VertexBufferObjectUsage read _STATIC_READ; + public static property STATIC_COPY: VertexBufferObjectUsage read _STATIC_COPY; + public static property DYNAMIC_DRAW: VertexBufferObjectUsage read _DYNAMIC_DRAW; + public static property DYNAMIC_READ: VertexBufferObjectUsage read _DYNAMIC_READ; + public static property DYNAMIC_COPY: VertexBufferObjectUsage read _DYNAMIC_COPY; + + public function ToString: string; override; + begin + var res := typeof(VertexBufferObjectUsage).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexBufferObjectUsage[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexPointerType = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SHORT := new VertexPointerType($1402); + private static _INT := new VertexPointerType($1404); + private static _FLOAT := new VertexPointerType($1406); + private static _DOUBLE := new VertexPointerType($140A); + + public static property SHORT: VertexPointerType read _SHORT; + public static property INT: VertexPointerType read _INT; + public static property FLOAT: VertexPointerType read _FLOAT; + public static property DOUBLE: VertexPointerType read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(VertexPointerType).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexPointerType[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexProvokingMode = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FIRST_VERTEX_CONVENTION := new VertexProvokingMode($8E4D); + private static _LAST_VERTEX_CONVENTION := new VertexProvokingMode($8E4E); + + public static property FIRST_VERTEX_CONVENTION: VertexProvokingMode read _FIRST_VERTEX_CONVENTION; + public static property LAST_VERTEX_CONVENTION: VertexProvokingMode read _LAST_VERTEX_CONVENTION; + + public function ToString: string; override; + begin + var res := typeof(VertexProvokingMode).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexProvokingMode[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexShaderTextureUnitParameter = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CURRENT_TEXTURE_COORDS := new VertexShaderTextureUnitParameter($0B03); + private static _TEXTURE_MATRIX := new VertexShaderTextureUnitParameter($0BA8); + + public static property CURRENT_TEXTURE_COORDS: VertexShaderTextureUnitParameter read _CURRENT_TEXTURE_COORDS; + public static property TEXTURE_MATRIX: VertexShaderTextureUnitParameter read _TEXTURE_MATRIX; + + public function ToString: string; override; + begin + var res := typeof(VertexShaderTextureUnitParameter).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexShaderTextureUnitParameter[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion Core} + + {$region ARB} + + BufferAccessARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _READ_ONLY := new BufferAccessARB($88B8); + private static _WRITE_ONLY := new BufferAccessARB($88B9); + private static _READ_WRITE := new BufferAccessARB($88BA); + + public static property READ_ONLY: BufferAccessARB read _READ_ONLY; + public static property WRITE_ONLY: BufferAccessARB read _WRITE_ONLY; + public static property READ_WRITE: BufferAccessARB read _READ_WRITE; + + public function ToString: string; override; + begin + var res := typeof(BufferAccessARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BufferAccessARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + BufferPNameARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BUFFER_IMMUTABLE_STORAGE := new BufferPNameARB($821F); + private static _BUFFER_STORAGE_FLAGS := new BufferPNameARB($8220); + private static _BUFFER_SIZE := new BufferPNameARB($8764); + private static _BUFFER_SIZE_ARB := new BufferPNameARB($8764); + private static _BUFFER_USAGE := new BufferPNameARB($8765); + private static _BUFFER_USAGE_ARB := new BufferPNameARB($8765); + private static _BUFFER_ACCESS := new BufferPNameARB($88BB); + private static _BUFFER_ACCESS_ARB := new BufferPNameARB($88BB); + private static _BUFFER_MAPPED := new BufferPNameARB($88BC); + private static _BUFFER_MAPPED_ARB := new BufferPNameARB($88BC); + private static _BUFFER_ACCESS_FLAGS := new BufferPNameARB($911F); + private static _BUFFER_MAP_LENGTH := new BufferPNameARB($9120); + private static _BUFFER_MAP_OFFSET := new BufferPNameARB($9121); + + public static property BUFFER_IMMUTABLE_STORAGE: BufferPNameARB read _BUFFER_IMMUTABLE_STORAGE; + public static property BUFFER_STORAGE_FLAGS: BufferPNameARB read _BUFFER_STORAGE_FLAGS; + public static property BUFFER_SIZE: BufferPNameARB read _BUFFER_SIZE; + public static property BUFFER_SIZE_ARB: BufferPNameARB read _BUFFER_SIZE_ARB; + public static property BUFFER_USAGE: BufferPNameARB read _BUFFER_USAGE; + public static property BUFFER_USAGE_ARB: BufferPNameARB read _BUFFER_USAGE_ARB; + public static property BUFFER_ACCESS: BufferPNameARB read _BUFFER_ACCESS; + public static property BUFFER_ACCESS_ARB: BufferPNameARB read _BUFFER_ACCESS_ARB; + public static property BUFFER_MAPPED: BufferPNameARB read _BUFFER_MAPPED; + public static property BUFFER_MAPPED_ARB: BufferPNameARB read _BUFFER_MAPPED_ARB; + public static property BUFFER_ACCESS_FLAGS: BufferPNameARB read _BUFFER_ACCESS_FLAGS; + public static property BUFFER_MAP_LENGTH: BufferPNameARB read _BUFFER_MAP_LENGTH; + public static property BUFFER_MAP_OFFSET: BufferPNameARB read _BUFFER_MAP_OFFSET; + + public function ToString: string; override; + begin + var res := typeof(BufferPNameARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BufferPNameARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + BufferPointerNameARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BUFFER_MAP_POINTER := new BufferPointerNameARB($88BD); + private static _BUFFER_MAP_POINTER_ARB := new BufferPointerNameARB($88BD); + + public static property BUFFER_MAP_POINTER: BufferPointerNameARB read _BUFFER_MAP_POINTER; + public static property BUFFER_MAP_POINTER_ARB: BufferPointerNameARB read _BUFFER_MAP_POINTER_ARB; + + public function ToString: string; override; + begin + var res := typeof(BufferPointerNameARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BufferPointerNameARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + BufferTargetARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PARAMETER_BUFFER := new BufferTargetARB($80EE); + private static _ARRAY_BUFFER := new BufferTargetARB($8892); + private static _ELEMENT_ARRAY_BUFFER := new BufferTargetARB($8893); + private static _PIXEL_PACK_BUFFER := new BufferTargetARB($88EB); + private static _PIXEL_UNPACK_BUFFER := new BufferTargetARB($88EC); + private static _UNIFORM_BUFFER := new BufferTargetARB($8A11); + private static _TEXTURE_BUFFER := new BufferTargetARB($8C2A); + private static _TRANSFORM_FEEDBACK_BUFFER := new BufferTargetARB($8C8E); + private static _COPY_READ_BUFFER := new BufferTargetARB($8F36); + private static _COPY_WRITE_BUFFER := new BufferTargetARB($8F37); + private static _DRAW_INDIRECT_BUFFER := new BufferTargetARB($8F3F); + private static _SHADER_STORAGE_BUFFER := new BufferTargetARB($90D2); + private static _DISPATCH_INDIRECT_BUFFER := new BufferTargetARB($90EE); + private static _QUERY_BUFFER := new BufferTargetARB($9192); + private static _ATOMIC_COUNTER_BUFFER := new BufferTargetARB($92C0); + + public static property PARAMETER_BUFFER: BufferTargetARB read _PARAMETER_BUFFER; + public static property ARRAY_BUFFER: BufferTargetARB read _ARRAY_BUFFER; + public static property ELEMENT_ARRAY_BUFFER: BufferTargetARB read _ELEMENT_ARRAY_BUFFER; + public static property PIXEL_PACK_BUFFER: BufferTargetARB read _PIXEL_PACK_BUFFER; + public static property PIXEL_UNPACK_BUFFER: BufferTargetARB read _PIXEL_UNPACK_BUFFER; + public static property UNIFORM_BUFFER: BufferTargetARB read _UNIFORM_BUFFER; + public static property TEXTURE_BUFFER: BufferTargetARB read _TEXTURE_BUFFER; + public static property TRANSFORM_FEEDBACK_BUFFER: BufferTargetARB read _TRANSFORM_FEEDBACK_BUFFER; + public static property COPY_READ_BUFFER: BufferTargetARB read _COPY_READ_BUFFER; + public static property COPY_WRITE_BUFFER: BufferTargetARB read _COPY_WRITE_BUFFER; + public static property DRAW_INDIRECT_BUFFER: BufferTargetARB read _DRAW_INDIRECT_BUFFER; + public static property SHADER_STORAGE_BUFFER: BufferTargetARB read _SHADER_STORAGE_BUFFER; + public static property DISPATCH_INDIRECT_BUFFER: BufferTargetARB read _DISPATCH_INDIRECT_BUFFER; + public static property QUERY_BUFFER: BufferTargetARB read _QUERY_BUFFER; + public static property ATOMIC_COUNTER_BUFFER: BufferTargetARB read _ATOMIC_COUNTER_BUFFER; + + public function ToString: string; override; + begin + var res := typeof(BufferTargetARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BufferTargetARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + BufferUsageARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _STREAM_DRAW := new BufferUsageARB($88E0); + private static _STREAM_READ := new BufferUsageARB($88E1); + private static _STREAM_COPY := new BufferUsageARB($88E2); + private static _STATIC_DRAW := new BufferUsageARB($88E4); + private static _STATIC_READ := new BufferUsageARB($88E5); + private static _STATIC_COPY := new BufferUsageARB($88E6); + private static _DYNAMIC_DRAW := new BufferUsageARB($88E8); + private static _DYNAMIC_READ := new BufferUsageARB($88E9); + private static _DYNAMIC_COPY := new BufferUsageARB($88EA); + + public static property STREAM_DRAW: BufferUsageARB read _STREAM_DRAW; + public static property STREAM_READ: BufferUsageARB read _STREAM_READ; + public static property STREAM_COPY: BufferUsageARB read _STREAM_COPY; + public static property STATIC_DRAW: BufferUsageARB read _STATIC_DRAW; + public static property STATIC_READ: BufferUsageARB read _STATIC_READ; + public static property STATIC_COPY: BufferUsageARB read _STATIC_COPY; + public static property DYNAMIC_DRAW: BufferUsageARB read _DYNAMIC_DRAW; + public static property DYNAMIC_READ: BufferUsageARB read _DYNAMIC_READ; + public static property DYNAMIC_COPY: BufferUsageARB read _DYNAMIC_COPY; + + public function ToString: string; override; + begin + var res := typeof(BufferUsageARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BufferUsageARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ClampColorModeARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FALSE := new ClampColorModeARB($0000); + private static _TRUE := new ClampColorModeARB($0001); + private static _FIXED_ONLY := new ClampColorModeARB($891D); + private static _FIXED_ONLY_ARB := new ClampColorModeARB($891D); + + public static property FALSE: ClampColorModeARB read _FALSE; + public static property TRUE: ClampColorModeARB read _TRUE; + public static property FIXED_ONLY: ClampColorModeARB read _FIXED_ONLY; + public static property FIXED_ONLY_ARB: ClampColorModeARB read _FIXED_ONLY_ARB; + + public function ToString: string; override; + begin + var res := typeof(ClampColorModeARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ClampColorModeARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ClampColorTargetARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CLAMP_VERTEX_COLOR_ARB := new ClampColorTargetARB($891A); + private static _CLAMP_FRAGMENT_COLOR_ARB := new ClampColorTargetARB($891B); + private static _CLAMP_READ_COLOR := new ClampColorTargetARB($891C); + private static _CLAMP_READ_COLOR_ARB := new ClampColorTargetARB($891C); + + public static property CLAMP_VERTEX_COLOR_ARB: ClampColorTargetARB read _CLAMP_VERTEX_COLOR_ARB; + public static property CLAMP_FRAGMENT_COLOR_ARB: ClampColorTargetARB read _CLAMP_FRAGMENT_COLOR_ARB; + public static property CLAMP_READ_COLOR: ClampColorTargetARB read _CLAMP_READ_COLOR; + public static property CLAMP_READ_COLOR_ARB: ClampColorTargetARB read _CLAMP_READ_COLOR_ARB; + + public function ToString: string; override; + begin + var res := typeof(ClampColorTargetARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ClampColorTargetARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MatrixIndexPointerTypeARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNSIGNED_BYTE := new MatrixIndexPointerTypeARB($1401); + private static _UNSIGNED_SHORT := new MatrixIndexPointerTypeARB($1403); + private static _UNSIGNED_INT := new MatrixIndexPointerTypeARB($1405); + + public static property UNSIGNED_BYTE: MatrixIndexPointerTypeARB read _UNSIGNED_BYTE; + public static property UNSIGNED_SHORT: MatrixIndexPointerTypeARB read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: MatrixIndexPointerTypeARB read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(MatrixIndexPointerTypeARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MatrixIndexPointerTypeARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PointParameterNameARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _POINT_SIZE_MIN_EXT := new PointParameterNameARB($8126); + private static _POINT_SIZE_MAX_EXT := new PointParameterNameARB($8127); + private static _POINT_FADE_THRESHOLD_SIZE := new PointParameterNameARB($8128); + private static _POINT_FADE_THRESHOLD_SIZE_EXT := new PointParameterNameARB($8128); + + public static property POINT_SIZE_MIN_EXT: PointParameterNameARB read _POINT_SIZE_MIN_EXT; + public static property POINT_SIZE_MAX_EXT: PointParameterNameARB read _POINT_SIZE_MAX_EXT; + public static property POINT_FADE_THRESHOLD_SIZE: PointParameterNameARB read _POINT_FADE_THRESHOLD_SIZE; + public static property POINT_FADE_THRESHOLD_SIZE_EXT: PointParameterNameARB read _POINT_FADE_THRESHOLD_SIZE_EXT; + + public function ToString: string; override; + begin + var res := typeof(PointParameterNameARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PointParameterNameARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ProgramPropertyARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COMPUTE_WORK_GROUP_SIZE := new ProgramPropertyARB($8267); + private static _PROGRAM_BINARY_LENGTH := new ProgramPropertyARB($8741); + private static _GEOMETRY_VERTICES_OUT := new ProgramPropertyARB($8916); + private static _GEOMETRY_INPUT_TYPE := new ProgramPropertyARB($8917); + private static _GEOMETRY_OUTPUT_TYPE := new ProgramPropertyARB($8918); + private static _ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH := new ProgramPropertyARB($8A35); + private static _ACTIVE_UNIFORM_BLOCKS := new ProgramPropertyARB($8A36); + private static _DELETE_STATUS := new ProgramPropertyARB($8B80); + private static _LINK_STATUS := new ProgramPropertyARB($8B82); + private static _VALIDATE_STATUS := new ProgramPropertyARB($8B83); + private static _INFO_LOG_LENGTH := new ProgramPropertyARB($8B84); + private static _ATTACHED_SHADERS := new ProgramPropertyARB($8B85); + private static _ACTIVE_UNIFORMS := new ProgramPropertyARB($8B86); + private static _ACTIVE_UNIFORM_MAX_LENGTH := new ProgramPropertyARB($8B87); + private static _ACTIVE_ATTRIBUTES := new ProgramPropertyARB($8B89); + private static _ACTIVE_ATTRIBUTE_MAX_LENGTH := new ProgramPropertyARB($8B8A); + private static _TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH := new ProgramPropertyARB($8C76); + private static _TRANSFORM_FEEDBACK_BUFFER_MODE := new ProgramPropertyARB($8C7F); + private static _TRANSFORM_FEEDBACK_VARYINGS := new ProgramPropertyARB($8C83); + private static _ACTIVE_ATOMIC_COUNTER_BUFFERS := new ProgramPropertyARB($92D9); + + public static property COMPUTE_WORK_GROUP_SIZE: ProgramPropertyARB read _COMPUTE_WORK_GROUP_SIZE; + public static property PROGRAM_BINARY_LENGTH: ProgramPropertyARB read _PROGRAM_BINARY_LENGTH; + public static property GEOMETRY_VERTICES_OUT: ProgramPropertyARB read _GEOMETRY_VERTICES_OUT; + public static property GEOMETRY_INPUT_TYPE: ProgramPropertyARB read _GEOMETRY_INPUT_TYPE; + public static property GEOMETRY_OUTPUT_TYPE: ProgramPropertyARB read _GEOMETRY_OUTPUT_TYPE; + public static property ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH: ProgramPropertyARB read _ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH; + public static property ACTIVE_UNIFORM_BLOCKS: ProgramPropertyARB read _ACTIVE_UNIFORM_BLOCKS; + public static property DELETE_STATUS: ProgramPropertyARB read _DELETE_STATUS; + public static property LINK_STATUS: ProgramPropertyARB read _LINK_STATUS; + public static property VALIDATE_STATUS: ProgramPropertyARB read _VALIDATE_STATUS; + public static property INFO_LOG_LENGTH: ProgramPropertyARB read _INFO_LOG_LENGTH; + public static property ATTACHED_SHADERS: ProgramPropertyARB read _ATTACHED_SHADERS; + public static property ACTIVE_UNIFORMS: ProgramPropertyARB read _ACTIVE_UNIFORMS; + public static property ACTIVE_UNIFORM_MAX_LENGTH: ProgramPropertyARB read _ACTIVE_UNIFORM_MAX_LENGTH; + public static property ACTIVE_ATTRIBUTES: ProgramPropertyARB read _ACTIVE_ATTRIBUTES; + public static property ACTIVE_ATTRIBUTE_MAX_LENGTH: ProgramPropertyARB read _ACTIVE_ATTRIBUTE_MAX_LENGTH; + public static property TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH: ProgramPropertyARB read _TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH; + public static property TRANSFORM_FEEDBACK_BUFFER_MODE: ProgramPropertyARB read _TRANSFORM_FEEDBACK_BUFFER_MODE; + public static property TRANSFORM_FEEDBACK_VARYINGS: ProgramPropertyARB read _TRANSFORM_FEEDBACK_VARYINGS; + public static property ACTIVE_ATOMIC_COUNTER_BUFFERS: ProgramPropertyARB read _ACTIVE_ATOMIC_COUNTER_BUFFERS; + + public function ToString: string; override; + begin + var res := typeof(ProgramPropertyARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ProgramPropertyARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribPointerPropertyARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_ATTRIB_ARRAY_POINTER := new VertexAttribPointerPropertyARB($8645); + private static _VERTEX_ATTRIB_ARRAY_POINTER_ARB := new VertexAttribPointerPropertyARB($8645); + + public static property VERTEX_ATTRIB_ARRAY_POINTER: VertexAttribPointerPropertyARB read _VERTEX_ATTRIB_ARRAY_POINTER; + public static property VERTEX_ATTRIB_ARRAY_POINTER_ARB: VertexAttribPointerPropertyARB read _VERTEX_ATTRIB_ARRAY_POINTER_ARB; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribPointerPropertyARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribPointerPropertyARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribPropertyARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_ATTRIB_BINDING := new VertexAttribPropertyARB($82D4); + private static _VERTEX_ATTRIB_RELATIVE_OFFSET := new VertexAttribPropertyARB($82D5); + private static _VERTEX_ATTRIB_ARRAY_ENABLED := new VertexAttribPropertyARB($8622); + private static _VERTEX_ATTRIB_ARRAY_SIZE := new VertexAttribPropertyARB($8623); + private static _VERTEX_ATTRIB_ARRAY_STRIDE := new VertexAttribPropertyARB($8624); + private static _VERTEX_ATTRIB_ARRAY_TYPE := new VertexAttribPropertyARB($8625); + private static _CURRENT_VERTEX_ATTRIB := new VertexAttribPropertyARB($8626); + private static _VERTEX_ATTRIB_ARRAY_LONG := new VertexAttribPropertyARB($874E); + private static _VERTEX_ATTRIB_ARRAY_NORMALIZED := new VertexAttribPropertyARB($886A); + private static _VERTEX_ATTRIB_ARRAY_BUFFER_BINDING := new VertexAttribPropertyARB($889F); + private static _VERTEX_ATTRIB_ARRAY_INTEGER := new VertexAttribPropertyARB($88FD); + private static _VERTEX_ATTRIB_ARRAY_INTEGER_EXT := new VertexAttribPropertyARB($88FD); + private static _VERTEX_ATTRIB_ARRAY_DIVISOR := new VertexAttribPropertyARB($88FE); + + public static property VERTEX_ATTRIB_BINDING: VertexAttribPropertyARB read _VERTEX_ATTRIB_BINDING; + public static property VERTEX_ATTRIB_RELATIVE_OFFSET: VertexAttribPropertyARB read _VERTEX_ATTRIB_RELATIVE_OFFSET; + public static property VERTEX_ATTRIB_ARRAY_ENABLED: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_ENABLED; + public static property VERTEX_ATTRIB_ARRAY_SIZE: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_SIZE; + public static property VERTEX_ATTRIB_ARRAY_STRIDE: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_STRIDE; + public static property VERTEX_ATTRIB_ARRAY_TYPE: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_TYPE; + public static property CURRENT_VERTEX_ATTRIB: VertexAttribPropertyARB read _CURRENT_VERTEX_ATTRIB; + public static property VERTEX_ATTRIB_ARRAY_LONG: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_LONG; + public static property VERTEX_ATTRIB_ARRAY_NORMALIZED: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_NORMALIZED; + public static property VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; + public static property VERTEX_ATTRIB_ARRAY_INTEGER: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_INTEGER; + public static property VERTEX_ATTRIB_ARRAY_INTEGER_EXT: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_INTEGER_EXT; + public static property VERTEX_ATTRIB_ARRAY_DIVISOR: VertexAttribPropertyARB read _VERTEX_ATTRIB_ARRAY_DIVISOR; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribPropertyARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribPropertyARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + WeightPointerTypeARB = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new WeightPointerTypeARB($1400); + private static _UNSIGNED_BYTE := new WeightPointerTypeARB($1401); + private static _SHORT := new WeightPointerTypeARB($1402); + private static _UNSIGNED_SHORT := new WeightPointerTypeARB($1403); + private static _INT := new WeightPointerTypeARB($1404); + private static _UNSIGNED_INT := new WeightPointerTypeARB($1405); + private static _FLOAT := new WeightPointerTypeARB($1406); + private static _DOUBLE := new WeightPointerTypeARB($140A); + + public static property BYTE: WeightPointerTypeARB read _BYTE; + public static property UNSIGNED_BYTE: WeightPointerTypeARB read _UNSIGNED_BYTE; + public static property SHORT: WeightPointerTypeARB read _SHORT; + public static property UNSIGNED_SHORT: WeightPointerTypeARB read _UNSIGNED_SHORT; + public static property INT: WeightPointerTypeARB read _INT; + public static property UNSIGNED_INT: WeightPointerTypeARB read _UNSIGNED_INT; + public static property FLOAT: WeightPointerTypeARB read _FLOAT; + public static property DOUBLE: WeightPointerTypeARB read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(WeightPointerTypeARB).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'WeightPointerTypeARB[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion ARB} + + {$region EXT} + + BinormalPointerTypeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new BinormalPointerTypeEXT($1400); + private static _SHORT := new BinormalPointerTypeEXT($1402); + private static _INT := new BinormalPointerTypeEXT($1404); + private static _FLOAT := new BinormalPointerTypeEXT($1406); + private static _DOUBLE := new BinormalPointerTypeEXT($140A); + private static _DOUBLE_EXT := new BinormalPointerTypeEXT($140A); + + public static property BYTE: BinormalPointerTypeEXT read _BYTE; + public static property SHORT: BinormalPointerTypeEXT read _SHORT; + public static property INT: BinormalPointerTypeEXT read _INT; + public static property FLOAT: BinormalPointerTypeEXT read _FLOAT; + public static property DOUBLE: BinormalPointerTypeEXT read _DOUBLE; + public static property DOUBLE_EXT: BinormalPointerTypeEXT read _DOUBLE_EXT; + + public function ToString: string; override; + begin + var res := typeof(BinormalPointerTypeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BinormalPointerTypeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + BlendEquationModeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FUNC_ADD := new BlendEquationModeEXT($8006); + private static _FUNC_ADD_EXT := new BlendEquationModeEXT($8006); + private static _MIN := new BlendEquationModeEXT($8007); + private static _MIN_EXT := new BlendEquationModeEXT($8007); + private static _MAX := new BlendEquationModeEXT($8008); + private static _MAX_EXT := new BlendEquationModeEXT($8008); + private static _FUNC_SUBTRACT := new BlendEquationModeEXT($800A); + private static _FUNC_SUBTRACT_EXT := new BlendEquationModeEXT($800A); + private static _FUNC_REVERSE_SUBTRACT := new BlendEquationModeEXT($800B); + private static _FUNC_REVERSE_SUBTRACT_EXT := new BlendEquationModeEXT($800B); + private static _ALPHA_MIN_SGIX := new BlendEquationModeEXT($8320); + private static _ALPHA_MAX_SGIX := new BlendEquationModeEXT($8321); + + public static property FUNC_ADD: BlendEquationModeEXT read _FUNC_ADD; + public static property FUNC_ADD_EXT: BlendEquationModeEXT read _FUNC_ADD_EXT; + public static property MIN: BlendEquationModeEXT read _MIN; + public static property MIN_EXT: BlendEquationModeEXT read _MIN_EXT; + public static property MAX: BlendEquationModeEXT read _MAX; + public static property MAX_EXT: BlendEquationModeEXT read _MAX_EXT; + public static property FUNC_SUBTRACT: BlendEquationModeEXT read _FUNC_SUBTRACT; + public static property FUNC_SUBTRACT_EXT: BlendEquationModeEXT read _FUNC_SUBTRACT_EXT; + public static property FUNC_REVERSE_SUBTRACT: BlendEquationModeEXT read _FUNC_REVERSE_SUBTRACT; + public static property FUNC_REVERSE_SUBTRACT_EXT: BlendEquationModeEXT read _FUNC_REVERSE_SUBTRACT_EXT; + public static property ALPHA_MIN_SGIX: BlendEquationModeEXT read _ALPHA_MIN_SGIX; + public static property ALPHA_MAX_SGIX: BlendEquationModeEXT read _ALPHA_MAX_SGIX; + + public function ToString: string; override; + begin + var res := typeof(BlendEquationModeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'BlendEquationModeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ConvolutionParameterEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CONVOLUTION_BORDER_MODE := new ConvolutionParameterEXT($8013); + private static _CONVOLUTION_BORDER_MODE_EXT := new ConvolutionParameterEXT($8013); + private static _CONVOLUTION_FILTER_SCALE := new ConvolutionParameterEXT($8014); + private static _CONVOLUTION_FILTER_SCALE_EXT := new ConvolutionParameterEXT($8014); + private static _CONVOLUTION_FILTER_BIAS := new ConvolutionParameterEXT($8015); + private static _CONVOLUTION_FILTER_BIAS_EXT := new ConvolutionParameterEXT($8015); + + public static property CONVOLUTION_BORDER_MODE: ConvolutionParameterEXT read _CONVOLUTION_BORDER_MODE; + public static property CONVOLUTION_BORDER_MODE_EXT: ConvolutionParameterEXT read _CONVOLUTION_BORDER_MODE_EXT; + public static property CONVOLUTION_FILTER_SCALE: ConvolutionParameterEXT read _CONVOLUTION_FILTER_SCALE; + public static property CONVOLUTION_FILTER_SCALE_EXT: ConvolutionParameterEXT read _CONVOLUTION_FILTER_SCALE_EXT; + public static property CONVOLUTION_FILTER_BIAS: ConvolutionParameterEXT read _CONVOLUTION_FILTER_BIAS; + public static property CONVOLUTION_FILTER_BIAS_EXT: ConvolutionParameterEXT read _CONVOLUTION_FILTER_BIAS_EXT; + + public function ToString: string; override; + begin + var res := typeof(ConvolutionParameterEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ConvolutionParameterEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ConvolutionTargetEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CONVOLUTION_1D := new ConvolutionTargetEXT($8010); + private static _CONVOLUTION_1D_EXT := new ConvolutionTargetEXT($8010); + private static _CONVOLUTION_2D := new ConvolutionTargetEXT($8011); + private static _CONVOLUTION_2D_EXT := new ConvolutionTargetEXT($8011); + + public static property CONVOLUTION_1D: ConvolutionTargetEXT read _CONVOLUTION_1D; + public static property CONVOLUTION_1D_EXT: ConvolutionTargetEXT read _CONVOLUTION_1D_EXT; + public static property CONVOLUTION_2D: ConvolutionTargetEXT read _CONVOLUTION_2D; + public static property CONVOLUTION_2D_EXT: ConvolutionTargetEXT read _CONVOLUTION_2D_EXT; + + public function ToString: string; override; + begin + var res := typeof(ConvolutionTargetEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ConvolutionTargetEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CullParameterEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CULL_VERTEX_EYE_POSITION_EXT := new CullParameterEXT($81AB); + private static _CULL_VERTEX_OBJECT_POSITION_EXT := new CullParameterEXT($81AC); + + public static property CULL_VERTEX_EYE_POSITION_EXT: CullParameterEXT read _CULL_VERTEX_EYE_POSITION_EXT; + public static property CULL_VERTEX_OBJECT_POSITION_EXT: CullParameterEXT read _CULL_VERTEX_OBJECT_POSITION_EXT; + + public function ToString: string; override; + begin + var res := typeof(CullParameterEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CullParameterEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + DataTypeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SCALAR_EXT := new DataTypeEXT($87BE); + private static _VECTOR_EXT := new DataTypeEXT($87BF); + private static _MATRIX_EXT := new DataTypeEXT($87C0); + + public static property SCALAR_EXT: DataTypeEXT read _SCALAR_EXT; + public static property VECTOR_EXT: DataTypeEXT read _VECTOR_EXT; + public static property MATRIX_EXT: DataTypeEXT read _MATRIX_EXT; + + public function ToString: string; override; + begin + var res := typeof(DataTypeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'DataTypeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FogPointerTypeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FLOAT := new FogPointerTypeEXT($1406); + private static _DOUBLE := new FogPointerTypeEXT($140A); + + public static property FLOAT: FogPointerTypeEXT read _FLOAT; + public static property DOUBLE: FogPointerTypeEXT read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(FogPointerTypeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FogPointerTypeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + GetHistogramParameterPNameEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _HISTOGRAM_WIDTH := new GetHistogramParameterPNameEXT($8026); + private static _HISTOGRAM_WIDTH_EXT := new GetHistogramParameterPNameEXT($8026); + private static _HISTOGRAM_FORMAT := new GetHistogramParameterPNameEXT($8027); + private static _HISTOGRAM_FORMAT_EXT := new GetHistogramParameterPNameEXT($8027); + private static _HISTOGRAM_RED_SIZE := new GetHistogramParameterPNameEXT($8028); + private static _HISTOGRAM_RED_SIZE_EXT := new GetHistogramParameterPNameEXT($8028); + private static _HISTOGRAM_GREEN_SIZE := new GetHistogramParameterPNameEXT($8029); + private static _HISTOGRAM_GREEN_SIZE_EXT := new GetHistogramParameterPNameEXT($8029); + private static _HISTOGRAM_BLUE_SIZE := new GetHistogramParameterPNameEXT($802A); + private static _HISTOGRAM_BLUE_SIZE_EXT := new GetHistogramParameterPNameEXT($802A); + private static _HISTOGRAM_ALPHA_SIZE := new GetHistogramParameterPNameEXT($802B); + private static _HISTOGRAM_ALPHA_SIZE_EXT := new GetHistogramParameterPNameEXT($802B); + private static _HISTOGRAM_LUMINANCE_SIZE := new GetHistogramParameterPNameEXT($802C); + private static _HISTOGRAM_LUMINANCE_SIZE_EXT := new GetHistogramParameterPNameEXT($802C); + private static _HISTOGRAM_SINK := new GetHistogramParameterPNameEXT($802D); + private static _HISTOGRAM_SINK_EXT := new GetHistogramParameterPNameEXT($802D); + + public static property HISTOGRAM_WIDTH: GetHistogramParameterPNameEXT read _HISTOGRAM_WIDTH; + public static property HISTOGRAM_WIDTH_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_WIDTH_EXT; + public static property HISTOGRAM_FORMAT: GetHistogramParameterPNameEXT read _HISTOGRAM_FORMAT; + public static property HISTOGRAM_FORMAT_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_FORMAT_EXT; + public static property HISTOGRAM_RED_SIZE: GetHistogramParameterPNameEXT read _HISTOGRAM_RED_SIZE; + public static property HISTOGRAM_RED_SIZE_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_RED_SIZE_EXT; + public static property HISTOGRAM_GREEN_SIZE: GetHistogramParameterPNameEXT read _HISTOGRAM_GREEN_SIZE; + public static property HISTOGRAM_GREEN_SIZE_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_GREEN_SIZE_EXT; + public static property HISTOGRAM_BLUE_SIZE: GetHistogramParameterPNameEXT read _HISTOGRAM_BLUE_SIZE; + public static property HISTOGRAM_BLUE_SIZE_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_BLUE_SIZE_EXT; + public static property HISTOGRAM_ALPHA_SIZE: GetHistogramParameterPNameEXT read _HISTOGRAM_ALPHA_SIZE; + public static property HISTOGRAM_ALPHA_SIZE_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_ALPHA_SIZE_EXT; + public static property HISTOGRAM_LUMINANCE_SIZE: GetHistogramParameterPNameEXT read _HISTOGRAM_LUMINANCE_SIZE; + public static property HISTOGRAM_LUMINANCE_SIZE_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_LUMINANCE_SIZE_EXT; + public static property HISTOGRAM_SINK: GetHistogramParameterPNameEXT read _HISTOGRAM_SINK; + public static property HISTOGRAM_SINK_EXT: GetHistogramParameterPNameEXT read _HISTOGRAM_SINK_EXT; + + public function ToString: string; override; + begin + var res := typeof(GetHistogramParameterPNameEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetHistogramParameterPNameEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + GetMinmaxParameterPNameEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MINMAX_FORMAT := new GetMinmaxParameterPNameEXT($802F); + private static _MINMAX_FORMAT_EXT := new GetMinmaxParameterPNameEXT($802F); + private static _MINMAX_SINK := new GetMinmaxParameterPNameEXT($8030); + private static _MINMAX_SINK_EXT := new GetMinmaxParameterPNameEXT($8030); + + public static property MINMAX_FORMAT: GetMinmaxParameterPNameEXT read _MINMAX_FORMAT; + public static property MINMAX_FORMAT_EXT: GetMinmaxParameterPNameEXT read _MINMAX_FORMAT_EXT; + public static property MINMAX_SINK: GetMinmaxParameterPNameEXT read _MINMAX_SINK; + public static property MINMAX_SINK_EXT: GetMinmaxParameterPNameEXT read _MINMAX_SINK_EXT; + + public function ToString: string; override; + begin + var res := typeof(GetMinmaxParameterPNameEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetMinmaxParameterPNameEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + GetVariantValueEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VARIANT_VALUE_EXT := new GetVariantValueEXT($87E4); + private static _VARIANT_DATATYPE_EXT := new GetVariantValueEXT($87E5); + private static _VARIANT_ARRAY_STRIDE_EXT := new GetVariantValueEXT($87E6); + private static _VARIANT_ARRAY_TYPE_EXT := new GetVariantValueEXT($87E7); + + public static property VARIANT_VALUE_EXT: GetVariantValueEXT read _VARIANT_VALUE_EXT; + public static property VARIANT_DATATYPE_EXT: GetVariantValueEXT read _VARIANT_DATATYPE_EXT; + public static property VARIANT_ARRAY_STRIDE_EXT: GetVariantValueEXT read _VARIANT_ARRAY_STRIDE_EXT; + public static property VARIANT_ARRAY_TYPE_EXT: GetVariantValueEXT read _VARIANT_ARRAY_TYPE_EXT; + + public function ToString: string; override; + begin + var res := typeof(GetVariantValueEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetVariantValueEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + HistogramTargetEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _HISTOGRAM := new HistogramTargetEXT($8024); + private static _HISTOGRAM_EXT := new HistogramTargetEXT($8024); + private static _PROXY_HISTOGRAM := new HistogramTargetEXT($8025); + private static _PROXY_HISTOGRAM_EXT := new HistogramTargetEXT($8025); + + public static property HISTOGRAM: HistogramTargetEXT read _HISTOGRAM; + public static property HISTOGRAM_EXT: HistogramTargetEXT read _HISTOGRAM_EXT; + public static property PROXY_HISTOGRAM: HistogramTargetEXT read _PROXY_HISTOGRAM; + public static property PROXY_HISTOGRAM_EXT: HistogramTargetEXT read _PROXY_HISTOGRAM_EXT; + + public function ToString: string; override; + begin + var res := typeof(HistogramTargetEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'HistogramTargetEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + IndexFunctionEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NEVER := new IndexFunctionEXT($0200); + private static _LESS := new IndexFunctionEXT($0201); + private static _EQUAL := new IndexFunctionEXT($0202); + private static _LEQUAL := new IndexFunctionEXT($0203); + private static _GREATER := new IndexFunctionEXT($0204); + private static _NOTEQUAL := new IndexFunctionEXT($0205); + private static _GEQUAL := new IndexFunctionEXT($0206); + private static _ALWAYS := new IndexFunctionEXT($0207); + + public static property NEVER: IndexFunctionEXT read _NEVER; + public static property LESS: IndexFunctionEXT read _LESS; + public static property EQUAL: IndexFunctionEXT read _EQUAL; + public static property LEQUAL: IndexFunctionEXT read _LEQUAL; + public static property GREATER: IndexFunctionEXT read _GREATER; + public static property NOTEQUAL: IndexFunctionEXT read _NOTEQUAL; + public static property GEQUAL: IndexFunctionEXT read _GEQUAL; + public static property ALWAYS: IndexFunctionEXT read _ALWAYS; + + public function ToString: string; override; + begin + var res := typeof(IndexFunctionEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'IndexFunctionEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + IndexMaterialParameterEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _INDEX_OFFSET := new IndexMaterialParameterEXT($0D13); + + public static property INDEX_OFFSET: IndexMaterialParameterEXT read _INDEX_OFFSET; + + public function ToString: string; override; + begin + var res := typeof(IndexMaterialParameterEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'IndexMaterialParameterEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LightTextureModeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FRAGMENT_MATERIAL_EXT := new LightTextureModeEXT($8349); + private static _FRAGMENT_NORMAL_EXT := new LightTextureModeEXT($834A); + private static _FRAGMENT_COLOR_EXT := new LightTextureModeEXT($834C); + private static _FRAGMENT_DEPTH_EXT := new LightTextureModeEXT($8452); + + public static property FRAGMENT_MATERIAL_EXT: LightTextureModeEXT read _FRAGMENT_MATERIAL_EXT; + public static property FRAGMENT_NORMAL_EXT: LightTextureModeEXT read _FRAGMENT_NORMAL_EXT; + public static property FRAGMENT_COLOR_EXT: LightTextureModeEXT read _FRAGMENT_COLOR_EXT; + public static property FRAGMENT_DEPTH_EXT: LightTextureModeEXT read _FRAGMENT_DEPTH_EXT; + + public function ToString: string; override; + begin + var res := typeof(LightTextureModeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LightTextureModeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LightTexturePNameEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _ATTENUATION_EXT := new LightTexturePNameEXT($834D); + private static _SHADOW_ATTENUATION_EXT := new LightTexturePNameEXT($834E); + + public static property ATTENUATION_EXT: LightTexturePNameEXT read _ATTENUATION_EXT; + public static property SHADOW_ATTENUATION_EXT: LightTexturePNameEXT read _SHADOW_ATTENUATION_EXT; + + public function ToString: string; override; + begin + var res := typeof(LightTexturePNameEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LightTexturePNameEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MinmaxTargetEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MINMAX := new MinmaxTargetEXT($802E); + private static _MINMAX_EXT := new MinmaxTargetEXT($802E); + + public static property MINMAX: MinmaxTargetEXT read _MINMAX; + public static property MINMAX_EXT: MinmaxTargetEXT read _MINMAX_EXT; + + public function ToString: string; override; + begin + var res := typeof(MinmaxTargetEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MinmaxTargetEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ParameterRangeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NORMALIZED_RANGE_EXT := new ParameterRangeEXT($87E0); + private static _FULL_RANGE_EXT := new ParameterRangeEXT($87E1); + + public static property NORMALIZED_RANGE_EXT: ParameterRangeEXT read _NORMALIZED_RANGE_EXT; + public static property FULL_RANGE_EXT: ParameterRangeEXT read _FULL_RANGE_EXT; + + public function ToString: string; override; + begin + var res := typeof(ParameterRangeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ParameterRangeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelTransformPNameEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PIXEL_MAG_FILTER_EXT := new PixelTransformPNameEXT($8331); + private static _PIXEL_MIN_FILTER_EXT := new PixelTransformPNameEXT($8332); + private static _PIXEL_CUBIC_WEIGHT_EXT := new PixelTransformPNameEXT($8333); + + public static property PIXEL_MAG_FILTER_EXT: PixelTransformPNameEXT read _PIXEL_MAG_FILTER_EXT; + public static property PIXEL_MIN_FILTER_EXT: PixelTransformPNameEXT read _PIXEL_MIN_FILTER_EXT; + public static property PIXEL_CUBIC_WEIGHT_EXT: PixelTransformPNameEXT read _PIXEL_CUBIC_WEIGHT_EXT; + + public function ToString: string; override; + begin + var res := typeof(PixelTransformPNameEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelTransformPNameEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelTransformTargetEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PIXEL_TRANSFORM_2D_EXT := new PixelTransformTargetEXT($8330); + + public static property PIXEL_TRANSFORM_2D_EXT: PixelTransformTargetEXT read _PIXEL_TRANSFORM_2D_EXT; + + public function ToString: string; override; + begin + var res := typeof(PixelTransformTargetEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelTransformTargetEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SamplePatternEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _GL_1PASS_EXT := new SamplePatternEXT($80A1); + private static _GL_2PASS_0_EXT := new SamplePatternEXT($80A2); + private static _GL_2PASS_1_EXT := new SamplePatternEXT($80A3); + private static _GL_4PASS_0_EXT := new SamplePatternEXT($80A4); + private static _GL_4PASS_1_EXT := new SamplePatternEXT($80A5); + private static _GL_4PASS_2_EXT := new SamplePatternEXT($80A6); + private static _GL_4PASS_3_EXT := new SamplePatternEXT($80A7); + + public static property GL_1PASS_EXT: SamplePatternEXT read _GL_1PASS_EXT; + public static property GL_2PASS_0_EXT: SamplePatternEXT read _GL_2PASS_0_EXT; + public static property GL_2PASS_1_EXT: SamplePatternEXT read _GL_2PASS_1_EXT; + public static property GL_4PASS_0_EXT: SamplePatternEXT read _GL_4PASS_0_EXT; + public static property GL_4PASS_1_EXT: SamplePatternEXT read _GL_4PASS_1_EXT; + public static property GL_4PASS_2_EXT: SamplePatternEXT read _GL_4PASS_2_EXT; + public static property GL_4PASS_3_EXT: SamplePatternEXT read _GL_4PASS_3_EXT; + + public function ToString: string; override; + begin + var res := typeof(SamplePatternEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SamplePatternEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SeparableTargetEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SEPARABLE_2D := new SeparableTargetEXT($8012); + private static _SEPARABLE_2D_EXT := new SeparableTargetEXT($8012); + + public static property SEPARABLE_2D: SeparableTargetEXT read _SEPARABLE_2D; + public static property SEPARABLE_2D_EXT: SeparableTargetEXT read _SEPARABLE_2D_EXT; + + public function ToString: string; override; + begin + var res := typeof(SeparableTargetEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SeparableTargetEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TangentPointerTypeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BYTE := new TangentPointerTypeEXT($1400); + private static _SHORT := new TangentPointerTypeEXT($1402); + private static _INT := new TangentPointerTypeEXT($1404); + private static _FLOAT := new TangentPointerTypeEXT($1406); + private static _DOUBLE := new TangentPointerTypeEXT($140A); + private static _DOUBLE_EXT := new TangentPointerTypeEXT($140A); + + public static property BYTE: TangentPointerTypeEXT read _BYTE; + public static property SHORT: TangentPointerTypeEXT read _SHORT; + public static property INT: TangentPointerTypeEXT read _INT; + public static property FLOAT: TangentPointerTypeEXT read _FLOAT; + public static property DOUBLE: TangentPointerTypeEXT read _DOUBLE; + public static property DOUBLE_EXT: TangentPointerTypeEXT read _DOUBLE_EXT; + + public function ToString: string; override; + begin + var res := typeof(TangentPointerTypeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TangentPointerTypeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureNormalModeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PERTURB_EXT := new TextureNormalModeEXT($85AE); + + public static property PERTURB_EXT: TextureNormalModeEXT read _PERTURB_EXT; + + public function ToString: string; override; + begin + var res := typeof(TextureNormalModeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureNormalModeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VariantCapEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VARIANT_ARRAY_EXT := new VariantCapEXT($87E8); + + public static property VARIANT_ARRAY_EXT: VariantCapEXT read _VARIANT_ARRAY_EXT; + + public function ToString: string; override; + begin + var res := typeof(VariantCapEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VariantCapEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexShaderCoordOutEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _X_EXT := new VertexShaderCoordOutEXT($87D5); + private static _Y_EXT := new VertexShaderCoordOutEXT($87D6); + private static _Z_EXT := new VertexShaderCoordOutEXT($87D7); + private static _W_EXT := new VertexShaderCoordOutEXT($87D8); + private static _NEGATIVE_X_EXT := new VertexShaderCoordOutEXT($87D9); + private static _NEGATIVE_Y_EXT := new VertexShaderCoordOutEXT($87DA); + private static _NEGATIVE_Z_EXT := new VertexShaderCoordOutEXT($87DB); + private static _NEGATIVE_W_EXT := new VertexShaderCoordOutEXT($87DC); + private static _ZERO_EXT := new VertexShaderCoordOutEXT($87DD); + private static _ONE_EXT := new VertexShaderCoordOutEXT($87DE); + private static _NEGATIVE_ONE_EXT := new VertexShaderCoordOutEXT($87DF); + + public static property X_EXT: VertexShaderCoordOutEXT read _X_EXT; + public static property Y_EXT: VertexShaderCoordOutEXT read _Y_EXT; + public static property Z_EXT: VertexShaderCoordOutEXT read _Z_EXT; + public static property W_EXT: VertexShaderCoordOutEXT read _W_EXT; + public static property NEGATIVE_X_EXT: VertexShaderCoordOutEXT read _NEGATIVE_X_EXT; + public static property NEGATIVE_Y_EXT: VertexShaderCoordOutEXT read _NEGATIVE_Y_EXT; + public static property NEGATIVE_Z_EXT: VertexShaderCoordOutEXT read _NEGATIVE_Z_EXT; + public static property NEGATIVE_W_EXT: VertexShaderCoordOutEXT read _NEGATIVE_W_EXT; + public static property ZERO_EXT: VertexShaderCoordOutEXT read _ZERO_EXT; + public static property ONE_EXT: VertexShaderCoordOutEXT read _ONE_EXT; + public static property NEGATIVE_ONE_EXT: VertexShaderCoordOutEXT read _NEGATIVE_ONE_EXT; + + public function ToString: string; override; + begin + var res := typeof(VertexShaderCoordOutEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexShaderCoordOutEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexShaderOpEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _OP_INDEX_EXT := new VertexShaderOpEXT($8782); + private static _OP_NEGATE_EXT := new VertexShaderOpEXT($8783); + private static _OP_DOT3_EXT := new VertexShaderOpEXT($8784); + private static _OP_DOT4_EXT := new VertexShaderOpEXT($8785); + private static _OP_MUL_EXT := new VertexShaderOpEXT($8786); + private static _OP_ADD_EXT := new VertexShaderOpEXT($8787); + private static _OP_MADD_EXT := new VertexShaderOpEXT($8788); + private static _OP_FRAC_EXT := new VertexShaderOpEXT($8789); + private static _OP_MAX_EXT := new VertexShaderOpEXT($878A); + private static _OP_MIN_EXT := new VertexShaderOpEXT($878B); + private static _OP_SET_GE_EXT := new VertexShaderOpEXT($878C); + private static _OP_SET_LT_EXT := new VertexShaderOpEXT($878D); + private static _OP_CLAMP_EXT := new VertexShaderOpEXT($878E); + private static _OP_FLOOR_EXT := new VertexShaderOpEXT($878F); + private static _OP_ROUND_EXT := new VertexShaderOpEXT($8790); + private static _OP_EXP_BASE_2_EXT := new VertexShaderOpEXT($8791); + private static _OP_LOG_BASE_2_EXT := new VertexShaderOpEXT($8792); + private static _OP_POWER_EXT := new VertexShaderOpEXT($8793); + private static _OP_RECIP_EXT := new VertexShaderOpEXT($8794); + private static _OP_RECIP_SQRT_EXT := new VertexShaderOpEXT($8795); + private static _OP_SUB_EXT := new VertexShaderOpEXT($8796); + private static _OP_CROSS_PRODUCT_EXT := new VertexShaderOpEXT($8797); + private static _OP_MULTIPLY_MATRIX_EXT := new VertexShaderOpEXT($8798); + private static _OP_MOV_EXT := new VertexShaderOpEXT($8799); + + public static property OP_INDEX_EXT: VertexShaderOpEXT read _OP_INDEX_EXT; + public static property OP_NEGATE_EXT: VertexShaderOpEXT read _OP_NEGATE_EXT; + public static property OP_DOT3_EXT: VertexShaderOpEXT read _OP_DOT3_EXT; + public static property OP_DOT4_EXT: VertexShaderOpEXT read _OP_DOT4_EXT; + public static property OP_MUL_EXT: VertexShaderOpEXT read _OP_MUL_EXT; + public static property OP_ADD_EXT: VertexShaderOpEXT read _OP_ADD_EXT; + public static property OP_MADD_EXT: VertexShaderOpEXT read _OP_MADD_EXT; + public static property OP_FRAC_EXT: VertexShaderOpEXT read _OP_FRAC_EXT; + public static property OP_MAX_EXT: VertexShaderOpEXT read _OP_MAX_EXT; + public static property OP_MIN_EXT: VertexShaderOpEXT read _OP_MIN_EXT; + public static property OP_SET_GE_EXT: VertexShaderOpEXT read _OP_SET_GE_EXT; + public static property OP_SET_LT_EXT: VertexShaderOpEXT read _OP_SET_LT_EXT; + public static property OP_CLAMP_EXT: VertexShaderOpEXT read _OP_CLAMP_EXT; + public static property OP_FLOOR_EXT: VertexShaderOpEXT read _OP_FLOOR_EXT; + public static property OP_ROUND_EXT: VertexShaderOpEXT read _OP_ROUND_EXT; + public static property OP_EXP_BASE_2_EXT: VertexShaderOpEXT read _OP_EXP_BASE_2_EXT; + public static property OP_LOG_BASE_2_EXT: VertexShaderOpEXT read _OP_LOG_BASE_2_EXT; + public static property OP_POWER_EXT: VertexShaderOpEXT read _OP_POWER_EXT; + public static property OP_RECIP_EXT: VertexShaderOpEXT read _OP_RECIP_EXT; + public static property OP_RECIP_SQRT_EXT: VertexShaderOpEXT read _OP_RECIP_SQRT_EXT; + public static property OP_SUB_EXT: VertexShaderOpEXT read _OP_SUB_EXT; + public static property OP_CROSS_PRODUCT_EXT: VertexShaderOpEXT read _OP_CROSS_PRODUCT_EXT; + public static property OP_MULTIPLY_MATRIX_EXT: VertexShaderOpEXT read _OP_MULTIPLY_MATRIX_EXT; + public static property OP_MOV_EXT: VertexShaderOpEXT read _OP_MOV_EXT; + + public function ToString: string; override; + begin + var res := typeof(VertexShaderOpEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexShaderOpEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexShaderParameterEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _CURRENT_VERTEX_EXT := new VertexShaderParameterEXT($87E2); + private static _MVP_MATRIX_EXT := new VertexShaderParameterEXT($87E3); + + public static property CURRENT_VERTEX_EXT: VertexShaderParameterEXT read _CURRENT_VERTEX_EXT; + public static property MVP_MATRIX_EXT: VertexShaderParameterEXT read _MVP_MATRIX_EXT; + + public function ToString: string; override; + begin + var res := typeof(VertexShaderParameterEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexShaderParameterEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexShaderStorageTypeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VARIANT_EXT := new VertexShaderStorageTypeEXT($87C1); + private static _INVARIANT_EXT := new VertexShaderStorageTypeEXT($87C2); + private static _LOCAL_CONSTANT_EXT := new VertexShaderStorageTypeEXT($87C3); + private static _LOCAL_EXT := new VertexShaderStorageTypeEXT($87C4); + + public static property VARIANT_EXT: VertexShaderStorageTypeEXT read _VARIANT_EXT; + public static property INVARIANT_EXT: VertexShaderStorageTypeEXT read _INVARIANT_EXT; + public static property LOCAL_CONSTANT_EXT: VertexShaderStorageTypeEXT read _LOCAL_CONSTANT_EXT; + public static property LOCAL_EXT: VertexShaderStorageTypeEXT read _LOCAL_EXT; + + public function ToString: string; override; + begin + var res := typeof(VertexShaderStorageTypeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexShaderStorageTypeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexShaderWriteMaskEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FALSE := new VertexShaderWriteMaskEXT($0000); + private static _TRUE := new VertexShaderWriteMaskEXT($0001); + + public static property FALSE: VertexShaderWriteMaskEXT read _FALSE; + public static property TRUE: VertexShaderWriteMaskEXT read _TRUE; + + public function ToString: string; override; + begin + var res := typeof(VertexShaderWriteMaskEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexShaderWriteMaskEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexWeightPointerTypeEXT = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FLOAT := new VertexWeightPointerTypeEXT($1406); + + public static property FLOAT: VertexWeightPointerTypeEXT read _FLOAT; + + public function ToString: string; override; + begin + var res := typeof(VertexWeightPointerTypeEXT).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexWeightPointerTypeEXT[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion EXT} + + {$region AMD} + + TextureStorageMaskAMD = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_STORAGE_SPARSE_BIT_AMD := new TextureStorageMaskAMD($0001); + + public static property TEXTURE_STORAGE_SPARSE_BIT_AMD: TextureStorageMaskAMD read _TEXTURE_STORAGE_SPARSE_BIT_AMD; + + public static function operator or(f1,f2: TextureStorageMaskAMD) := new TextureStorageMaskAMD(f1.val or f2.val); + + public property HAS_FLAG_TEXTURE_STORAGE_SPARSE_BIT_AMD: boolean read self.val and $0001 <> 0; + + public function ToString: string; override; + begin + var res := typeof(TextureStorageMaskAMD).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'TextureStorageMaskAMD[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + {$endregion AMD} + + {$region APPLE} + + ObjectTypeAPPLE = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _DRAW_PIXELS_APPLE := new ObjectTypeAPPLE($8A0A); + private static _FENCE_APPLE := new ObjectTypeAPPLE($8A0B); + + public static property DRAW_PIXELS_APPLE: ObjectTypeAPPLE read _DRAW_PIXELS_APPLE; + public static property FENCE_APPLE: ObjectTypeAPPLE read _FENCE_APPLE; + + public function ToString: string; override; + begin + var res := typeof(ObjectTypeAPPLE).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ObjectTypeAPPLE[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexArrayPNameAPPLE = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _STORAGE_CLIENT_APPLE := new VertexArrayPNameAPPLE($85B4); + private static _STORAGE_CACHED_APPLE := new VertexArrayPNameAPPLE($85BE); + private static _STORAGE_SHARED_APPLE := new VertexArrayPNameAPPLE($85BF); + + public static property STORAGE_CLIENT_APPLE: VertexArrayPNameAPPLE read _STORAGE_CLIENT_APPLE; + public static property STORAGE_CACHED_APPLE: VertexArrayPNameAPPLE read _STORAGE_CACHED_APPLE; + public static property STORAGE_SHARED_APPLE: VertexArrayPNameAPPLE read _STORAGE_SHARED_APPLE; + + public function ToString: string; override; + begin + var res := typeof(VertexArrayPNameAPPLE).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexArrayPNameAPPLE[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion APPLE} + + {$region ATI} + + ArrayObjectPNameATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _OBJECT_BUFFER_SIZE_ATI := new ArrayObjectPNameATI($8764); + private static _OBJECT_BUFFER_USAGE_ATI := new ArrayObjectPNameATI($8765); + + public static property OBJECT_BUFFER_SIZE_ATI: ArrayObjectPNameATI read _OBJECT_BUFFER_SIZE_ATI; + public static property OBJECT_BUFFER_USAGE_ATI: ArrayObjectPNameATI read _OBJECT_BUFFER_USAGE_ATI; + + public function ToString: string; override; + begin + var res := typeof(ArrayObjectPNameATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ArrayObjectPNameATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ArrayObjectUsageATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _STATIC_ATI := new ArrayObjectUsageATI($8760); + private static _DYNAMIC_ATI := new ArrayObjectUsageATI($8761); + + public static property STATIC_ATI: ArrayObjectUsageATI read _STATIC_ATI; + public static property DYNAMIC_ATI: ArrayObjectUsageATI read _DYNAMIC_ATI; + + public function ToString: string; override; + begin + var res := typeof(ArrayObjectUsageATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ArrayObjectUsageATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ElementPointerTypeATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNSIGNED_BYTE := new ElementPointerTypeATI($1401); + private static _UNSIGNED_SHORT := new ElementPointerTypeATI($1403); + private static _UNSIGNED_INT := new ElementPointerTypeATI($1405); + + public static property UNSIGNED_BYTE: ElementPointerTypeATI read _UNSIGNED_BYTE; + public static property UNSIGNED_SHORT: ElementPointerTypeATI read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: ElementPointerTypeATI read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(ElementPointerTypeATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ElementPointerTypeATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FragmentOpATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MOV_ATI := new FragmentOpATI($8961); + private static _ADD_ATI := new FragmentOpATI($8963); + private static _MUL_ATI := new FragmentOpATI($8964); + private static _SUB_ATI := new FragmentOpATI($8965); + private static _DOT3_ATI := new FragmentOpATI($8966); + private static _DOT4_ATI := new FragmentOpATI($8967); + private static _MAD_ATI := new FragmentOpATI($8968); + private static _LERP_ATI := new FragmentOpATI($8969); + private static _CND_ATI := new FragmentOpATI($896A); + private static _CND0_ATI := new FragmentOpATI($896B); + private static _DOT2_ADD_ATI := new FragmentOpATI($896C); + + public static property MOV_ATI: FragmentOpATI read _MOV_ATI; + public static property ADD_ATI: FragmentOpATI read _ADD_ATI; + public static property MUL_ATI: FragmentOpATI read _MUL_ATI; + public static property SUB_ATI: FragmentOpATI read _SUB_ATI; + public static property DOT3_ATI: FragmentOpATI read _DOT3_ATI; + public static property DOT4_ATI: FragmentOpATI read _DOT4_ATI; + public static property MAD_ATI: FragmentOpATI read _MAD_ATI; + public static property LERP_ATI: FragmentOpATI read _LERP_ATI; + public static property CND_ATI: FragmentOpATI read _CND_ATI; + public static property CND0_ATI: FragmentOpATI read _CND0_ATI; + public static property DOT2_ADD_ATI: FragmentOpATI read _DOT2_ADD_ATI; + + public function ToString: string; override; + begin + var res := typeof(FragmentOpATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FragmentOpATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + GetTexBumpParameterATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BUMP_ROT_MATRIX_ATI := new GetTexBumpParameterATI($8775); + private static _BUMP_ROT_MATRIX_SIZE_ATI := new GetTexBumpParameterATI($8776); + private static _BUMP_NUM_TEX_UNITS_ATI := new GetTexBumpParameterATI($8777); + private static _BUMP_TEX_UNITS_ATI := new GetTexBumpParameterATI($8778); + + public static property BUMP_ROT_MATRIX_ATI: GetTexBumpParameterATI read _BUMP_ROT_MATRIX_ATI; + public static property BUMP_ROT_MATRIX_SIZE_ATI: GetTexBumpParameterATI read _BUMP_ROT_MATRIX_SIZE_ATI; + public static property BUMP_NUM_TEX_UNITS_ATI: GetTexBumpParameterATI read _BUMP_NUM_TEX_UNITS_ATI; + public static property BUMP_TEX_UNITS_ATI: GetTexBumpParameterATI read _BUMP_TEX_UNITS_ATI; + + public function ToString: string; override; + begin + var res := typeof(GetTexBumpParameterATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetTexBumpParameterATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PNTrianglesPNameATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PN_TRIANGLES_POINT_MODE_ATI := new PNTrianglesPNameATI($87F2); + private static _PN_TRIANGLES_NORMAL_MODE_ATI := new PNTrianglesPNameATI($87F3); + private static _PN_TRIANGLES_TESSELATION_LEVEL_ATI := new PNTrianglesPNameATI($87F4); + + public static property PN_TRIANGLES_POINT_MODE_ATI: PNTrianglesPNameATI read _PN_TRIANGLES_POINT_MODE_ATI; + public static property PN_TRIANGLES_NORMAL_MODE_ATI: PNTrianglesPNameATI read _PN_TRIANGLES_NORMAL_MODE_ATI; + public static property PN_TRIANGLES_TESSELATION_LEVEL_ATI: PNTrianglesPNameATI read _PN_TRIANGLES_TESSELATION_LEVEL_ATI; + + public function ToString: string; override; + begin + var res := typeof(PNTrianglesPNameATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PNTrianglesPNameATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PreserveModeATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PRESERVE_ATI := new PreserveModeATI($8762); + private static _DISCARD_ATI := new PreserveModeATI($8763); + + public static property PRESERVE_ATI: PreserveModeATI read _PRESERVE_ATI; + public static property DISCARD_ATI: PreserveModeATI read _DISCARD_ATI; + + public function ToString: string; override; + begin + var res := typeof(PreserveModeATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PreserveModeATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SwizzleOpATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SWIZZLE_STR_ATI := new SwizzleOpATI($8976); + private static _SWIZZLE_STQ_ATI := new SwizzleOpATI($8977); + private static _SWIZZLE_STR_DR_ATI := new SwizzleOpATI($8978); + private static _SWIZZLE_STQ_DQ_ATI := new SwizzleOpATI($8979); + + public static property SWIZZLE_STR_ATI: SwizzleOpATI read _SWIZZLE_STR_ATI; + public static property SWIZZLE_STQ_ATI: SwizzleOpATI read _SWIZZLE_STQ_ATI; + public static property SWIZZLE_STR_DR_ATI: SwizzleOpATI read _SWIZZLE_STR_DR_ATI; + public static property SWIZZLE_STQ_DQ_ATI: SwizzleOpATI read _SWIZZLE_STQ_DQ_ATI; + + public function ToString: string; override; + begin + var res := typeof(SwizzleOpATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SwizzleOpATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexStreamATI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_STREAM0_ATI := new VertexStreamATI($876C); + private static _VERTEX_STREAM1_ATI := new VertexStreamATI($876D); + private static _VERTEX_STREAM2_ATI := new VertexStreamATI($876E); + private static _VERTEX_STREAM3_ATI := new VertexStreamATI($876F); + private static _VERTEX_STREAM4_ATI := new VertexStreamATI($8770); + private static _VERTEX_STREAM5_ATI := new VertexStreamATI($8771); + private static _VERTEX_STREAM6_ATI := new VertexStreamATI($8772); + private static _VERTEX_STREAM7_ATI := new VertexStreamATI($8773); + + public static property VERTEX_STREAM0_ATI: VertexStreamATI read _VERTEX_STREAM0_ATI; + public static property VERTEX_STREAM1_ATI: VertexStreamATI read _VERTEX_STREAM1_ATI; + public static property VERTEX_STREAM2_ATI: VertexStreamATI read _VERTEX_STREAM2_ATI; + public static property VERTEX_STREAM3_ATI: VertexStreamATI read _VERTEX_STREAM3_ATI; + public static property VERTEX_STREAM4_ATI: VertexStreamATI read _VERTEX_STREAM4_ATI; + public static property VERTEX_STREAM5_ATI: VertexStreamATI read _VERTEX_STREAM5_ATI; + public static property VERTEX_STREAM6_ATI: VertexStreamATI read _VERTEX_STREAM6_ATI; + public static property VERTEX_STREAM7_ATI: VertexStreamATI read _VERTEX_STREAM7_ATI; + + public function ToString: string; override; + begin + var res := typeof(VertexStreamATI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexStreamATI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion ATI} + + {$region GDI} + + PixelDataTypeGDI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _RGBA := new PixelDataTypeGDI($0000); + private static _COLORINDEX := new PixelDataTypeGDI($0001); + + public static property RGBA: PixelDataTypeGDI read _RGBA; + public static property COLORINDEX: PixelDataTypeGDI read _COLORINDEX; + + public function ToString: string; override; + begin + var res := typeof(PixelDataTypeGDI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelDataTypeGDI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelFormatFlagsGDI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _DOUBLEBUFFER := new PixelFormatFlagsGDI($0001); + private static _STEREO := new PixelFormatFlagsGDI($0002); + private static _DRAW_TO_WINDOW := new PixelFormatFlagsGDI($0004); + private static _DRAW_TO_BITMAP := new PixelFormatFlagsGDI($0008); + private static _SUPPORT_GDI := new PixelFormatFlagsGDI($000A); + private static _SUPPORT_OPENGL := new PixelFormatFlagsGDI($0014); + private static _GENERIC_FORMAT := new PixelFormatFlagsGDI($0028); + private static _NEED_PALETTE := new PixelFormatFlagsGDI($0050); + private static _NEED_SYSTEM_PALETTE := new PixelFormatFlagsGDI($0064); + private static _SWAP_EXCHANGE := new PixelFormatFlagsGDI($00C8); + private static _SWAP_COPY := new PixelFormatFlagsGDI($0190); + private static _SWAP_LAYER_BUFFERS := new PixelFormatFlagsGDI($0320); + private static _GENERIC_ACCELERATED := new PixelFormatFlagsGDI($03E8); + private static _SUPPORT_DIRECTDRAW := new PixelFormatFlagsGDI($07D0); + private static _DEPTH_DONTCARE := new PixelFormatFlagsGDI($1312D00); + private static _DOUBLEBUFFER_DONTCARE := new PixelFormatFlagsGDI($2625A00); + private static _STEREO_DONTCARE := new PixelFormatFlagsGDI($4C4B400); + + public static property DOUBLEBUFFER: PixelFormatFlagsGDI read _DOUBLEBUFFER; + public static property STEREO: PixelFormatFlagsGDI read _STEREO; + public static property DRAW_TO_WINDOW: PixelFormatFlagsGDI read _DRAW_TO_WINDOW; + public static property DRAW_TO_BITMAP: PixelFormatFlagsGDI read _DRAW_TO_BITMAP; + public static property SUPPORT_GDI: PixelFormatFlagsGDI read _SUPPORT_GDI; + public static property SUPPORT_OPENGL: PixelFormatFlagsGDI read _SUPPORT_OPENGL; + public static property GENERIC_FORMAT: PixelFormatFlagsGDI read _GENERIC_FORMAT; + public static property NEED_PALETTE: PixelFormatFlagsGDI read _NEED_PALETTE; + public static property NEED_SYSTEM_PALETTE: PixelFormatFlagsGDI read _NEED_SYSTEM_PALETTE; + public static property SWAP_EXCHANGE: PixelFormatFlagsGDI read _SWAP_EXCHANGE; + public static property SWAP_COPY: PixelFormatFlagsGDI read _SWAP_COPY; + public static property SWAP_LAYER_BUFFERS: PixelFormatFlagsGDI read _SWAP_LAYER_BUFFERS; + public static property GENERIC_ACCELERATED: PixelFormatFlagsGDI read _GENERIC_ACCELERATED; + public static property SUPPORT_DIRECTDRAW: PixelFormatFlagsGDI read _SUPPORT_DIRECTDRAW; + public static property DEPTH_DONTCARE: PixelFormatFlagsGDI read _DEPTH_DONTCARE; + public static property DOUBLEBUFFER_DONTCARE: PixelFormatFlagsGDI read _DOUBLEBUFFER_DONTCARE; + public static property STEREO_DONTCARE: PixelFormatFlagsGDI read _STEREO_DONTCARE; + + public static function operator or(f1,f2: PixelFormatFlagsGDI) := new PixelFormatFlagsGDI(f1.val or f2.val); + + public property HAS_FLAG_DOUBLEBUFFER: boolean read self.val and $0001 <> 0; + public property HAS_FLAG_STEREO: boolean read self.val and $0002 <> 0; + public property HAS_FLAG_DRAW_TO_WINDOW: boolean read self.val and $0004 <> 0; + public property HAS_FLAG_DRAW_TO_BITMAP: boolean read self.val and $0008 <> 0; + public property HAS_FLAG_SUPPORT_GDI: boolean read self.val and $000A <> 0; + public property HAS_FLAG_SUPPORT_OPENGL: boolean read self.val and $0014 <> 0; + public property HAS_FLAG_GENERIC_FORMAT: boolean read self.val and $0028 <> 0; + public property HAS_FLAG_NEED_PALETTE: boolean read self.val and $0050 <> 0; + public property HAS_FLAG_NEED_SYSTEM_PALETTE: boolean read self.val and $0064 <> 0; + public property HAS_FLAG_SWAP_EXCHANGE: boolean read self.val and $00C8 <> 0; + public property HAS_FLAG_SWAP_COPY: boolean read self.val and $0190 <> 0; + public property HAS_FLAG_SWAP_LAYER_BUFFERS: boolean read self.val and $0320 <> 0; + public property HAS_FLAG_GENERIC_ACCELERATED: boolean read self.val and $03E8 <> 0; + public property HAS_FLAG_SUPPORT_DIRECTDRAW: boolean read self.val and $07D0 <> 0; + public property HAS_FLAG_DEPTH_DONTCARE: boolean read self.val and $1312D00 <> 0; + public property HAS_FLAG_DOUBLEBUFFER_DONTCARE: boolean read self.val and $2625A00 <> 0; + public property HAS_FLAG_STEREO_DONTCARE: boolean read self.val and $4C4B400 <> 0; + + public function ToString: string; override; + begin + var res := typeof(PixelFormatFlagsGDI).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; + Result := res.Count=0? + $'PixelFormatFlagsGDI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); + end; + + end; + + {$endregion GDI} + + {$region HP} + + ImageTransformPNameHP = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _IMAGE_SCALE_X_HP := new ImageTransformPNameHP($8155); + private static _IMAGE_SCALE_Y_HP := new ImageTransformPNameHP($8156); + private static _IMAGE_TRANSLATE_X_HP := new ImageTransformPNameHP($8157); + private static _IMAGE_TRANSLATE_Y_HP := new ImageTransformPNameHP($8158); + private static _IMAGE_ROTATE_ANGLE_HP := new ImageTransformPNameHP($8159); + private static _IMAGE_ROTATE_ORIGIN_X_HP := new ImageTransformPNameHP($815A); + private static _IMAGE_ROTATE_ORIGIN_Y_HP := new ImageTransformPNameHP($815B); + private static _IMAGE_MAG_FILTER_HP := new ImageTransformPNameHP($815C); + private static _IMAGE_MIN_FILTER_HP := new ImageTransformPNameHP($815D); + private static _IMAGE_CUBIC_WEIGHT_HP := new ImageTransformPNameHP($815E); + + public static property IMAGE_SCALE_X_HP: ImageTransformPNameHP read _IMAGE_SCALE_X_HP; + public static property IMAGE_SCALE_Y_HP: ImageTransformPNameHP read _IMAGE_SCALE_Y_HP; + public static property IMAGE_TRANSLATE_X_HP: ImageTransformPNameHP read _IMAGE_TRANSLATE_X_HP; + public static property IMAGE_TRANSLATE_Y_HP: ImageTransformPNameHP read _IMAGE_TRANSLATE_Y_HP; + public static property IMAGE_ROTATE_ANGLE_HP: ImageTransformPNameHP read _IMAGE_ROTATE_ANGLE_HP; + public static property IMAGE_ROTATE_ORIGIN_X_HP: ImageTransformPNameHP read _IMAGE_ROTATE_ORIGIN_X_HP; + public static property IMAGE_ROTATE_ORIGIN_Y_HP: ImageTransformPNameHP read _IMAGE_ROTATE_ORIGIN_Y_HP; + public static property IMAGE_MAG_FILTER_HP: ImageTransformPNameHP read _IMAGE_MAG_FILTER_HP; + public static property IMAGE_MIN_FILTER_HP: ImageTransformPNameHP read _IMAGE_MIN_FILTER_HP; + public static property IMAGE_CUBIC_WEIGHT_HP: ImageTransformPNameHP read _IMAGE_CUBIC_WEIGHT_HP; + + public function ToString: string; override; + begin + var res := typeof(ImageTransformPNameHP).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ImageTransformPNameHP[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + ImageTransformTargetHP = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _IMAGE_TRANSFORM_2D_HP := new ImageTransformTargetHP($8161); + + public static property IMAGE_TRANSFORM_2D_HP: ImageTransformTargetHP read _IMAGE_TRANSFORM_2D_HP; + + public function ToString: string; override; + begin + var res := typeof(ImageTransformTargetHP).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ImageTransformTargetHP[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion HP} + + {$region IBM} + + FogPointerTypeIBM = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FLOAT := new FogPointerTypeIBM($1406); + private static _DOUBLE := new FogPointerTypeIBM($140A); + + public static property FLOAT: FogPointerTypeIBM read _FLOAT; + public static property DOUBLE: FogPointerTypeIBM read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(FogPointerTypeIBM).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FogPointerTypeIBM[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SecondaryColorPointerTypeIBM = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SHORT := new SecondaryColorPointerTypeIBM($1402); + private static _INT := new SecondaryColorPointerTypeIBM($1404); + private static _FLOAT := new SecondaryColorPointerTypeIBM($1406); + private static _DOUBLE := new SecondaryColorPointerTypeIBM($140A); + + public static property SHORT: SecondaryColorPointerTypeIBM read _SHORT; + public static property INT: SecondaryColorPointerTypeIBM read _INT; + public static property FLOAT: SecondaryColorPointerTypeIBM read _FLOAT; + public static property DOUBLE: SecondaryColorPointerTypeIBM read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(SecondaryColorPointerTypeIBM).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SecondaryColorPointerTypeIBM[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion IBM} + + {$region INTEL} + PerfQueryCapFlagsINTEL = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property SINGLE_CONTEXT: boolean read self.val = 0; - public property GLOBAL_CONTEXT: boolean read self.val and $1 <> 0; + private static _PERFQUERY_SINGLE_CONTEXT_INTEL := new PerfQueryCapFlagsINTEL($0000); + private static _PERFQUERY_GLOBAL_CONTEXT_INTEL := new PerfQueryCapFlagsINTEL($0001); + + public static property PERFQUERY_SINGLE_CONTEXT_INTEL: PerfQueryCapFlagsINTEL read _PERFQUERY_SINGLE_CONTEXT_INTEL; + public static property PERFQUERY_GLOBAL_CONTEXT_INTEL: PerfQueryCapFlagsINTEL read _PERFQUERY_GLOBAL_CONTEXT_INTEL; + + public static function operator or(f1,f2: PerfQueryCapFlagsINTEL) := new PerfQueryCapFlagsINTEL(f1.val or f2.val); + + public property ANY_FLAGS: boolean read self.val<>0; + public property HAS_FLAG_PERFQUERY_GLOBAL_CONTEXT_INTEL: boolean read self.val and $0001 <> 0; public function ToString: string; override; begin - var res := typeof(PerfQueryCapFlagsINTEL).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).Where(t->t[1]).ToList; + var res := typeof(PerfQueryCapFlagsINTEL).GetProperties.Where(prop->prop.Name.StartsWith('HAS_FLAG_') and boolean(prop.GetValue(self))).Select(prop->prop.Name.TrimStart('&')).ToList; Result := res.Count=0? - $'PerfQueryCapFlagsINTEL[{self.val}]': - res.Select(t->t[0]).JoinIntoString('+'); + $'PerfQueryCapFlagsINTEL[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.JoinIntoString('+'); end; end; - {$endregion INTEL_performance_query} - - {$region AMD_debug_output} - - //R - DebugMessageCategoryAMD = record + PerfQueryDataFlagsINTEL = record public val: UInt32; public constructor(val: UInt32) := self.val := val; - public property API_ERROR: boolean read self.val = $9149; - public property WINDOW_SYSTEM: boolean read self.val = $914A; - public property DEPRECATION: boolean read self.val = $914B; - public property UNDEFINED_BEHAVIOR: boolean read self.val = $914C; - public property PERFORMANCE: boolean read self.val = $914D; - public property SHADER_COMPILER: boolean read self.val = $914E; - public property APPLICATION: boolean read self.val = $914F; - public property OTHER: boolean read self.val = $9150; + private static _PERFQUERY_DONOT_FLUSH_INTEL := new PerfQueryDataFlagsINTEL($83F9); + private static _PERFQUERY_FLUSH_INTEL := new PerfQueryDataFlagsINTEL($83FA); + private static _PERFQUERY_WAIT_INTEL := new PerfQueryDataFlagsINTEL($83FB); + + public static property PERFQUERY_DONOT_FLUSH_INTEL: PerfQueryDataFlagsINTEL read _PERFQUERY_DONOT_FLUSH_INTEL; + public static property PERFQUERY_FLUSH_INTEL: PerfQueryDataFlagsINTEL read _PERFQUERY_FLUSH_INTEL; + public static property PERFQUERY_WAIT_INTEL: PerfQueryDataFlagsINTEL read _PERFQUERY_WAIT_INTEL; public function ToString: string; override; begin - var res := typeof(DebugMessageType).GetProperties.Where(prop->prop.PropertyType=typeof(boolean)).Select(prop->(prop.Name,boolean(prop.GetValue(self)))).FirstOrDefault(t->t[1]); + var res := typeof(PerfQueryDataFlagsINTEL).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); Result := res=nil? - $'DebugMessageType[{self.val}]': - res[0]; + $'PerfQueryDataFlagsINTEL[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); end; end; - {$endregion AMD_debug_output} + {$endregion INTEL} - {$endregion Ext} + {$region NV} + + CombinerBiasNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NONE := new CombinerBiasNV($0000); + private static _BIAS_BY_NEGATIVE_ONE_HALF_NV := new CombinerBiasNV($8541); + + public static property NONE: CombinerBiasNV read _NONE; + public static property BIAS_BY_NEGATIVE_ONE_HALF_NV: CombinerBiasNV read _BIAS_BY_NEGATIVE_ONE_HALF_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerBiasNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerBiasNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerComponentUsageNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _BLUE := new CombinerComponentUsageNV($1905); + private static _ALPHA := new CombinerComponentUsageNV($1906); + private static _RGB := new CombinerComponentUsageNV($1907); + + public static property BLUE: CombinerComponentUsageNV read _BLUE; + public static property ALPHA: CombinerComponentUsageNV read _ALPHA; + public static property RGB: CombinerComponentUsageNV read _RGB; + + public function ToString: string; override; + begin + var res := typeof(CombinerComponentUsageNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerComponentUsageNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerMappingNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNSIGNED_IDENTITY_NV := new CombinerMappingNV($8536); + private static _UNSIGNED_INVERT_NV := new CombinerMappingNV($8537); + private static _EXPAND_NORMAL_NV := new CombinerMappingNV($8538); + private static _EXPAND_NEGATE_NV := new CombinerMappingNV($8539); + private static _HALF_BIAS_NORMAL_NV := new CombinerMappingNV($853A); + private static _HALF_BIAS_NEGATE_NV := new CombinerMappingNV($853B); + private static _SIGNED_IDENTITY_NV := new CombinerMappingNV($853C); + private static _SIGNED_NEGATE_NV := new CombinerMappingNV($853D); + + public static property UNSIGNED_IDENTITY_NV: CombinerMappingNV read _UNSIGNED_IDENTITY_NV; + public static property UNSIGNED_INVERT_NV: CombinerMappingNV read _UNSIGNED_INVERT_NV; + public static property EXPAND_NORMAL_NV: CombinerMappingNV read _EXPAND_NORMAL_NV; + public static property EXPAND_NEGATE_NV: CombinerMappingNV read _EXPAND_NEGATE_NV; + public static property HALF_BIAS_NORMAL_NV: CombinerMappingNV read _HALF_BIAS_NORMAL_NV; + public static property HALF_BIAS_NEGATE_NV: CombinerMappingNV read _HALF_BIAS_NEGATE_NV; + public static property SIGNED_IDENTITY_NV: CombinerMappingNV read _SIGNED_IDENTITY_NV; + public static property SIGNED_NEGATE_NV: CombinerMappingNV read _SIGNED_NEGATE_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerMappingNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerMappingNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerParameterNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COMBINER_INPUT_NV := new CombinerParameterNV($8542); + private static _COMBINER_MAPPING_NV := new CombinerParameterNV($8543); + private static _COMBINER_COMPONENT_USAGE_NV := new CombinerParameterNV($8544); + + public static property COMBINER_INPUT_NV: CombinerParameterNV read _COMBINER_INPUT_NV; + public static property COMBINER_MAPPING_NV: CombinerParameterNV read _COMBINER_MAPPING_NV; + public static property COMBINER_COMPONENT_USAGE_NV: CombinerParameterNV read _COMBINER_COMPONENT_USAGE_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerParameterNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerParameterNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerPortionNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _ALPHA := new CombinerPortionNV($1906); + private static _RGB := new CombinerPortionNV($1907); + + public static property ALPHA: CombinerPortionNV read _ALPHA; + public static property RGB: CombinerPortionNV read _RGB; + + public function ToString: string; override; + begin + var res := typeof(CombinerPortionNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerPortionNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerRegisterNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE0_ARB := new CombinerRegisterNV($84C0); + private static _TEXTURE1_ARB := new CombinerRegisterNV($84C1); + private static _PRIMARY_COLOR_NV := new CombinerRegisterNV($852C); + private static _SECONDARY_COLOR_NV := new CombinerRegisterNV($852D); + private static _SPARE0_NV := new CombinerRegisterNV($852E); + private static _SPARE1_NV := new CombinerRegisterNV($852F); + private static _DISCARD_NV := new CombinerRegisterNV($8530); + + public static property TEXTURE0_ARB: CombinerRegisterNV read _TEXTURE0_ARB; + public static property TEXTURE1_ARB: CombinerRegisterNV read _TEXTURE1_ARB; + public static property PRIMARY_COLOR_NV: CombinerRegisterNV read _PRIMARY_COLOR_NV; + public static property SECONDARY_COLOR_NV: CombinerRegisterNV read _SECONDARY_COLOR_NV; + public static property SPARE0_NV: CombinerRegisterNV read _SPARE0_NV; + public static property SPARE1_NV: CombinerRegisterNV read _SPARE1_NV; + public static property DISCARD_NV: CombinerRegisterNV read _DISCARD_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerRegisterNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerRegisterNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerScaleNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _NONE := new CombinerScaleNV($0000); + private static _SCALE_BY_TWO_NV := new CombinerScaleNV($853E); + private static _SCALE_BY_FOUR_NV := new CombinerScaleNV($853F); + private static _SCALE_BY_ONE_HALF_NV := new CombinerScaleNV($8540); + + public static property NONE: CombinerScaleNV read _NONE; + public static property SCALE_BY_TWO_NV: CombinerScaleNV read _SCALE_BY_TWO_NV; + public static property SCALE_BY_FOUR_NV: CombinerScaleNV read _SCALE_BY_FOUR_NV; + public static property SCALE_BY_ONE_HALF_NV: CombinerScaleNV read _SCALE_BY_ONE_HALF_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerScaleNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerScaleNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerStageNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COMBINER0_NV := new CombinerStageNV($8550); + private static _COMBINER1_NV := new CombinerStageNV($8551); + private static _COMBINER2_NV := new CombinerStageNV($8552); + private static _COMBINER3_NV := new CombinerStageNV($8553); + private static _COMBINER4_NV := new CombinerStageNV($8554); + private static _COMBINER5_NV := new CombinerStageNV($8555); + private static _COMBINER6_NV := new CombinerStageNV($8556); + private static _COMBINER7_NV := new CombinerStageNV($8557); + + public static property COMBINER0_NV: CombinerStageNV read _COMBINER0_NV; + public static property COMBINER1_NV: CombinerStageNV read _COMBINER1_NV; + public static property COMBINER2_NV: CombinerStageNV read _COMBINER2_NV; + public static property COMBINER3_NV: CombinerStageNV read _COMBINER3_NV; + public static property COMBINER4_NV: CombinerStageNV read _COMBINER4_NV; + public static property COMBINER5_NV: CombinerStageNV read _COMBINER5_NV; + public static property COMBINER6_NV: CombinerStageNV read _COMBINER6_NV; + public static property COMBINER7_NV: CombinerStageNV read _COMBINER7_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerStageNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerStageNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + CombinerVariableNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VARIABLE_A_NV := new CombinerVariableNV($8523); + private static _VARIABLE_B_NV := new CombinerVariableNV($8524); + private static _VARIABLE_C_NV := new CombinerVariableNV($8525); + private static _VARIABLE_D_NV := new CombinerVariableNV($8526); + private static _VARIABLE_E_NV := new CombinerVariableNV($8527); + private static _VARIABLE_F_NV := new CombinerVariableNV($8528); + private static _VARIABLE_G_NV := new CombinerVariableNV($8529); + + public static property VARIABLE_A_NV: CombinerVariableNV read _VARIABLE_A_NV; + public static property VARIABLE_B_NV: CombinerVariableNV read _VARIABLE_B_NV; + public static property VARIABLE_C_NV: CombinerVariableNV read _VARIABLE_C_NV; + public static property VARIABLE_D_NV: CombinerVariableNV read _VARIABLE_D_NV; + public static property VARIABLE_E_NV: CombinerVariableNV read _VARIABLE_E_NV; + public static property VARIABLE_F_NV: CombinerVariableNV read _VARIABLE_F_NV; + public static property VARIABLE_G_NV: CombinerVariableNV read _VARIABLE_G_NV; + + public function ToString: string; override; + begin + var res := typeof(CombinerVariableNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'CombinerVariableNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + EvalMapsModeNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FILL_NV := new EvalMapsModeNV($1B02); + + public static property FILL_NV: EvalMapsModeNV read _FILL_NV; + + public function ToString: string; override; + begin + var res := typeof(EvalMapsModeNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'EvalMapsModeNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + EvalTargetNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _EVAL_2D_NV := new EvalTargetNV($86C0); + private static _EVAL_TRIANGULAR_2D_NV := new EvalTargetNV($86C1); + + public static property EVAL_2D_NV: EvalTargetNV read _EVAL_2D_NV; + public static property EVAL_TRIANGULAR_2D_NV: EvalTargetNV read _EVAL_TRIANGULAR_2D_NV; + + public function ToString: string; override; + begin + var res := typeof(EvalTargetNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'EvalTargetNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FenceConditionNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _ALL_COMPLETED_NV := new FenceConditionNV($84F2); + + public static property ALL_COMPLETED_NV: FenceConditionNV read _ALL_COMPLETED_NV; + + public function ToString: string; override; + begin + var res := typeof(FenceConditionNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FenceConditionNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FenceParameterNameNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FENCE_STATUS_NV := new FenceParameterNameNV($84F3); + private static _FENCE_CONDITION_NV := new FenceParameterNameNV($84F4); + + public static property FENCE_STATUS_NV: FenceParameterNameNV read _FENCE_STATUS_NV; + public static property FENCE_CONDITION_NV: FenceParameterNameNV read _FENCE_CONDITION_NV; + + public function ToString: string; override; + begin + var res := typeof(FenceParameterNameNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FenceParameterNameNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + GetMultisamplePNameNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SAMPLE_LOCATION_ARB := new GetMultisamplePNameNV($8E50); + private static _SAMPLE_POSITION := new GetMultisamplePNameNV($8E50); + private static _PROGRAMMABLE_SAMPLE_LOCATION_ARB := new GetMultisamplePNameNV($9341); + + public static property SAMPLE_LOCATION_ARB: GetMultisamplePNameNV read _SAMPLE_LOCATION_ARB; + public static property SAMPLE_POSITION: GetMultisamplePNameNV read _SAMPLE_POSITION; + public static property PROGRAMMABLE_SAMPLE_LOCATION_ARB: GetMultisamplePNameNV read _PROGRAMMABLE_SAMPLE_LOCATION_ARB; + + public function ToString: string; override; + begin + var res := typeof(GetMultisamplePNameNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetMultisamplePNameNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MapAttribParameterNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MAP_ATTRIB_U_ORDER_NV := new MapAttribParameterNV($86C3); + private static _MAP_ATTRIB_V_ORDER_NV := new MapAttribParameterNV($86C4); + + public static property MAP_ATTRIB_U_ORDER_NV: MapAttribParameterNV read _MAP_ATTRIB_U_ORDER_NV; + public static property MAP_ATTRIB_V_ORDER_NV: MapAttribParameterNV read _MAP_ATTRIB_V_ORDER_NV; + + public function ToString: string; override; + begin + var res := typeof(MapAttribParameterNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MapAttribParameterNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MapParameterNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _MAP_TESSELLATION_NV := new MapParameterNV($86C2); + + public static property MAP_TESSELLATION_NV: MapParameterNV read _MAP_TESSELLATION_NV; + + public function ToString: string; override; + begin + var res := typeof(MapParameterNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MapParameterNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + MapTypeNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FLOAT := new MapTypeNV($1406); + private static _DOUBLE := new MapTypeNV($140A); + + public static property FLOAT: MapTypeNV read _FLOAT; + public static property DOUBLE: MapTypeNV read _DOUBLE; + + public function ToString: string; override; + begin + var res := typeof(MapTypeNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'MapTypeNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + OcclusionQueryParameterNameNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PIXEL_COUNT_NV := new OcclusionQueryParameterNameNV($8866); + private static _PIXEL_COUNT_AVAILABLE_NV := new OcclusionQueryParameterNameNV($8867); + + public static property PIXEL_COUNT_NV: OcclusionQueryParameterNameNV read _PIXEL_COUNT_NV; + public static property PIXEL_COUNT_AVAILABLE_NV: OcclusionQueryParameterNameNV read _PIXEL_COUNT_AVAILABLE_NV; + + public function ToString: string; override; + begin + var res := typeof(OcclusionQueryParameterNameNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'OcclusionQueryParameterNameNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelDataRangeTargetNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _WRITE_PIXEL_DATA_RANGE_NV := new PixelDataRangeTargetNV($8878); + private static _READ_PIXEL_DATA_RANGE_NV := new PixelDataRangeTargetNV($8879); + + public static property WRITE_PIXEL_DATA_RANGE_NV: PixelDataRangeTargetNV read _WRITE_PIXEL_DATA_RANGE_NV; + public static property READ_PIXEL_DATA_RANGE_NV: PixelDataRangeTargetNV read _READ_PIXEL_DATA_RANGE_NV; + + public function ToString: string; override; + begin + var res := typeof(PixelDataRangeTargetNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelDataRangeTargetNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + VertexAttribEnumNV = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PROGRAM_PARAMETER_NV := new VertexAttribEnumNV($8644); + + public static property PROGRAM_PARAMETER_NV: VertexAttribEnumNV read _PROGRAM_PARAMETER_NV; + + public function ToString: string; override; + begin + var res := typeof(VertexAttribEnumNV).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'VertexAttribEnumNV[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion NV} + + {$region PGI} + + HintTargetPGI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _VERTEX_DATA_HINT_PGI := new HintTargetPGI($1A22A); + private static _VERTEX_CONSISTENT_HINT_PGI := new HintTargetPGI($1A22B); + private static _MATERIAL_SIDE_HINT_PGI := new HintTargetPGI($1A22C); + private static _MAX_VERTEX_HINT_PGI := new HintTargetPGI($1A22D); + + public static property VERTEX_DATA_HINT_PGI: HintTargetPGI read _VERTEX_DATA_HINT_PGI; + public static property VERTEX_CONSISTENT_HINT_PGI: HintTargetPGI read _VERTEX_CONSISTENT_HINT_PGI; + public static property MATERIAL_SIDE_HINT_PGI: HintTargetPGI read _MATERIAL_SIDE_HINT_PGI; + public static property MAX_VERTEX_HINT_PGI: HintTargetPGI read _MAX_VERTEX_HINT_PGI; + + public function ToString: string; override; + begin + var res := typeof(HintTargetPGI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'HintTargetPGI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion PGI} + + {$region SGI} + + ColorTableTargetSGI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _TEXTURE_COLOR_TABLE_SGI := new ColorTableTargetSGI($80BC); + private static _PROXY_TEXTURE_COLOR_TABLE_SGI := new ColorTableTargetSGI($80BD); + private static _COLOR_TABLE := new ColorTableTargetSGI($80D0); + private static _COLOR_TABLE_SGI := new ColorTableTargetSGI($80D0); + private static _POST_CONVOLUTION_COLOR_TABLE := new ColorTableTargetSGI($80D1); + private static _POST_CONVOLUTION_COLOR_TABLE_SGI := new ColorTableTargetSGI($80D1); + private static _POST_COLOR_MATRIX_COLOR_TABLE := new ColorTableTargetSGI($80D2); + private static _POST_COLOR_MATRIX_COLOR_TABLE_SGI := new ColorTableTargetSGI($80D2); + private static _PROXY_COLOR_TABLE := new ColorTableTargetSGI($80D3); + private static _PROXY_COLOR_TABLE_SGI := new ColorTableTargetSGI($80D3); + private static _PROXY_POST_CONVOLUTION_COLOR_TABLE := new ColorTableTargetSGI($80D4); + private static _PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI := new ColorTableTargetSGI($80D4); + private static _PROXY_POST_COLOR_MATRIX_COLOR_TABLE := new ColorTableTargetSGI($80D5); + private static _PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI := new ColorTableTargetSGI($80D5); + + public static property TEXTURE_COLOR_TABLE_SGI: ColorTableTargetSGI read _TEXTURE_COLOR_TABLE_SGI; + public static property PROXY_TEXTURE_COLOR_TABLE_SGI: ColorTableTargetSGI read _PROXY_TEXTURE_COLOR_TABLE_SGI; + public static property COLOR_TABLE: ColorTableTargetSGI read _COLOR_TABLE; + public static property COLOR_TABLE_SGI: ColorTableTargetSGI read _COLOR_TABLE_SGI; + public static property POST_CONVOLUTION_COLOR_TABLE: ColorTableTargetSGI read _POST_CONVOLUTION_COLOR_TABLE; + public static property POST_CONVOLUTION_COLOR_TABLE_SGI: ColorTableTargetSGI read _POST_CONVOLUTION_COLOR_TABLE_SGI; + public static property POST_COLOR_MATRIX_COLOR_TABLE: ColorTableTargetSGI read _POST_COLOR_MATRIX_COLOR_TABLE; + public static property POST_COLOR_MATRIX_COLOR_TABLE_SGI: ColorTableTargetSGI read _POST_COLOR_MATRIX_COLOR_TABLE_SGI; + public static property PROXY_COLOR_TABLE: ColorTableTargetSGI read _PROXY_COLOR_TABLE; + public static property PROXY_COLOR_TABLE_SGI: ColorTableTargetSGI read _PROXY_COLOR_TABLE_SGI; + public static property PROXY_POST_CONVOLUTION_COLOR_TABLE: ColorTableTargetSGI read _PROXY_POST_CONVOLUTION_COLOR_TABLE; + public static property PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI: ColorTableTargetSGI read _PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI; + public static property PROXY_POST_COLOR_MATRIX_COLOR_TABLE: ColorTableTargetSGI read _PROXY_POST_COLOR_MATRIX_COLOR_TABLE; + public static property PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI: ColorTableTargetSGI read _PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI; + + public function ToString: string; override; + begin + var res := typeof(ColorTableTargetSGI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ColorTableTargetSGI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + GetColorTableParameterPNameSGI = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _COLOR_TABLE_SCALE := new GetColorTableParameterPNameSGI($80D6); + private static _COLOR_TABLE_SCALE_SGI := new GetColorTableParameterPNameSGI($80D6); + private static _COLOR_TABLE_BIAS := new GetColorTableParameterPNameSGI($80D7); + private static _COLOR_TABLE_BIAS_SGI := new GetColorTableParameterPNameSGI($80D7); + private static _COLOR_TABLE_FORMAT := new GetColorTableParameterPNameSGI($80D8); + private static _COLOR_TABLE_FORMAT_SGI := new GetColorTableParameterPNameSGI($80D8); + private static _COLOR_TABLE_WIDTH := new GetColorTableParameterPNameSGI($80D9); + private static _COLOR_TABLE_WIDTH_SGI := new GetColorTableParameterPNameSGI($80D9); + private static _COLOR_TABLE_RED_SIZE := new GetColorTableParameterPNameSGI($80DA); + private static _COLOR_TABLE_RED_SIZE_SGI := new GetColorTableParameterPNameSGI($80DA); + private static _COLOR_TABLE_GREEN_SIZE := new GetColorTableParameterPNameSGI($80DB); + private static _COLOR_TABLE_GREEN_SIZE_SGI := new GetColorTableParameterPNameSGI($80DB); + private static _COLOR_TABLE_BLUE_SIZE := new GetColorTableParameterPNameSGI($80DC); + private static _COLOR_TABLE_BLUE_SIZE_SGI := new GetColorTableParameterPNameSGI($80DC); + private static _COLOR_TABLE_ALPHA_SIZE := new GetColorTableParameterPNameSGI($80DD); + private static _COLOR_TABLE_ALPHA_SIZE_SGI := new GetColorTableParameterPNameSGI($80DD); + private static _COLOR_TABLE_LUMINANCE_SIZE := new GetColorTableParameterPNameSGI($80DE); + private static _COLOR_TABLE_LUMINANCE_SIZE_SGI := new GetColorTableParameterPNameSGI($80DE); + private static _COLOR_TABLE_INTENSITY_SIZE := new GetColorTableParameterPNameSGI($80DF); + private static _COLOR_TABLE_INTENSITY_SIZE_SGI := new GetColorTableParameterPNameSGI($80DF); + + public static property COLOR_TABLE_SCALE: GetColorTableParameterPNameSGI read _COLOR_TABLE_SCALE; + public static property COLOR_TABLE_SCALE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_SCALE_SGI; + public static property COLOR_TABLE_BIAS: GetColorTableParameterPNameSGI read _COLOR_TABLE_BIAS; + public static property COLOR_TABLE_BIAS_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_BIAS_SGI; + public static property COLOR_TABLE_FORMAT: GetColorTableParameterPNameSGI read _COLOR_TABLE_FORMAT; + public static property COLOR_TABLE_FORMAT_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_FORMAT_SGI; + public static property COLOR_TABLE_WIDTH: GetColorTableParameterPNameSGI read _COLOR_TABLE_WIDTH; + public static property COLOR_TABLE_WIDTH_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_WIDTH_SGI; + public static property COLOR_TABLE_RED_SIZE: GetColorTableParameterPNameSGI read _COLOR_TABLE_RED_SIZE; + public static property COLOR_TABLE_RED_SIZE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_RED_SIZE_SGI; + public static property COLOR_TABLE_GREEN_SIZE: GetColorTableParameterPNameSGI read _COLOR_TABLE_GREEN_SIZE; + public static property COLOR_TABLE_GREEN_SIZE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_GREEN_SIZE_SGI; + public static property COLOR_TABLE_BLUE_SIZE: GetColorTableParameterPNameSGI read _COLOR_TABLE_BLUE_SIZE; + public static property COLOR_TABLE_BLUE_SIZE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_BLUE_SIZE_SGI; + public static property COLOR_TABLE_ALPHA_SIZE: GetColorTableParameterPNameSGI read _COLOR_TABLE_ALPHA_SIZE; + public static property COLOR_TABLE_ALPHA_SIZE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_ALPHA_SIZE_SGI; + public static property COLOR_TABLE_LUMINANCE_SIZE: GetColorTableParameterPNameSGI read _COLOR_TABLE_LUMINANCE_SIZE; + public static property COLOR_TABLE_LUMINANCE_SIZE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_LUMINANCE_SIZE_SGI; + public static property COLOR_TABLE_INTENSITY_SIZE: GetColorTableParameterPNameSGI read _COLOR_TABLE_INTENSITY_SIZE; + public static property COLOR_TABLE_INTENSITY_SIZE_SGI: GetColorTableParameterPNameSGI read _COLOR_TABLE_INTENSITY_SIZE_SGI; + + public function ToString: string; override; + begin + var res := typeof(GetColorTableParameterPNameSGI).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'GetColorTableParameterPNameSGI[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion SGI} + + {$region SGIS} + + PixelTexGenParameterNameSGIS = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PIXEL_FRAGMENT_RGB_SOURCE_SGIS := new PixelTexGenParameterNameSGIS($8354); + private static _PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS := new PixelTexGenParameterNameSGIS($8355); + + public static property PIXEL_FRAGMENT_RGB_SOURCE_SGIS: PixelTexGenParameterNameSGIS read _PIXEL_FRAGMENT_RGB_SOURCE_SGIS; + public static property PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS: PixelTexGenParameterNameSGIS read _PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS; + + public function ToString: string; override; + begin + var res := typeof(PixelTexGenParameterNameSGIS).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelTexGenParameterNameSGIS[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SamplePatternSGIS = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _GL_1PASS_EXT := new SamplePatternSGIS($80A1); + private static _GL_1PASS_SGIS := new SamplePatternSGIS($80A1); + private static _GL_2PASS_0_EXT := new SamplePatternSGIS($80A2); + private static _GL_2PASS_0_SGIS := new SamplePatternSGIS($80A2); + private static _GL_2PASS_1_EXT := new SamplePatternSGIS($80A3); + private static _GL_2PASS_1_SGIS := new SamplePatternSGIS($80A3); + private static _GL_4PASS_0_EXT := new SamplePatternSGIS($80A4); + private static _GL_4PASS_0_SGIS := new SamplePatternSGIS($80A4); + private static _GL_4PASS_1_EXT := new SamplePatternSGIS($80A5); + private static _GL_4PASS_1_SGIS := new SamplePatternSGIS($80A5); + private static _GL_4PASS_2_EXT := new SamplePatternSGIS($80A6); + private static _GL_4PASS_2_SGIS := new SamplePatternSGIS($80A6); + private static _GL_4PASS_3_EXT := new SamplePatternSGIS($80A7); + private static _GL_4PASS_3_SGIS := new SamplePatternSGIS($80A7); + + public static property GL_1PASS_EXT: SamplePatternSGIS read _GL_1PASS_EXT; + public static property GL_1PASS_SGIS: SamplePatternSGIS read _GL_1PASS_SGIS; + public static property GL_2PASS_0_EXT: SamplePatternSGIS read _GL_2PASS_0_EXT; + public static property GL_2PASS_0_SGIS: SamplePatternSGIS read _GL_2PASS_0_SGIS; + public static property GL_2PASS_1_EXT: SamplePatternSGIS read _GL_2PASS_1_EXT; + public static property GL_2PASS_1_SGIS: SamplePatternSGIS read _GL_2PASS_1_SGIS; + public static property GL_4PASS_0_EXT: SamplePatternSGIS read _GL_4PASS_0_EXT; + public static property GL_4PASS_0_SGIS: SamplePatternSGIS read _GL_4PASS_0_SGIS; + public static property GL_4PASS_1_EXT: SamplePatternSGIS read _GL_4PASS_1_EXT; + public static property GL_4PASS_1_SGIS: SamplePatternSGIS read _GL_4PASS_1_SGIS; + public static property GL_4PASS_2_EXT: SamplePatternSGIS read _GL_4PASS_2_EXT; + public static property GL_4PASS_2_SGIS: SamplePatternSGIS read _GL_4PASS_2_SGIS; + public static property GL_4PASS_3_EXT: SamplePatternSGIS read _GL_4PASS_3_EXT; + public static property GL_4PASS_3_SGIS: SamplePatternSGIS read _GL_4PASS_3_SGIS; + + public function ToString: string; override; + begin + var res := typeof(SamplePatternSGIS).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SamplePatternSGIS[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + TextureFilterSGIS = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FILTER4_SGIS := new TextureFilterSGIS($8146); + + public static property FILTER4_SGIS: TextureFilterSGIS read _FILTER4_SGIS; + + public function ToString: string; override; + begin + var res := typeof(TextureFilterSGIS).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'TextureFilterSGIS[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion SGIS} + + {$region SGIX} + + FfdTargetSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _GEOMETRY_DEFORMATION_SGIX := new FfdTargetSGIX($8194); + private static _TEXTURE_DEFORMATION_SGIX := new FfdTargetSGIX($8195); + + public static property GEOMETRY_DEFORMATION_SGIX: FfdTargetSGIX read _GEOMETRY_DEFORMATION_SGIX; + public static property TEXTURE_DEFORMATION_SGIX: FfdTargetSGIX read _TEXTURE_DEFORMATION_SGIX; + + public function ToString: string; override; + begin + var res := typeof(FfdTargetSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FfdTargetSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FragmentLightModelParameterSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX := new FragmentLightModelParameterSGIX($8408); + private static _FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX := new FragmentLightModelParameterSGIX($8409); + private static _FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX := new FragmentLightModelParameterSGIX($840A); + private static _FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX := new FragmentLightModelParameterSGIX($840B); + + public static property FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX: FragmentLightModelParameterSGIX read _FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX; + public static property FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX: FragmentLightModelParameterSGIX read _FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX; + public static property FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX: FragmentLightModelParameterSGIX read _FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX; + public static property FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX: FragmentLightModelParameterSGIX read _FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX; + + public function ToString: string; override; + begin + var res := typeof(FragmentLightModelParameterSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FragmentLightModelParameterSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FragmentLightNameSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _FRAGMENT_LIGHT0_SGIX := new FragmentLightNameSGIX($840C); + private static _FRAGMENT_LIGHT1_SGIX := new FragmentLightNameSGIX($840D); + private static _FRAGMENT_LIGHT2_SGIX := new FragmentLightNameSGIX($840E); + private static _FRAGMENT_LIGHT3_SGIX := new FragmentLightNameSGIX($840F); + private static _FRAGMENT_LIGHT4_SGIX := new FragmentLightNameSGIX($8410); + private static _FRAGMENT_LIGHT5_SGIX := new FragmentLightNameSGIX($8411); + private static _FRAGMENT_LIGHT6_SGIX := new FragmentLightNameSGIX($8412); + private static _FRAGMENT_LIGHT7_SGIX := new FragmentLightNameSGIX($8413); + + public static property FRAGMENT_LIGHT0_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT0_SGIX; + public static property FRAGMENT_LIGHT1_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT1_SGIX; + public static property FRAGMENT_LIGHT2_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT2_SGIX; + public static property FRAGMENT_LIGHT3_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT3_SGIX; + public static property FRAGMENT_LIGHT4_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT4_SGIX; + public static property FRAGMENT_LIGHT5_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT5_SGIX; + public static property FRAGMENT_LIGHT6_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT6_SGIX; + public static property FRAGMENT_LIGHT7_SGIX: FragmentLightNameSGIX read _FRAGMENT_LIGHT7_SGIX; + + public function ToString: string; override; + begin + var res := typeof(FragmentLightNameSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FragmentLightNameSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + FragmentLightParameterSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _AMBIENT := new FragmentLightParameterSGIX($1200); + private static _DIFFUSE := new FragmentLightParameterSGIX($1201); + private static _SPECULAR := new FragmentLightParameterSGIX($1202); + private static _POSITION := new FragmentLightParameterSGIX($1203); + private static _SPOT_DIRECTION := new FragmentLightParameterSGIX($1204); + private static _SPOT_EXPONENT := new FragmentLightParameterSGIX($1205); + private static _SPOT_CUTOFF := new FragmentLightParameterSGIX($1206); + private static _CONSTANT_ATTENUATION := new FragmentLightParameterSGIX($1207); + private static _LINEAR_ATTENUATION := new FragmentLightParameterSGIX($1208); + private static _QUADRATIC_ATTENUATION := new FragmentLightParameterSGIX($1209); + + public static property AMBIENT: FragmentLightParameterSGIX read _AMBIENT; + public static property DIFFUSE: FragmentLightParameterSGIX read _DIFFUSE; + public static property SPECULAR: FragmentLightParameterSGIX read _SPECULAR; + public static property POSITION: FragmentLightParameterSGIX read _POSITION; + public static property SPOT_DIRECTION: FragmentLightParameterSGIX read _SPOT_DIRECTION; + public static property SPOT_EXPONENT: FragmentLightParameterSGIX read _SPOT_EXPONENT; + public static property SPOT_CUTOFF: FragmentLightParameterSGIX read _SPOT_CUTOFF; + public static property CONSTANT_ATTENUATION: FragmentLightParameterSGIX read _CONSTANT_ATTENUATION; + public static property LINEAR_ATTENUATION: FragmentLightParameterSGIX read _LINEAR_ATTENUATION; + public static property QUADRATIC_ATTENUATION: FragmentLightParameterSGIX read _QUADRATIC_ATTENUATION; + + public function ToString: string; override; + begin + var res := typeof(FragmentLightParameterSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'FragmentLightParameterSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + LightEnvParameterSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _LIGHT_ENV_MODE_SGIX := new LightEnvParameterSGIX($8407); + + public static property LIGHT_ENV_MODE_SGIX: LightEnvParameterSGIX read _LIGHT_ENV_MODE_SGIX; + + public function ToString: string; override; + begin + var res := typeof(LightEnvParameterSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'LightEnvParameterSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + PixelTexGenModeSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _PIXEL_TEX_GEN_Q_CEILING_SGIX := new PixelTexGenModeSGIX($8184); + private static _PIXEL_TEX_GEN_Q_ROUND_SGIX := new PixelTexGenModeSGIX($8185); + private static _PIXEL_TEX_GEN_Q_FLOOR_SGIX := new PixelTexGenModeSGIX($8186); + private static _PIXEL_TEX_GEN_ALPHA_LS_SGIX := new PixelTexGenModeSGIX($8189); + private static _PIXEL_TEX_GEN_ALPHA_MS_SGIX := new PixelTexGenModeSGIX($818A); + + public static property PIXEL_TEX_GEN_Q_CEILING_SGIX: PixelTexGenModeSGIX read _PIXEL_TEX_GEN_Q_CEILING_SGIX; + public static property PIXEL_TEX_GEN_Q_ROUND_SGIX: PixelTexGenModeSGIX read _PIXEL_TEX_GEN_Q_ROUND_SGIX; + public static property PIXEL_TEX_GEN_Q_FLOOR_SGIX: PixelTexGenModeSGIX read _PIXEL_TEX_GEN_Q_FLOOR_SGIX; + public static property PIXEL_TEX_GEN_ALPHA_LS_SGIX: PixelTexGenModeSGIX read _PIXEL_TEX_GEN_ALPHA_LS_SGIX; + public static property PIXEL_TEX_GEN_ALPHA_MS_SGIX: PixelTexGenModeSGIX read _PIXEL_TEX_GEN_ALPHA_MS_SGIX; + + public function ToString: string; override; + begin + var res := typeof(PixelTexGenModeSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'PixelTexGenModeSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + SpriteParameterNameSGIX = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _SPRITE_MODE_SGIX := new SpriteParameterNameSGIX($8149); + + public static property SPRITE_MODE_SGIX: SpriteParameterNameSGIX read _SPRITE_MODE_SGIX; + + public function ToString: string; override; + begin + var res := typeof(SpriteParameterNameSGIX).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'SpriteParameterNameSGIX[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion SGIX} + + {$region SUN} + + ReplacementCodeTypeSUN = record + public val: UInt32; + public constructor(val: UInt32) := self.val := val; + + private static _UNSIGNED_BYTE := new ReplacementCodeTypeSUN($1401); + private static _UNSIGNED_SHORT := new ReplacementCodeTypeSUN($1403); + private static _UNSIGNED_INT := new ReplacementCodeTypeSUN($1405); + + public static property UNSIGNED_BYTE: ReplacementCodeTypeSUN read _UNSIGNED_BYTE; + public static property UNSIGNED_SHORT: ReplacementCodeTypeSUN read _UNSIGNED_SHORT; + public static property UNSIGNED_INT: ReplacementCodeTypeSUN read _UNSIGNED_INT; + + public function ToString: string; override; + begin + var res := typeof(ReplacementCodeTypeSUN).GetProperties(System.Reflection.BindingFlags.Static or System.Reflection.BindingFlags.Public).FirstOrDefault(prop->UInt32(prop.GetValue(self))=self.val); + Result := res=nil? + $'ReplacementCodeTypeSUN[{ self.val=0 ? ''NONE'' : self.val.ToString(''X'') }]': + res.Name.TrimStart('&'); + end; + + end; + + {$endregion SUN} {$endregion Перечисления} {$region Делегаты} type [UnmanagedFunctionPointer(CallingConvention.StdCall)] - GLDEBUGPROC = procedure(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; message_text: IntPtr; userParam: pointer); + GLDEBUGPROC = procedure(source: DebugSource; &type: DebugType; id: UInt32; severity: DebugSeverity; length: Int32; message_text: IntPtr; userParam: pointer); [UnmanagedFunctionPointer(CallingConvention.StdCall)] GLVULKANPROCNV = procedure; @@ -2342,20 +11886,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): SByte; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: SByte); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: SByte read GetValAt write SetValAt; default; - public static function operator-(v: Vec1b): Vec1b := new Vec1b(-v.val0); public static function operator+(v: Vec1b): Vec1b := v; public static function operator*(v: Vec1b; k: SByte): Vec1b := new Vec1b(v.val0*k); @@ -2392,20 +11922,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): Byte; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Byte); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: Byte read GetValAt write SetValAt; default; - public static function operator+(v: Vec1ub): Vec1ub := v; public static function operator*(v: Vec1ub; k: Byte): Vec1ub := new Vec1ub(v.val0*k); public static function operator div(v: Vec1ub; k: Byte): Vec1ub := new Vec1ub(v.val0 div k); @@ -2444,20 +11960,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): Int16; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int16); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: Int16 read GetValAt write SetValAt; default; - public static function operator-(v: Vec1s): Vec1s := new Vec1s(-v.val0); public static function operator+(v: Vec1s): Vec1s := v; public static function operator*(v: Vec1s; k: Int16): Vec1s := new Vec1s(v.val0*k); @@ -2500,20 +12002,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): UInt16; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt16); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: UInt16 read GetValAt write SetValAt; default; - public static function operator+(v: Vec1us): Vec1us := v; public static function operator*(v: Vec1us; k: UInt16): Vec1us := new Vec1us(v.val0*k); public static function operator div(v: Vec1us; k: UInt16): Vec1us := new Vec1us(v.val0 div k); @@ -2558,20 +12046,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): Int32; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int32); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: Int32 read GetValAt write SetValAt; default; - public static function operator-(v: Vec1i): Vec1i := new Vec1i(-v.val0); public static function operator+(v: Vec1i): Vec1i := v; public static function operator*(v: Vec1i; k: Int32): Vec1i := new Vec1i(v.val0*k); @@ -2620,20 +12094,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): UInt32; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt32); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: UInt32 read GetValAt write SetValAt; default; - public static function operator+(v: Vec1ui): Vec1ui := v; public static function operator*(v: Vec1ui; k: UInt32): Vec1ui := new Vec1ui(v.val0*k); public static function operator div(v: Vec1ui; k: UInt32): Vec1ui := new Vec1ui(v.val0 div k); @@ -2684,20 +12144,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): Int64; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int64); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: Int64 read GetValAt write SetValAt; default; - public static function operator-(v: Vec1i64): Vec1i64 := new Vec1i64(-v.val0); public static function operator+(v: Vec1i64): Vec1i64 := v; public static function operator*(v: Vec1i64; k: Int64): Vec1i64 := new Vec1i64(v.val0*k); @@ -2752,20 +12198,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): UInt64; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt64); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: UInt64 read GetValAt write SetValAt; default; - public static function operator+(v: Vec1ui64): Vec1ui64 := v; public static function operator*(v: Vec1ui64; k: UInt64): Vec1ui64 := new Vec1ui64(v.val0*k); public static function operator div(v: Vec1ui64; k: UInt64): Vec1ui64 := new Vec1ui64(v.val0 div k); @@ -2822,20 +12254,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): single; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: single); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: single read GetValAt write SetValAt; default; - public static function operator-(v: Vec1f): Vec1f := new Vec1f(-v.val0); public static function operator+(v: Vec1f): Vec1f := v; public static function operator*(v: Vec1f; k: single): Vec1f := new Vec1f(v.val0*k); @@ -2889,6 +12307,8 @@ uses System.Runtime.CompilerServices; end; end; + UseVec1fPtrCallbackP = procedure(var ptr: Vec1f); + UseVec1fPtrCallbackF = function(var ptr: Vec1f): T; Vec1d = record public val0: double; @@ -2898,20 +12318,6 @@ uses System.Runtime.CompilerServices; self.val0 := val0; end; - private function GetValAt(i: integer): double; - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: double); - begin - if cardinal(i) > 0 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..0'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: double read GetValAt write SetValAt; default; - public static function operator-(v: Vec1d): Vec1d := new Vec1d(-v.val0); public static function operator+(v: Vec1d): Vec1d := v; public static function operator*(v: Vec1d; k: double): Vec1d := new Vec1d(v.val0*k); @@ -2968,6 +12374,9 @@ uses System.Runtime.CompilerServices; end; end; + UseVec1dPtrCallbackP = procedure(var ptr: Vec1d); + UseVec1dPtrCallbackF = function(var ptr: Vec1d): T; + {$endregion Vec1} {$region Vec2} @@ -2982,20 +12391,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): SByte; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: SByte); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: SByte read GetValAt write SetValAt; default; - public static function operator-(v: Vec2b): Vec2b := new Vec2b(-v.val0, -v.val1); public static function operator+(v: Vec2b): Vec2b := v; public static function operator*(v: Vec2b; k: SByte): Vec2b := new Vec2b(v.val0*k, v.val1*k); @@ -3066,20 +12461,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): Byte; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Byte); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: Byte read GetValAt write SetValAt; default; - public static function operator+(v: Vec2ub): Vec2ub := v; public static function operator*(v: Vec2ub; k: Byte): Vec2ub := new Vec2ub(v.val0*k, v.val1*k); public static function operator div(v: Vec2ub; k: Byte): Vec2ub := new Vec2ub(v.val0 div k, v.val1 div k); @@ -3152,20 +12533,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): Int16; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int16); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: Int16 read GetValAt write SetValAt; default; - public static function operator-(v: Vec2s): Vec2s := new Vec2s(-v.val0, -v.val1); public static function operator+(v: Vec2s): Vec2s := v; public static function operator*(v: Vec2s; k: Int16): Vec2s := new Vec2s(v.val0*k, v.val1*k); @@ -3242,20 +12609,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): UInt16; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt16); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: UInt16 read GetValAt write SetValAt; default; - public static function operator+(v: Vec2us): Vec2us := v; public static function operator*(v: Vec2us; k: UInt16): Vec2us := new Vec2us(v.val0*k, v.val1*k); public static function operator div(v: Vec2us; k: UInt16): Vec2us := new Vec2us(v.val0 div k, v.val1 div k); @@ -3334,20 +12687,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): Int32; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int32); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: Int32 read GetValAt write SetValAt; default; - public static function operator-(v: Vec2i): Vec2i := new Vec2i(-v.val0, -v.val1); public static function operator+(v: Vec2i): Vec2i := v; public static function operator*(v: Vec2i; k: Int32): Vec2i := new Vec2i(v.val0*k, v.val1*k); @@ -3430,20 +12769,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): UInt32; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt32); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: UInt32 read GetValAt write SetValAt; default; - public static function operator+(v: Vec2ui): Vec2ui := v; public static function operator*(v: Vec2ui; k: UInt32): Vec2ui := new Vec2ui(v.val0*k, v.val1*k); public static function operator div(v: Vec2ui; k: UInt32): Vec2ui := new Vec2ui(v.val0 div k, v.val1 div k); @@ -3528,20 +12853,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): Int64; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int64); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: Int64 read GetValAt write SetValAt; default; - public static function operator-(v: Vec2i64): Vec2i64 := new Vec2i64(-v.val0, -v.val1); public static function operator+(v: Vec2i64): Vec2i64 := v; public static function operator*(v: Vec2i64; k: Int64): Vec2i64 := new Vec2i64(v.val0*k, v.val1*k); @@ -3630,20 +12941,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): UInt64; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt64); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: UInt64 read GetValAt write SetValAt; default; - public static function operator+(v: Vec2ui64): Vec2ui64 := v; public static function operator*(v: Vec2ui64; k: UInt64): Vec2ui64 := new Vec2ui64(v.val0*k, v.val1*k); public static function operator div(v: Vec2ui64; k: UInt64): Vec2ui64 := new Vec2ui64(v.val0 div k, v.val1 div k); @@ -3734,20 +13031,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): single; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: single); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: single read GetValAt write SetValAt; default; - public static function operator-(v: Vec2f): Vec2f := new Vec2f(-v.val0, -v.val1); public static function operator+(v: Vec2f): Vec2f := v; public static function operator*(v: Vec2f; k: single): Vec2f := new Vec2f(v.val0*k, v.val1*k); @@ -3833,6 +13116,8 @@ uses System.Runtime.CompilerServices; end; end; + UseVec2fPtrCallbackP = procedure(var ptr: Vec2f); + UseVec2fPtrCallbackF = function(var ptr: Vec2f): T; Vec2d = record public val0: double; @@ -3844,20 +13129,6 @@ uses System.Runtime.CompilerServices; self.val1 := val1; end; - private function GetValAt(i: integer): double; - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: double); - begin - if cardinal(i) > 1 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: double read GetValAt write SetValAt; default; - public static function operator-(v: Vec2d): Vec2d := new Vec2d(-v.val0, -v.val1); public static function operator+(v: Vec2d): Vec2d := v; public static function operator*(v: Vec2d; k: double): Vec2d := new Vec2d(v.val0*k, v.val1*k); @@ -3946,6 +13217,9 @@ uses System.Runtime.CompilerServices; end; end; + UseVec2dPtrCallbackP = procedure(var ptr: Vec2d); + UseVec2dPtrCallbackF = function(var ptr: Vec2d): T; + {$endregion Vec2} {$region Vec3} @@ -3962,20 +13236,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): SByte; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: SByte); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: SByte read GetValAt write SetValAt; default; - public static function operator-(v: Vec3b): Vec3b := new Vec3b(-v.val0, -v.val1, -v.val2); public static function operator+(v: Vec3b): Vec3b := v; public static function operator*(v: Vec3b; k: SByte): Vec3b := new Vec3b(v.val0*k, v.val1*k, v.val2*k); @@ -4086,20 +13346,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): Byte; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Byte); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: Byte read GetValAt write SetValAt; default; - public static function operator+(v: Vec3ub): Vec3ub := v; public static function operator*(v: Vec3ub; k: Byte): Vec3ub := new Vec3ub(v.val0*k, v.val1*k, v.val2*k); public static function operator div(v: Vec3ub; k: Byte): Vec3ub := new Vec3ub(v.val0 div k, v.val1 div k, v.val2 div k); @@ -4206,20 +13452,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): Int16; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int16); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: Int16 read GetValAt write SetValAt; default; - public static function operator-(v: Vec3s): Vec3s := new Vec3s(-v.val0, -v.val1, -v.val2); public static function operator+(v: Vec3s): Vec3s := v; public static function operator*(v: Vec3s; k: Int16): Vec3s := new Vec3s(v.val0*k, v.val1*k, v.val2*k); @@ -4336,20 +13568,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): UInt16; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt16); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: UInt16 read GetValAt write SetValAt; default; - public static function operator+(v: Vec3us): Vec3us := v; public static function operator*(v: Vec3us; k: UInt16): Vec3us := new Vec3us(v.val0*k, v.val1*k, v.val2*k); public static function operator div(v: Vec3us; k: UInt16): Vec3us := new Vec3us(v.val0 div k, v.val1 div k, v.val2 div k); @@ -4462,20 +13680,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): Int32; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int32); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: Int32 read GetValAt write SetValAt; default; - public static function operator-(v: Vec3i): Vec3i := new Vec3i(-v.val0, -v.val1, -v.val2); public static function operator+(v: Vec3i): Vec3i := v; public static function operator*(v: Vec3i; k: Int32): Vec3i := new Vec3i(v.val0*k, v.val1*k, v.val2*k); @@ -4598,20 +13802,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): UInt32; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt32); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: UInt32 read GetValAt write SetValAt; default; - public static function operator+(v: Vec3ui): Vec3ui := v; public static function operator*(v: Vec3ui; k: UInt32): Vec3ui := new Vec3ui(v.val0*k, v.val1*k, v.val2*k); public static function operator div(v: Vec3ui; k: UInt32): Vec3ui := new Vec3ui(v.val0 div k, v.val1 div k, v.val2 div k); @@ -4730,20 +13920,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): Int64; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int64); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: Int64 read GetValAt write SetValAt; default; - public static function operator-(v: Vec3i64): Vec3i64 := new Vec3i64(-v.val0, -v.val1, -v.val2); public static function operator+(v: Vec3i64): Vec3i64 := v; public static function operator*(v: Vec3i64; k: Int64): Vec3i64 := new Vec3i64(v.val0*k, v.val1*k, v.val2*k); @@ -4872,20 +14048,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): UInt64; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt64); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: UInt64 read GetValAt write SetValAt; default; - public static function operator+(v: Vec3ui64): Vec3ui64 := v; public static function operator*(v: Vec3ui64; k: UInt64): Vec3ui64 := new Vec3ui64(v.val0*k, v.val1*k, v.val2*k); public static function operator div(v: Vec3ui64; k: UInt64): Vec3ui64 := new Vec3ui64(v.val0 div k, v.val1 div k, v.val2 div k); @@ -5010,20 +14172,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): single; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: single); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: single read GetValAt write SetValAt; default; - public static function operator-(v: Vec3f): Vec3f := new Vec3f(-v.val0, -v.val1, -v.val2); public static function operator+(v: Vec3f): Vec3f := v; public static function operator*(v: Vec3f; k: single): Vec3f := new Vec3f(v.val0*k, v.val1*k, v.val2*k); @@ -5147,6 +14295,8 @@ uses System.Runtime.CompilerServices; end; end; + UseVec3fPtrCallbackP = procedure(var ptr: Vec3f); + UseVec3fPtrCallbackF = function(var ptr: Vec3f): T; Vec3d = record public val0: double; @@ -5160,20 +14310,6 @@ uses System.Runtime.CompilerServices; self.val2 := val2; end; - private function GetValAt(i: integer): double; - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: double); - begin - if cardinal(i) > 2 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: double read GetValAt write SetValAt; default; - public static function operator-(v: Vec3d): Vec3d := new Vec3d(-v.val0, -v.val1, -v.val2); public static function operator+(v: Vec3d): Vec3d := v; public static function operator*(v: Vec3d; k: double): Vec3d := new Vec3d(v.val0*k, v.val1*k, v.val2*k); @@ -5300,6 +14436,9 @@ uses System.Runtime.CompilerServices; end; end; + UseVec3dPtrCallbackP = procedure(var ptr: Vec3d); + UseVec3dPtrCallbackF = function(var ptr: Vec3d): T; + {$endregion Vec3} {$region Vec4} @@ -5318,20 +14457,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): SByte; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: SByte); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^SByte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: SByte read GetValAt write SetValAt; default; - public static function operator-(v: Vec4b): Vec4b := new Vec4b(-v.val0, -v.val1, -v.val2, -v.val3); public static function operator+(v: Vec4b): Vec4b := v; public static function operator*(v: Vec4b; k: SByte): Vec4b := new Vec4b(v.val0*k, v.val1*k, v.val2*k, v.val3*k); @@ -5470,20 +14595,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): Byte; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Byte); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Byte := pointer(new IntPtr(@self) + i*1 ); - ptr^ := val; - end; - public property val[i: integer]: Byte read GetValAt write SetValAt; default; - public static function operator+(v: Vec4ub): Vec4ub := v; public static function operator*(v: Vec4ub; k: Byte): Vec4ub := new Vec4ub(v.val0*k, v.val1*k, v.val2*k, v.val3*k); public static function operator div(v: Vec4ub; k: Byte): Vec4ub := new Vec4ub(v.val0 div k, v.val1 div k, v.val2 div k, v.val3 div k); @@ -5624,20 +14735,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): Int16; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int16); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Int16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: Int16 read GetValAt write SetValAt; default; - public static function operator-(v: Vec4s): Vec4s := new Vec4s(-v.val0, -v.val1, -v.val2, -v.val3); public static function operator+(v: Vec4s): Vec4s := v; public static function operator*(v: Vec4s; k: Int16): Vec4s := new Vec4s(v.val0*k, v.val1*k, v.val2*k, v.val3*k); @@ -5782,20 +14879,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): UInt16; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt16); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^UInt16 := pointer(new IntPtr(@self) + i*2 ); - ptr^ := val; - end; - public property val[i: integer]: UInt16 read GetValAt write SetValAt; default; - public static function operator+(v: Vec4us): Vec4us := v; public static function operator*(v: Vec4us; k: UInt16): Vec4us := new Vec4us(v.val0*k, v.val1*k, v.val2*k, v.val3*k); public static function operator div(v: Vec4us; k: UInt16): Vec4us := new Vec4us(v.val0 div k, v.val1 div k, v.val2 div k, v.val3 div k); @@ -5942,20 +15025,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): Int32; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int32); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Int32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: Int32 read GetValAt write SetValAt; default; - public static function operator-(v: Vec4i): Vec4i := new Vec4i(-v.val0, -v.val1, -v.val2, -v.val3); public static function operator+(v: Vec4i): Vec4i := v; public static function operator*(v: Vec4i; k: Int32): Vec4i := new Vec4i(v.val0*k, v.val1*k, v.val2*k, v.val3*k); @@ -6106,20 +15175,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): UInt32; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt32); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^UInt32 := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: UInt32 read GetValAt write SetValAt; default; - public static function operator+(v: Vec4ui): Vec4ui := v; public static function operator*(v: Vec4ui; k: UInt32): Vec4ui := new Vec4ui(v.val0*k, v.val1*k, v.val2*k, v.val3*k); public static function operator div(v: Vec4ui; k: UInt32): Vec4ui := new Vec4ui(v.val0 div k, v.val1 div k, v.val2 div k, v.val3 div k); @@ -6272,20 +15327,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): Int64; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: Int64); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^Int64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: Int64 read GetValAt write SetValAt; default; - public static function operator-(v: Vec4i64): Vec4i64 := new Vec4i64(-v.val0, -v.val1, -v.val2, -v.val3); public static function operator+(v: Vec4i64): Vec4i64 := v; public static function operator*(v: Vec4i64; k: Int64): Vec4i64 := new Vec4i64(v.val0*k, v.val1*k, v.val2*k, v.val3*k); @@ -6442,20 +15483,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): UInt64; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: UInt64); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^UInt64 := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: UInt64 read GetValAt write SetValAt; default; - public static function operator+(v: Vec4ui64): Vec4ui64 := v; public static function operator*(v: Vec4ui64; k: UInt64): Vec4ui64 := new Vec4ui64(v.val0*k, v.val1*k, v.val2*k, v.val3*k); public static function operator div(v: Vec4ui64; k: UInt64): Vec4ui64 := new Vec4ui64(v.val0 div k, v.val1 div k, v.val2 div k, v.val3 div k); @@ -6614,20 +15641,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): single; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: single); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + i*4 ); - ptr^ := val; - end; - public property val[i: integer]: single read GetValAt write SetValAt; default; - public static function operator-(v: Vec4f): Vec4f := new Vec4f(-v.val0, -v.val1, -v.val2, -v.val3); public static function operator+(v: Vec4f): Vec4f := v; public static function operator*(v: Vec4f; k: single): Vec4f := new Vec4f(v.val0*k, v.val1*k, v.val2*k, v.val3*k); @@ -6777,6 +15790,8 @@ uses System.Runtime.CompilerServices; end; end; + UseVec4fPtrCallbackP = procedure(var ptr: Vec4f); + UseVec4fPtrCallbackF = function(var ptr: Vec4f): T; Vec4d = record public val0: double; @@ -6792,20 +15807,6 @@ uses System.Runtime.CompilerServices; self.val3 := val3; end; - private function GetValAt(i: integer): double; - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - Result := ptr^; - end; - private procedure SetValAt(i: integer; val: double); - begin - if cardinal(i) > 3 then raise new IndexOutOfRangeException('Индекс должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + i*8 ); - ptr^ := val; - end; - public property val[i: integer]: double read GetValAt write SetValAt; default; - public static function operator-(v: Vec4d): Vec4d := new Vec4d(-v.val0, -v.val1, -v.val2, -v.val3); public static function operator+(v: Vec4d): Vec4d := v; public static function operator*(v: Vec4d; k: double): Vec4d := new Vec4d(v.val0*k, v.val1*k, v.val2*k, v.val3*k); @@ -6958,6 +15959,8 @@ uses System.Runtime.CompilerServices; end; end; + UseVec4dPtrCallbackP = procedure(var ptr: Vec4d); + UseVec4dPtrCallbackF = function(var ptr: Vec4d): T; {$endregion Vec4} @@ -6977,46 +15980,32 @@ uses System.Runtime.CompilerServices; self.val11 := val11; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*2 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*2 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr2x2f read new Mtr2x2f(1.0, 0.0, 0.0, 1.0); public property Row0: Vec2f read new Vec2f(self.val00, self.val01) write begin self.val00 := value.val0; self.val01 := value.val1; end; public property Row1: Vec2f read new Vec2f(self.val10, self.val11) write begin self.val10 := value.val0; self.val11 := value.val1; end; - public property Row[y: integer]: Vec2f read y=0?Row0:y=1?Row1:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..1'); - end; public property Col0: Vec2f read new Vec2f(self.val00, self.val10) write begin self.val00 := value.val0; self.val10 := value.val1; end; public property Col1: Vec2f read new Vec2f(self.val01, self.val11) write begin self.val01 := value.val0; self.val11 := value.val1; end; - public property Col[x: integer]: Vec2f read x=0?Col0:x=1?Col1:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..1'); - end; - public property ColPtr0: ^Vec2f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec2f read pointer(IntPtr(pointer(@self)) + 8); + public property ColPtr0: ^Vec2f read pointer(@val00); + public property ColPtr1: ^Vec2f read pointer(@val01); public property ColPtr[x: integer]: ^Vec2f read pointer(IntPtr(pointer(@self)) + x*8); + public procedure UseColPtr0(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val01))^); end; + + public function UseColPtr0(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val01))^); end; + public static function Scale(k: single): Mtr2x2f := new Mtr2x2f(k, 0.0, 0.0, k); public static function Traslate(X: single): Mtr2x2f := new Mtr2x2f(1.0, X, 0.0, 1.0); @@ -7049,9 +16038,10 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[2,2]; - for var y := 0 to 2-1 do - for var x := 0 to 2-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*2 + 4; // +2*(Width-1) + 2; @@ -7105,51 +16095,41 @@ uses System.Runtime.CompilerServices; self.val22 := val22; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*3 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*3 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr3x3f read new Mtr3x3f(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0); public property Row0: Vec3f read new Vec3f(self.val00, self.val01, self.val02) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; end; public property Row1: Vec3f read new Vec3f(self.val10, self.val11, self.val12) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; end; public property Row2: Vec3f read new Vec3f(self.val20, self.val21, self.val22) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; end; - public property Row[y: integer]: Vec3f read y=0?Row0:y=1?Row1:y=2?Row2:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..2'); - end; public property Col0: Vec3f read new Vec3f(self.val00, self.val10, self.val20) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; end; public property Col1: Vec3f read new Vec3f(self.val01, self.val11, self.val21) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; end; public property Col2: Vec3f read new Vec3f(self.val02, self.val12, self.val22) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; end; - public property Col[x: integer]: Vec3f read x=0?Col0:x=1?Col1:x=2?Col2:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..2'); - end; - public property ColPtr0: ^Vec3f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec3f read pointer(IntPtr(pointer(@self)) + 12); - public property ColPtr2: ^Vec3f read pointer(IntPtr(pointer(@self)) + 24); + public property ColPtr0: ^Vec3f read pointer(@val00); + public property ColPtr1: ^Vec3f read pointer(@val01); + public property ColPtr2: ^Vec3f read pointer(@val02); public property ColPtr[x: integer]: ^Vec3f read pointer(IntPtr(pointer(@self)) + x*12); + public procedure UseColPtr0(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val02))^); end; + + public function UseColPtr0(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val02))^); end; + public static function Scale(k: single): Mtr3x3f := new Mtr3x3f(k, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, k); public static function Traslate(X, Y: single): Mtr3x3f := new Mtr3x3f(1.0, 0.0, X, 0.0, 1.0, Y, 0.0, 0.0, 1.0); @@ -7260,9 +16240,15 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[3,3]; - for var y := 0 to 3-1 do - for var x := 0 to 3-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*3 + 6; // +2*(Width-1) + 2; @@ -7306,7 +16292,7 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr3x3f; v: Vec3f): Vec3f := new Vec3f(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2); public static function operator*(v: Vec3f; m: Mtr3x3f): Vec3f := new Vec3f(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2); - public static function operator implicit(m: Mtr2x2f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr3x3f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); end; @@ -7338,56 +16324,50 @@ uses System.Runtime.CompilerServices; self.val33 := val33; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*4 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*4 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr4x4f read new Mtr4x4f(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public property Row0: Vec4f read new Vec4f(self.val00, self.val01, self.val02, self.val03) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; self.val03 := value.val3; end; public property Row1: Vec4f read new Vec4f(self.val10, self.val11, self.val12, self.val13) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; self.val13 := value.val3; end; public property Row2: Vec4f read new Vec4f(self.val20, self.val21, self.val22, self.val23) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; self.val23 := value.val3; end; public property Row3: Vec4f read new Vec4f(self.val30, self.val31, self.val32, self.val33) write begin self.val30 := value.val0; self.val31 := value.val1; self.val32 := value.val2; self.val33 := value.val3; end; - public property Row[y: integer]: Vec4f read y=0?Row0:y=1?Row1:y=2?Row2:y=3?Row3:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - 3: Row3 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..3'); - end; public property Col0: Vec4f read new Vec4f(self.val00, self.val10, self.val20, self.val30) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; self.val30 := value.val3; end; public property Col1: Vec4f read new Vec4f(self.val01, self.val11, self.val21, self.val31) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; self.val31 := value.val3; end; public property Col2: Vec4f read new Vec4f(self.val02, self.val12, self.val22, self.val32) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; self.val32 := value.val3; end; public property Col3: Vec4f read new Vec4f(self.val03, self.val13, self.val23, self.val33) write begin self.val03 := value.val0; self.val13 := value.val1; self.val23 := value.val2; self.val33 := value.val3; end; - public property Col[x: integer]: Vec4f read x=0?Col0:x=1?Col1:x=2?Col2:x=3?Col3:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - 3: Col3 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..3'); - end; - public property ColPtr0: ^Vec4f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec4f read pointer(IntPtr(pointer(@self)) + 16); - public property ColPtr2: ^Vec4f read pointer(IntPtr(pointer(@self)) + 32); - public property ColPtr3: ^Vec4f read pointer(IntPtr(pointer(@self)) + 48); + public property ColPtr0: ^Vec4f read pointer(@val00); + public property ColPtr1: ^Vec4f read pointer(@val01); + public property ColPtr2: ^Vec4f read pointer(@val02); + public property ColPtr3: ^Vec4f read pointer(@val03); public property ColPtr[x: integer]: ^Vec4f read pointer(IntPtr(pointer(@self)) + x*16); + public procedure UseColPtr0(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val02))^); end; + public procedure UseColPtr3(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val03))^); end; + + public function UseColPtr0(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val02))^); end; + public function UseColPtr3(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val03))^); end; + public static function Scale(k: single): Mtr4x4f := new Mtr4x4f(k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0, k); public static function Traslate(X, Y, Z: single): Mtr4x4f := new Mtr4x4f(1.0, 0.0, 0.0, X, 0.0, 1.0, 0.0, Y, 0.0, 0.0, 1.0, Z, 0.0, 0.0, 0.0, 1.0); @@ -7506,9 +16486,22 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[4,4]; - for var y := 0 to 4-1 do - for var x := 0 to 4-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[0,3] := (Sign(val03)=-1?'-':'+') + Abs(val03).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[1,3] := (Sign(val13)=-1?'-':'+') + Abs(val13).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); + ElStrs[2,3] := (Sign(val23)=-1?'-':'+') + Abs(val23).ToString('f2'); + ElStrs[3,0] := (Sign(val30)=-1?'-':'+') + Abs(val30).ToString('f2'); + ElStrs[3,1] := (Sign(val31)=-1?'-':'+') + Abs(val31).ToString('f2'); + ElStrs[3,2] := (Sign(val32)=-1?'-':'+') + Abs(val32).ToString('f2'); + ElStrs[3,3] := (Sign(val33)=-1?'-':'+') + Abs(val33).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*4 + 8; // +2*(Width-1) + 2; @@ -7567,10 +16560,10 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr4x4f; v: Vec4f): Vec4f := new Vec4f(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2+m.val03*v.val3, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2+m.val13*v.val3, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2+m.val23*v.val3, m.val30*v.val0+m.val31*v.val1+m.val32*v.val2+m.val33*v.val3); public static function operator*(v: Vec4f; m: Mtr4x4f): Vec4f := new Vec4f(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2+m.val30*v.val3, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2+m.val31*v.val3, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2+m.val32*v.val3, m.val03*v.val0+m.val13*v.val1+m.val23*v.val2+m.val33*v.val3); - public static function operator implicit(m: Mtr2x2f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr3x3f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x3f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); end; @@ -7591,47 +16584,39 @@ uses System.Runtime.CompilerServices; self.val12 := val12; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*2 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*2 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr2x3f read new Mtr2x3f(1.0, 0.0, 0.0, 0.0, 1.0, 0.0); public property Row0: Vec3f read new Vec3f(self.val00, self.val01, self.val02) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; end; public property Row1: Vec3f read new Vec3f(self.val10, self.val11, self.val12) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; end; - public property Row[y: integer]: Vec3f read y=0?Row0:y=1?Row1:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..1'); - end; public property Col0: Vec2f read new Vec2f(self.val00, self.val10) write begin self.val00 := value.val0; self.val10 := value.val1; end; public property Col1: Vec2f read new Vec2f(self.val01, self.val11) write begin self.val01 := value.val0; self.val11 := value.val1; end; public property Col2: Vec2f read new Vec2f(self.val02, self.val12) write begin self.val02 := value.val0; self.val12 := value.val1; end; - public property Col[x: integer]: Vec2f read x=0?Col0:x=1?Col1:x=2?Col2:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..2'); - end; - public property ColPtr0: ^Vec3f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec3f read pointer(IntPtr(pointer(@self)) + 8); - public property ColPtr[x: integer]: ^Vec3f read pointer(IntPtr(pointer(@self)) + x*8); + public property ColPtr0: ^Vec2f read pointer(@val00); + public property ColPtr1: ^Vec2f read pointer(@val01); + public property ColPtr2: ^Vec2f read pointer(@val02); + public property ColPtr[x: integer]: ^Vec2f read pointer(IntPtr(pointer(@self)) + x*8); + + public procedure UseColPtr0(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val02))^); end; + + public function UseColPtr0(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val02))^); end; public static function Scale(k: single): Mtr2x3f := new Mtr2x3f(k, 0.0, 0.0, 0.0, k, 0.0); @@ -7662,9 +16647,12 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[2,3]; - for var y := 0 to 2-1 do - for var x := 0 to 3-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*3 + 6; // +2*(Width-1) + 2; @@ -7705,10 +16693,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x3f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); end; @@ -7726,48 +16714,32 @@ uses System.Runtime.CompilerServices; self.val21 := val21; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*3 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*3 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr3x2f read new Mtr3x2f(1.0, 0.0, 0.0, 1.0, 0.0, 0.0); public property Row0: Vec2f read new Vec2f(self.val00, self.val01) write begin self.val00 := value.val0; self.val01 := value.val1; end; public property Row1: Vec2f read new Vec2f(self.val10, self.val11) write begin self.val10 := value.val0; self.val11 := value.val1; end; public property Row2: Vec2f read new Vec2f(self.val20, self.val21) write begin self.val20 := value.val0; self.val21 := value.val1; end; - public property Row[y: integer]: Vec2f read y=0?Row0:y=1?Row1:y=2?Row2:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..2'); - end; public property Col0: Vec3f read new Vec3f(self.val00, self.val10, self.val20) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; end; public property Col1: Vec3f read new Vec3f(self.val01, self.val11, self.val21) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; end; - public property Col[x: integer]: Vec3f read x=0?Col0:x=1?Col1:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..1'); - end; - public property ColPtr0: ^Vec2f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec2f read pointer(IntPtr(pointer(@self)) + 12); - public property ColPtr2: ^Vec2f read pointer(IntPtr(pointer(@self)) + 24); - public property ColPtr[x: integer]: ^Vec2f read pointer(IntPtr(pointer(@self)) + x*12); + public property ColPtr0: ^Vec3f read pointer(@val00); + public property ColPtr1: ^Vec3f read pointer(@val01); + public property ColPtr[x: integer]: ^Vec3f read pointer(IntPtr(pointer(@self)) + x*12); + + public procedure UseColPtr0(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val01))^); end; + + public function UseColPtr0(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val01))^); end; public static function Scale(k: single): Mtr3x2f := new Mtr3x2f(k, 0.0, 0.0, k, 0.0, 0.0); @@ -7800,9 +16772,12 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[3,2]; - for var y := 0 to 3-1 do - for var x := 0 to 2-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*2 + 4; // +2*(Width-1) + 2; @@ -7844,10 +16819,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr3x2f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0); public static function operator implicit(m: Mtr3x2f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -7872,49 +16847,47 @@ uses System.Runtime.CompilerServices; self.val13 := val13; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*2 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*2 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr2x4f read new Mtr2x4f(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0); public property Row0: Vec4f read new Vec4f(self.val00, self.val01, self.val02, self.val03) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; self.val03 := value.val3; end; public property Row1: Vec4f read new Vec4f(self.val10, self.val11, self.val12, self.val13) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; self.val13 := value.val3; end; - public property Row[y: integer]: Vec4f read y=0?Row0:y=1?Row1:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..1'); - end; public property Col0: Vec2f read new Vec2f(self.val00, self.val10) write begin self.val00 := value.val0; self.val10 := value.val1; end; public property Col1: Vec2f read new Vec2f(self.val01, self.val11) write begin self.val01 := value.val0; self.val11 := value.val1; end; public property Col2: Vec2f read new Vec2f(self.val02, self.val12) write begin self.val02 := value.val0; self.val12 := value.val1; end; public property Col3: Vec2f read new Vec2f(self.val03, self.val13) write begin self.val03 := value.val0; self.val13 := value.val1; end; - public property Col[x: integer]: Vec2f read x=0?Col0:x=1?Col1:x=2?Col2:x=3?Col3:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - 3: Col3 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..3'); - end; - public property ColPtr0: ^Vec4f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec4f read pointer(IntPtr(pointer(@self)) + 8); - public property ColPtr[x: integer]: ^Vec4f read pointer(IntPtr(pointer(@self)) + x*8); + public property ColPtr0: ^Vec2f read pointer(@val00); + public property ColPtr1: ^Vec2f read pointer(@val01); + public property ColPtr2: ^Vec2f read pointer(@val02); + public property ColPtr3: ^Vec2f read pointer(@val03); + public property ColPtr[x: integer]: ^Vec2f read pointer(IntPtr(pointer(@self)) + x*8); + + public procedure UseColPtr0(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val02))^); end; + public procedure UseColPtr3(callback: UseVec2fPtrCallbackP); + type PVec2f = ^Vec2f; + begin callback(PVec2f(pointer(@val03))^); end; + + public function UseColPtr0(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val02))^); end; + public function UseColPtr3(callback: UseVec2fPtrCallbackF): T; + type PVec2f = ^Vec2f; + begin Result := callback(PVec2f(pointer(@val03))^); end; public static function Scale(k: single): Mtr2x4f := new Mtr2x4f(k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0); @@ -7945,9 +16918,14 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[2,4]; - for var y := 0 to 2-1 do - for var x := 0 to 4-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[0,3] := (Sign(val03)=-1?'-':'+') + Abs(val03).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[1,3] := (Sign(val13)=-1?'-':'+') + Abs(val13).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*4 + 8; // +2*(Width-1) + 2; @@ -7992,10 +16970,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x4f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr2x4f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr2x4f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); public static function operator implicit(m: Mtr2x4f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); @@ -8021,51 +16999,33 @@ uses System.Runtime.CompilerServices; self.val31 := val31; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*4 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*4 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr4x2f read new Mtr4x2f(1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0); public property Row0: Vec2f read new Vec2f(self.val00, self.val01) write begin self.val00 := value.val0; self.val01 := value.val1; end; public property Row1: Vec2f read new Vec2f(self.val10, self.val11) write begin self.val10 := value.val0; self.val11 := value.val1; end; public property Row2: Vec2f read new Vec2f(self.val20, self.val21) write begin self.val20 := value.val0; self.val21 := value.val1; end; public property Row3: Vec2f read new Vec2f(self.val30, self.val31) write begin self.val30 := value.val0; self.val31 := value.val1; end; - public property Row[y: integer]: Vec2f read y=0?Row0:y=1?Row1:y=2?Row2:y=3?Row3:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - 3: Row3 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..3'); - end; public property Col0: Vec4f read new Vec4f(self.val00, self.val10, self.val20, self.val30) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; self.val30 := value.val3; end; public property Col1: Vec4f read new Vec4f(self.val01, self.val11, self.val21, self.val31) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; self.val31 := value.val3; end; - public property Col[x: integer]: Vec4f read x=0?Col0:x=1?Col1:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..1'); - end; - public property ColPtr0: ^Vec2f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec2f read pointer(IntPtr(pointer(@self)) + 16); - public property ColPtr2: ^Vec2f read pointer(IntPtr(pointer(@self)) + 32); - public property ColPtr3: ^Vec2f read pointer(IntPtr(pointer(@self)) + 48); - public property ColPtr[x: integer]: ^Vec2f read pointer(IntPtr(pointer(@self)) + x*16); + public property ColPtr0: ^Vec4f read pointer(@val00); + public property ColPtr1: ^Vec4f read pointer(@val01); + public property ColPtr[x: integer]: ^Vec4f read pointer(IntPtr(pointer(@self)) + x*16); + + public procedure UseColPtr0(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val01))^); end; + + public function UseColPtr0(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val01))^); end; public static function Scale(k: single): Mtr4x2f := new Mtr4x2f(k, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0); @@ -8100,9 +17060,14 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[4,2]; - for var y := 0 to 4-1 do - for var x := 0 to 2-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[3,0] := (Sign(val30)=-1?'-':'+') + Abs(val30).ToString('f2'); + ElStrs[3,1] := (Sign(val31)=-1?'-':'+') + Abs(val31).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*2 + 4; // +2*(Width-1) + 2; @@ -8149,10 +17114,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr4x2f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); - public static function operator implicit(m: Mtr4x2f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); - public static function operator implicit(m: Mtr4x2f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, m.val30, m.val31, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, m.val30, m.val31, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x2f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -8187,52 +17152,48 @@ uses System.Runtime.CompilerServices; self.val23 := val23; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*3 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*3 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr3x4f read new Mtr3x4f(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); public property Row0: Vec4f read new Vec4f(self.val00, self.val01, self.val02, self.val03) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; self.val03 := value.val3; end; public property Row1: Vec4f read new Vec4f(self.val10, self.val11, self.val12, self.val13) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; self.val13 := value.val3; end; public property Row2: Vec4f read new Vec4f(self.val20, self.val21, self.val22, self.val23) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; self.val23 := value.val3; end; - public property Row[y: integer]: Vec4f read y=0?Row0:y=1?Row1:y=2?Row2:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..2'); - end; public property Col0: Vec3f read new Vec3f(self.val00, self.val10, self.val20) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; end; public property Col1: Vec3f read new Vec3f(self.val01, self.val11, self.val21) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; end; public property Col2: Vec3f read new Vec3f(self.val02, self.val12, self.val22) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; end; public property Col3: Vec3f read new Vec3f(self.val03, self.val13, self.val23) write begin self.val03 := value.val0; self.val13 := value.val1; self.val23 := value.val2; end; - public property Col[x: integer]: Vec3f read x=0?Col0:x=1?Col1:x=2?Col2:x=3?Col3:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - 3: Col3 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..3'); - end; - public property ColPtr0: ^Vec4f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec4f read pointer(IntPtr(pointer(@self)) + 12); - public property ColPtr2: ^Vec4f read pointer(IntPtr(pointer(@self)) + 24); - public property ColPtr[x: integer]: ^Vec4f read pointer(IntPtr(pointer(@self)) + x*12); + public property ColPtr0: ^Vec3f read pointer(@val00); + public property ColPtr1: ^Vec3f read pointer(@val01); + public property ColPtr2: ^Vec3f read pointer(@val02); + public property ColPtr3: ^Vec3f read pointer(@val03); + public property ColPtr[x: integer]: ^Vec3f read pointer(IntPtr(pointer(@self)) + x*12); + + public procedure UseColPtr0(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val02))^); end; + public procedure UseColPtr3(callback: UseVec3fPtrCallbackP); + type PVec3f = ^Vec3f; + begin callback(PVec3f(pointer(@val03))^); end; + + public function UseColPtr0(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val02))^); end; + public function UseColPtr3(callback: UseVec3fPtrCallbackF): T; + type PVec3f = ^Vec3f; + begin Result := callback(PVec3f(pointer(@val03))^); end; public static function Scale(k: single): Mtr3x4f := new Mtr3x4f(k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0, k, 0.0); @@ -8341,9 +17302,18 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[3,4]; - for var y := 0 to 3-1 do - for var x := 0 to 4-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[0,3] := (Sign(val03)=-1?'-':'+') + Abs(val03).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[1,3] := (Sign(val13)=-1?'-':'+') + Abs(val13).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); + ElStrs[2,3] := (Sign(val23)=-1?'-':'+') + Abs(val23).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*4 + 8; // +2*(Width-1) + 2; @@ -8393,25 +17363,25 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr3x4f; v: Vec4f): Vec3f := new Vec3f(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2+m.val03*v.val3, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2+m.val13*v.val3, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2+m.val23*v.val3); public static function operator*(v: Vec3f; m: Mtr3x4f): Vec4f := new Vec4f(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2, m.val03*v.val0+m.val13*v.val1+m.val23*v.val2); - public static function operator implicit(m: Mtr2x2f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23); - public static function operator implicit(m: Mtr3x4f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x4f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 1.0); - public static function operator implicit(m: Mtr2x3f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr4x2f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); end; @@ -8437,53 +17407,41 @@ uses System.Runtime.CompilerServices; self.val32 := val32; end; - private function GetValAt(y,x: integer): single; - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*4 + y) * 4 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: single); - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^single := pointer(new IntPtr(@self) + (x*4 + y) * 4 ); - ptr^ := val; - end; - public property val[y,x: integer]: single read GetValAt write SetValAt; default; - public static property Identity: Mtr4x3f read new Mtr4x3f(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public property Row0: Vec3f read new Vec3f(self.val00, self.val01, self.val02) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; end; public property Row1: Vec3f read new Vec3f(self.val10, self.val11, self.val12) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; end; public property Row2: Vec3f read new Vec3f(self.val20, self.val21, self.val22) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; end; public property Row3: Vec3f read new Vec3f(self.val30, self.val31, self.val32) write begin self.val30 := value.val0; self.val31 := value.val1; self.val32 := value.val2; end; - public property Row[y: integer]: Vec3f read y=0?Row0:y=1?Row1:y=2?Row2:y=3?Row3:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - 3: Row3 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..3'); - end; public property Col0: Vec4f read new Vec4f(self.val00, self.val10, self.val20, self.val30) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; self.val30 := value.val3; end; public property Col1: Vec4f read new Vec4f(self.val01, self.val11, self.val21, self.val31) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; self.val31 := value.val3; end; public property Col2: Vec4f read new Vec4f(self.val02, self.val12, self.val22, self.val32) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; self.val32 := value.val3; end; - public property Col[x: integer]: Vec4f read x=0?Col0:x=1?Col1:x=2?Col2:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..2'); - end; - public property ColPtr0: ^Vec3f read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec3f read pointer(IntPtr(pointer(@self)) + 16); - public property ColPtr2: ^Vec3f read pointer(IntPtr(pointer(@self)) + 32); - public property ColPtr3: ^Vec3f read pointer(IntPtr(pointer(@self)) + 48); - public property ColPtr[x: integer]: ^Vec3f read pointer(IntPtr(pointer(@self)) + x*16); + public property ColPtr0: ^Vec4f read pointer(@val00); + public property ColPtr1: ^Vec4f read pointer(@val01); + public property ColPtr2: ^Vec4f read pointer(@val02); + public property ColPtr[x: integer]: ^Vec4f read pointer(IntPtr(pointer(@self)) + x*16); + + public procedure UseColPtr0(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec4fPtrCallbackP); + type PVec4f = ^Vec4f; + begin callback(PVec4f(pointer(@val02))^); end; + + public function UseColPtr0(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec4fPtrCallbackF): T; + type PVec4f = ^Vec4f; + begin Result := callback(PVec4f(pointer(@val02))^); end; public static function Scale(k: single): Mtr4x3f := new Mtr4x3f(k, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0); @@ -8598,9 +17556,18 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[4,3]; - for var y := 0 to 4-1 do - for var x := 0 to 3-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); + ElStrs[3,0] := (Sign(val30)=-1?'-':'+') + Abs(val30).ToString('f2'); + ElStrs[3,1] := (Sign(val31)=-1?'-':'+') + Abs(val31).ToString('f2'); + ElStrs[3,2] := (Sign(val32)=-1?'-':'+') + Abs(val32).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*3 + 6; // +2*(Width-1) + 2; @@ -8651,25 +17618,25 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr4x3f; v: Vec3f): Vec4f := new Vec4f(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2, m.val30*v.val0+m.val31*v.val1+m.val32*v.val2); public static function operator*(v: Vec4f; m: Mtr4x3f): Vec3f := new Vec3f(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2+m.val30*v.val3, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2+m.val31*v.val3, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2+m.val32*v.val3); - public static function operator implicit(m: Mtr2x2f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, m.val30, m.val31, m.val32); - public static function operator implicit(m: Mtr4x3f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 0.0); + public static function operator implicit(m: Mtr4x3f): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 1.0); - public static function operator implicit(m: Mtr2x3f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr4x2f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, m.val30, m.val31, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, m.val30, m.val31, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); public static function operator implicit(m: Mtr3x4f): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); @@ -8689,46 +17656,32 @@ uses System.Runtime.CompilerServices; self.val11 := val11; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*2 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*2 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr2x2d read new Mtr2x2d(1.0, 0.0, 0.0, 1.0); public property Row0: Vec2d read new Vec2d(self.val00, self.val01) write begin self.val00 := value.val0; self.val01 := value.val1; end; public property Row1: Vec2d read new Vec2d(self.val10, self.val11) write begin self.val10 := value.val0; self.val11 := value.val1; end; - public property Row[y: integer]: Vec2d read y=0?Row0:y=1?Row1:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..1'); - end; public property Col0: Vec2d read new Vec2d(self.val00, self.val10) write begin self.val00 := value.val0; self.val10 := value.val1; end; public property Col1: Vec2d read new Vec2d(self.val01, self.val11) write begin self.val01 := value.val0; self.val11 := value.val1; end; - public property Col[x: integer]: Vec2d read x=0?Col0:x=1?Col1:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..1'); - end; - public property ColPtr0: ^Vec2d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec2d read pointer(IntPtr(pointer(@self)) + 16); + public property ColPtr0: ^Vec2d read pointer(@val00); + public property ColPtr1: ^Vec2d read pointer(@val01); public property ColPtr[x: integer]: ^Vec2d read pointer(IntPtr(pointer(@self)) + x*16); + public procedure UseColPtr0(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val01))^); end; + + public function UseColPtr0(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val01))^); end; + public static function Scale(k: double): Mtr2x2d := new Mtr2x2d(k, 0.0, 0.0, k); public static function Traslate(X: double): Mtr2x2d := new Mtr2x2d(1.0, X, 0.0, 1.0); @@ -8761,9 +17714,10 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[2,2]; - for var y := 0 to 2-1 do - for var x := 0 to 2-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*2 + 4; // +2*(Width-1) + 2; @@ -8800,10 +17754,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x2d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr2x2d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr2x2d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr2x2d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -8818,10 +17772,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x2d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr2x2d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr2x2d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); end; Mtr2d = Mtr2x2d; @@ -8844,51 +17798,41 @@ uses System.Runtime.CompilerServices; self.val22 := val22; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*3 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*3 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr3x3d read new Mtr3x3d(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0); public property Row0: Vec3d read new Vec3d(self.val00, self.val01, self.val02) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; end; public property Row1: Vec3d read new Vec3d(self.val10, self.val11, self.val12) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; end; public property Row2: Vec3d read new Vec3d(self.val20, self.val21, self.val22) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; end; - public property Row[y: integer]: Vec3d read y=0?Row0:y=1?Row1:y=2?Row2:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..2'); - end; public property Col0: Vec3d read new Vec3d(self.val00, self.val10, self.val20) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; end; public property Col1: Vec3d read new Vec3d(self.val01, self.val11, self.val21) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; end; public property Col2: Vec3d read new Vec3d(self.val02, self.val12, self.val22) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; end; - public property Col[x: integer]: Vec3d read x=0?Col0:x=1?Col1:x=2?Col2:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..2'); - end; - public property ColPtr0: ^Vec3d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec3d read pointer(IntPtr(pointer(@self)) + 24); - public property ColPtr2: ^Vec3d read pointer(IntPtr(pointer(@self)) + 48); + public property ColPtr0: ^Vec3d read pointer(@val00); + public property ColPtr1: ^Vec3d read pointer(@val01); + public property ColPtr2: ^Vec3d read pointer(@val02); public property ColPtr[x: integer]: ^Vec3d read pointer(IntPtr(pointer(@self)) + x*24); + public procedure UseColPtr0(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val02))^); end; + + public function UseColPtr0(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val02))^); end; + public static function Scale(k: double): Mtr3x3d := new Mtr3x3d(k, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, k); public static function Traslate(X, Y: double): Mtr3x3d := new Mtr3x3d(1.0, 0.0, X, 0.0, 1.0, Y, 0.0, 0.0, 1.0); @@ -8999,9 +17943,15 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[3,3]; - for var y := 0 to 3-1 do - for var x := 0 to 3-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*3 + 6; // +2*(Width-1) + 2; @@ -9045,25 +17995,25 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr3x3d; v: Vec3d): Vec3d := new Vec3d(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2); public static function operator*(v: Vec3d; m: Mtr3x3d): Vec3d := new Vec3d(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2); - public static function operator implicit(m: Mtr2x2f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr3x3d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr3x3d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); - public static function operator implicit(m: Mtr3x3d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x3d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 1.0); - public static function operator implicit(m: Mtr2x3f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr3x3d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr3x3d): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr3x3d): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr4x2f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr3x3d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); @@ -9072,7 +18022,7 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr4x3f): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr3x3d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); - public static function operator implicit(m: Mtr2x2d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr3x3d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); end; @@ -9104,56 +18054,50 @@ uses System.Runtime.CompilerServices; self.val33 := val33; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*4 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*4 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr4x4d read new Mtr4x4d(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public property Row0: Vec4d read new Vec4d(self.val00, self.val01, self.val02, self.val03) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; self.val03 := value.val3; end; public property Row1: Vec4d read new Vec4d(self.val10, self.val11, self.val12, self.val13) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; self.val13 := value.val3; end; public property Row2: Vec4d read new Vec4d(self.val20, self.val21, self.val22, self.val23) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; self.val23 := value.val3; end; public property Row3: Vec4d read new Vec4d(self.val30, self.val31, self.val32, self.val33) write begin self.val30 := value.val0; self.val31 := value.val1; self.val32 := value.val2; self.val33 := value.val3; end; - public property Row[y: integer]: Vec4d read y=0?Row0:y=1?Row1:y=2?Row2:y=3?Row3:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - 3: Row3 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..3'); - end; public property Col0: Vec4d read new Vec4d(self.val00, self.val10, self.val20, self.val30) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; self.val30 := value.val3; end; public property Col1: Vec4d read new Vec4d(self.val01, self.val11, self.val21, self.val31) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; self.val31 := value.val3; end; public property Col2: Vec4d read new Vec4d(self.val02, self.val12, self.val22, self.val32) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; self.val32 := value.val3; end; public property Col3: Vec4d read new Vec4d(self.val03, self.val13, self.val23, self.val33) write begin self.val03 := value.val0; self.val13 := value.val1; self.val23 := value.val2; self.val33 := value.val3; end; - public property Col[x: integer]: Vec4d read x=0?Col0:x=1?Col1:x=2?Col2:x=3?Col3:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - 3: Col3 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..3'); - end; - public property ColPtr0: ^Vec4d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec4d read pointer(IntPtr(pointer(@self)) + 32); - public property ColPtr2: ^Vec4d read pointer(IntPtr(pointer(@self)) + 64); - public property ColPtr3: ^Vec4d read pointer(IntPtr(pointer(@self)) + 96); + public property ColPtr0: ^Vec4d read pointer(@val00); + public property ColPtr1: ^Vec4d read pointer(@val01); + public property ColPtr2: ^Vec4d read pointer(@val02); + public property ColPtr3: ^Vec4d read pointer(@val03); public property ColPtr[x: integer]: ^Vec4d read pointer(IntPtr(pointer(@self)) + x*32); + public procedure UseColPtr0(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val02))^); end; + public procedure UseColPtr3(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val03))^); end; + + public function UseColPtr0(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val02))^); end; + public function UseColPtr3(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val03))^); end; + public static function Scale(k: double): Mtr4x4d := new Mtr4x4d(k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0, k); public static function Traslate(X, Y, Z: double): Mtr4x4d := new Mtr4x4d(1.0, 0.0, 0.0, X, 0.0, 1.0, 0.0, Y, 0.0, 0.0, 1.0, Z, 0.0, 0.0, 0.0, 1.0); @@ -9272,9 +18216,22 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[4,4]; - for var y := 0 to 4-1 do - for var x := 0 to 4-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[0,3] := (Sign(val03)=-1?'-':'+') + Abs(val03).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[1,3] := (Sign(val13)=-1?'-':'+') + Abs(val13).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); + ElStrs[2,3] := (Sign(val23)=-1?'-':'+') + Abs(val23).ToString('f2'); + ElStrs[3,0] := (Sign(val30)=-1?'-':'+') + Abs(val30).ToString('f2'); + ElStrs[3,1] := (Sign(val31)=-1?'-':'+') + Abs(val31).ToString('f2'); + ElStrs[3,2] := (Sign(val32)=-1?'-':'+') + Abs(val32).ToString('f2'); + ElStrs[3,3] := (Sign(val33)=-1?'-':'+') + Abs(val33).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*4 + 8; // +2*(Width-1) + 2; @@ -9333,37 +18290,37 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr4x4d; v: Vec4d): Vec4d := new Vec4d(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2+m.val03*v.val3, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2+m.val13*v.val3, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2+m.val23*v.val3, m.val30*v.val0+m.val31*v.val1+m.val32*v.val2+m.val33*v.val3); public static function operator*(v: Vec4d; m: Mtr4x4d): Vec4d := new Vec4d(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2+m.val30*v.val3, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2+m.val31*v.val3, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2+m.val32*v.val3, m.val03*v.val0+m.val13*v.val1+m.val23*v.val2+m.val33*v.val3); - public static function operator implicit(m: Mtr2x2f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr3x3f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x3f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, m.val30, m.val31, m.val32, m.val33); public static function operator implicit(m: Mtr4x4d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, m.val30, m.val31, m.val32, m.val33); - public static function operator implicit(m: Mtr2x3f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr4x2f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, m.val30, m.val31, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, m.val30, m.val31, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); - public static function operator implicit(m: Mtr3x4f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x4f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23); - public static function operator implicit(m: Mtr4x3f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 0.0); + public static function operator implicit(m: Mtr4x3f): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, m.val30, m.val31, m.val32); - public static function operator implicit(m: Mtr2x2d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); - public static function operator implicit(m: Mtr3x3d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x3d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); end; @@ -9384,47 +18341,39 @@ uses System.Runtime.CompilerServices; self.val12 := val12; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*2 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*2 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr2x3d read new Mtr2x3d(1.0, 0.0, 0.0, 0.0, 1.0, 0.0); public property Row0: Vec3d read new Vec3d(self.val00, self.val01, self.val02) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; end; public property Row1: Vec3d read new Vec3d(self.val10, self.val11, self.val12) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; end; - public property Row[y: integer]: Vec3d read y=0?Row0:y=1?Row1:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..1'); - end; public property Col0: Vec2d read new Vec2d(self.val00, self.val10) write begin self.val00 := value.val0; self.val10 := value.val1; end; public property Col1: Vec2d read new Vec2d(self.val01, self.val11) write begin self.val01 := value.val0; self.val11 := value.val1; end; public property Col2: Vec2d read new Vec2d(self.val02, self.val12) write begin self.val02 := value.val0; self.val12 := value.val1; end; - public property Col[x: integer]: Vec2d read x=0?Col0:x=1?Col1:x=2?Col2:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..2'); - end; - public property ColPtr0: ^Vec3d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec3d read pointer(IntPtr(pointer(@self)) + 16); - public property ColPtr[x: integer]: ^Vec3d read pointer(IntPtr(pointer(@self)) + x*16); + public property ColPtr0: ^Vec2d read pointer(@val00); + public property ColPtr1: ^Vec2d read pointer(@val01); + public property ColPtr2: ^Vec2d read pointer(@val02); + public property ColPtr[x: integer]: ^Vec2d read pointer(IntPtr(pointer(@self)) + x*16); + + public procedure UseColPtr0(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val02))^); end; + + public function UseColPtr0(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val02))^); end; public static function Scale(k: double): Mtr2x3d := new Mtr2x3d(k, 0.0, 0.0, 0.0, k, 0.0); @@ -9455,9 +18404,12 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[2,3]; - for var y := 0 to 2-1 do - for var x := 0 to 3-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*3 + 6; // +2*(Width-1) + 2; @@ -9498,10 +18450,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x3d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); public static function operator implicit(m: Mtr2x3d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); @@ -9516,19 +18468,19 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x3d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr2x2d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); public static function operator implicit(m: Mtr2x3d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr2x3d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); end; @@ -9546,48 +18498,32 @@ uses System.Runtime.CompilerServices; self.val21 := val21; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*3 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*3 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr3x2d read new Mtr3x2d(1.0, 0.0, 0.0, 1.0, 0.0, 0.0); public property Row0: Vec2d read new Vec2d(self.val00, self.val01) write begin self.val00 := value.val0; self.val01 := value.val1; end; public property Row1: Vec2d read new Vec2d(self.val10, self.val11) write begin self.val10 := value.val0; self.val11 := value.val1; end; public property Row2: Vec2d read new Vec2d(self.val20, self.val21) write begin self.val20 := value.val0; self.val21 := value.val1; end; - public property Row[y: integer]: Vec2d read y=0?Row0:y=1?Row1:y=2?Row2:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..2'); - end; public property Col0: Vec3d read new Vec3d(self.val00, self.val10, self.val20) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; end; public property Col1: Vec3d read new Vec3d(self.val01, self.val11, self.val21) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; end; - public property Col[x: integer]: Vec3d read x=0?Col0:x=1?Col1:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..1'); - end; - public property ColPtr0: ^Vec2d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec2d read pointer(IntPtr(pointer(@self)) + 24); - public property ColPtr2: ^Vec2d read pointer(IntPtr(pointer(@self)) + 48); - public property ColPtr[x: integer]: ^Vec2d read pointer(IntPtr(pointer(@self)) + x*24); + public property ColPtr0: ^Vec3d read pointer(@val00); + public property ColPtr1: ^Vec3d read pointer(@val01); + public property ColPtr[x: integer]: ^Vec3d read pointer(IntPtr(pointer(@self)) + x*24); + + public procedure UseColPtr0(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val01))^); end; + + public function UseColPtr0(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val01))^); end; public static function Scale(k: double): Mtr3x2d := new Mtr3x2d(k, 0.0, 0.0, k, 0.0, 0.0); @@ -9620,9 +18556,12 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[3,2]; - for var y := 0 to 3-1 do - for var x := 0 to 2-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*2 + 4; // +2*(Width-1) + 2; @@ -9664,10 +18603,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr3x2d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0); public static function operator implicit(m: Mtr3x2d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -9682,19 +18621,19 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr3x2d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr2x2d): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0); public static function operator implicit(m: Mtr3x2d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3d): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr3x2d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3d): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0); public static function operator implicit(m: Mtr3x2d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -9719,49 +18658,47 @@ uses System.Runtime.CompilerServices; self.val13 := val13; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*2 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 1 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..1'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*2 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr2x4d read new Mtr2x4d(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0); public property Row0: Vec4d read new Vec4d(self.val00, self.val01, self.val02, self.val03) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; self.val03 := value.val3; end; public property Row1: Vec4d read new Vec4d(self.val10, self.val11, self.val12, self.val13) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; self.val13 := value.val3; end; - public property Row[y: integer]: Vec4d read y=0?Row0:y=1?Row1:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..1'); - end; public property Col0: Vec2d read new Vec2d(self.val00, self.val10) write begin self.val00 := value.val0; self.val10 := value.val1; end; public property Col1: Vec2d read new Vec2d(self.val01, self.val11) write begin self.val01 := value.val0; self.val11 := value.val1; end; public property Col2: Vec2d read new Vec2d(self.val02, self.val12) write begin self.val02 := value.val0; self.val12 := value.val1; end; public property Col3: Vec2d read new Vec2d(self.val03, self.val13) write begin self.val03 := value.val0; self.val13 := value.val1; end; - public property Col[x: integer]: Vec2d read x=0?Col0:x=1?Col1:x=2?Col2:x=3?Col3:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - 3: Col3 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..3'); - end; - public property ColPtr0: ^Vec4d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec4d read pointer(IntPtr(pointer(@self)) + 16); - public property ColPtr[x: integer]: ^Vec4d read pointer(IntPtr(pointer(@self)) + x*16); + public property ColPtr0: ^Vec2d read pointer(@val00); + public property ColPtr1: ^Vec2d read pointer(@val01); + public property ColPtr2: ^Vec2d read pointer(@val02); + public property ColPtr3: ^Vec2d read pointer(@val03); + public property ColPtr[x: integer]: ^Vec2d read pointer(IntPtr(pointer(@self)) + x*16); + + public procedure UseColPtr0(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val02))^); end; + public procedure UseColPtr3(callback: UseVec2dPtrCallbackP); + type PVec2d = ^Vec2d; + begin callback(PVec2d(pointer(@val03))^); end; + + public function UseColPtr0(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val02))^); end; + public function UseColPtr3(callback: UseVec2dPtrCallbackF): T; + type PVec2d = ^Vec2d; + begin Result := callback(PVec2d(pointer(@val03))^); end; public static function Scale(k: double): Mtr2x4d := new Mtr2x4d(k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0); @@ -9792,9 +18729,14 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[2,4]; - for var y := 0 to 2-1 do - for var x := 0 to 4-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[0,3] := (Sign(val03)=-1?'-':'+') + Abs(val03).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[1,3] := (Sign(val13)=-1?'-':'+') + Abs(val13).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*4 + 8; // +2*(Width-1) + 2; @@ -9839,10 +18781,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x4d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr2x4d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr2x4d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); public static function operator implicit(m: Mtr2x4d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); @@ -9857,19 +18799,19 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr2x4d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr2x4d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr2x4d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr2x2d): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0); public static function operator implicit(m: Mtr2x4d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3d): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr2x4d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr2x4d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); public static function operator implicit(m: Mtr2x3d): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); public static function operator implicit(m: Mtr2x4d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); @@ -9895,51 +18837,33 @@ uses System.Runtime.CompilerServices; self.val31 := val31; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*4 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 1 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..1'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*4 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr4x2d read new Mtr4x2d(1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0); public property Row0: Vec2d read new Vec2d(self.val00, self.val01) write begin self.val00 := value.val0; self.val01 := value.val1; end; public property Row1: Vec2d read new Vec2d(self.val10, self.val11) write begin self.val10 := value.val0; self.val11 := value.val1; end; public property Row2: Vec2d read new Vec2d(self.val20, self.val21) write begin self.val20 := value.val0; self.val21 := value.val1; end; public property Row3: Vec2d read new Vec2d(self.val30, self.val31) write begin self.val30 := value.val0; self.val31 := value.val1; end; - public property Row[y: integer]: Vec2d read y=0?Row0:y=1?Row1:y=2?Row2:y=3?Row3:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - 3: Row3 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..3'); - end; public property Col0: Vec4d read new Vec4d(self.val00, self.val10, self.val20, self.val30) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; self.val30 := value.val3; end; public property Col1: Vec4d read new Vec4d(self.val01, self.val11, self.val21, self.val31) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; self.val31 := value.val3; end; - public property Col[x: integer]: Vec4d read x=0?Col0:x=1?Col1:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..1'); - end; - public property ColPtr0: ^Vec2d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec2d read pointer(IntPtr(pointer(@self)) + 32); - public property ColPtr2: ^Vec2d read pointer(IntPtr(pointer(@self)) + 64); - public property ColPtr3: ^Vec2d read pointer(IntPtr(pointer(@self)) + 96); - public property ColPtr[x: integer]: ^Vec2d read pointer(IntPtr(pointer(@self)) + x*32); + public property ColPtr0: ^Vec4d read pointer(@val00); + public property ColPtr1: ^Vec4d read pointer(@val01); + public property ColPtr[x: integer]: ^Vec4d read pointer(IntPtr(pointer(@self)) + x*32); + + public procedure UseColPtr0(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val01))^); end; + + public function UseColPtr0(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val01))^); end; public static function Scale(k: double): Mtr4x2d := new Mtr4x2d(k, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0); @@ -9974,9 +18898,14 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[4,2]; - for var y := 0 to 4-1 do - for var x := 0 to 2-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[3,0] := (Sign(val30)=-1?'-':'+') + Abs(val30).ToString('f2'); + ElStrs[3,1] := (Sign(val31)=-1?'-':'+') + Abs(val31).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*2 + 4; // +2*(Width-1) + 2; @@ -10023,10 +18952,10 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr4x2d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); - public static function operator implicit(m: Mtr4x2d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr4x4f): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); - public static function operator implicit(m: Mtr4x2d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, m.val30, m.val31, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, m.val30, m.val31, 0.0, 1.0); public static function operator implicit(m: Mtr2x3f): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x2d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -10041,19 +18970,19 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr4x2d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); public static function operator implicit(m: Mtr3x4f): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); - public static function operator implicit(m: Mtr4x2d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr3x4f := new Mtr3x4f(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr4x3f): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); - public static function operator implicit(m: Mtr4x2d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, m.val30, m.val31, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, m.val30, m.val31, 0.0); public static function operator implicit(m: Mtr2x2d): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x2d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3d): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); - public static function operator implicit(m: Mtr4x2d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0); public static function operator implicit(m: Mtr4x4d): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); - public static function operator implicit(m: Mtr4x2d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0, m.val30, m.val31, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0, m.val30, m.val31, 0.0, 1.0); public static function operator implicit(m: Mtr2x3d): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x2d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0); @@ -10088,52 +19017,48 @@ uses System.Runtime.CompilerServices; self.val23 := val23; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*3 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 3 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..3'); - if cardinal(y) > 2 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..2'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*3 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr3x4d read new Mtr3x4d(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); public property Row0: Vec4d read new Vec4d(self.val00, self.val01, self.val02, self.val03) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; self.val03 := value.val3; end; public property Row1: Vec4d read new Vec4d(self.val10, self.val11, self.val12, self.val13) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; self.val13 := value.val3; end; public property Row2: Vec4d read new Vec4d(self.val20, self.val21, self.val22, self.val23) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; self.val23 := value.val3; end; - public property Row[y: integer]: Vec4d read y=0?Row0:y=1?Row1:y=2?Row2:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..2'); - end; public property Col0: Vec3d read new Vec3d(self.val00, self.val10, self.val20) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; end; public property Col1: Vec3d read new Vec3d(self.val01, self.val11, self.val21) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; end; public property Col2: Vec3d read new Vec3d(self.val02, self.val12, self.val22) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; end; public property Col3: Vec3d read new Vec3d(self.val03, self.val13, self.val23) write begin self.val03 := value.val0; self.val13 := value.val1; self.val23 := value.val2; end; - public property Col[x: integer]: Vec3d read x=0?Col0:x=1?Col1:x=2?Col2:x=3?Col3:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - 3: Col3 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..3'); - end; - public property ColPtr0: ^Vec4d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec4d read pointer(IntPtr(pointer(@self)) + 24); - public property ColPtr2: ^Vec4d read pointer(IntPtr(pointer(@self)) + 48); - public property ColPtr[x: integer]: ^Vec4d read pointer(IntPtr(pointer(@self)) + x*24); + public property ColPtr0: ^Vec3d read pointer(@val00); + public property ColPtr1: ^Vec3d read pointer(@val01); + public property ColPtr2: ^Vec3d read pointer(@val02); + public property ColPtr3: ^Vec3d read pointer(@val03); + public property ColPtr[x: integer]: ^Vec3d read pointer(IntPtr(pointer(@self)) + x*24); + + public procedure UseColPtr0(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val02))^); end; + public procedure UseColPtr3(callback: UseVec3dPtrCallbackP); + type PVec3d = ^Vec3d; + begin callback(PVec3d(pointer(@val03))^); end; + + public function UseColPtr0(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val02))^); end; + public function UseColPtr3(callback: UseVec3dPtrCallbackF): T; + type PVec3d = ^Vec3d; + begin Result := callback(PVec3d(pointer(@val03))^); end; public static function Scale(k: double): Mtr3x4d := new Mtr3x4d(k, 0.0, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, 0.0, k, 0.0); @@ -10242,9 +19167,18 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[3,4]; - for var y := 0 to 3-1 do - for var x := 0 to 4-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[0,3] := (Sign(val03)=-1?'-':'+') + Abs(val03).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[1,3] := (Sign(val13)=-1?'-':'+') + Abs(val13).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); + ElStrs[2,3] := (Sign(val23)=-1?'-':'+') + Abs(val23).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*4 + 8; // +2*(Width-1) + 2; @@ -10294,25 +19228,25 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr3x4d; v: Vec4d): Vec3d := new Vec3d(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2+m.val03*v.val3, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2+m.val13*v.val3, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2+m.val23*v.val3); public static function operator*(v: Vec3d; m: Mtr3x4d): Vec4d := new Vec4d(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2, m.val03*v.val0+m.val13*v.val1+m.val23*v.val2); - public static function operator implicit(m: Mtr2x2f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23); - public static function operator implicit(m: Mtr3x4d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x4d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 1.0); - public static function operator implicit(m: Mtr2x3f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr4x2f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); public static function operator implicit(m: Mtr3x4f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23); @@ -10321,25 +19255,25 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr4x3f): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); - public static function operator implicit(m: Mtr2x2d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23); - public static function operator implicit(m: Mtr3x4d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x4d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, m.val20, m.val21, m.val22, m.val23, 0.0, 0.0, 0.0, 1.0); - public static function operator implicit(m: Mtr2x3d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13, 0.0, 0.0, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, m.val03, m.val10, m.val11, m.val12, m.val13); - public static function operator implicit(m: Mtr4x2d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 0.0, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr3x4d := new Mtr3x4d(m.val00, m.val01, 0.0, 0.0, m.val10, m.val11, 0.0, 0.0, m.val20, m.val21, 1.0, 0.0); public static function operator implicit(m: Mtr3x4d): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, 0.0, 0.0); end; @@ -10365,53 +19299,41 @@ uses System.Runtime.CompilerServices; self.val32 := val32; end; - private function GetValAt(y,x: integer): double; - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*4 + y) * 8 ); - Result := ptr^; - end; - private procedure SetValAt(y,x: integer; val: double); - begin - if cardinal(x) > 2 then raise new IndexOutOfRangeException('Индекс "X" должен иметь значение 0..2'); - if cardinal(y) > 3 then raise new IndexOutOfRangeException('Индекс "Y" должен иметь значение 0..3'); - var ptr: ^double := pointer(new IntPtr(@self) + (x*4 + y) * 8 ); - ptr^ := val; - end; - public property val[y,x: integer]: double read GetValAt write SetValAt; default; - public static property Identity: Mtr4x3d read new Mtr4x3d(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public property Row0: Vec3d read new Vec3d(self.val00, self.val01, self.val02) write begin self.val00 := value.val0; self.val01 := value.val1; self.val02 := value.val2; end; public property Row1: Vec3d read new Vec3d(self.val10, self.val11, self.val12) write begin self.val10 := value.val0; self.val11 := value.val1; self.val12 := value.val2; end; public property Row2: Vec3d read new Vec3d(self.val20, self.val21, self.val22) write begin self.val20 := value.val0; self.val21 := value.val1; self.val22 := value.val2; end; public property Row3: Vec3d read new Vec3d(self.val30, self.val31, self.val32) write begin self.val30 := value.val0; self.val31 := value.val1; self.val32 := value.val2; end; - public property Row[y: integer]: Vec3d read y=0?Row0:y=1?Row1:y=2?Row2:y=3?Row3:Arr&[y] write - case y of - 0: Row0 := value; - 1: Row1 := value; - 2: Row2 := value; - 3: Row3 := value; - else raise new IndexOutOfRangeException('Номер строчки должен иметь значение 0..3'); - end; public property Col0: Vec4d read new Vec4d(self.val00, self.val10, self.val20, self.val30) write begin self.val00 := value.val0; self.val10 := value.val1; self.val20 := value.val2; self.val30 := value.val3; end; public property Col1: Vec4d read new Vec4d(self.val01, self.val11, self.val21, self.val31) write begin self.val01 := value.val0; self.val11 := value.val1; self.val21 := value.val2; self.val31 := value.val3; end; public property Col2: Vec4d read new Vec4d(self.val02, self.val12, self.val22, self.val32) write begin self.val02 := value.val0; self.val12 := value.val1; self.val22 := value.val2; self.val32 := value.val3; end; - public property Col[x: integer]: Vec4d read x=0?Col0:x=1?Col1:x=2?Col2:Arr&[x] write - case x of - 0: Col0 := value; - 1: Col1 := value; - 2: Col2 := value; - else raise new IndexOutOfRangeException('Номер столбца должен иметь значение 0..2'); - end; - public property ColPtr0: ^Vec3d read pointer(IntPtr(pointer(@self)) + 0); - public property ColPtr1: ^Vec3d read pointer(IntPtr(pointer(@self)) + 32); - public property ColPtr2: ^Vec3d read pointer(IntPtr(pointer(@self)) + 64); - public property ColPtr3: ^Vec3d read pointer(IntPtr(pointer(@self)) + 96); - public property ColPtr[x: integer]: ^Vec3d read pointer(IntPtr(pointer(@self)) + x*32); + public property ColPtr0: ^Vec4d read pointer(@val00); + public property ColPtr1: ^Vec4d read pointer(@val01); + public property ColPtr2: ^Vec4d read pointer(@val02); + public property ColPtr[x: integer]: ^Vec4d read pointer(IntPtr(pointer(@self)) + x*32); + + public procedure UseColPtr0(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val00))^); end; + public procedure UseColPtr1(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val01))^); end; + public procedure UseColPtr2(callback: UseVec4dPtrCallbackP); + type PVec4d = ^Vec4d; + begin callback(PVec4d(pointer(@val02))^); end; + + public function UseColPtr0(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val00))^); end; + public function UseColPtr1(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val01))^); end; + public function UseColPtr2(callback: UseVec4dPtrCallbackF): T; + type PVec4d = ^Vec4d; + begin Result := callback(PVec4d(pointer(@val02))^); end; public static function Scale(k: double): Mtr4x3d := new Mtr4x3d(k, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0, k, 0.0, 0.0, 0.0); @@ -10526,9 +19448,18 @@ uses System.Runtime.CompilerServices; var res := new StringBuilder; var ElStrs := new string[4,3]; - for var y := 0 to 4-1 do - for var x := 0 to 3-1 do - ElStrs[y,x] := (Sign(val[y,x])=-1?'-':'+') + Abs(val[y,x]).ToString('f2'); + ElStrs[0,0] := (Sign(val00)=-1?'-':'+') + Abs(val00).ToString('f2'); + ElStrs[0,1] := (Sign(val01)=-1?'-':'+') + Abs(val01).ToString('f2'); + ElStrs[0,2] := (Sign(val02)=-1?'-':'+') + Abs(val02).ToString('f2'); + ElStrs[1,0] := (Sign(val10)=-1?'-':'+') + Abs(val10).ToString('f2'); + ElStrs[1,1] := (Sign(val11)=-1?'-':'+') + Abs(val11).ToString('f2'); + ElStrs[1,2] := (Sign(val12)=-1?'-':'+') + Abs(val12).ToString('f2'); + ElStrs[2,0] := (Sign(val20)=-1?'-':'+') + Abs(val20).ToString('f2'); + ElStrs[2,1] := (Sign(val21)=-1?'-':'+') + Abs(val21).ToString('f2'); + ElStrs[2,2] := (Sign(val22)=-1?'-':'+') + Abs(val22).ToString('f2'); + ElStrs[3,0] := (Sign(val30)=-1?'-':'+') + Abs(val30).ToString('f2'); + ElStrs[3,1] := (Sign(val31)=-1?'-':'+') + Abs(val31).ToString('f2'); + ElStrs[3,2] := (Sign(val32)=-1?'-':'+') + Abs(val32).ToString('f2'); var MtrElTextW := ElStrs.OfType&.Max(s->s.Length); var PrintlnMtrW := MtrElTextW*3 + 6; // +2*(Width-1) + 2; @@ -10579,25 +19510,25 @@ uses System.Runtime.CompilerServices; public static function operator*(m: Mtr4x3d; v: Vec3d): Vec4d := new Vec4d(m.val00*v.val0+m.val01*v.val1+m.val02*v.val2, m.val10*v.val0+m.val11*v.val1+m.val12*v.val2, m.val20*v.val0+m.val21*v.val1+m.val22*v.val2, m.val30*v.val0+m.val31*v.val1+m.val32*v.val2); public static function operator*(v: Vec4d; m: Mtr4x3d): Vec3d := new Vec3d(m.val00*v.val0+m.val10*v.val1+m.val20*v.val2+m.val30*v.val3, m.val01*v.val0+m.val11*v.val1+m.val21*v.val2+m.val31*v.val3, m.val02*v.val0+m.val12*v.val1+m.val22*v.val2+m.val32*v.val3); - public static function operator implicit(m: Mtr2x2f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr2x2f := new Mtr2x2f(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr3x3f := new Mtr3x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, m.val30, m.val31, m.val32); - public static function operator implicit(m: Mtr4x3d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 0.0); + public static function operator implicit(m: Mtr4x3d): Mtr4x4f := new Mtr4x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 1.0); - public static function operator implicit(m: Mtr2x3f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr2x3f := new Mtr2x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr3x2f := new Mtr3x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr2x4f := new Mtr2x4f(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr4x2f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, m.val30, m.val31, 0.0); + public static function operator implicit(m: Mtr4x2f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, m.val30, m.val31, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr4x2f := new Mtr4x2f(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); public static function operator implicit(m: Mtr3x4f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); @@ -10606,25 +19537,25 @@ uses System.Runtime.CompilerServices; public static function operator implicit(m: Mtr4x3f): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, m.val30, m.val31, m.val32); public static function operator implicit(m: Mtr4x3d): Mtr4x3f := new Mtr4x3f(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, m.val30, m.val31, m.val32); - public static function operator implicit(m: Mtr2x2d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x2d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr2x2d := new Mtr2x2d(m.val00, m.val01, m.val10, m.val11); public static function operator implicit(m: Mtr3x3d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr3x3d := new Mtr3x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22); public static function operator implicit(m: Mtr4x4d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, m.val30, m.val31, m.val32); - public static function operator implicit(m: Mtr4x3d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 0.0); + public static function operator implicit(m: Mtr4x3d): Mtr4x4d := new Mtr4x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0, m.val20, m.val21, m.val22, 0.0, m.val30, m.val31, m.val32, 1.0); - public static function operator implicit(m: Mtr2x3d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x3d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr2x3d := new Mtr2x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12); - public static function operator implicit(m: Mtr3x2d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr3x2d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr3x2d := new Mtr3x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21); - public static function operator implicit(m: Mtr2x4d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); + public static function operator implicit(m: Mtr2x4d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr2x4d := new Mtr2x4d(m.val00, m.val01, m.val02, 0.0, m.val10, m.val11, m.val12, 0.0); - public static function operator implicit(m: Mtr4x2d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 0.0, m.val30, m.val31, 0.0); + public static function operator implicit(m: Mtr4x2d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, 0.0, m.val10, m.val11, 0.0, m.val20, m.val21, 1.0, m.val30, m.val31, 0.0); public static function operator implicit(m: Mtr4x3d): Mtr4x2d := new Mtr4x2d(m.val00, m.val01, m.val10, m.val11, m.val20, m.val21, m.val30, m.val31); public static function operator implicit(m: Mtr3x4d): Mtr4x3d := new Mtr4x3d(m.val00, m.val01, m.val02, m.val10, m.val11, m.val12, m.val20, m.val21, m.val22, 0.0, 0.0, 0.0); @@ -10678,7 +19609,7 @@ uses System.Runtime.CompilerServices; if value.Length > 31 then raise new ArgumentException('Строка не может иметь больше 31 символа'); var HStr := Marshal.StringToHGlobalAnsi(value); var l: UInt32 := value.Length+1; - Buffer.MemoryCopy(pointer(HStr), @self.DeviceName, l,l); + System.Buffer.MemoryCopy(pointer(HStr), @self.DeviceName, l,l); Marshal.FreeHGlobal(HStr); end; @@ -10689,7 +19620,7 @@ uses System.Runtime.CompilerServices; if value.Length > 127 then raise new ArgumentException('Строка не может иметь больше 127 символов'); var HStr := Marshal.StringToHGlobalAnsi(value); var l: UInt32 := value.Length+1; - Buffer.MemoryCopy(pointer(HStr), @self.DeviceString, l,l); + System.Buffer.MemoryCopy(pointer(HStr), @self.DeviceString, l,l); Marshal.FreeHGlobal(HStr); end; @@ -10710,7 +19641,7 @@ uses System.Runtime.CompilerServices; if value.Length > 79 then raise new ArgumentException('Строка не может иметь больше 79 символов'); var HStr := Marshal.StringToHGlobalAnsi(value); var l: UInt32 := value.Length+1; - Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); + System.Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); Marshal.FreeHGlobal(HStr); end; @@ -10733,7 +19664,7 @@ uses System.Runtime.CompilerServices; if value.Length > 79 then raise new ArgumentException('Строка не может иметь больше 79 символов'); var HStr := Marshal.StringToHGlobalAnsi(value); var l: UInt32 := value.Length+1; - Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); + System.Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); Marshal.FreeHGlobal(HStr); end; @@ -10762,7 +19693,7 @@ uses System.Runtime.CompilerServices; if value.Length > 79 then raise new ArgumentException('Строка не может иметь больше 79 символов'); var HStr := Marshal.StringToHGlobalAnsi(value); var l: UInt32 := value.Length+1; - Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); + System.Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); Marshal.FreeHGlobal(HStr); end; @@ -10786,7 +19717,7 @@ uses System.Runtime.CompilerServices; if value.Length > 79 then raise new ArgumentException('Строка не может иметь больше 79 символов'); var HStr := Marshal.StringToHGlobalAnsi(value); var l: UInt32 := value.Length+1; - Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); + System.Buffer.MemoryCopy(pointer(HStr), @self.pipeName, l,l); Marshal.FreeHGlobal(HStr); end; @@ -10847,8 +19778,8 @@ uses System.Runtime.CompilerServices; nSize: UInt16 := sizeof(GDI_PixelFormatDescriptor); nVersion: UInt16 := 1; - dwFlags: GDI_PixelFormatFlags; - iPixelType: GDI_PixelDataType; + dwFlags: PixelFormatFlagsGDI; + iPixelType: PixelDataTypeGDI; cColorBits: Byte; // кол-во битов для R+G+B @@ -10871,7 +19802,7 @@ uses System.Runtime.CompilerServices; cStencilBits: Byte; cAuxBuffers: Byte; // устарело - iLayerType: GDI_LayerType; // устарело + iLayerType: Byte; // устарело bLayersSize: Byte; // разделено на 2 числа по 4 бита, и бесполезно без iLayerType, то есть оно тоже устарело // не смог найти нормального описания последних 3, но все присваивают им нолики @@ -10888,19414 +19819,44331 @@ uses System.Runtime.CompilerServices; type gl = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + // added in gl4.1 + public z_ActiveShaderProgram_adr := GetFuncAdr('glActiveShaderProgram'); + public z_ActiveShaderProgram_ovr_0 := GetFuncOrNil&(z_ActiveShaderProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveShaderProgram(pipeline: ProgramPipelineName; &program: ProgramName); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_ActiveShaderProgram_ovr_0(pipeline, &program); end; - {$region 2 - OpenGL Fundamentals} - - {$region 2.3 - Command Execution} - - {$region 2.3.1 - Errors} - - private static function _GetError: ErrorCode; external 'opengl32.dll' name 'glGetError'; - public static z_GetError: function: ErrorCode := _GetError; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetError: ErrorCode := z_GetError; - - {$endregion 2.3.1 - Errors} - - {$region 2.3.2 - Graphics Reset Recovery} - - public z_GetGraphicsResetStatus := GetGLFuncOrNil&('glGetGraphicsResetStatus'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGraphicsResetStatus: ErrorCode := z_GetGraphicsResetStatus; - - {$endregion 2.3.2 - Graphics Reset Recovery} - - {$region 2.3.3 - Flush and Finish} - - private static procedure _Flush; external 'opengl32.dll' name 'glFlush'; - public static z_Flush := _Flush; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Flush := z_Flush; - - private static procedure _Finish; external 'opengl32.dll' name 'glFinish'; - public static z_Finish := _Finish; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Finish := z_Finish; - - {$endregion 2.3.3 - Flush and Finish} - - {$endregion 2.3 - Command Execution} - - {$endregion 2 - OpenGL Fundamentals} - - {$region 4 - Event Model} - - {$region 4.1 - Sync Objects and Fences} - - public z_FenceSync := GetGLFuncOrNil&('glFenceSync'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function FenceSync(condition: FenceCondition; flags: ReservedFlags): GLsync := z_FenceSync(condition, flags); - - public z_DeleteSync := GetGLFuncOrNil&('glDeleteSync'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSync(sync: GLsync) := z_DeleteSync(sync); - - {$region 4.1.1 - Waiting for Sync Objects} - - public z_WaitSync := GetGLFuncOrNil&('glWaitSync'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSync(sync: GLsync; flags: ReservedFlags; timeout: ReservedTimeoutMode) := z_WaitSync(sync, flags, timeout); - - public z_ClientWaitSync := GetGLFuncOrNil&('glClientWaitSync'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ClientWaitSync(sync: GLsync; flags: CommandFlushingBehaviorFlags; timeout: UInt64): ClientWaitSyncResult := ClientWaitSync(sync, flags, timeout); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ClientWaitSync(sync: GLsync; flags: CommandFlushingBehaviorFlags; timeout: TimeSpan): ClientWaitSyncResult := z_ClientWaitSync(sync, flags, timeout); - - {$endregion 4.1.1 - Waiting for Sync Objects} - - {$region 4.1.3 - Sync Object Queries} - - public z_IsSync := GetGLFuncOrNil&('glIsSync'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSync(sync: GLsync): boolean := z_IsSync(sync); - - public z_GetSynciv := GetGLFuncOrNil&('glGetSynciv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncObjInfoType; count: Int32; var length: Int32; var values: SyncObjectType) := GetSynciv(sync, pname, count, @length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncObjInfoType; count: Int32; var length: Int32; var values: FenceStatus) := GetSynciv(sync, pname, count, @length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncObjInfoType; count: Int32; var length: Int32; var values: FenceCondition) := GetSynciv(sync, pname, count, @length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncObjInfoType; count: Int32; var length: Int32; var values: Int32) := GetSynciv(sync, pname, count, @length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncObjInfoType; count: Int32; length: pointer; values: pointer) := z_GetSynciv(sync, pname, count, length, values); - - {$endregion 4.1.3 - Sync Object Queries} - - {$endregion 4.1 - Sync Objects and Fences} - - {$region 4.2 - Query Objects and Asynchronous Queries} - - {$region 4.2.2 - Query Object Creation and Activation} - - public z_GenQueries := GetGLFuncOrNil&('glGenQueries'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueries(n: Int32; ids: array of QueryName) := GenQueries(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueries(n: Int32; var ids: QueryName) := GenQueries(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueries(n: Int32; ids: pointer) := z_GenQueries(n, ids); - - public z_EndQueryIndexed := GetGLFuncOrNil&('glEndQueryIndexed'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQueryIndexed(target: QueryTargetType; index: UInt32) := z_EndQueryIndexed(target, index); - - public z_EndQuery := GetGLFuncOrNil&('glEndQuery'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQuery(target: QueryTargetType) := z_EndQuery(target); - - public z_DeleteQueries := GetGLFuncOrNil&('glDeleteQueries'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueries(n: Int32; ids: array of QueryName) := DeleteQueries(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueries(n: Int32; var ids: QueryName) := DeleteQueries(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueries(n: Int32; ids: pointer) := z_DeleteQueries(n, ids); - - public z_CreateQueries := GetGLFuncOrNil&('glCreateQueries'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateQueries(target: QueryTargetType; n: Int32; ids: array of QueryName) := CreateQueries(target, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateQueries(target: QueryTargetType; n: Int32; var ids: QueryName) := CreateQueries(target, n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateQueries(target: QueryTargetType; n: Int32; ids: pointer) := z_CreateQueries(target, n, ids); - - public z_BeginQueryIndexed := GetGLFuncOrNil&('glBeginQueryIndexed'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQueryIndexed(target: QueryTargetType; index: UInt32; id: QueryName) := z_BeginQueryIndexed(target, index, id); - - public z_BeginQuery := GetGLFuncOrNil&('glBeginQuery'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQuery(target: QueryTargetType; id: QueryName) := z_BeginQuery(target, id); - - {$endregion 4.2.2 - Query Object Creation and Activation} - - {$region 4.2.3 - Query Object Queries} - - public z_IsQuery := GetGLFuncOrNil&('glIsQuery'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsQuery(id: QueryName): boolean := z_IsQuery(id); - - public z_GetQueryObjectuiv := GetGLFuncOrNil&('glGetQueryObjectuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuiv(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: UInt32) := GetQueryObjectuiv(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuiv(id: QueryName; pname: GetQueryObjectInfoName; ¶ms: pointer) := z_GetQueryObjectuiv(id, pname, ¶ms); - - public z_GetQueryObjectui64v := GetGLFuncOrNil&('glGetQueryObjectui64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: UInt64) := GetQueryObjectui64v(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: TimeSpan) := GetQueryObjectui64v(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: DateTime) := GetQueryObjectui64v(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: QueryName; pname: GetQueryObjectInfoName; ¶ms: pointer) := z_GetQueryObjectui64v(id, pname, ¶ms); - - public z_GetQueryObjectiv := GetGLFuncOrNil&('glGetQueryObjectiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectiv(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: Int32) := GetQueryObjectiv(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectiv(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: boolean) := GetQueryObjectiv(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectiv(id: QueryName; pname: GetQueryObjectInfoName; ¶ms: pointer) := z_GetQueryObjectiv(id, pname, ¶ms); - - public z_GetQueryObjecti64v := GetGLFuncOrNil&('glGetQueryObjecti64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64v(id: QueryName; pname: GetQueryObjectInfoName; var ¶ms: Int64) := GetQueryObjecti64v(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64v(id: QueryName; pname: GetQueryObjectInfoName; ¶ms: pointer) := z_GetQueryObjecti64v(id, pname, ¶ms); - - public z_GetQueryiv := GetGLFuncOrNil&('glGetQueryiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTargetType; pname: GetQueryInfoName; var ¶ms: Int32) := GetQueryiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTargetType; pname: GetQueryInfoName; var ¶ms: QueryName) := GetQueryiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTargetType; pname: GetQueryInfoName; var ¶ms: boolean) := GetQueryiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTargetType; pname: GetQueryInfoName; var ¶ms: TimeSpan) := GetQueryiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTargetType; pname: GetQueryInfoName; var ¶ms: DateTime) := GetQueryiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTargetType; pname: GetQueryInfoName; ¶ms: pointer) := z_GetQueryiv(target, pname, ¶ms); - - public z_GetQueryIndexediv := GetGLFuncOrNil&('glGetQueryIndexediv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTargetType; index: UInt32; pname: GetQueryInfoName; var ¶ms: Int32) := GetQueryIndexediv(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTargetType; index: UInt32; pname: GetQueryInfoName; var ¶ms: QueryName) := GetQueryIndexediv(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTargetType; index: UInt32; pname: GetQueryInfoName; var ¶ms: boolean) := GetQueryIndexediv(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTargetType; index: UInt32; pname: GetQueryInfoName; var ¶ms: TimeSpan) := GetQueryIndexediv(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTargetType; index: UInt32; pname: GetQueryInfoName; var ¶ms: DateTime) := GetQueryIndexediv(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTargetType; index: UInt32; pname: GetQueryInfoName; ¶ms: pointer) := z_GetQueryIndexediv(target, index, pname, ¶ms); - - public z_GetQueryBufferObjectuiv := GetGLFuncOrNil&('glGetQueryBufferObjectuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjectuiv(id: QueryName; buffer: BufferName; pname: GetQueryObjectInfoName; offset: IntPtr) := z_GetQueryBufferObjectuiv(id, buffer, pname, offset); - - public z_GetQueryBufferObjectui64v := GetGLFuncOrNil&('glGetQueryBufferObjectui64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjectui64v(id: QueryName; buffer: BufferName; pname: GetQueryObjectInfoName; offset: IntPtr) := z_GetQueryBufferObjectui64v(id, buffer, pname, offset); - - public z_GetQueryBufferObjectiv := GetGLFuncOrNil&('glGetQueryBufferObjectiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjectiv(id: QueryName; buffer: BufferName; pname: GetQueryObjectInfoName; offset: IntPtr) := z_GetQueryBufferObjectiv(id, buffer, pname, offset); - - public z_GetQueryBufferObjecti64v := GetGLFuncOrNil&('glGetQueryBufferObjecti64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjecti64v(id: QueryName; buffer: BufferName; pname: GetQueryObjectInfoName; offset: IntPtr) := z_GetQueryBufferObjecti64v(id, buffer, pname, offset); - - {$endregion 4.2.3 - Query Object Queries} - - {$endregion 4.2 - Query Objects and Asynchronous Queries} - - {$region 4.3 - Time Queries} - - public z_QueryCounter := GetGLFuncOrNil&('glQueryCounter'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryCounter(id: QueryName; target: QueryTargetType) := z_QueryCounter(id, target); - - {$endregion 4.3 - Time Queries} - - {$endregion 4 - Event Model} - - {$region 6 - Buffer Objects} - - public z_IsBuffer := GetGLFuncOrNil&('glIsBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsBuffer(buffer: BufferName): boolean := z_IsBuffer(buffer); - - public z_GenBuffers := GetGLFuncOrNil&('glGenBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffers(n: Int32; buffers: array of BufferName) := GenBuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffers(n: Int32; var buffers: BufferName) := GenBuffers(n, @buffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffers(n: Int32; buffers: pointer) := z_GenBuffers(n, buffers); - - public z_DeleteBuffers := GetGLFuncOrNil&('glDeleteBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffers(n: Int32; buffers: array of BufferName) := DeleteBuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffers(n: Int32; var buffers: BufferName) := DeleteBuffers(n, @buffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffers(n: Int32; buffers: pointer) := z_DeleteBuffers(n, buffers); - - public z_CreateBuffers := GetGLFuncOrNil&('glCreateBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateBuffers(n: Int32; buffers: array of BufferName) := CreateBuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateBuffers(n: Int32; var buffers: BufferName) := CreateBuffers(n, @buffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateBuffers(n: Int32; buffers: pointer) := z_CreateBuffers(n, buffers); - - {$region 6.1 - Creating and Binding Buffer Objects} - - public z_BindBuffer := GetGLFuncOrNil&('glBindBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffer(target: BufferBindType; buffer: BufferName) := z_BindBuffer(target, buffer); - - {$region 6.1.1 - Binding Buffer Objects to Indexed Targets} - - public z_BindBuffersRange := GetGLFuncOrNil&('glBindBuffersRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferBindType; first: UInt32; count: Int32; buffers: array of BufferName; offsets: array of IntPtr; sizes: array of UIntPtr) := BindBuffersRange(target, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(offsets,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferBindType; first: UInt32; count: Int32; var buffers: BufferName; var offsets: IntPtr; var sizes: UIntPtr) := BindBuffersRange(target, first, count, @buffers, @offsets, @sizes); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferBindType; first: UInt32; count: Int32; buffers: pointer; offsets: pointer; sizes: pointer) := z_BindBuffersRange(target, first, count, buffers, offsets, sizes); - - public z_BindBuffersBase := GetGLFuncOrNil&('glBindBuffersBase'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersBase(target: BufferBindType; first: UInt32; count: Int32; buffers: array of BufferName) := BindBuffersBase(target, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersBase(target: BufferBindType; first: UInt32; count: Int32; var buffers: BufferName) := BindBuffersBase(target, first, count, @buffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersBase(target: BufferBindType; first: UInt32; count: Int32; buffers: pointer) := z_BindBuffersBase(target, first, count, buffers); - - public z_BindBufferRange := GetGLFuncOrNil&('glBindBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferRange(target: BufferBindType; index: UInt32; buffer: BufferName; offset: IntPtr; size: UIntPtr) := z_BindBufferRange(target, index, buffer, offset, size); - - public z_BindBufferBase := GetGLFuncOrNil&('glBindBufferBase'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferBase(target: BufferBindType; index: UInt32; buffer: BufferName) := z_BindBufferBase(target, index, buffer); - - {$endregion 6.1.1 - Binding Buffer Objects to Indexed Targets} - - {$endregion 6.1 - Creating and Binding Buffer Objects} - - {$region 6.2 - Creating and Modifying Buffer Object Data Stores} - - public z_NamedBufferSubData := GetGLFuncOrNil&('glNamedBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; data: &Array) := NamedBufferSubData(buffer, offset, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; var data: T); where T: record; begin NamedBufferSubData(buffer, offset, size, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; data: IntPtr) := NamedBufferSubData(buffer, offset, size, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; data: pointer) := z_NamedBufferSubData(buffer, offset, size, data); - - public z_NamedBufferStorage := GetGLFuncOrNil&('glNamedBufferStorage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorage(buffer: BufferName; size: UIntPtr; data: &Array; flags: BufferStorageFlags) := NamedBufferStorage(buffer, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorage(buffer: BufferName; size: UIntPtr; var data: T; flags: BufferStorageFlags); where T: record; begin NamedBufferStorage(buffer, size, @data, flags); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorage(buffer: BufferName; size: UIntPtr; data: IntPtr; flags: BufferStorageFlags) := NamedBufferStorage(buffer, size, pointer(data), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorage(buffer: BufferName; size: UIntPtr; data: pointer; flags: BufferStorageFlags) := z_NamedBufferStorage(buffer, size, data, flags); - - public z_NamedBufferData := GetGLFuncOrNil&('glNamedBufferData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: UIntPtr; data: &Array; usage: BufferDataUsage) := NamedBufferData(buffer, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), usage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: UIntPtr; var data: T; usage: BufferDataUsage); where T: record; begin NamedBufferData(buffer, size, @data, usage); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: UIntPtr; data: IntPtr; usage: BufferDataUsage) := NamedBufferData(buffer, size, pointer(data), usage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: UIntPtr; data: pointer; usage: BufferDataUsage) := z_NamedBufferData(buffer, size, data, usage); - - public z_BufferSubData := GetGLFuncOrNil&('glBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; data: &Array) := BufferSubData(target, offset, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; var data: T); where T: record; begin BufferSubData(target, offset, size, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; data: IntPtr) := BufferSubData(target, offset, size, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; data: pointer) := z_BufferSubData(target, offset, size, data); - - public z_BufferStorage := GetGLFuncOrNil&('glBufferStorage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorage(target: BufferBindType; size: UIntPtr; data: &Array; flags: BufferDataUsage) := BufferStorage(target, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorage(target: BufferBindType; size: UIntPtr; var data: T; flags: BufferDataUsage); where T: record; begin BufferStorage(target, size, @data, flags); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorage(target: BufferBindType; size: UIntPtr; data: IntPtr; flags: BufferDataUsage) := BufferStorage(target, size, pointer(data), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorage(target: BufferBindType; size: UIntPtr; data: pointer; flags: BufferDataUsage) := z_BufferStorage(target, size, data, flags); - - public z_BufferData := GetGLFuncOrNil&('glBufferData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferData(target: BufferBindType; size: UIntPtr; data: &Array; usage: BufferDataUsage) := BufferData(target, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), usage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferData(target: BufferBindType; size: UIntPtr; var data: T; usage: BufferDataUsage); where T: record; begin BufferData(target, size, @data, usage); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferData(target: BufferBindType; size: UIntPtr; data: IntPtr; usage: BufferDataUsage) := BufferData(target, size, pointer(data), usage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferData(target: BufferBindType; size: UIntPtr; data: pointer; usage: BufferDataUsage) := z_BufferData(target, size, data, usage); - - {$region 6.2.1 - Clearing Buffer Object Data Stores} - - public z_ClearNamedBufferSubData := GetGLFuncOrNil&('glClearNamedBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubData(buffer: BufferName; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; data: &Array) := ClearNamedBufferSubData(buffer, internalformat, offset, size, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubData(buffer: BufferName; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; var data: T); where T: record; begin ClearNamedBufferSubData(buffer, internalformat, offset, size, format, &type, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubData(buffer: BufferName; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; data: IntPtr) := ClearNamedBufferSubData(buffer, internalformat, offset, size, format, &type, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubData(buffer: BufferName; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; data: pointer) := z_ClearNamedBufferSubData(buffer, internalformat, offset, size, format, &type, data); - - public z_ClearNamedBufferData := GetGLFuncOrNil&('glClearNamedBufferData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferData(buffer: BufferName; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; data: &Array) := ClearNamedBufferData(buffer, internalformat, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferData(buffer: BufferName; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; var data: T); where T: record; begin ClearNamedBufferData(buffer, internalformat, format, &type, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferData(buffer: BufferName; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; data: IntPtr) := ClearNamedBufferData(buffer, internalformat, format, &type, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferData(buffer: BufferName; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; data: pointer) := z_ClearNamedBufferData(buffer, internalformat, format, &type, data); - - public z_ClearBufferSubData := GetGLFuncOrNil&('glClearBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferSubData(target: BufferBindType; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; data: &Array) := ClearBufferSubData(target, internalformat, offset, size, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferSubData(target: BufferBindType; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; var data: T); where T: record; begin ClearBufferSubData(target, internalformat, offset, size, format, &type, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferSubData(target: BufferBindType; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; data: IntPtr) := ClearBufferSubData(target, internalformat, offset, size, format, &type, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferSubData(target: BufferBindType; internalformat: InternalDataFormat; offset: IntPtr; size: UIntPtr; format: DataFormat; &type: DataType; data: pointer) := z_ClearBufferSubData(target, internalformat, offset, size, format, &type, data); - - public z_ClearBufferData := GetGLFuncOrNil&('glClearBufferData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferData(target: BufferBindType; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; data: &Array) := ClearBufferData(target, internalformat, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferData(target: BufferBindType; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; var data: T); where T: record; begin ClearBufferData(target, internalformat, format, &type, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferData(target: BufferBindType; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; data: IntPtr) := ClearBufferData(target, internalformat, format, &type, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferData(target: BufferBindType; internalformat: InternalDataFormat; format: DataFormat; &type: DataType; data: pointer) := z_ClearBufferData(target, internalformat, format, &type, data); - - {$endregion 6.2.1 - Clearing Buffer Object Data Stores} - - {$endregion 6.2 - Creating and Modifying Buffer Object Data Stores} - - {$region 6.3 - Mapping and Unmapping Buffer Data} - - public z_MapNamedBufferRange := GetGLFuncOrNil&('glMapNamedBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBufferRange(buffer: BufferName; offset: IntPtr; length: UIntPtr; access: BufferMapFlags): IntPtr := z_MapNamedBufferRange(buffer, offset, length, access); - - public z_MapNamedBuffer := GetGLFuncOrNil&('glMapNamedBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBuffer(buffer: BufferName; access: BufferMapFlags): IntPtr := z_MapNamedBuffer(buffer, access); - - public z_MapBufferRange := GetGLFuncOrNil&('glMapBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBufferRange(target: BufferBindType; offset: IntPtr; length: UIntPtr; access: BufferMapFlags): IntPtr := z_MapBufferRange(target, offset, length, access); - - public z_MapBuffer := GetGLFuncOrNil&('glMapBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBuffer(target: BufferBindType; access: BufferMapFlags): IntPtr := z_MapBuffer(target, access); - - public z_FlushMappedNamedBufferRange := GetGLFuncOrNil&('glFlushMappedNamedBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedNamedBufferRange(buffer: BufferName; offset: IntPtr; length: UIntPtr) := z_FlushMappedNamedBufferRange(buffer, offset, length); - - public z_FlushMappedBufferRange := GetGLFuncOrNil&('glFlushMappedBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedBufferRange(target: BufferBindType; offset: IntPtr; length: UIntPtr) := z_FlushMappedBufferRange(target, offset, length); - - {$region 6.3.1 - Unmapping Buffers} - - public z_UnmapNamedBuffer := GetGLFuncOrNil&('glUnmapNamedBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapNamedBuffer(buffer: BufferName): boolean := z_UnmapNamedBuffer(buffer); - - public z_UnmapBuffer := GetGLFuncOrNil&('glUnmapBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapBuffer(target: BufferBindType): boolean := z_UnmapBuffer(target); - - {$endregion 6.3.1 - Unmapping Buffers} - - {$endregion 6.3 - Mapping and Unmapping Buffer Data} - - {$region 6.5 - Invalidating Buffer Data} - - public z_InvalidateBufferSubData := GetGLFuncOrNil&('glInvalidateBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateBufferSubData(buffer: BufferName; offset: IntPtr; length: UIntPtr) := z_InvalidateBufferSubData(buffer, offset, length); - - public z_InvalidateBufferData := GetGLFuncOrNil&('glInvalidateBufferData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateBufferData(buffer: BufferName) := z_InvalidateBufferData(buffer); - - {$endregion 6.5 - Invalidating Buffer Data} - - {$region 6.6 - Copying Between Buffers} - - public z_CopyNamedBufferSubData := GetGLFuncOrNil&('glCopyNamedBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyNamedBufferSubData(readBuffer: BufferName; writeBuffer: BufferName; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_CopyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size); - - public z_CopyBufferSubData := GetGLFuncOrNil&('glCopyBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyBufferSubData(readTarget: BufferBindType; writeTarget: BufferBindType; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); - - {$endregion 6.6 - Copying Between Buffers} - - {$region 6.7 - Buffer Object Queries} - - public z_GetNamedBufferSubData := GetGLFuncOrNil&('glGetNamedBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; data: &Array) := GetNamedBufferSubData(buffer, offset, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; var data: T); where T: record; begin GetNamedBufferSubData(buffer, offset, size, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; data: IntPtr) := GetNamedBufferSubData(buffer, offset, size, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubData(buffer: BufferName; offset: IntPtr; size: UIntPtr; data: pointer) := z_GetNamedBufferSubData(buffer, offset, size, data); - - public z_GetNamedBufferPointerv := GetGLFuncOrNil&('glGetNamedBufferPointerv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointerv(buffer: BufferName; pname: BufferInfoType; var ¶ms: IntPtr) := GetNamedBufferPointerv(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointerv(buffer: BufferName; pname: BufferInfoType; var ¶ms: ^IntPtr) := GetNamedBufferPointerv(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointerv(buffer: BufferName; pname: BufferInfoType; ¶ms: pointer) := z_GetNamedBufferPointerv(buffer, pname, ¶ms); - - public z_GetNamedBufferParameteriv := GetGLFuncOrNil&('glGetNamedBufferParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: BufferName; pname: BufferInfoType; var ¶ms: Int32) := GetNamedBufferParameteriv(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: BufferName; pname: BufferInfoType; var ¶ms: BufferDataUsage) := GetNamedBufferParameteriv(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: BufferName; pname: BufferInfoType; var ¶ms: AccessType) := GetNamedBufferParameteriv(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: BufferName; pname: BufferInfoType; var ¶ms: boolean) := GetNamedBufferParameteriv(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: BufferName; pname: BufferInfoType; ¶ms: pointer) := z_GetNamedBufferParameteriv(buffer, pname, ¶ms); - - public z_GetNamedBufferParameteri64v := GetGLFuncOrNil&('glGetNamedBufferParameteri64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteri64v(buffer: BufferName; pname: BufferInfoType; var ¶ms: Int64) := GetNamedBufferParameteri64v(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteri64v(buffer: BufferName; pname: BufferInfoType; ¶ms: pointer) := z_GetNamedBufferParameteri64v(buffer, pname, ¶ms); - - public z_GetBufferSubData := GetGLFuncOrNil&('glGetBufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; data: &Array) := GetBufferSubData(target, offset, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; var data: T); where T: record; begin GetBufferSubData(target, offset, size, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; data: IntPtr) := GetBufferSubData(target, offset, size, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubData(target: BufferBindType; offset: IntPtr; size: UIntPtr; data: pointer) := z_GetBufferSubData(target, offset, size, data); - - public z_GetBufferPointerv := GetGLFuncOrNil&('glGetBufferPointerv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointerv(target: BufferBindType; pname: BufferInfoType; var ¶ms: IntPtr) := GetBufferPointerv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointerv(target: BufferBindType; pname: BufferInfoType; var ¶ms: ^IntPtr) := GetBufferPointerv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointerv(target: BufferBindType; pname: BufferInfoType; ¶ms: pointer) := z_GetBufferPointerv(target, pname, ¶ms); - - public z_GetBufferParameteriv := GetGLFuncOrNil&('glGetBufferParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferBindType; pname: BufferInfoType; var ¶ms: Int32) := GetBufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferBindType; pname: BufferInfoType; var ¶ms: BufferDataUsage) := GetBufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferBindType; pname: BufferInfoType; var ¶ms: AccessType) := GetBufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferBindType; pname: BufferInfoType; var ¶ms: boolean) := GetBufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferBindType; pname: BufferInfoType; ¶ms: pointer) := z_GetBufferParameteriv(target, pname, ¶ms); - - public z_GetBufferParameteri64v := GetGLFuncOrNil&('glGetBufferParameteri64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteri64v(target: BufferBindType; pname: BufferInfoType; var ¶ms: Int64) := GetBufferParameteri64v(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteri64v(target: BufferBindType; pname: BufferInfoType; ¶ms: pointer) := z_GetBufferParameteri64v(target, pname, ¶ms); - - {$endregion 6.7 - Buffer Object Queries} - - {$endregion 6 - Buffer Objects} - - {$region 7 - Programs and Shaders} - - {$region 7.1 - Shader Objects} - - public z_ShaderSource := GetGLFuncOrNil&('glShaderSource'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; var string: IntPtr; var length: Int32) := ShaderSource(shader, count, @string, @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; string: pointer; length: pointer) := z_ShaderSource(shader, count, string, length); - - public z_ReleaseShaderCompiler := GetGLFuncOrNil&('glReleaseShaderCompiler'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReleaseShaderCompiler := z_ReleaseShaderCompiler; - - public z_IsShader := GetGLFuncOrNil&('glIsShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsShader(shader: ShaderName): boolean := z_IsShader(shader); - - public z_DeleteShader := GetGLFuncOrNil&('glDeleteShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteShader(shader: ShaderName) := z_DeleteShader(shader); - - public z_CreateShader := GetGLFuncOrNil&('glCreateShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShader(&type: ShaderType): ShaderName := z_CreateShader(&type); - - public z_CompileShader := GetGLFuncOrNil&('glCompileShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShader(shader: ShaderName) := z_CompileShader(shader); - - {$endregion 7.1 - Shader Objects} - - {$region 7.2 - Shader Binaries} - - public z_ShaderBinary := GetGLFuncOrNil&('glShaderBinary'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: array of ShaderName; binaryformat: ShaderBinaryFormat; binary: &Array; length: Int32) := ShaderBinary(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0)), binaryformat, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binary,0)), length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: array of ShaderName; binaryformat: ShaderBinaryFormat; var binary: T; length: Int32); where T: record; begin ShaderBinary(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0)), binaryformat, @binary, length); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: array of ShaderName; binaryformat: ShaderBinaryFormat; binary: pointer; length: Int32) := ShaderBinary(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0)), binaryformat, binary, length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; var shaders: ShaderName; binaryformat: ShaderBinaryFormat; binary: &Array; length: Int32) := ShaderBinary(count, @shaders, binaryformat, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binary,0)), length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; var shaders: ShaderName; binaryformat: ShaderBinaryFormat; var binary: T; length: Int32); where T: record; begin ShaderBinary(count, @shaders, binaryformat, @binary, length); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; var shaders: ShaderName; binaryformat: ShaderBinaryFormat; binary: pointer; length: Int32) := ShaderBinary(count, @shaders, binaryformat, binary, length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: pointer; binaryformat: ShaderBinaryFormat; binary: &Array; length: Int32) := ShaderBinary(count, shaders, binaryformat, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binary,0)), length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: pointer; binaryformat: ShaderBinaryFormat; var binary: T; length: Int32); where T: record; begin ShaderBinary(count, shaders, binaryformat, @binary, length); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: pointer; binaryformat: ShaderBinaryFormat; binary: pointer; length: Int32) := z_ShaderBinary(count, shaders, binaryformat, binary, length); - - {$region 7.2.1 - Shader Specialization} - - public z_SpecializeShader := GetGLFuncOrNil&('glSpecializeShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of IntFloatUnion); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of Int32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of single); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: IntFloatUnion); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, @pConstantIndex, @pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: Int32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, @pConstantIndex, @pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: single); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, @pConstantIndex, @pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: pointer; pConstantValue: pointer); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShader(shader, ptr_2, numSpecializationConstants, pConstantIndex, pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of IntFloatUnion) := SpecializeShader(shader, pEntryPoint, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of Int32) := SpecializeShader(shader, pEntryPoint, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of single) := SpecializeShader(shader, pEntryPoint, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: IntFloatUnion) := SpecializeShader(shader, pEntryPoint, numSpecializationConstants, @pConstantIndex, @pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: Int32) := SpecializeShader(shader, pEntryPoint, numSpecializationConstants, @pConstantIndex, @pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: single) := SpecializeShader(shader, pEntryPoint, numSpecializationConstants, @pConstantIndex, @pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: ShaderName; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: pointer; pConstantValue: pointer) := z_SpecializeShader(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); - - {$endregion 7.2.1 - Shader Specialization} - - {$endregion 7.2 - Shader Binaries} - - {$region 7.3 - Program Objects} - - public z_UseProgram := GetGLFuncOrNil&('glUseProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgram(&program: ProgramName) := z_UseProgram(&program); - - public z_ProgramParameteri := GetGLFuncOrNil&('glProgramParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameteri(&program: ProgramName; pname: ProgramParameterType; value: Int32) := z_ProgramParameteri(&program, pname, value); - - public z_LinkProgram := GetGLFuncOrNil&('glLinkProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LinkProgram(&program: ProgramName) := z_LinkProgram(&program); - - public z_IsProgram := GetGLFuncOrNil&('glIsProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgram(&program: ProgramName): boolean := z_IsProgram(&program); - - public z_DetachShader := GetGLFuncOrNil&('glDetachShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetachShader(&program: ProgramName; shader: ShaderName) := z_DetachShader(&program, shader); - - public z_DeleteProgram := GetGLFuncOrNil&('glDeleteProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgram(&program: ProgramName) := z_DeleteProgram(&program); - - public z_CreateShaderProgramv := GetGLFuncOrNil&('glCreateShaderProgramv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramv(&type: ShaderType; count: Int32; strings: array of IntPtr): ProgramName := CreateShaderProgramv(&type, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(strings,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramv(&type: ShaderType; count: Int32; var strings: IntPtr): ProgramName := CreateShaderProgramv(&type, count, @strings); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramv(&type: ShaderType; count: Int32; strings: pointer): ProgramName := z_CreateShaderProgramv(&type, count, strings); - - public z_CreateProgram := GetGLFuncOrNil&('glCreateProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateProgram: ProgramName := z_CreateProgram; - - public z_AttachShader := GetGLFuncOrNil&('glAttachShader'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AttachShader(&program: ProgramName; shader: ShaderName) := z_AttachShader(&program, shader); - - {$region 7.3.1 - Program Interfaces} - - public z_GetProgramResourceName := GetGLFuncOrNil&('glGetProgramResourceName'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: ProgramName; programInterface: ProgramInterfaceType; index: ProgramResourceIndex; bufSize: Int32; var length: Int32; name: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(name); GetProgramResourceName(&program, programInterface, index, bufSize, @length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: ProgramName; programInterface: ProgramInterfaceType; index: ProgramResourceIndex; bufSize: Int32; var length: Int32; name: IntPtr) := GetProgramResourceName(&program, programInterface, index, bufSize, @length, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: ProgramName; programInterface: ProgramInterfaceType; index: ProgramResourceIndex; bufSize: Int32; length: pointer; name: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(name); GetProgramResourceName(&program, programInterface, index, bufSize, length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: ProgramName; programInterface: ProgramInterfaceType; index: ProgramResourceIndex; bufSize: Int32; length: pointer; name: IntPtr) := z_GetProgramResourceName(&program, programInterface, index, bufSize, length, name); - - public z_GetProgramResourceLocationIndex := GetGLFuncOrNil&('glGetProgramResourceLocationIndex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocationIndex(&program: ProgramName; programInterface: ProgramInterfaceType; name: string): Int32; begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); Result := GetProgramResourceLocationIndex(&program, programInterface, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocationIndex(&program: ProgramName; programInterface: ProgramInterfaceType; name: IntPtr): Int32 := z_GetProgramResourceLocationIndex(&program, programInterface, name); - - public z_GetProgramResourceLocation := GetGLFuncOrNil&('glGetProgramResourceLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocation(&program: ProgramName; programInterface: ProgramInterfaceType; name: string): Int32; begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); Result := GetProgramResourceLocation(&program, programInterface, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocation(&program: ProgramName; programInterface: ProgramInterfaceType; name: IntPtr): Int32 := z_GetProgramResourceLocation(&program, programInterface, name); - - public z_GetProgramResourceiv := GetGLFuncOrNil&('glGetProgramResourceiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, @length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, @length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: pointer; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: pointer; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: pointer; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, @length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, @length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: pointer; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: pointer; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: pointer; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, @props, count, length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: array of Int32; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: array of Int32; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: array of Int32; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; var length: Int32; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; var length: Int32; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, @length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; var length: Int32; ¶ms: pointer) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, @length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: pointer; ¶ms: array of Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: pointer; var ¶ms: Int32) := GetProgramResourceiv(&program, programInterface, index, propCount, props, count, length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: pointer; ¶ms: pointer) := z_GetProgramResourceiv(&program, programInterface, index, propCount, props, count, length, ¶ms); - - public z_GetProgramResourceIndex := GetGLFuncOrNil&('glGetProgramResourceIndex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceIndex(&program: ProgramName; programInterface: ProgramInterfaceType; name: string): ProgramResourceIndex; begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); Result := GetProgramResourceIndex(&program, programInterface, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceIndex(&program: ProgramName; programInterface: ProgramInterfaceType; name: IntPtr): ProgramResourceIndex := z_GetProgramResourceIndex(&program, programInterface, name); - - public z_GetProgramInterfaceiv := GetGLFuncOrNil&('glGetProgramInterfaceiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInterfaceiv(&program: ProgramName; programInterface: ProgramInterfaceType; pname: ProgramInterfaceInfoType; ¶ms: array of Int32) := GetProgramInterfaceiv(&program, programInterface, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInterfaceiv(&program: ProgramName; programInterface: ProgramInterfaceType; pname: ProgramInterfaceInfoType; var ¶ms: Int32) := GetProgramInterfaceiv(&program, programInterface, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInterfaceiv(&program: ProgramName; programInterface: ProgramInterfaceType; pname: ProgramInterfaceInfoType; ¶ms: pointer) := z_GetProgramInterfaceiv(&program, programInterface, pname, ¶ms); - - {$endregion 7.3.1 - Program Interfaces} - - {$endregion 7.3 - Program Objects} - - {$region 7.4 - Program Pipeline Objects} - - public z_UseProgramStages := GetGLFuncOrNil&('glUseProgramStages'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgramStages(pipeline: ProgramPipelineName; stages: ProgramStagesFlags; &program: ProgramName) := z_UseProgramStages(pipeline, stages, &program); - - public z_IsProgramPipeline := GetGLFuncOrNil&('glIsProgramPipeline'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramPipeline(pipeline: ProgramPipelineName): boolean := z_IsProgramPipeline(pipeline); - - public z_GenProgramPipelines := GetGLFuncOrNil&('glGenProgramPipelines'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelines(n: Int32; pipelines: array of ProgramPipelineName) := GenProgramPipelines(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pipelines,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelines(n: Int32; var pipelines: ProgramPipelineName) := GenProgramPipelines(n, @pipelines); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelines(n: Int32; pipelines: pointer) := z_GenProgramPipelines(n, pipelines); - - public z_DeleteProgramPipelines := GetGLFuncOrNil&('glDeleteProgramPipelines'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelines(n: Int32; pipelines: array of ProgramPipelineName) := DeleteProgramPipelines(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pipelines,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelines(n: Int32; var pipelines: ProgramPipelineName) := DeleteProgramPipelines(n, @pipelines); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelines(n: Int32; pipelines: pointer) := z_DeleteProgramPipelines(n, pipelines); - - public z_CreateProgramPipelines := GetGLFuncOrNil&('glCreateProgramPipelines'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateProgramPipelines(n: Int32; pipelines: array of ProgramPipelineName) := CreateProgramPipelines(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pipelines,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateProgramPipelines(n: Int32; var pipelines: ProgramPipelineName) := CreateProgramPipelines(n, @pipelines); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateProgramPipelines(n: Int32; pipelines: pointer) := z_CreateProgramPipelines(n, pipelines); - - public z_BindProgramPipeline := GetGLFuncOrNil&('glBindProgramPipeline'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramPipeline(pipeline: ProgramPipelineName) := z_BindProgramPipeline(pipeline); - - public z_ActiveShaderProgram := GetGLFuncOrNil&('glActiveShaderProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveShaderProgram(pipeline: ProgramPipelineName; &program: ProgramName) := z_ActiveShaderProgram(pipeline, &program); - - {$endregion 7.4 - Program Pipeline Objects} - - {$region 7.5 - Program Binaries} - - public z_ProgramBinary := GetGLFuncOrNil&('glProgramBinary'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBinary(&program: UInt32; binaryFormat: DummyEnum; binary: pointer; length: Int32) := z_ProgramBinary(&program, binaryFormat, binary, length); - - public z_GetProgramBinary := GetGLFuncOrNil&('glGetProgramBinary'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: array of Int32; binaryFormat: array of DummyEnum; binary: pointer) := GetProgramBinary(&program, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binaryFormat,0)), binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: array of Int32; var binaryFormat: DummyEnum; binary: pointer) := GetProgramBinary(&program, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: array of Int32; binaryFormat: pointer; binary: pointer) := GetProgramBinary(&program, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; var length: Int32; binaryFormat: array of DummyEnum; binary: pointer) := GetProgramBinary(&program, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binaryFormat,0)), binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; var length: Int32; var binaryFormat: DummyEnum; binary: pointer) := GetProgramBinary(&program, bufSize, @length, @binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; var length: Int32; binaryFormat: pointer; binary: pointer) := GetProgramBinary(&program, bufSize, @length, binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: pointer; binaryFormat: array of DummyEnum; binary: pointer) := GetProgramBinary(&program, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binaryFormat,0)), binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: pointer; var binaryFormat: DummyEnum; binary: pointer) := GetProgramBinary(&program, bufSize, length, @binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: pointer; binaryFormat: pointer; binary: pointer) := z_GetProgramBinary(&program, bufSize, length, binaryFormat, binary); - - {$endregion 7.5 - Program Binaries} - - {$region 7.6 - Uniform Variables} - - public z_GetUniformLocation := GetGLFuncOrNil&('glGetUniformLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocation(&program: ProgramName; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetUniformLocation(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocation(&program: ProgramName; name: IntPtr): Int32 := z_GetUniformLocation(&program, name); - - public z_GetUniformIndices := GetGLFuncOrNil&('glGetUniformIndices'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of IntPtr; uniformIndices: array of UInt32) := GetUniformIndices(&program, uniformCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformNames,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformIndices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of IntPtr; var uniformIndices: ProgramName) := GetUniformIndices(&program, uniformCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformNames,0)), @uniformIndices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of IntPtr; uniformIndices: pointer) := GetUniformIndices(&program, uniformCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformNames,0)), uniformIndices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; var uniformNames: IntPtr; uniformIndices: array of UInt32) := GetUniformIndices(&program, uniformCount, @uniformNames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformIndices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; var uniformNames: IntPtr; var uniformIndices: ProgramName) := GetUniformIndices(&program, uniformCount, @uniformNames, @uniformIndices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; var uniformNames: IntPtr; uniformIndices: pointer) := GetUniformIndices(&program, uniformCount, @uniformNames, uniformIndices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: pointer; uniformIndices: array of UInt32) := GetUniformIndices(&program, uniformCount, uniformNames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformIndices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: pointer; var uniformIndices: ProgramName) := GetUniformIndices(&program, uniformCount, uniformNames, @uniformIndices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: pointer; uniformIndices: pointer) := z_GetUniformIndices(&program, uniformCount, uniformNames, uniformIndices); - - public z_GetUniformBlockIndex := GetGLFuncOrNil&('glGetUniformBlockIndex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformBlockIndex(&program: ProgramName; uniformBlockName: string): UInt32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(uniformBlockName); Result := GetUniformBlockIndex(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformBlockIndex(&program: ProgramName; uniformBlockName: IntPtr): UInt32 := z_GetUniformBlockIndex(&program, uniformBlockName); - - public z_GetActiveUniformsiv := GetGLFuncOrNil&('glGetActiveUniformsiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: ProgramName; uniformCount: Int32; uniformIndices: array of UInt32; pname: ProgramInterfaceProperty; ¶ms: array of Int32) := GetActiveUniformsiv(&program, uniformCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uniformIndices,0)), pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: ProgramName; uniformCount: Int32; var uniformIndices: UInt32; pname: ProgramInterfaceProperty; var ¶ms: ShadingLanguageTypeToken) := GetActiveUniformsiv(&program, uniformCount, @uniformIndices, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: ProgramName; uniformCount: Int32; var uniformIndices: UInt32; pname: ProgramInterfaceProperty; var ¶ms: Int32) := GetActiveUniformsiv(&program, uniformCount, @uniformIndices, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: ProgramName; uniformCount: Int32; uniformIndices: pointer; pname: ProgramInterfaceProperty; ¶ms: pointer) := z_GetActiveUniformsiv(&program, uniformCount, uniformIndices, pname, ¶ms); - - public z_GetActiveUniformName := GetGLFuncOrNil&('glGetActiveUniformName'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: ProgramName; uniformIndex: UInt32; bufSize: Int32; var length: Int32; uniformName: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(uniformName); GetActiveUniformName(&program, uniformIndex, bufSize, @length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: ProgramName; uniformIndex: UInt32; bufSize: Int32; var length: Int32; uniformName: IntPtr) := GetActiveUniformName(&program, uniformIndex, bufSize, @length, uniformName); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: ProgramName; uniformIndex: UInt32; bufSize: Int32; length: pointer; uniformName: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(uniformName); GetActiveUniformName(&program, uniformIndex, bufSize, length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: ProgramName; uniformIndex: UInt32; bufSize: Int32; length: pointer; uniformName: IntPtr) := z_GetActiveUniformName(&program, uniformIndex, bufSize, length, uniformName); - - public z_GetActiveUniformBlockName := GetGLFuncOrNil&('glGetActiveUniformBlockName'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockName(&program: ProgramName; uniformBlockIndex: UInt32; bufSize: Int32; var length: Int32; uniformBlockName: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(uniformBlockName); GetActiveUniformBlockName(&program, uniformBlockIndex, bufSize, @length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockName(&program: ProgramName; uniformBlockIndex: UInt32; bufSize: Int32; length: pointer; uniformBlockName: IntPtr) := z_GetActiveUniformBlockName(&program, uniformBlockIndex, bufSize, length, uniformBlockName); - - public z_GetActiveUniformBlockiv := GetGLFuncOrNil&('glGetActiveUniformBlockiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: ProgramName; uniformBlockIndex: UInt32; pname: ProgramInterfaceProperty; ¶ms: array of Int32) := GetActiveUniformBlockiv(&program, uniformBlockIndex, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: ProgramName; uniformBlockIndex: UInt32; pname: ProgramInterfaceProperty; var ¶ms: Int32) := GetActiveUniformBlockiv(&program, uniformBlockIndex, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: ProgramName; uniformBlockIndex: UInt32; pname: ProgramInterfaceProperty; var ¶ms: ShadingLanguageTypeToken) := GetActiveUniformBlockiv(&program, uniformBlockIndex, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: ProgramName; uniformBlockIndex: UInt32; pname: ProgramInterfaceProperty; ¶ms: pointer) := z_GetActiveUniformBlockiv(&program, uniformBlockIndex, pname, ¶ms); - - public z_GetActiveUniform := GetGLFuncOrNil&('glGetActiveUniform'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: ShadingLanguageTypeToken; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniform(&program, index, bufSize, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: ShadingLanguageTypeToken; name: IntPtr) := GetActiveUniform(&program, index, bufSize, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniform(&program, index, bufSize, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetActiveUniform(&program, index, bufSize, length, size, &type, name); - - public z_GetActiveAtomicCounterBufferiv := GetGLFuncOrNil&('glGetActiveAtomicCounterBufferiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: ProgramName; bufferIndex: UInt32; pname: ProgramInterfaceProperty; ¶ms: array of Int32) := GetActiveAtomicCounterBufferiv(&program, bufferIndex, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: ProgramName; bufferIndex: UInt32; pname: ProgramInterfaceProperty; var ¶ms: Int32) := GetActiveAtomicCounterBufferiv(&program, bufferIndex, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: ProgramName; bufferIndex: UInt32; pname: ProgramInterfaceProperty; var ¶ms: ShadingLanguageTypeToken) := GetActiveAtomicCounterBufferiv(&program, bufferIndex, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: ProgramName; bufferIndex: UInt32; pname: ProgramInterfaceProperty; ¶ms: pointer) := z_GetActiveAtomicCounterBufferiv(&program, bufferIndex, pname, ¶ms); - - {$region 7.6.1 - Loading Uniform Variables In The Default Uniform Block} - - public z_UniformMatrix4x3fv := GetGLFuncOrNil&('glUniformMatrix4x3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix4x3fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix4x3fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr4x3f) := UniformMatrix4x3fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4x3fv(location, count, transpose, value); - - public z_UniformMatrix4x3dv := GetGLFuncOrNil&('glUniformMatrix4x3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix4x3dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix4x3dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr4x3d) := UniformMatrix4x3dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4x3dv(location, count, transpose, value); - - public z_UniformMatrix4x2fv := GetGLFuncOrNil&('glUniformMatrix4x2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix4x2fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix4x2fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr4x2f) := UniformMatrix4x2fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4x2fv(location, count, transpose, value); - - public z_UniformMatrix4x2dv := GetGLFuncOrNil&('glUniformMatrix4x2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix4x2dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix4x2dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr4x2d) := UniformMatrix4x2dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4x2dv(location, count, transpose, value); - - public z_UniformMatrix4fv := GetGLFuncOrNil&('glUniformMatrix4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix4fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix4fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr4f) := UniformMatrix4fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4fv(location, count, transpose, value); - - public z_UniformMatrix4dv := GetGLFuncOrNil&('glUniformMatrix4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix4dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix4dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr4d) := UniformMatrix4dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4dv(location, count, transpose, value); - - public z_UniformMatrix3x4fv := GetGLFuncOrNil&('glUniformMatrix3x4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix3x4fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix3x4fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr3x4f) := UniformMatrix3x4fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3x4fv(location, count, transpose, value); - - public z_UniformMatrix3x4dv := GetGLFuncOrNil&('glUniformMatrix3x4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix3x4dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix3x4dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr3x4d) := UniformMatrix3x4dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3x4dv(location, count, transpose, value); - - public z_UniformMatrix3x2fv := GetGLFuncOrNil&('glUniformMatrix3x2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix3x2fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix3x2fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr3x2f) := UniformMatrix3x2fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3x2fv(location, count, transpose, value); - - public z_UniformMatrix3x2dv := GetGLFuncOrNil&('glUniformMatrix3x2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix3x2dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix3x2dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr3x2d) := UniformMatrix3x2dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3x2dv(location, count, transpose, value); - - public z_UniformMatrix3fv := GetGLFuncOrNil&('glUniformMatrix3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix3fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix3fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr3f) := UniformMatrix3fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3fv(location, count, transpose, value); - - public z_UniformMatrix3dv := GetGLFuncOrNil&('glUniformMatrix3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix3dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix3dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr3d) := UniformMatrix3dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3dv(location, count, transpose, value); - - public z_UniformMatrix2x4fv := GetGLFuncOrNil&('glUniformMatrix2x4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix2x4fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix2x4fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr2x4f) := UniformMatrix2x4fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2x4fv(location, count, transpose, value); - - public z_UniformMatrix2x4dv := GetGLFuncOrNil&('glUniformMatrix2x4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix2x4dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix2x4dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr2x4d) := UniformMatrix2x4dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2x4dv(location, count, transpose, value); - - public z_UniformMatrix2x3fv := GetGLFuncOrNil&('glUniformMatrix2x3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix2x3fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix2x3fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr2x3f) := UniformMatrix2x3fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2x3fv(location, count, transpose, value); - - public z_UniformMatrix2x3dv := GetGLFuncOrNil&('glUniformMatrix2x3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix2x3dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix2x3dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr2x3d) := UniformMatrix2x3dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2x3dv(location, count, transpose, value); - - public z_UniformMatrix2fv := GetGLFuncOrNil&('glUniformMatrix2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix2fv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix2fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; var value: Mtr2f) := UniformMatrix2fv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2fv(location, count, transpose, value); - - public z_UniformMatrix2dv := GetGLFuncOrNil&('glUniformMatrix2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; value: array of double) := UniformMatrix2dv(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; var value: double) := UniformMatrix2dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; var value: Mtr2d) := UniformMatrix2dv(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2dv(location, count, transpose, value); - - public z_Uniform4uiv := GetGLFuncOrNil&('glUniform4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; value: array of UInt32) := Uniform4uiv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; var value: UInt32) := Uniform4uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; var value: Vec4ui) := Uniform4uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; value: pointer) := z_Uniform4uiv(location, count, value); - - public z_Uniform4ui := GetGLFuncOrNil&('glUniform4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32) := z_Uniform4ui(location, v0, v1, v2, v3); - - public z_Uniform4iv := GetGLFuncOrNil&('glUniform4iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; value: array of Int32) := Uniform4iv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; var value: Int32) := Uniform4iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; var value: Vec4i) := Uniform4iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; value: pointer) := z_Uniform4iv(location, count, value); - - public z_Uniform4i := GetGLFuncOrNil&('glUniform4i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i(location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32) := z_Uniform4i(location, v0, v1, v2, v3); - - public z_Uniform4fv := GetGLFuncOrNil&('glUniform4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; value: array of single) := Uniform4fv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; var value: single) := Uniform4fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; var value: Vec4f) := Uniform4fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; value: pointer) := z_Uniform4fv(location, count, value); - - public z_Uniform4f := GetGLFuncOrNil&('glUniform4f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4f(location: Int32; v0: single; v1: single; v2: single; v3: single) := z_Uniform4f(location, v0, v1, v2, v3); - - public z_Uniform4dv := GetGLFuncOrNil&('glUniform4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; value: array of double) := Uniform4dv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; var value: double) := Uniform4dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; var value: Vec4d) := Uniform4dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; value: pointer) := z_Uniform4dv(location, count, value); - - public z_Uniform4d := GetGLFuncOrNil&('glUniform4d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4d(location: Int32; x: double; y: double; z: double; w: double) := z_Uniform4d(location, x, y, z, w); - - public z_Uniform3uiv := GetGLFuncOrNil&('glUniform3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; value: array of UInt32) := Uniform3uiv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; var value: UInt32) := Uniform3uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; var value: Vec3ui) := Uniform3uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; value: pointer) := z_Uniform3uiv(location, count, value); - - public z_Uniform3ui := GetGLFuncOrNil&('glUniform3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32) := z_Uniform3ui(location, v0, v1, v2); - - public z_Uniform3iv := GetGLFuncOrNil&('glUniform3iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; value: array of Int32) := Uniform3iv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; var value: Int32) := Uniform3iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; var value: Vec3i) := Uniform3iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; value: pointer) := z_Uniform3iv(location, count, value); - - public z_Uniform3i := GetGLFuncOrNil&('glUniform3i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i(location: Int32; v0: Int32; v1: Int32; v2: Int32) := z_Uniform3i(location, v0, v1, v2); - - public z_Uniform3fv := GetGLFuncOrNil&('glUniform3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; value: array of single) := Uniform3fv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; var value: single) := Uniform3fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; var value: Vec3f) := Uniform3fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; value: pointer) := z_Uniform3fv(location, count, value); - - public z_Uniform3f := GetGLFuncOrNil&('glUniform3f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3f(location: Int32; v0: single; v1: single; v2: single) := z_Uniform3f(location, v0, v1, v2); - - public z_Uniform3dv := GetGLFuncOrNil&('glUniform3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; value: array of double) := Uniform3dv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; var value: double) := Uniform3dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; var value: Vec3d) := Uniform3dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; value: pointer) := z_Uniform3dv(location, count, value); - - public z_Uniform3d := GetGLFuncOrNil&('glUniform3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3d(location: Int32; x: double; y: double; z: double) := z_Uniform3d(location, x, y, z); - - public z_Uniform2uiv := GetGLFuncOrNil&('glUniform2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; value: array of UInt32) := Uniform2uiv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; var value: UInt32) := Uniform2uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; var value: Vec2ui) := Uniform2uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; value: pointer) := z_Uniform2uiv(location, count, value); - - public z_Uniform2ui := GetGLFuncOrNil&('glUniform2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui(location: Int32; v0: UInt32; v1: UInt32) := z_Uniform2ui(location, v0, v1); - - public z_Uniform2iv := GetGLFuncOrNil&('glUniform2iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; value: array of Int32) := Uniform2iv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; var value: Int32) := Uniform2iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; var value: Vec2i) := Uniform2iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; value: pointer) := z_Uniform2iv(location, count, value); - - public z_Uniform2i := GetGLFuncOrNil&('glUniform2i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i(location: Int32; v0: Int32; v1: Int32) := z_Uniform2i(location, v0, v1); - - public z_Uniform2fv := GetGLFuncOrNil&('glUniform2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; value: array of single) := Uniform2fv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; var value: single) := Uniform2fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; var value: Vec2f) := Uniform2fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; value: pointer) := z_Uniform2fv(location, count, value); - - public z_Uniform2f := GetGLFuncOrNil&('glUniform2f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2f(location: Int32; v0: single; v1: single) := z_Uniform2f(location, v0, v1); - - public z_Uniform2dv := GetGLFuncOrNil&('glUniform2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; value: array of double) := Uniform2dv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; var value: double) := Uniform2dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; var value: Vec2d) := Uniform2dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; value: pointer) := z_Uniform2dv(location, count, value); - - public z_Uniform2d := GetGLFuncOrNil&('glUniform2d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2d(location: Int32; x: double; y: double) := z_Uniform2d(location, x, y); - - public z_Uniform1uiv := GetGLFuncOrNil&('glUniform1uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; value: array of UInt32) := Uniform1uiv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; var value: UInt32) := Uniform1uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; var value: Vec1ui) := Uniform1uiv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; value: pointer) := z_Uniform1uiv(location, count, value); - - public z_Uniform1ui := GetGLFuncOrNil&('glUniform1ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui(location: Int32; v0: UInt32) := z_Uniform1ui(location, v0); - - public z_Uniform1iv := GetGLFuncOrNil&('glUniform1iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; value: array of Int32) := Uniform1iv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; var value: Int32) := Uniform1iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; var value: Vec1i) := Uniform1iv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; value: pointer) := z_Uniform1iv(location, count, value); - - public z_Uniform1i := GetGLFuncOrNil&('glUniform1i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i(location: Int32; v0: Int32) := z_Uniform1i(location, v0); - - public z_Uniform1fv := GetGLFuncOrNil&('glUniform1fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; value: array of single) := Uniform1fv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; var value: single) := Uniform1fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; var value: Vec1f) := Uniform1fv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; value: pointer) := z_Uniform1fv(location, count, value); - - public z_Uniform1f := GetGLFuncOrNil&('glUniform1f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1f(location: Int32; v0: single) := z_Uniform1f(location, v0); - - public z_Uniform1dv := GetGLFuncOrNil&('glUniform1dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; value: array of double) := Uniform1dv(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; var value: double) := Uniform1dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; var value: Vec1d) := Uniform1dv(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; value: pointer) := z_Uniform1dv(location, count, value); - - public z_Uniform1d := GetGLFuncOrNil&('glUniform1d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1d(location: Int32; x: double) := z_Uniform1d(location, x); - - public z_ProgramUniformMatrix4x3fv := GetGLFuncOrNil&('glProgramUniformMatrix4x3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix4x3fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix4x3fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr4x3f) := ProgramUniformMatrix4x3fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x3fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x3dv := GetGLFuncOrNil&('glProgramUniformMatrix4x3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix4x3dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix4x3dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr4x3d) := ProgramUniformMatrix4x3dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x3dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x2fv := GetGLFuncOrNil&('glProgramUniformMatrix4x2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix4x2fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix4x2fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr4x2f) := ProgramUniformMatrix4x2fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x2fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x2dv := GetGLFuncOrNil&('glProgramUniformMatrix4x2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix4x2dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix4x2dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr4x2d) := ProgramUniformMatrix4x2dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x2dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4fv := GetGLFuncOrNil&('glProgramUniformMatrix4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix4fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix4fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr4f) := ProgramUniformMatrix4fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4dv := GetGLFuncOrNil&('glProgramUniformMatrix4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix4dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix4dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr4d) := ProgramUniformMatrix4dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x4fv := GetGLFuncOrNil&('glProgramUniformMatrix3x4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix3x4fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix3x4fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr3x4f) := ProgramUniformMatrix3x4fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x4fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x4dv := GetGLFuncOrNil&('glProgramUniformMatrix3x4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix3x4dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix3x4dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr3x4d) := ProgramUniformMatrix3x4dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x4dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x2fv := GetGLFuncOrNil&('glProgramUniformMatrix3x2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix3x2fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix3x2fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr3x2f) := ProgramUniformMatrix3x2fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x2fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x2dv := GetGLFuncOrNil&('glProgramUniformMatrix3x2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix3x2dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix3x2dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr3x2d) := ProgramUniformMatrix3x2dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x2dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3fv := GetGLFuncOrNil&('glProgramUniformMatrix3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix3fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix3fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr3f) := ProgramUniformMatrix3fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3dv := GetGLFuncOrNil&('glProgramUniformMatrix3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix3dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix3dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr3d) := ProgramUniformMatrix3dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x4fv := GetGLFuncOrNil&('glProgramUniformMatrix2x4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix2x4fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix2x4fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr2x4f) := ProgramUniformMatrix2x4fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x4fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x4dv := GetGLFuncOrNil&('glProgramUniformMatrix2x4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix2x4dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix2x4dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr2x4d) := ProgramUniformMatrix2x4dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x4dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x3fv := GetGLFuncOrNil&('glProgramUniformMatrix2x3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix2x3fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix2x3fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr2x3f) := ProgramUniformMatrix2x3fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x3fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x3dv := GetGLFuncOrNil&('glProgramUniformMatrix2x3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix2x3dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix2x3dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr2x3d) := ProgramUniformMatrix2x3dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x3dv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2fv := GetGLFuncOrNil&('glProgramUniformMatrix2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix2fv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix2fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr2f) := ProgramUniformMatrix2fv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2fv(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2dv := GetGLFuncOrNil&('glProgramUniformMatrix2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix2dv(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix2dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; var value: Mtr2d) := ProgramUniformMatrix2dv(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: ProgramName; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2dv(&program, location, count, transpose, value); - - public z_ProgramUniform4uiv := GetGLFuncOrNil&('glProgramUniform4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: ProgramName; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform4uiv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: ProgramName; location: Int32; count: Int32; var value: UInt32) := ProgramUniform4uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: ProgramName; location: Int32; count: Int32; var value: Vec4ui) := ProgramUniform4uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4uiv(&program, location, count, value); - - public z_ProgramUniform4ui := GetGLFuncOrNil&('glProgramUniform4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui(&program: ProgramName; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32) := z_ProgramUniform4ui(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform4iv := GetGLFuncOrNil&('glProgramUniform4iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: ProgramName; location: Int32; count: Int32; value: array of Int32) := ProgramUniform4iv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: ProgramName; location: Int32; count: Int32; var value: Int32) := ProgramUniform4iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: ProgramName; location: Int32; count: Int32; var value: Vec4i) := ProgramUniform4iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4iv(&program, location, count, value); - - public z_ProgramUniform4i := GetGLFuncOrNil&('glProgramUniform4i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i(&program: ProgramName; location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32) := z_ProgramUniform4i(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform4fv := GetGLFuncOrNil&('glProgramUniform4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: ProgramName; location: Int32; count: Int32; value: array of single) := ProgramUniform4fv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: ProgramName; location: Int32; count: Int32; var value: single) := ProgramUniform4fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: ProgramName; location: Int32; count: Int32; var value: Vec4f) := ProgramUniform4fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4fv(&program, location, count, value); - - public z_ProgramUniform4f := GetGLFuncOrNil&('glProgramUniform4f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4f(&program: ProgramName; location: Int32; v0: single; v1: single; v2: single; v3: single) := z_ProgramUniform4f(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform4dv := GetGLFuncOrNil&('glProgramUniform4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: ProgramName; location: Int32; count: Int32; value: array of double) := ProgramUniform4dv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: ProgramName; location: Int32; count: Int32; var value: double) := ProgramUniform4dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: ProgramName; location: Int32; count: Int32; var value: Vec4d) := ProgramUniform4dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4dv(&program, location, count, value); - - public z_ProgramUniform4d := GetGLFuncOrNil&('glProgramUniform4d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4d(&program: ProgramName; location: Int32; v0: double; v1: double; v2: double; v3: double) := z_ProgramUniform4d(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform3uiv := GetGLFuncOrNil&('glProgramUniform3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: ProgramName; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform3uiv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: ProgramName; location: Int32; count: Int32; var value: UInt32) := ProgramUniform3uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: ProgramName; location: Int32; count: Int32; var value: Vec3ui) := ProgramUniform3uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3uiv(&program, location, count, value); - - public z_ProgramUniform3ui := GetGLFuncOrNil&('glProgramUniform3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui(&program: ProgramName; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32) := z_ProgramUniform3ui(&program, location, v0, v1, v2); - - public z_ProgramUniform3iv := GetGLFuncOrNil&('glProgramUniform3iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: ProgramName; location: Int32; count: Int32; value: array of Int32) := ProgramUniform3iv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: ProgramName; location: Int32; count: Int32; var value: Int32) := ProgramUniform3iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: ProgramName; location: Int32; count: Int32; var value: Vec3i) := ProgramUniform3iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3iv(&program, location, count, value); - - public z_ProgramUniform3i := GetGLFuncOrNil&('glProgramUniform3i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i(&program: ProgramName; location: Int32; v0: Int32; v1: Int32; v2: Int32) := z_ProgramUniform3i(&program, location, v0, v1, v2); - - public z_ProgramUniform3fv := GetGLFuncOrNil&('glProgramUniform3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: ProgramName; location: Int32; count: Int32; value: array of single) := ProgramUniform3fv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: ProgramName; location: Int32; count: Int32; var value: single) := ProgramUniform3fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: ProgramName; location: Int32; count: Int32; var value: Vec3f) := ProgramUniform3fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3fv(&program, location, count, value); - - public z_ProgramUniform3f := GetGLFuncOrNil&('glProgramUniform3f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3f(&program: ProgramName; location: Int32; v0: single; v1: single; v2: single) := z_ProgramUniform3f(&program, location, v0, v1, v2); - - public z_ProgramUniform3dv := GetGLFuncOrNil&('glProgramUniform3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: ProgramName; location: Int32; count: Int32; value: array of double) := ProgramUniform3dv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: ProgramName; location: Int32; count: Int32; var value: double) := ProgramUniform3dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: ProgramName; location: Int32; count: Int32; var value: Vec3d) := ProgramUniform3dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3dv(&program, location, count, value); - - public z_ProgramUniform3d := GetGLFuncOrNil&('glProgramUniform3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3d(&program: ProgramName; location: Int32; v0: double; v1: double; v2: double) := z_ProgramUniform3d(&program, location, v0, v1, v2); - - public z_ProgramUniform2uiv := GetGLFuncOrNil&('glProgramUniform2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: ProgramName; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform2uiv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: ProgramName; location: Int32; count: Int32; var value: UInt32) := ProgramUniform2uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: ProgramName; location: Int32; count: Int32; var value: Vec2ui) := ProgramUniform2uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2uiv(&program, location, count, value); - - public z_ProgramUniform2ui := GetGLFuncOrNil&('glProgramUniform2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui(&program: ProgramName; location: Int32; v0: UInt32; v1: UInt32) := z_ProgramUniform2ui(&program, location, v0, v1); - - public z_ProgramUniform2iv := GetGLFuncOrNil&('glProgramUniform2iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: ProgramName; location: Int32; count: Int32; value: array of Int32) := ProgramUniform2iv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: ProgramName; location: Int32; count: Int32; var value: Int32) := ProgramUniform2iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: ProgramName; location: Int32; count: Int32; var value: Vec2i) := ProgramUniform2iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2iv(&program, location, count, value); - - public z_ProgramUniform2i := GetGLFuncOrNil&('glProgramUniform2i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i(&program: ProgramName; location: Int32; v0: Int32; v1: Int32) := z_ProgramUniform2i(&program, location, v0, v1); - - public z_ProgramUniform2fv := GetGLFuncOrNil&('glProgramUniform2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: ProgramName; location: Int32; count: Int32; value: array of single) := ProgramUniform2fv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: ProgramName; location: Int32; count: Int32; var value: single) := ProgramUniform2fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: ProgramName; location: Int32; count: Int32; var value: Vec2f) := ProgramUniform2fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2fv(&program, location, count, value); - - public z_ProgramUniform2f := GetGLFuncOrNil&('glProgramUniform2f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2f(&program: ProgramName; location: Int32; v0: single; v1: single) := z_ProgramUniform2f(&program, location, v0, v1); - - public z_ProgramUniform2dv := GetGLFuncOrNil&('glProgramUniform2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: ProgramName; location: Int32; count: Int32; value: array of double) := ProgramUniform2dv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: ProgramName; location: Int32; count: Int32; var value: double) := ProgramUniform2dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: ProgramName; location: Int32; count: Int32; var value: Vec2d) := ProgramUniform2dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2dv(&program, location, count, value); - - public z_ProgramUniform2d := GetGLFuncOrNil&('glProgramUniform2d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2d(&program: ProgramName; location: Int32; v0: double; v1: double) := z_ProgramUniform2d(&program, location, v0, v1); - - public z_ProgramUniform1uiv := GetGLFuncOrNil&('glProgramUniform1uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: ProgramName; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform1uiv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: ProgramName; location: Int32; count: Int32; var value: UInt32) := ProgramUniform1uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: ProgramName; location: Int32; count: Int32; var value: Vec1ui) := ProgramUniform1uiv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1uiv(&program, location, count, value); - - public z_ProgramUniform1ui := GetGLFuncOrNil&('glProgramUniform1ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui(&program: ProgramName; location: Int32; v0: UInt32) := z_ProgramUniform1ui(&program, location, v0); - - public z_ProgramUniform1iv := GetGLFuncOrNil&('glProgramUniform1iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: ProgramName; location: Int32; count: Int32; value: array of Int32) := ProgramUniform1iv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: ProgramName; location: Int32; count: Int32; var value: Int32) := ProgramUniform1iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: ProgramName; location: Int32; count: Int32; var value: Vec1i) := ProgramUniform1iv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1iv(&program, location, count, value); - - public z_ProgramUniform1i := GetGLFuncOrNil&('glProgramUniform1i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i(&program: ProgramName; location: Int32; v0: Int32) := z_ProgramUniform1i(&program, location, v0); - - public z_ProgramUniform1fv := GetGLFuncOrNil&('glProgramUniform1fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: ProgramName; location: Int32; count: Int32; value: array of single) := ProgramUniform1fv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: ProgramName; location: Int32; count: Int32; var value: single) := ProgramUniform1fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: ProgramName; location: Int32; count: Int32; var value: Vec1f) := ProgramUniform1fv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1fv(&program, location, count, value); - - public z_ProgramUniform1f := GetGLFuncOrNil&('glProgramUniform1f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1f(&program: ProgramName; location: Int32; v0: single) := z_ProgramUniform1f(&program, location, v0); - - public z_ProgramUniform1dv := GetGLFuncOrNil&('glProgramUniform1dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: ProgramName; location: Int32; count: Int32; value: array of double) := ProgramUniform1dv(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: ProgramName; location: Int32; count: Int32; var value: double) := ProgramUniform1dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: ProgramName; location: Int32; count: Int32; var value: Vec1d) := ProgramUniform1dv(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: ProgramName; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1dv(&program, location, count, value); - - public z_ProgramUniform1d := GetGLFuncOrNil&('glProgramUniform1d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1d(&program: ProgramName; location: Int32; v0: double) := z_ProgramUniform1d(&program, location, v0); - - {$endregion 7.6.1 - Loading Uniform Variables In The Default Uniform Block} - - {$region 7.6.3 - Uniform Buffer Object Bindings} - - public z_UniformBlockBinding := GetGLFuncOrNil&('glUniformBlockBinding'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformBlockBinding(&program: ProgramName; uniformBlockIndex: UInt32; _uniformBlockBinding: UInt32) := z_UniformBlockBinding(&program, uniformBlockIndex, _uniformBlockBinding); - - {$endregion 7.6.3 - Uniform Buffer Object Bindings} - - {$endregion 7.6 - Uniform Variables} - - {$region 7.8 - Shader Buffer Variables and Shader Storage Blocks} - - public z_ShaderStorageBlockBinding := GetGLFuncOrNil&('glShaderStorageBlockBinding'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderStorageBlockBinding(&program: ProgramName; storageBlockIndex: UInt32; storageBlockBinding: UInt32) := z_ShaderStorageBlockBinding(&program, storageBlockIndex, storageBlockBinding); - - {$endregion 7.8 - Shader Buffer Variables and Shader Storage Blocks} - - {$region 7.10 - Subroutine Uniform Variables} - - public z_UniformSubroutinesuiv := GetGLFuncOrNil&('glUniformSubroutinesuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformSubroutinesuiv(_shadertype: ShaderType; count: Int32; indices: array of UInt32) := UniformSubroutinesuiv(_shadertype, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformSubroutinesuiv(_shadertype: ShaderType; count: Int32; var indices: UInt32) := UniformSubroutinesuiv(_shadertype, count, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformSubroutinesuiv(_shadertype: ShaderType; count: Int32; indices: pointer) := z_UniformSubroutinesuiv(_shadertype, count, indices); - - public z_GetSubroutineUniformLocation := GetGLFuncOrNil&('glGetSubroutineUniformLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineUniformLocation(&program: ProgramName; _shadertype: ShaderType; name: string): Int32; begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); Result := GetSubroutineUniformLocation(&program, _shadertype, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineUniformLocation(&program: ProgramName; _shadertype: ShaderType; name: IntPtr): Int32 := z_GetSubroutineUniformLocation(&program, _shadertype, name); - - public z_GetSubroutineIndex := GetGLFuncOrNil&('glGetSubroutineIndex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineIndex(&program: ProgramName; _shadertype: ShaderType; name: string): UInt32; begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); Result := GetSubroutineIndex(&program, _shadertype, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineIndex(&program: ProgramName; _shadertype: ShaderType; name: IntPtr): UInt32 := z_GetSubroutineIndex(&program, _shadertype, name); - - public z_GetActiveSubroutineUniformName := GetGLFuncOrNil&('glGetActiveSubroutineUniformName'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; var length: Int32; name: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(name); GetActiveSubroutineUniformName(&program, _shadertype, index, bufSize, @length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; var length: Int32; name: IntPtr) := GetActiveSubroutineUniformName(&program, _shadertype, index, bufSize, @length, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: pointer; name: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(name); GetActiveSubroutineUniformName(&program, _shadertype, index, bufSize, length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: pointer; name: IntPtr) := z_GetActiveSubroutineUniformName(&program, _shadertype, index, bufSize, length, name); - - public z_GetActiveSubroutineUniformiv := GetGLFuncOrNil&('glGetActiveSubroutineUniformiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformiv(&program: ProgramName; _shadertype: ShaderType; index: UInt32; pname: ProgramInterfaceProperty; values: array of Int32) := GetActiveSubroutineUniformiv(&program, _shadertype, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformiv(&program: ProgramName; _shadertype: ShaderType; index: UInt32; pname: ProgramInterfaceProperty; var values: Int32) := GetActiveSubroutineUniformiv(&program, _shadertype, index, pname, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformiv(&program: ProgramName; _shadertype: ShaderType; index: UInt32; pname: ProgramInterfaceProperty; values: pointer) := z_GetActiveSubroutineUniformiv(&program, _shadertype, index, pname, values); - - public z_GetActiveSubroutineName := GetGLFuncOrNil&('glGetActiveSubroutineName'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; var length: Int32; name: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(name); GetActiveSubroutineName(&program, _shadertype, index, bufSize, @length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; var length: Int32; name: IntPtr) := GetActiveSubroutineName(&program, _shadertype, index, bufSize, @length, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: pointer; name: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(name); GetActiveSubroutineName(&program, _shadertype, index, bufSize, length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: ProgramName; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: pointer; name: IntPtr) := z_GetActiveSubroutineName(&program, _shadertype, index, bufSize, length, name); - - {$endregion 7.10 - Subroutine Uniform Variables} - - {$region 7.13 - Shader Memory Access} - - {$region 7.13.2 - Shader Memory Access Synchronization} - - public z_MemoryBarrierByRegion := GetGLFuncOrNil&('glMemoryBarrierByRegion'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryBarrierByRegion(barriers: MemoryBarrierTypeFlags) := z_MemoryBarrierByRegion(barriers); - - public z_MemoryBarrier := GetGLFuncOrNil&('glMemoryBarrier'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryBarrier(barriers: MemoryBarrierTypeFlags) := z_MemoryBarrier(barriers); - - {$endregion 7.13.2 - Shader Memory Access Synchronization} - - {$endregion 7.13 - Shader Memory Access} - - {$region 7.14 - Shader, Program, and Program Pipeline Queries} - - public z_GetUniformuiv := GetGLFuncOrNil&('glGetUniformuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuiv(&program: ProgramName; location: Int32; ¶ms: array of UInt32) := GetUniformuiv(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuiv(&program: ProgramName; location: Int32; var ¶ms: ProgramName) := GetUniformuiv(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuiv(&program: ProgramName; location: Int32; ¶ms: pointer) := z_GetUniformuiv(&program, location, ¶ms); - - public z_GetUniformSubroutineuiv := GetGLFuncOrNil&('glGetUniformSubroutineuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformSubroutineuiv(_shadertype: ShaderType; location: Int32; ¶ms: array of UInt32) := GetUniformSubroutineuiv(_shadertype, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformSubroutineuiv(_shadertype: ShaderType; location: Int32; var ¶ms: UInt32) := GetUniformSubroutineuiv(_shadertype, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformSubroutineuiv(_shadertype: ShaderType; location: Int32; ¶ms: pointer) := z_GetUniformSubroutineuiv(_shadertype, location, ¶ms); - - public z_GetUniformiv := GetGLFuncOrNil&('glGetUniformiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformiv(&program: ProgramName; location: Int32; ¶ms: array of Int32) := GetUniformiv(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformiv(&program: ProgramName; location: Int32; var ¶ms: Int32) := GetUniformiv(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformiv(&program: ProgramName; location: Int32; ¶ms: pointer) := z_GetUniformiv(&program, location, ¶ms); - - public z_GetUniformfv := GetGLFuncOrNil&('glGetUniformfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfv(&program: ProgramName; location: Int32; ¶ms: array of single) := GetUniformfv(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfv(&program: ProgramName; location: Int32; var ¶ms: single) := GetUniformfv(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfv(&program: ProgramName; location: Int32; ¶ms: pointer) := z_GetUniformfv(&program, location, ¶ms); - - public z_GetUniformdv := GetGLFuncOrNil&('glGetUniformdv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformdv(&program: ProgramName; location: Int32; ¶ms: array of double) := GetUniformdv(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformdv(&program: ProgramName; location: Int32; var ¶ms: double) := GetUniformdv(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformdv(&program: ProgramName; location: Int32; ¶ms: pointer) := z_GetUniformdv(&program, location, ¶ms); - - public z_GetShaderSource := GetGLFuncOrNil&('glGetShaderSource'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: ShaderName; bufSize: Int32; var length: Int32; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetShaderSource(shader, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: ShaderName; bufSize: Int32; var length: Int32; source: IntPtr) := GetShaderSource(shader, bufSize, @length, source); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: ShaderName; bufSize: Int32; length: pointer; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetShaderSource(shader, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: ShaderName; bufSize: Int32; length: pointer; source: IntPtr) := z_GetShaderSource(shader, bufSize, length, source); - - public z_GetShaderPrecisionFormat := GetGLFuncOrNil&('glGetShaderPrecisionFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; precisiontype: ShaderPrecisionFormatType; var range: Int32; var precision: Int32) := GetShaderPrecisionFormat(_shadertype, precisiontype, @range, @precision); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; precisiontype: ShaderPrecisionFormatType; var range: Int32; precision: pointer) := GetShaderPrecisionFormat(_shadertype, precisiontype, @range, precision); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; precisiontype: ShaderPrecisionFormatType; var range: Vec2i; var precision: Int32) := GetShaderPrecisionFormat(_shadertype, precisiontype, @range, @precision); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; precisiontype: ShaderPrecisionFormatType; var range: Vec2i; precision: pointer) := GetShaderPrecisionFormat(_shadertype, precisiontype, @range, precision); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; precisiontype: ShaderPrecisionFormatType; range: pointer; var precision: Int32) := GetShaderPrecisionFormat(_shadertype, precisiontype, range, @precision); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; precisiontype: ShaderPrecisionFormatType; range: pointer; precision: pointer) := z_GetShaderPrecisionFormat(_shadertype, precisiontype, range, precision); - - public z_GetShaderiv := GetGLFuncOrNil&('glGetShaderiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderiv(shader: ShaderName; pname: ShaderInfoType; ¶ms: array of Int32) := GetShaderiv(shader, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderiv(shader: ShaderName; pname: ShaderInfoType; var ¶ms: Int32) := GetShaderiv(shader, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderiv(shader: ShaderName; pname: ShaderInfoType; ¶ms: pointer) := z_GetShaderiv(shader, pname, ¶ms); - - public z_GetShaderInfoLog := GetGLFuncOrNil&('glGetShaderInfoLog'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderInfoLog(shader: ShaderName; bufSize: Int32; var length: Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetShaderInfoLog(shader, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderInfoLog(shader: ShaderName; bufSize: Int32; var length: Int32; infoLog: IntPtr) := GetShaderInfoLog(shader, bufSize, @length, infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderInfoLog(shader: ShaderName; bufSize: Int32; length: pointer; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetShaderInfoLog(shader, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderInfoLog(shader: ShaderName; bufSize: Int32; length: pointer; infoLog: IntPtr) := z_GetShaderInfoLog(shader, bufSize, length, infoLog); - - public z_GetProgramStageiv := GetGLFuncOrNil&('glGetProgramStageiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStageiv(&program: ProgramName; _shadertype: ShaderType; pname: ActiveSubroutineInfoType; values: array of Int32) := GetProgramStageiv(&program, _shadertype, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStageiv(&program: ProgramName; _shadertype: ShaderType; pname: ActiveSubroutineInfoType; var values: Int32) := GetProgramStageiv(&program, _shadertype, pname, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStageiv(&program: ProgramName; _shadertype: ShaderType; pname: ActiveSubroutineInfoType; values: pointer) := z_GetProgramStageiv(&program, _shadertype, pname, values); - - public z_GetProgramPipelineiv := GetGLFuncOrNil&('glGetProgramPipelineiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: ProgramPipelineName; pname: ProgramPipelineInfoType; var ¶ms: Int32) := GetProgramPipelineiv(pipeline, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: ProgramPipelineName; pname: ProgramPipelineInfoType; var ¶ms: ProgramName) := GetProgramPipelineiv(pipeline, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: ProgramPipelineName; pname: ProgramPipelineInfoType; var ¶ms: ErrorCode) := GetProgramPipelineiv(pipeline, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: ProgramPipelineName; pname: ProgramPipelineInfoType; ¶ms: pointer) := z_GetProgramPipelineiv(pipeline, pname, ¶ms); - - public z_GetProgramPipelineInfoLog := GetGLFuncOrNil&('glGetProgramPipelineInfoLog'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: ProgramPipelineName; bufSize: Int32; var length: Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramPipelineInfoLog(pipeline, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: ProgramPipelineName; bufSize: Int32; var length: Int32; infoLog: IntPtr) := GetProgramPipelineInfoLog(pipeline, bufSize, @length, infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: ProgramPipelineName; bufSize: Int32; length: pointer; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramPipelineInfoLog(pipeline, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: ProgramPipelineName; bufSize: Int32; length: pointer; infoLog: IntPtr) := z_GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); - - public z_GetProgramiv := GetGLFuncOrNil&('glGetProgramiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramiv(&program: ProgramName; pname: ProgramInfoType; ¶ms: array of Int32) := GetProgramiv(&program, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramiv(&program: ProgramName; pname: ProgramInfoType; var ¶ms: Int32) := GetProgramiv(&program, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramiv(&program: ProgramName; pname: ProgramInfoType; ¶ms: pointer) := z_GetProgramiv(&program, pname, ¶ms); - - public z_GetProgramInfoLog := GetGLFuncOrNil&('glGetProgramInfoLog'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInfoLog(&program: ProgramName; bufSize: Int32; var length: Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramInfoLog(&program, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInfoLog(&program: ProgramName; bufSize: Int32; var length: Int32; infoLog: IntPtr) := GetProgramInfoLog(&program, bufSize, @length, infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInfoLog(&program: ProgramName; bufSize: Int32; length: pointer; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramInfoLog(&program, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInfoLog(&program: ProgramName; bufSize: Int32; length: pointer; infoLog: IntPtr) := z_GetProgramInfoLog(&program, bufSize, length, infoLog); - - public z_GetnUniformuiv := GetGLFuncOrNil&('glGetnUniformuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of UInt32) := GetnUniformuiv(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuiv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: ProgramName) := GetnUniformuiv(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformuiv(&program, location, bufSize, ¶ms); - - public z_GetnUniformiv := GetGLFuncOrNil&('glGetnUniformiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of Int32) := GetnUniformiv(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformiv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: Int32) := GetnUniformiv(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformiv(&program, location, bufSize, ¶ms); - - public z_GetnUniformfv := GetGLFuncOrNil&('glGetnUniformfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of single) := GetnUniformfv(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: single) := GetnUniformfv(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformfv(&program, location, bufSize, ¶ms); - - public z_GetnUniformdv := GetGLFuncOrNil&('glGetnUniformdv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of double) := GetnUniformdv(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: double) := GetnUniformdv(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformdv(&program, location, bufSize, ¶ms); - - public z_GetAttachedShaders := GetGLFuncOrNil&('glGetAttachedShaders'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: ProgramName; maxCount: Int32; var count: Int32; shaders: array of ShaderName) := GetAttachedShaders(&program, maxCount, @count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: ProgramName; maxCount: Int32; var count: Int32; var shaders: ShaderName) := GetAttachedShaders(&program, maxCount, @count, @shaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: ProgramName; maxCount: Int32; var count: Int32; shaders: pointer) := GetAttachedShaders(&program, maxCount, @count, shaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: ProgramName; maxCount: Int32; count: pointer; shaders: array of ShaderName) := GetAttachedShaders(&program, maxCount, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: ProgramName; maxCount: Int32; count: pointer; var shaders: ShaderName) := GetAttachedShaders(&program, maxCount, count, @shaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: ProgramName; maxCount: Int32; count: pointer; shaders: pointer) := z_GetAttachedShaders(&program, maxCount, count, shaders); - - {$endregion 7.14 - Shader, Program, and Program Pipeline Queries} - - {$endregion 7 - Programs and Shaders} - - {$region 8 - Textures and Samplers} - - public z_ActiveTexture := GetGLFuncOrNil&('glActiveTexture'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveTexture(texture: TextureUnitId) := z_ActiveTexture(texture); - - {$region 8.1 - Texture Objects} - - private static function _IsTexture(texture: TextureName): boolean; external 'opengl32.dll' name 'glIsTexture'; - public static z_IsTexture := _IsTexture; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTexture(texture: TextureName): boolean := z_IsTexture(texture); - - private static procedure _GenTextures(n: Int32; textures: pointer); external 'opengl32.dll' name 'glGenTextures'; - public static z_GenTextures := _GenTextures; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTextures(n: Int32; textures: array of TextureName) := GenTextures(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTextures(n: Int32; var textures: TextureName) := GenTextures(n, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTextures(n: Int32; textures: pointer) := z_GenTextures(n, textures); - - private static procedure _DeleteTextures(n: Int32; textures: pointer); external 'opengl32.dll' name 'glDeleteTextures'; - public static z_DeleteTextures := _DeleteTextures; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTextures(n: Int32; textures: array of TextureName) := DeleteTextures(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTextures(n: Int32; var textures: TextureName) := DeleteTextures(n, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTextures(n: Int32; textures: pointer) := z_DeleteTextures(n, textures); - - public z_CreateTextures := GetGLFuncOrNil&('glCreateTextures'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTextures(target: TextureBindTarget; n: Int32; textures: array of TextureName) := CreateTextures(target, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTextures(target: TextureBindTarget; n: Int32; var textures: TextureName) := CreateTextures(target, n, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTextures(target: TextureBindTarget; n: Int32; textures: pointer) := z_CreateTextures(target, n, textures); - - public z_BindTextureUnit := GetGLFuncOrNil&('glBindTextureUnit'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextureUnit(&unit: TextureUnitId; texture: TextureName) := z_BindTextureUnit(&unit, texture); - - public z_BindTextures := GetGLFuncOrNil&('glBindTextures'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextures(first: TextureUnitId; count: Int32; textures: array of TextureName) := BindTextures(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextures(first: TextureUnitId; count: Int32; var textures: TextureName) := BindTextures(first, count, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextures(first: TextureUnitId; count: Int32; textures: pointer) := z_BindTextures(first, count, textures); - - private static procedure _BindTexture(target: TextureBindTarget; texture: TextureName); external 'opengl32.dll' name 'glBindTexture'; - public static z_BindTexture := _BindTexture; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTexture(target: TextureBindTarget; texture: TextureName) := z_BindTexture(target, texture); - - {$endregion 8.1 - Texture Objects} - - {$region 8.2 - Sampler Objects} - - public z_SamplerParameteriv := GetGLFuncOrNil&('glSamplerParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; var param: Int32) := SamplerParameteriv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; param: pointer) := z_SamplerParameteriv(sampler, pname, param); - - public z_SamplerParameterIuiv := GetGLFuncOrNil&('glSamplerParameterIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var param: UInt32) := SamplerParameterIuiv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var param: TextureCompareMode) := SamplerParameterIuiv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var param: ActivationFunc) := SamplerParameterIuiv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var param: PixelFilterMode) := SamplerParameterIuiv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var param: PixelWrapMode) := SamplerParameterIuiv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; param: pointer) := z_SamplerParameterIuiv(sampler, pname, param); - - public z_SamplerParameterIiv := GetGLFuncOrNil&('glSamplerParameterIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIiv(sampler: SamplerName; pname: TextureInfoType; var param: Int32) := SamplerParameterIiv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIiv(sampler: SamplerName; pname: TextureInfoType; param: pointer) := z_SamplerParameterIiv(sampler, pname, param); - - public z_SamplerParameteri := GetGLFuncOrNil&('glSamplerParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteri(sampler: SamplerName; pname: TextureInfoType; param: TextureCompareMode) := SamplerParameteri(sampler, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteri(sampler: SamplerName; pname: TextureInfoType; param: ActivationFunc) := SamplerParameteri(sampler, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteri(sampler: SamplerName; pname: TextureInfoType; param: PixelFilterMode) := SamplerParameteri(sampler, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteri(sampler: SamplerName; pname: TextureInfoType; param: PixelWrapMode) := SamplerParameteri(sampler, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteri(sampler: SamplerName; pname: TextureInfoType; param: Int32) := z_SamplerParameteri(sampler, pname, param); - - public z_SamplerParameterfv := GetGLFuncOrNil&('glSamplerParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterfv(sampler: SamplerName; pname: TextureInfoType; var param: single) := SamplerParameterfv(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterfv(sampler: SamplerName; pname: TextureInfoType; param: pointer) := z_SamplerParameterfv(sampler, pname, param); - - public z_SamplerParameterf := GetGLFuncOrNil&('glSamplerParameterf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterf(sampler: SamplerName; pname: TextureInfoType; param: single) := z_SamplerParameterf(sampler, pname, param); - - public z_IsSampler := GetGLFuncOrNil&('glIsSampler'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSampler(sampler: SamplerName): boolean := z_IsSampler(sampler); - - public z_GenSamplers := GetGLFuncOrNil&('glGenSamplers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSamplers(count: Int32; samplers: array of SamplerName) := GenSamplers(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(samplers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSamplers(count: Int32; var samplers: SamplerName) := GenSamplers(count, @samplers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSamplers(count: Int32; samplers: pointer) := z_GenSamplers(count, samplers); - - public z_DeleteSamplers := GetGLFuncOrNil&('glDeleteSamplers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSamplers(count: Int32; samplers: array of SamplerName) := DeleteSamplers(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(samplers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSamplers(count: Int32; var samplers: SamplerName) := DeleteSamplers(count, @samplers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSamplers(count: Int32; samplers: pointer) := z_DeleteSamplers(count, samplers); - - public z_CreateSamplers := GetGLFuncOrNil&('glCreateSamplers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateSamplers(n: Int32; samplers: array of SamplerName) := CreateSamplers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(samplers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateSamplers(n: Int32; var samplers: SamplerName) := CreateSamplers(n, @samplers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateSamplers(n: Int32; samplers: pointer) := z_CreateSamplers(n, samplers); - - public z_BindSamplers := GetGLFuncOrNil&('glBindSamplers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSamplers(first: Int32; count: Int32; samplers: array of SamplerName) := BindSamplers(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(samplers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSamplers(first: Int32; count: Int32; var samplers: SamplerName) := BindSamplers(first, count, @samplers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSamplers(first: Int32; count: Int32; samplers: pointer) := z_BindSamplers(first, count, samplers); - - public z_BindSampler := GetGLFuncOrNil&('glBindSampler'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSampler(&unit: Int32; sampler: SamplerName) := z_BindSampler(&unit, sampler); - - {$endregion 8.2 - Sampler Objects} - - {$region 8.3 - Sampler Object Queries} - - public z_GetSamplerParameteriv := GetGLFuncOrNil&('glGetSamplerParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: Int32) := GetSamplerParameteriv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: TextureCompareMode) := GetSamplerParameteriv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: ActivationFunc) := GetSamplerParameteriv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: PixelFilterMode) := GetSamplerParameteriv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: PixelWrapMode) := GetSamplerParameteriv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: SamplerName; pname: TextureInfoType; ¶ms: pointer) := z_GetSamplerParameteriv(sampler, pname, ¶ms); - - public z_GetSamplerParameterIuiv := GetGLFuncOrNil&('glGetSamplerParameterIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: UInt32) := GetSamplerParameterIuiv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: TextureCompareMode) := GetSamplerParameterIuiv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: ActivationFunc) := GetSamplerParameterIuiv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: PixelFilterMode) := GetSamplerParameterIuiv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: PixelWrapMode) := GetSamplerParameterIuiv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: SamplerName; pname: TextureInfoType; ¶ms: pointer) := z_GetSamplerParameterIuiv(sampler, pname, ¶ms); - - public z_GetSamplerParameterIiv := GetGLFuncOrNil&('glGetSamplerParameterIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIiv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: Int32) := GetSamplerParameterIiv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIiv(sampler: SamplerName; pname: TextureInfoType; ¶ms: pointer) := z_GetSamplerParameterIiv(sampler, pname, ¶ms); - - public z_GetSamplerParameterfv := GetGLFuncOrNil&('glGetSamplerParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterfv(sampler: SamplerName; pname: TextureInfoType; var ¶ms: single) := GetSamplerParameterfv(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterfv(sampler: SamplerName; pname: TextureInfoType; ¶ms: pointer) := z_GetSamplerParameterfv(sampler, pname, ¶ms); - - {$endregion 8.3 - Sampler Object Queries} - - {$region 8.4 - Pixel Rectangles} - - {$region 8.4.1 - Pixel Storage Modes and Pixel Buffer Objects} - - private static procedure _PixelStorei(pname: PixelInfoType; param: Int32); external 'opengl32.dll' name 'glPixelStorei'; - public static z_PixelStorei := _PixelStorei; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelStorei(pname: PixelInfoType; param: Int32) := z_PixelStorei(pname, param); - - private static procedure _PixelStoref(pname: PixelInfoType; param: single); external 'opengl32.dll' name 'glPixelStoref'; - public static z_PixelStoref := _PixelStoref; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelStoref(pname: PixelInfoType; param: single) := z_PixelStoref(pname, param); - - {$endregion 8.4.1 - Pixel Storage Modes and Pixel Buffer Objects} - - {$endregion 8.4 - Pixel Rectangles} - - {$region 8.5 - Texture Image Specification} - - public z_TexImage3D := GetGLFuncOrNil&('glTexImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TexImage3D(target, level, internalformat, width, height, depth, border, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TexImage3D(target, level, internalformat, width, height, depth, border, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TexImage3D(target, level, internalformat, width, height, depth, border, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TexImage3D(target, level, internalformat, width, height, depth, border, format, &type, pixels); - - {$region 8.5.3 - Texture Image Structure} - - private static procedure _TexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: pointer); external 'opengl32.dll' name 'glTexImage2D'; - public static z_TexImage2D := _TexImage2D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TexImage2D(target, level, internalformat, width, height, border, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TexImage2D(target, level, internalformat, width, height, border, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TexImage2D(target, level, internalformat, width, height, border, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TexImage2D(target, level, internalformat, width, height, border, format, &type, pixels); - - private static procedure _TexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: pointer); external 'opengl32.dll' name 'glTexImage1D'; - public static z_TexImage1D := _TexImage1D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TexImage1D(target, level, internalformat, width, border, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TexImage1D(target, level, internalformat, width, border, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TexImage1D(target, level, internalformat, width, border, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TexImage1D(target, level, internalformat, width, border, format, &type, pixels); - - {$endregion 8.5.3 - Texture Image Structure} - - {$endregion 8.5 - Texture Image Specification} - - {$region 8.6 - Alternate Texture Image Specification Commands} - - public z_TextureSubImage3D := GetGLFuncOrNil&('glTextureSubImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); - - public z_TextureSubImage2D := GetGLFuncOrNil&('glTextureSubImage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, &type, pixels); - - public z_TextureSubImage1D := GetGLFuncOrNil&('glTextureSubImage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1D(texture: TextureName; level: Int32; xoffset: Int32; width: Int32; format: UInt32; &type: DataType; pixels: &Array) := TextureSubImage1D(texture, level, xoffset, width, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1D(texture: TextureName; level: Int32; xoffset: Int32; width: Int32; format: UInt32; &type: DataType; var pixels: T); where T: record; begin TextureSubImage1D(texture, level, xoffset, width, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1D(texture: TextureName; level: Int32; xoffset: Int32; width: Int32; format: UInt32; &type: DataType; pixels: IntPtr) := TextureSubImage1D(texture, level, xoffset, width, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1D(texture: TextureName; level: Int32; xoffset: Int32; width: Int32; format: UInt32; &type: DataType; pixels: pointer) := z_TextureSubImage1D(texture, level, xoffset, width, format, &type, pixels); - - public z_TexSubImage3D := GetGLFuncOrNil&('glTexSubImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); - - private static procedure _TexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: pointer); external 'opengl32.dll' name 'glTexSubImage2D'; - public static z_TexSubImage2D := _TexSubImage2D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TexSubImage2D(target, level, xoffset, yoffset, width, height, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TexSubImage2D(target, level, xoffset, yoffset, width, height, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TexSubImage2D(target, level, xoffset, yoffset, width, height, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TexSubImage2D(target, level, xoffset, yoffset, width, height, format, &type, pixels); - - private static procedure _TexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; &type: DataType; pixels: pointer); external 'opengl32.dll' name 'glTexSubImage1D'; - public static z_TexSubImage1D := _TexSubImage1D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; &type: DataType; pixels: &Array) := TexSubImage1D(target, level, xoffset, width, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin TexSubImage1D(target, level, xoffset, width, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := TexSubImage1D(target, level, xoffset, width, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_TexSubImage1D(target, level, xoffset, width, format, &type, pixels); - - public z_CopyTextureSubImage3D := GetGLFuncOrNil&('glCopyTextureSubImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage3D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height); - - public z_CopyTextureSubImage2D := GetGLFuncOrNil&('glCopyTextureSubImage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage2D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height); - - public z_CopyTextureSubImage1D := GetGLFuncOrNil&('glCopyTextureSubImage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage1D(texture: TextureName; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32) := z_CopyTextureSubImage1D(texture, level, xoffset, x, y, width); - - public z_CopyTexSubImage3D := GetGLFuncOrNil&('glCopyTexSubImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); - - private static procedure _CopyTexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); external 'opengl32.dll' name 'glCopyTexSubImage2D'; - public static z_CopyTexSubImage2D := _CopyTexSubImage2D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); - - private static procedure _CopyTexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32); external 'opengl32.dll' name 'glCopyTexSubImage1D'; - public static z_CopyTexSubImage1D := _CopyTexSubImage1D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32) := z_CopyTexSubImage1D(target, level, xoffset, x, y, width); - - private static procedure _CopyTexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32); external 'opengl32.dll' name 'glCopyTexImage2D'; - public static z_CopyTexImage2D := _CopyTexImage2D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32) := z_CopyTexImage2D(target, level, internalformat, x, y, width, height, border); - - private static procedure _CopyTexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; x: Int32; y: Int32; width: Int32; border: Int32); external 'opengl32.dll' name 'glCopyTexImage1D'; - public static z_CopyTexImage1D := _CopyTexImage1D; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; x: Int32; y: Int32; width: Int32; border: Int32) := z_CopyTexImage1D(target, level, internalformat, x, y, width, border); - - {$endregion 8.6 - Alternate Texture Image Specification Commands} - - {$region 8.7 - Compressed Texture Images} - - public z_CompressedTextureSubImage3D := GetGLFuncOrNil&('glCompressedTextureSubImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; data: &Array) := CompressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; var data: T); where T: record; begin CompressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; data: IntPtr) := CompressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; data: pointer) := z_CompressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - - public z_CompressedTextureSubImage2D := GetGLFuncOrNil&('glCompressedTextureSubImage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; data: &Array) := CompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; var data: T); where T: record; begin CompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; data: IntPtr) := CompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2D(texture: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; data: pointer) := z_CompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, data); - - public z_CompressedTextureSubImage1D := GetGLFuncOrNil&('glCompressedTextureSubImage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1D(texture: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; data: &Array) := CompressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1D(texture: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; var data: T); where T: record; begin CompressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1D(texture: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; data: IntPtr) := CompressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1D(texture: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; data: pointer) := z_CompressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data); - - public z_CompressedTexSubImage3D := GetGLFuncOrNil&('glCompressedTexSubImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; data: &Array) := CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; var data: T); where T: record; begin CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; data: IntPtr) := CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; imageSize: Int32; data: pointer) := z_CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - - public z_CompressedTexSubImage2D := GetGLFuncOrNil&('glCompressedTexSubImage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; data: &Array) := CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; var data: T); where T: record; begin CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; data: IntPtr) := CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2D(target: TextureBindTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DataFormat; imageSize: Int32; data: pointer) := z_CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); - - public z_CompressedTexSubImage1D := GetGLFuncOrNil&('glCompressedTexSubImage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; data: &Array) := CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; var data: T); where T: record; begin CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; data: IntPtr) := CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1D(target: TextureBindTarget; level: Int32; xoffset: Int32; width: Int32; format: DataFormat; imageSize: Int32; data: pointer) := z_CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); - - public z_CompressedTexImage3D := GetGLFuncOrNil&('glCompressedTexImage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: &Array) := CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; var data: T); where T: record; begin CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: IntPtr) := CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); - - public z_CompressedTexImage2D := GetGLFuncOrNil&('glCompressedTexImage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; data: &Array) := CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; var data: T); where T: record; begin CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; data: IntPtr) := CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); - - public z_CompressedTexImage1D := GetGLFuncOrNil&('glCompressedTexImage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; imageSize: Int32; data: &Array) := CompressedTexImage1D(target, level, internalformat, width, border, imageSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; imageSize: Int32; var data: T); where T: record; begin CompressedTexImage1D(target, level, internalformat, width, border, imageSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; imageSize: Int32; data: IntPtr) := CompressedTexImage1D(target, level, internalformat, width, border, imageSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1D(target: TextureBindTarget; level: Int32; internalformat: InternalDataFormat; width: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); - - {$endregion 8.7 - Compressed Texture Images} - - {$region 8.8 - Multisample Textures} - - public z_TexImage3DMultisample := GetGLFuncOrNil&('glTexImage3DMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DMultisample(target: TextureBindTarget; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean) := z_TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); - - public z_TexImage2DMultisample := GetGLFuncOrNil&('glTexImage2DMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2DMultisample(target: TextureBindTarget; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; fixedsamplelocations: boolean) := z_TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); - - {$endregion 8.8 - Multisample Textures} - - {$region 8.9 - Buffer Textures} - - public z_TextureBufferRange := GetGLFuncOrNil&('glTextureBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBufferRange(texture: TextureName; internalformat: InternalDataFormat; buffer: BufferName; offset: IntPtr; size: UIntPtr) := z_TextureBufferRange(texture, internalformat, buffer, offset, size); - - public z_TextureBuffer := GetGLFuncOrNil&('glTextureBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBuffer(texture: TextureName; internalformat: InternalDataFormat; buffer: BufferName) := z_TextureBuffer(texture, internalformat, buffer); - - public z_TexBufferRange := GetGLFuncOrNil&('glTexBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferRange(target: TextureBindTarget; internalformat: InternalDataFormat; buffer: BufferName; offset: IntPtr; size: UIntPtr) := z_TexBufferRange(target, internalformat, buffer, offset, size); - - public z_TexBuffer := GetGLFuncOrNil&('glTexBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBuffer(target: TextureBindTarget; internalformat: InternalDataFormat; buffer: BufferName) := z_TexBuffer(target, internalformat, buffer); - - {$endregion 8.9 - Buffer Textures} - - {$region 8.10 - Texture Parameters} - - public z_TextureParameteriv := GetGLFuncOrNil&('glTextureParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: Int32) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: DepthStencilMode) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: TextureCompareMode) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: ActivationFunc) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: PixelFilterMode) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: SwizzleMode) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; var param: PixelWrapMode) := TextureParameteriv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: TextureName; pname: TextureInfoType; param: pointer) := z_TextureParameteriv(texture, pname, param); - - public z_TextureParameterIuiv := GetGLFuncOrNil&('glTextureParameterIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: UInt32) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: DepthStencilMode) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: TextureCompareMode) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: ActivationFunc) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: PixelFilterMode) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: SwizzleMode) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: PixelWrapMode) := TextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: TextureName; pname: TextureInfoType; ¶ms: pointer) := z_TextureParameterIuiv(texture, pname, ¶ms); - - public z_TextureParameterIiv := GetGLFuncOrNil&('glTextureParameterIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIiv(texture: TextureName; pname: TextureInfoType; var ¶ms: Int32) := TextureParameterIiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIiv(texture: TextureName; pname: TextureInfoType; ¶ms: pointer) := z_TextureParameterIiv(texture, pname, ¶ms); - - public z_TextureParameteri := GetGLFuncOrNil&('glTextureParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: DepthStencilMode) := TextureParameteri(texture, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: TextureCompareMode) := TextureParameteri(texture, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: ActivationFunc) := TextureParameteri(texture, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: PixelFilterMode) := TextureParameteri(texture, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: SwizzleMode) := TextureParameteri(texture, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: PixelWrapMode) := TextureParameteri(texture, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: TextureName; pname: TextureInfoType; param: Int32) := z_TextureParameteri(texture, pname, param); - - public z_TextureParameterfv := GetGLFuncOrNil&('glTextureParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfv(texture: TextureName; pname: TextureInfoType; var param: single) := TextureParameterfv(texture, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfv(texture: TextureName; pname: TextureInfoType; param: pointer) := z_TextureParameterfv(texture, pname, param); - - public z_TextureParameterf := GetGLFuncOrNil&('glTextureParameterf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterf(texture: TextureName; pname: TextureInfoType; param: single) := z_TextureParameterf(texture, pname, param); - - private static procedure _TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer); external 'opengl32.dll' name 'glTexParameteriv'; - public static z_TexParameteriv := _TexParameteriv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: Int32) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: DepthStencilMode) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: TextureCompareMode) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: ActivationFunc) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelFilterMode) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: SwizzleMode) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelWrapMode) := TexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_TexParameteriv(target, pname, ¶ms); - - public z_TexParameterIuiv := GetGLFuncOrNil&('glTexParameterIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: UInt32) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: DepthStencilMode) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: TextureCompareMode) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: ActivationFunc) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelFilterMode) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: SwizzleMode) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelWrapMode) := TexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_TexParameterIuiv(target, pname, ¶ms); - - public z_TexParameterIiv := GetGLFuncOrNil&('glTexParameterIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: Int32) := TexParameterIiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIiv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_TexParameterIiv(target, pname, ¶ms); - - private static procedure _TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: Int32); external 'opengl32.dll' name 'glTexParameteri'; - public static z_TexParameteri := _TexParameteri; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: DepthStencilMode) := TexParameteri(target, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: TextureCompareMode) := TexParameteri(target, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: ActivationFunc) := TexParameteri(target, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: PixelFilterMode) := TexParameteri(target, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: SwizzleMode) := TexParameteri(target, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: PixelWrapMode) := TexParameteri(target, pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureBindTarget; pname: TextureInfoType; param: Int32) := z_TexParameteri(target, pname, param); - - private static procedure _TexParameterfv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer); external 'opengl32.dll' name 'glTexParameterfv'; - public static z_TexParameterfv := _TexParameterfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterfv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: single) := TexParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterfv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_TexParameterfv(target, pname, ¶ms); - - private static procedure _TexParameterf(target: TextureBindTarget; pname: TextureInfoType; param: single); external 'opengl32.dll' name 'glTexParameterf'; - public static z_TexParameterf := _TexParameterf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterf(target: TextureBindTarget; pname: TextureInfoType; param: single) := z_TexParameterf(target, pname, param); - - {$endregion 8.10 - Texture Parameters} - - {$region 8.11 - Texture Queries} - - {$region 8.11.2 - Texture Parameter Queries} - - public z_GetTextureParameteriv := GetGLFuncOrNil&('glGetTextureParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: Int32) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: DepthStencilMode) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: TextureCompareMode) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: ActivationFunc) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: PixelFilterMode) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: SwizzleMode) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; var ¶ms: PixelWrapMode) := GetTextureParameteriv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: TextureName; pname: TextureInfoType; ¶ms: pointer) := z_GetTextureParameteriv(texture, pname, ¶ms); - - public z_GetTextureParameterIuiv := GetGLFuncOrNil&('glGetTextureParameterIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: UInt32) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: DepthStencilMode) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: TextureCompareMode) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: ActivationFunc) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: PixelFilterMode) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: SwizzleMode) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; var ¶ms: PixelWrapMode) := GetTextureParameterIuiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: TextureName; pname: TextureInfoType; ¶ms: pointer) := z_GetTextureParameterIuiv(texture, pname, ¶ms); - - public z_GetTextureParameterIiv := GetGLFuncOrNil&('glGetTextureParameterIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIiv(texture: TextureName; pname: TextureInfoType; var ¶ms: Int32) := GetTextureParameterIiv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIiv(texture: TextureName; pname: TextureInfoType; ¶ms: pointer) := z_GetTextureParameterIiv(texture, pname, ¶ms); - - public z_GetTextureParameterfv := GetGLFuncOrNil&('glGetTextureParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfv(texture: TextureName; pname: TextureInfoType; var ¶ms: single) := GetTextureParameterfv(texture, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfv(texture: TextureName; pname: TextureInfoType; ¶ms: pointer) := z_GetTextureParameterfv(texture, pname, ¶ms); - - private static procedure _GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexParameteriv'; - public static z_GetTexParameteriv := _GetTexParameteriv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: Int32) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: DepthStencilMode) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: TextureCompareMode) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: ActivationFunc) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelFilterMode) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: SwizzleMode) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelWrapMode) := GetTexParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_GetTexParameteriv(target, pname, ¶ms); - - public z_GetTexParameterIuiv := GetGLFuncOrNil&('glGetTexParameterIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: UInt32) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: DepthStencilMode) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: TextureCompareMode) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: ActivationFunc) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelFilterMode) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: SwizzleMode) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: PixelWrapMode) := GetTexParameterIuiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_GetTexParameterIuiv(target, pname, ¶ms); - - public z_GetTexParameterIiv := GetGLFuncOrNil&('glGetTexParameterIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIiv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: Int32) := GetTexParameterIiv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIiv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_GetTexParameterIiv(target, pname, ¶ms); - - private static procedure _GetTexParameterfv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexParameterfv'; - public static z_GetTexParameterfv := _GetTexParameterfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterfv(target: TextureBindTarget; pname: TextureInfoType; var ¶ms: single) := GetTexParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterfv(target: TextureBindTarget; pname: TextureInfoType; ¶ms: pointer) := z_GetTexParameterfv(target, pname, ¶ms); - - {$endregion 8.11.2 - Texture Parameter Queries} - - {$region 8.11.3 - Texture Level Parameter Queries} - - public z_GetTextureLevelParameteriv := GetGLFuncOrNil&('glGetTextureLevelParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: TextureName; level: Int32; pname: TextureInfoType; var ¶ms: Int32) := GetTextureLevelParameteriv(texture, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: TextureName; level: Int32; pname: TextureInfoType; var ¶ms: DataType) := GetTextureLevelParameteriv(texture, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: TextureName; level: Int32; pname: TextureInfoType; var ¶ms: boolean) := GetTextureLevelParameteriv(texture, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: TextureName; level: Int32; pname: TextureInfoType; var ¶ms: InternalDataFormat) := GetTextureLevelParameteriv(texture, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: TextureName; level: Int32; pname: TextureInfoType; ¶ms: pointer) := z_GetTextureLevelParameteriv(texture, level, pname, ¶ms); - - public z_GetTextureLevelParameterfv := GetGLFuncOrNil&('glGetTextureLevelParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfv(texture: TextureName; level: Int32; pname: TextureInfoType; var ¶ms: single) := GetTextureLevelParameterfv(texture, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfv(texture: TextureName; level: Int32; pname: TextureInfoType; ¶ms: pointer) := z_GetTextureLevelParameterfv(texture, level, pname, ¶ms); - - private static procedure _GetTexLevelParameteriv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexLevelParameteriv'; - public static z_GetTexLevelParameteriv := _GetTexLevelParameteriv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; var ¶ms: Int32) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; var ¶ms: DataType) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; var ¶ms: boolean) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; var ¶ms: InternalDataFormat) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; ¶ms: pointer) := GetTexLevelParameteriv(target, level, pname, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; var ¶ms: Int32) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; var ¶ms: DataType) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; var ¶ms: boolean) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; var ¶ms: InternalDataFormat) := GetTexLevelParameteriv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; ¶ms: pointer) := z_GetTexLevelParameteriv(target, level, pname, ¶ms); - - private static procedure _GetTexLevelParameterfv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexLevelParameterfv'; - public static z_GetTexLevelParameterfv := _GetTexLevelParameterfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; var ¶ms: single) := GetTexLevelParameterfv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureBindTarget; level: Int32; pname: TextureInfoType; ¶ms: pointer) := GetTexLevelParameterfv(target, level, pname, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; var ¶ms: single) := GetTexLevelParameterfv(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureCubeSide; level: Int32; pname: TextureInfoType; ¶ms: pointer) := z_GetTexLevelParameterfv(target, level, pname, ¶ms); - - {$endregion 8.11.3 - Texture Level Parameter Queries} - - {$region 8.11.4 - Texture Image Queries} - - public z_GetTextureSubImage := GetGLFuncOrNil&('glGetTextureSubImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: &Array) := GetTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; bufSize: Int32; var pixels: T); where T: record; begin GetTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, bufSize, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: IntPtr) := GetTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, bufSize, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: pointer) := z_GetTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, bufSize, pixels); - - public z_GetTextureImage := GetGLFuncOrNil&('glGetTextureImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: &Array) := GetTextureImage(texture, level, format, &type, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; var pixels: T); where T: record; begin GetTextureImage(texture, level, format, &type, bufSize, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: IntPtr) := GetTextureImage(texture, level, format, &type, bufSize, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: pointer) := z_GetTextureImage(texture, level, format, &type, bufSize, pixels); - - private static procedure _GetTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; pixels: pointer); external 'opengl32.dll' name 'glGetTexImage'; - public static z_GetTexImage := _GetTexImage; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; pixels: &Array) := GetTexImage(target, level, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin GetTexImage(target, level, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := GetTexImage(target, level, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_GetTexImage(target, level, format, &type, pixels); - - public z_GetnTexImage := GetGLFuncOrNil&('glGetnTexImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: &Array) := GetnTexImage(target, level, format, &type, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; var pixels: T); where T: record; begin GetnTexImage(target, level, format, &type, bufSize, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: IntPtr) := GetnTexImage(target, level, format, &type, bufSize, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImage(target: TextureBindTarget; level: Int32; format: DataFormat; &type: DataType; bufSize: Int32; pixels: pointer) := z_GetnTexImage(target, level, format, &type, bufSize, pixels); - - public z_GetnCompressedTexImage := GetGLFuncOrNil&('glGetnCompressedTexImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImage(target: TextureBindTarget; lod: Int32; bufSize: Int32; pixels: &Array) := GetnCompressedTexImage(target, lod, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImage(target: TextureBindTarget; lod: Int32; bufSize: Int32; var pixels: T); where T: record; begin GetnCompressedTexImage(target, lod, bufSize, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImage(target: TextureBindTarget; lod: Int32; bufSize: Int32; pixels: IntPtr) := GetnCompressedTexImage(target, lod, bufSize, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImage(target: TextureBindTarget; lod: Int32; bufSize: Int32; pixels: pointer) := z_GetnCompressedTexImage(target, lod, bufSize, pixels); - - public z_GetCompressedTextureSubImage := GetGLFuncOrNil&('glGetCompressedTextureSubImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; bufSize: Int32; pixels: &Array) := GetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; bufSize: Int32; var pixels: T); where T: record; begin GetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; bufSize: Int32; pixels: IntPtr) := GetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; bufSize: Int32; pixels: pointer) := z_GetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels); - - public z_GetCompressedTextureImage := GetGLFuncOrNil&('glGetCompressedTextureImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImage(texture: TextureName; level: Int32; bufSize: Int32; pixels: &Array) := GetCompressedTextureImage(texture, level, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImage(texture: TextureName; level: Int32; bufSize: Int32; var pixels: T); where T: record; begin GetCompressedTextureImage(texture, level, bufSize, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImage(texture: TextureName; level: Int32; bufSize: Int32; pixels: IntPtr) := GetCompressedTextureImage(texture, level, bufSize, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImage(texture: TextureName; level: Int32; bufSize: Int32; pixels: pointer) := z_GetCompressedTextureImage(texture, level, bufSize, pixels); - - public z_GetCompressedTexImage := GetGLFuncOrNil&('glGetCompressedTexImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImage(target: TextureBindTarget; level: Int32; img: &Array) := GetCompressedTexImage(target, level, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(img,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImage(target: TextureBindTarget; level: Int32; var img: T); where T: record; begin GetCompressedTexImage(target, level, @img); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImage(target: TextureBindTarget; level: Int32; img: IntPtr) := GetCompressedTexImage(target, level, pointer(img)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImage(target: TextureBindTarget; level: Int32; img: pointer) := z_GetCompressedTexImage(target, level, img); - - {$endregion 8.11.4 - Texture Image Queries} - - {$endregion 8.11 - Texture Queries} - - {$region 8.14 - Texture Minification} - - {$region 8.14.4 - Manual Mipmap Generation} - - public z_GenerateTextureMipmap := GetGLFuncOrNil&('glGenerateTextureMipmap'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateTextureMipmap(texture: TextureName) := z_GenerateTextureMipmap(texture); - - public z_GenerateMipmap := GetGLFuncOrNil&('glGenerateMipmap'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMipmap(target: TextureBindTarget) := z_GenerateMipmap(target); - - {$endregion 8.14.4 - Manual Mipmap Generation} - - {$endregion 8.14 - Texture Minification} - - {$region 8.18 - Texture Views} - - public z_TextureView := GetGLFuncOrNil&('glTextureView'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureView(texture: TextureName; target: TextureBindTarget; origtexture: TextureName; internalformat: InternalDataFormat; minlevel: UInt32; numlevels: UInt32; minlayer: UInt32; numlayers: UInt32) := z_TextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); - - {$endregion 8.18 - Texture Views} - - {$region 8.19 - Immutable-Format Texture Images} - - public z_TextureStorage3DMultisample := GetGLFuncOrNil&('glTextureStorage3DMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3DMultisample(texture: TextureName; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean) := z_TextureStorage3DMultisample(texture, samples, internalformat, width, height, depth, fixedsamplelocations); - - public z_TextureStorage3D := GetGLFuncOrNil&('glTextureStorage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3D(texture: TextureName; levels: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32) := z_TextureStorage3D(texture, levels, internalformat, width, height, depth); - - public z_TextureStorage2DMultisample := GetGLFuncOrNil&('glTextureStorage2DMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2DMultisample(texture: TextureName; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; fixedsamplelocations: boolean) := z_TextureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations); - - public z_TextureStorage2D := GetGLFuncOrNil&('glTextureStorage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2D(texture: TextureName; levels: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32) := z_TextureStorage2D(texture, levels, internalformat, width, height); - - public z_TextureStorage1D := GetGLFuncOrNil&('glTextureStorage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage1D(texture: TextureName; levels: Int32; internalformat: InternalDataFormat; width: Int32) := z_TextureStorage1D(texture, levels, internalformat, width); - - public z_TexStorage3DMultisample := GetGLFuncOrNil&('glTexStorage3DMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage3DMultisample(target: TextureBindTarget; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean) := z_TexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); - - public z_TexStorage3D := GetGLFuncOrNil&('glTexStorage3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage3D(target: TextureBindTarget; levels: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; depth: Int32) := z_TexStorage3D(target, levels, internalformat, width, height, depth); - - public z_TexStorage2DMultisample := GetGLFuncOrNil&('glTexStorage2DMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage2DMultisample(target: TextureBindTarget; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32; fixedsamplelocations: boolean) := z_TexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); - - public z_TexStorage2D := GetGLFuncOrNil&('glTexStorage2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage2D(target: TextureBindTarget; levels: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32) := z_TexStorage2D(target, levels, internalformat, width, height); - - public z_TexStorage1D := GetGLFuncOrNil&('glTexStorage1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage1D(target: TextureBindTarget; levels: Int32; internalformat: InternalDataFormat; width: Int32) := z_TexStorage1D(target, levels, internalformat, width); - - {$endregion 8.19 - Immutable-Format Texture Images} - - {$region 8.20 - Invalidating Texture Image Data} - - public z_InvalidateTexSubImage := GetGLFuncOrNil&('glInvalidateTexSubImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateTexSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32) := z_InvalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth); - - public z_InvalidateTexImage := GetGLFuncOrNil&('glInvalidateTexImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateTexImage(texture: TextureName; level: Int32) := z_InvalidateTexImage(texture, level); - - {$endregion 8.20 - Invalidating Texture Image Data} - - {$region 8.21 - Clearing Texture Image Data} - - public z_ClearTexSubImage := GetGLFuncOrNil&('glClearTexSubImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; data: &Array) := ClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; var data: T); where T: record; begin ClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; data: IntPtr) := ClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DataFormat; &type: DataType; data: pointer) := z_ClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, data); - - public z_ClearTexImage := GetGLFuncOrNil&('glClearTexImage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; data: &Array) := ClearTexImage(texture, level, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; var data: T); where T: record; begin ClearTexImage(texture, level, format, &type, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; data: IntPtr) := ClearTexImage(texture, level, format, &type, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexImage(texture: TextureName; level: Int32; format: DataFormat; &type: DataType; data: pointer) := z_ClearTexImage(texture, level, format, &type, data); - - {$endregion 8.21 - Clearing Texture Image Data} - - {$region 8.26 - Texture Image Loads and Stores} - - public z_BindImageTextures := GetGLFuncOrNil&('glBindImageTextures'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextures(first: UInt32; count: Int32; textures: array of TextureName) := BindImageTextures(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextures(first: UInt32; count: Int32; var textures: TextureName) := BindImageTextures(first, count, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextures(first: UInt32; count: Int32; textures: pointer) := z_BindImageTextures(first, count, textures); - - public z_BindImageTexture := GetGLFuncOrNil&('glBindImageTexture'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTexture(&unit: TextureUnitId; texture: TextureName; level: Int32; layered: boolean; layer: Int32; access: AccessType; format: DataFormat) := z_BindImageTexture(&unit, texture, level, layered, layer, access, format); - - {$endregion 8.26 - Texture Image Loads and Stores} - - {$endregion 8 - Textures and Samplers} - - {$region 9 - Framebuffers and Framebuffer Objects} - - {$region 9.2 - Binding and Managing Framebuffer Objects} - - public z_IsFramebuffer := GetGLFuncOrNil&('glIsFramebuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFramebuffer(framebuffer: FramebufferName): boolean := z_IsFramebuffer(framebuffer); - - public z_GenFramebuffers := GetGLFuncOrNil&('glGenFramebuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffers(n: Int32; framebuffers: array of FramebufferName) := GenFramebuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffers(n: Int32; var framebuffers: FramebufferName) := GenFramebuffers(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffers(n: Int32; framebuffers: pointer) := z_GenFramebuffers(n, framebuffers); - - public z_DeleteFramebuffers := GetGLFuncOrNil&('glDeleteFramebuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffers(n: Int32; framebuffers: array of FramebufferName) := DeleteFramebuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffers(n: Int32; var framebuffers: FramebufferName) := DeleteFramebuffers(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffers(n: Int32; framebuffers: pointer) := z_DeleteFramebuffers(n, framebuffers); - - public z_CreateFramebuffers := GetGLFuncOrNil&('glCreateFramebuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateFramebuffers(n: Int32; framebuffers: array of FramebufferName) := CreateFramebuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateFramebuffers(n: Int32; var framebuffers: FramebufferName) := CreateFramebuffers(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateFramebuffers(n: Int32; framebuffers: pointer) := z_CreateFramebuffers(n, framebuffers); - - public z_BindFramebuffer := GetGLFuncOrNil&('glBindFramebuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFramebuffer(target: FramebufferBindTarget; framebuffer: FramebufferName) := z_BindFramebuffer(target, framebuffer); - - {$region 9.2.1 - Framebuffer Object Parameters} - - public z_NamedFramebufferParameteri := GetGLFuncOrNil&('glNamedFramebufferParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferParameteri(framebuffer: FramebufferName; pname: FramebufferInfoType; param: Int32) := z_NamedFramebufferParameteri(framebuffer, pname, param); - - public z_FramebufferParameteri := GetGLFuncOrNil&('glFramebufferParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferParameteri(target: FramebufferBindTarget; pname: FramebufferInfoType; param: Int32) := z_FramebufferParameteri(target, pname, param); - - {$endregion 9.2.1 - Framebuffer Object Parameters} - - {$region 9.2.3 - Framebuffer Object Queries} - - public z_GetNamedFramebufferParameteriv := GetGLFuncOrNil&('glGetNamedFramebufferParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameteriv(framebuffer: FramebufferName; pname: FramebufferInfoType; var param: Int32) := GetNamedFramebufferParameteriv(framebuffer, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameteriv(framebuffer: FramebufferName; pname: FramebufferInfoType; var param: boolean) := GetNamedFramebufferParameteriv(framebuffer, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameteriv(framebuffer: FramebufferName; pname: FramebufferInfoType; param: pointer) := z_GetNamedFramebufferParameteriv(framebuffer, pname, param); - - public z_GetNamedFramebufferAttachmentParameteriv := GetGLFuncOrNil&('glGetNamedFramebufferAttachmentParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: Int32) := GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: FramebufferAttachmentObjectType) := GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: UInt32) := GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: DataType) := GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: ColorEncodingMode) := GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; ¶ms: pointer) := z_GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, ¶ms); - - public z_GetFramebufferParameteriv := GetGLFuncOrNil&('glGetFramebufferParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameteriv(target: FramebufferBindTarget; pname: FramebufferInfoType; var ¶ms: Int32) := GetFramebufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameteriv(target: FramebufferBindTarget; pname: FramebufferInfoType; var ¶ms: boolean) := GetFramebufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameteriv(target: FramebufferBindTarget; pname: FramebufferInfoType; ¶ms: pointer) := z_GetFramebufferParameteriv(target, pname, ¶ms); - - public z_GetFramebufferAttachmentParameteriv := GetGLFuncOrNil&('glGetFramebufferAttachmentParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: Int32) := GetFramebufferAttachmentParameteriv(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: FramebufferAttachmentObjectType) := GetFramebufferAttachmentParameteriv(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: UInt32) := GetFramebufferAttachmentParameteriv(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: DataType) := GetFramebufferAttachmentParameteriv(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; var ¶ms: ColorEncodingMode) := GetFramebufferAttachmentParameteriv(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; pname: FramebufferAttachmentInfoType; ¶ms: pointer) := z_GetFramebufferAttachmentParameteriv(target, attachment, pname, ¶ms); - - {$endregion 9.2.3 - Framebuffer Object Queries} - - {$region 9.2.4 - Renderbuffer Objects} - - public z_RenderbufferStorageMultisample := GetGLFuncOrNil&('glRenderbufferStorageMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisample(target: RenderbufferBindTarget; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32) := z_RenderbufferStorageMultisample(target, samples, internalformat, width, height); - - public z_RenderbufferStorage := GetGLFuncOrNil&('glRenderbufferStorage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorage(target: RenderbufferBindTarget; internalformat: InternalDataFormat; width: Int32; height: Int32) := z_RenderbufferStorage(target, internalformat, width, height); - - public z_NamedRenderbufferStorageMultisample := GetGLFuncOrNil&('glNamedRenderbufferStorageMultisample'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisample(renderbuffer: RenderbufferName; samples: Int32; internalformat: InternalDataFormat; width: Int32; height: Int32) := z_NamedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height); - - public z_NamedRenderbufferStorage := GetGLFuncOrNil&('glNamedRenderbufferStorage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorage(renderbuffer: RenderbufferName; internalformat: InternalDataFormat; width: Int32; height: Int32) := z_NamedRenderbufferStorage(renderbuffer, internalformat, width, height); - - public z_IsRenderbuffer := GetGLFuncOrNil&('glIsRenderbuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsRenderbuffer(renderbuffer: RenderbufferName): boolean := z_IsRenderbuffer(renderbuffer); - - public z_GenRenderbuffers := GetGLFuncOrNil&('glGenRenderbuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffers(n: Int32; renderbuffers: array of RenderbufferName) := GenRenderbuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffers(n: Int32; var renderbuffers: RenderbufferName) := GenRenderbuffers(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffers(n: Int32; renderbuffers: pointer) := z_GenRenderbuffers(n, renderbuffers); - - public z_DeleteRenderbuffers := GetGLFuncOrNil&('glDeleteRenderbuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffers(n: Int32; renderbuffers: array of RenderbufferName) := DeleteRenderbuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffers(n: Int32; var renderbuffers: RenderbufferName) := DeleteRenderbuffers(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffers(n: Int32; renderbuffers: pointer) := z_DeleteRenderbuffers(n, renderbuffers); - - public z_CreateRenderbuffers := GetGLFuncOrNil&('glCreateRenderbuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateRenderbuffers(n: Int32; renderbuffers: array of RenderbufferName) := CreateRenderbuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateRenderbuffers(n: Int32; var renderbuffers: RenderbufferName) := CreateRenderbuffers(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateRenderbuffers(n: Int32; renderbuffers: pointer) := z_CreateRenderbuffers(n, renderbuffers); - - public z_BindRenderbuffer := GetGLFuncOrNil&('glBindRenderbuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindRenderbuffer(target: RenderbufferBindTarget; renderbuffer: RenderbufferName) := z_BindRenderbuffer(target, renderbuffer); - - {$endregion 9.2.4 - Renderbuffer Objects} - - {$region 9.2.6 - Renderbuffer Object Queries} - - public z_GetRenderbufferParameteriv := GetGLFuncOrNil&('glGetRenderbufferParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameteriv(target: RenderbufferBindTarget; pname: RenderbufferInfoType; var ¶ms: Int32) := GetRenderbufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameteriv(target: RenderbufferBindTarget; pname: RenderbufferInfoType; var ¶ms: InternalDataFormat) := GetRenderbufferParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameteriv(target: RenderbufferBindTarget; pname: RenderbufferInfoType; ¶ms: pointer) := z_GetRenderbufferParameteriv(target, pname, ¶ms); - - public z_GetNamedRenderbufferParameteriv := GetGLFuncOrNil&('glGetNamedRenderbufferParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameteriv(renderbuffer: RenderbufferName; pname: RenderbufferInfoType; var ¶ms: Int32) := GetNamedRenderbufferParameteriv(renderbuffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameteriv(renderbuffer: RenderbufferName; pname: RenderbufferInfoType; var ¶ms: InternalDataFormat) := GetNamedRenderbufferParameteriv(renderbuffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameteriv(renderbuffer: RenderbufferName; pname: RenderbufferInfoType; ¶ms: pointer) := z_GetNamedRenderbufferParameteriv(renderbuffer, pname, ¶ms); - - {$endregion 9.2.6 - Renderbuffer Object Queries} - - {$region 9.2.7 - Attaching Renderbuffer Images to a Framebuffer} - - public z_NamedFramebufferRenderbuffer := GetGLFuncOrNil&('glNamedFramebufferRenderbuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferRenderbuffer(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; renderbuffertarget: RenderbufferBindTarget; renderbuffer: RenderbufferName) := z_NamedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer); - - public z_FramebufferRenderbuffer := GetGLFuncOrNil&('glFramebufferRenderbuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferRenderbuffer(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; renderbuffertarget: RenderbufferBindTarget; renderbuffer: RenderbufferName) := z_FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); - - {$endregion 9.2.7 - Attaching Renderbuffer Images to a Framebuffer} - - {$region 9.2.8 - Attaching Texture Images to a Framebuffer} - - public z_NamedFramebufferTextureLayer := GetGLFuncOrNil&('glNamedFramebufferTextureLayer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureLayer(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; texture: TextureName; level: Int32; layer: Int32) := z_NamedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer); - - public z_NamedFramebufferTexture := GetGLFuncOrNil&('glNamedFramebufferTexture'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture(framebuffer: FramebufferName; attachment: FramebufferAttachmentPoint; texture: TextureName; level: Int32) := z_NamedFramebufferTexture(framebuffer, attachment, texture, level); - - public z_FramebufferTextureLayer := GetGLFuncOrNil&('glFramebufferTextureLayer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayer(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; texture: TextureName; level: Int32; layer: Int32) := z_FramebufferTextureLayer(target, attachment, texture, level, layer); - - public z_FramebufferTexture3D := GetGLFuncOrNil&('glFramebufferTexture3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture3D(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; textarget: TextureBindTarget; texture: TextureName; level: Int32; zoffset: Int32) := FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture3D(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; textarget: TextureCubeSide; texture: TextureName; level: Int32; zoffset: Int32) := z_FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); - - public z_FramebufferTexture2D := GetGLFuncOrNil&('glFramebufferTexture2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2D(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; textarget: TextureBindTarget; texture: TextureName; level: Int32) := FramebufferTexture2D(target, attachment, textarget, texture, level); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2D(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; textarget: TextureCubeSide; texture: TextureName; level: Int32) := z_FramebufferTexture2D(target, attachment, textarget, texture, level); - - public z_FramebufferTexture1D := GetGLFuncOrNil&('glFramebufferTexture1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture1D(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; textarget: TextureBindTarget; texture: TextureName; level: Int32) := FramebufferTexture1D(target, attachment, textarget, texture, level); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture1D(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; textarget: TextureCubeSide; texture: TextureName; level: Int32) := z_FramebufferTexture1D(target, attachment, textarget, texture, level); - - public z_FramebufferTexture := GetGLFuncOrNil&('glFramebufferTexture'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture(target: FramebufferBindTarget; attachment: FramebufferAttachmentPoint; texture: TextureName; level: Int32) := z_FramebufferTexture(target, attachment, texture, level); - - {$endregion 9.2.8 - Attaching Texture Images to a Framebuffer} - - {$endregion 9.2 - Binding and Managing Framebuffer Objects} - - {$region 9.3 - Feedback Loops Between Textures and the Framebuffer} - - {$region 9.3.1 - Rendering Feedback Loops} - - public z_TextureBarrier := GetGLFuncOrNil&('glTextureBarrier'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBarrier := z_TextureBarrier; - - {$endregion 9.3.1 - Rendering Feedback Loops} - - {$endregion 9.3 - Feedback Loops Between Textures and the Framebuffer} - - {$region 9.4 - Framebuffer Completeness} - - {$region 9.4.2 - Whole Framebuffer Completeness} - - public z_CheckNamedFramebufferStatus := GetGLFuncOrNil&('glCheckNamedFramebufferStatus'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckNamedFramebufferStatus(framebuffer: FramebufferName; target: FramebufferBindTarget): ErrorCode := z_CheckNamedFramebufferStatus(framebuffer, target); - - public z_CheckFramebufferStatus := GetGLFuncOrNil&('glCheckFramebufferStatus'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckFramebufferStatus(target: FramebufferBindTarget): ErrorCode := z_CheckFramebufferStatus(target); - - {$endregion 9.4.2 - Whole Framebuffer Completeness} - - {$endregion 9.4 - Framebuffer Completeness} - - {$endregion 9 - Framebuffers and Framebuffer Objects} - - {$region 10 - Vertex Specification and Drawing Commands} - - {$region 10.1 - Primitive Types} - - {$region 10.1.15 - Separate Patches} - - public z_PatchParameteri := GetGLFuncOrNil&('glPatchParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameteri(pname: PatchMode; value: Int32) := z_PatchParameteri(pname, value); - - {$endregion 10.1.15 - Separate Patches} - - {$endregion 10.1 - Primitive Types} - - {$region 10.2 - Current Vertex Attribute Values} - - {$region 10.2.1 - Current Generic Attributes} - - public z_VertexAttribP4uiv := GetGLFuncOrNil&('glVertexAttribP4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4uiv(index: UInt32; &type: DataType; normalized: boolean; var value: UInt32) := VertexAttribP4uiv(index, &type, normalized, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4uiv(index: UInt32; &type: DataType; normalized: boolean; value: pointer) := z_VertexAttribP4uiv(index, &type, normalized, value); - - public z_VertexAttribP4ui := GetGLFuncOrNil&('glVertexAttribP4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4ui(index: UInt32; &type: DataType; normalized: boolean; value: UInt32) := z_VertexAttribP4ui(index, &type, normalized, value); - - public z_VertexAttribP3uiv := GetGLFuncOrNil&('glVertexAttribP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3uiv(index: UInt32; &type: DataType; normalized: boolean; var value: UInt32) := VertexAttribP3uiv(index, &type, normalized, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3uiv(index: UInt32; &type: DataType; normalized: boolean; value: pointer) := z_VertexAttribP3uiv(index, &type, normalized, value); - - public z_VertexAttribP3ui := GetGLFuncOrNil&('glVertexAttribP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3ui(index: UInt32; &type: DataType; normalized: boolean; value: UInt32) := z_VertexAttribP3ui(index, &type, normalized, value); - - public z_VertexAttribP2uiv := GetGLFuncOrNil&('glVertexAttribP2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2uiv(index: UInt32; &type: DataType; normalized: boolean; var value: UInt32) := VertexAttribP2uiv(index, &type, normalized, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2uiv(index: UInt32; &type: DataType; normalized: boolean; value: pointer) := z_VertexAttribP2uiv(index, &type, normalized, value); - - public z_VertexAttribP2ui := GetGLFuncOrNil&('glVertexAttribP2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2ui(index: UInt32; &type: DataType; normalized: boolean; value: UInt32) := z_VertexAttribP2ui(index, &type, normalized, value); - - public z_VertexAttribP1uiv := GetGLFuncOrNil&('glVertexAttribP1uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1uiv(index: UInt32; &type: DataType; normalized: boolean; var value: UInt32) := VertexAttribP1uiv(index, &type, normalized, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1uiv(index: UInt32; &type: DataType; normalized: boolean; value: pointer) := z_VertexAttribP1uiv(index, &type, normalized, value); - - public z_VertexAttribP1ui := GetGLFuncOrNil&('glVertexAttribP1ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1ui(index: UInt32; &type: DataType; normalized: boolean; value: UInt32) := z_VertexAttribP1ui(index, &type, normalized, value); - - public z_VertexAttribL4dv := GetGLFuncOrNil&('glVertexAttribL4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; v: array of double) := VertexAttribL4dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; var v: double) := VertexAttribL4dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; var v: Vec4d) := VertexAttribL4dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; v: pointer) := z_VertexAttribL4dv(index, v); - - public z_VertexAttribL4d := GetGLFuncOrNil&('glVertexAttribL4d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4d(index: UInt32; x: double; y: double; z: double; w: double) := z_VertexAttribL4d(index, x, y, z, w); - - public z_VertexAttribL3dv := GetGLFuncOrNil&('glVertexAttribL3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; v: array of double) := VertexAttribL3dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; var v: double) := VertexAttribL3dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; var v: Vec3d) := VertexAttribL3dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; v: pointer) := z_VertexAttribL3dv(index, v); - - public z_VertexAttribL3d := GetGLFuncOrNil&('glVertexAttribL3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3d(index: UInt32; x: double; y: double; z: double) := z_VertexAttribL3d(index, x, y, z); - - public z_VertexAttribL2dv := GetGLFuncOrNil&('glVertexAttribL2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; v: array of double) := VertexAttribL2dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; var v: double) := VertexAttribL2dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; var v: Vec2d) := VertexAttribL2dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; v: pointer) := z_VertexAttribL2dv(index, v); - - public z_VertexAttribL2d := GetGLFuncOrNil&('glVertexAttribL2d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2d(index: UInt32; x: double; y: double) := z_VertexAttribL2d(index, x, y); - - public z_VertexAttribL1dv := GetGLFuncOrNil&('glVertexAttribL1dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; v: array of double) := VertexAttribL1dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; var v: double) := VertexAttribL1dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; var v: Vec1d) := VertexAttribL1dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; v: pointer) := z_VertexAttribL1dv(index, v); - - public z_VertexAttribL1d := GetGLFuncOrNil&('glVertexAttribL1d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1d(index: UInt32; x: double) := z_VertexAttribL1d(index, x); - - public z_VertexAttribI4usv := GetGLFuncOrNil&('glVertexAttribI4usv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; v: array of UInt16) := VertexAttribI4usv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; var v: UInt16) := VertexAttribI4usv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; var v: Vec4us) := VertexAttribI4usv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; v: pointer) := z_VertexAttribI4usv(index, v); - - public z_VertexAttribI4uiv := GetGLFuncOrNil&('glVertexAttribI4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; v: array of UInt32) := VertexAttribI4uiv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; var v: UInt32) := VertexAttribI4uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; var v: Vec4ui) := VertexAttribI4uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; v: pointer) := z_VertexAttribI4uiv(index, v); - - public z_VertexAttribI4ui := GetGLFuncOrNil&('glVertexAttribI4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ui(index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32) := z_VertexAttribI4ui(index, x, y, z, w); - - public z_VertexAttribI4ubv := GetGLFuncOrNil&('glVertexAttribI4ubv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; v: array of Byte) := VertexAttribI4ubv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; var v: Byte) := VertexAttribI4ubv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; var v: Vec4ub) := VertexAttribI4ubv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; v: pointer) := z_VertexAttribI4ubv(index, v); - - public z_VertexAttribI4sv := GetGLFuncOrNil&('glVertexAttribI4sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; v: array of Int16) := VertexAttribI4sv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; var v: Int16) := VertexAttribI4sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; var v: Vec4s) := VertexAttribI4sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; v: pointer) := z_VertexAttribI4sv(index, v); - - public z_VertexAttribI4iv := GetGLFuncOrNil&('glVertexAttribI4iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; v: array of Int32) := VertexAttribI4iv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; var v: Int32) := VertexAttribI4iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; var v: Vec4i) := VertexAttribI4iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; v: pointer) := z_VertexAttribI4iv(index, v); - - public z_VertexAttribI4i := GetGLFuncOrNil&('glVertexAttribI4i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4i(index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32) := z_VertexAttribI4i(index, x, y, z, w); - - public z_VertexAttribI4bv := GetGLFuncOrNil&('glVertexAttribI4bv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; v: array of SByte) := VertexAttribI4bv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; var v: SByte) := VertexAttribI4bv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; var v: Vec4b) := VertexAttribI4bv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; v: pointer) := z_VertexAttribI4bv(index, v); - - public z_VertexAttribI3uiv := GetGLFuncOrNil&('glVertexAttribI3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; v: array of UInt32) := VertexAttribI3uiv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; var v: UInt32) := VertexAttribI3uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; var v: Vec3ui) := VertexAttribI3uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; v: pointer) := z_VertexAttribI3uiv(index, v); - - public z_VertexAttribI3ui := GetGLFuncOrNil&('glVertexAttribI3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3ui(index: UInt32; x: UInt32; y: UInt32; z: UInt32) := z_VertexAttribI3ui(index, x, y, z); - - public z_VertexAttribI3iv := GetGLFuncOrNil&('glVertexAttribI3iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; v: array of Int32) := VertexAttribI3iv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; var v: Int32) := VertexAttribI3iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; var v: Vec3i) := VertexAttribI3iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; v: pointer) := z_VertexAttribI3iv(index, v); - - public z_VertexAttribI3i := GetGLFuncOrNil&('glVertexAttribI3i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3i(index: UInt32; x: Int32; y: Int32; z: Int32) := z_VertexAttribI3i(index, x, y, z); - - public z_VertexAttribI2uiv := GetGLFuncOrNil&('glVertexAttribI2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; v: array of UInt32) := VertexAttribI2uiv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; var v: UInt32) := VertexAttribI2uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; var v: Vec2ui) := VertexAttribI2uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; v: pointer) := z_VertexAttribI2uiv(index, v); - - public z_VertexAttribI2ui := GetGLFuncOrNil&('glVertexAttribI2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2ui(index: UInt32; x: UInt32; y: UInt32) := z_VertexAttribI2ui(index, x, y); - - public z_VertexAttribI2iv := GetGLFuncOrNil&('glVertexAttribI2iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; v: array of Int32) := VertexAttribI2iv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; var v: Int32) := VertexAttribI2iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; var v: Vec2i) := VertexAttribI2iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; v: pointer) := z_VertexAttribI2iv(index, v); - - public z_VertexAttribI2i := GetGLFuncOrNil&('glVertexAttribI2i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2i(index: UInt32; x: Int32; y: Int32) := z_VertexAttribI2i(index, x, y); - - public z_VertexAttribI1uiv := GetGLFuncOrNil&('glVertexAttribI1uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; v: array of UInt32) := VertexAttribI1uiv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; var v: UInt32) := VertexAttribI1uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; var v: Vec1ui) := VertexAttribI1uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; v: pointer) := z_VertexAttribI1uiv(index, v); - - public z_VertexAttribI1ui := GetGLFuncOrNil&('glVertexAttribI1ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1ui(index: UInt32; x: UInt32) := z_VertexAttribI1ui(index, x); - - public z_VertexAttribI1iv := GetGLFuncOrNil&('glVertexAttribI1iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; v: array of Int32) := VertexAttribI1iv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; var v: Int32) := VertexAttribI1iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; var v: Vec1i) := VertexAttribI1iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; v: pointer) := z_VertexAttribI1iv(index, v); - - public z_VertexAttribI1i := GetGLFuncOrNil&('glVertexAttribI1i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1i(index: UInt32; x: Int32) := z_VertexAttribI1i(index, x); - - public z_VertexAttrib4usv := GetGLFuncOrNil&('glVertexAttrib4usv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; v: array of UInt16) := VertexAttrib4usv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; var v: UInt16) := VertexAttrib4usv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; var v: Vec4us) := VertexAttrib4usv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; v: pointer) := z_VertexAttrib4usv(index, v); - - public z_VertexAttrib4uiv := GetGLFuncOrNil&('glVertexAttrib4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; v: array of UInt32) := VertexAttrib4uiv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; var v: UInt32) := VertexAttrib4uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; var v: Vec4ui) := VertexAttrib4uiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; v: pointer) := z_VertexAttrib4uiv(index, v); - - public z_VertexAttrib4ubv := GetGLFuncOrNil&('glVertexAttrib4ubv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; v: array of Byte) := VertexAttrib4ubv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; var v: Byte) := VertexAttrib4ubv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; var v: Vec4ub) := VertexAttrib4ubv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; v: pointer) := z_VertexAttrib4ubv(index, v); - - public z_VertexAttrib4sv := GetGLFuncOrNil&('glVertexAttrib4sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; v: array of Int16) := VertexAttrib4sv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; var v: Int16) := VertexAttrib4sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; var v: Vec4s) := VertexAttrib4sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; v: pointer) := z_VertexAttrib4sv(index, v); - - public z_VertexAttrib4s := GetGLFuncOrNil&('glVertexAttrib4s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4s(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16) := z_VertexAttrib4s(index, x, y, z, w); - - public z_VertexAttrib4Nusv := GetGLFuncOrNil&('glVertexAttrib4Nusv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; v: array of UInt16) := VertexAttrib4Nusv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; var v: UInt16) := VertexAttrib4Nusv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; var v: Vec4us) := VertexAttrib4Nusv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; v: pointer) := z_VertexAttrib4Nusv(index, v); - - public z_VertexAttrib4Nuiv := GetGLFuncOrNil&('glVertexAttrib4Nuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; v: array of UInt32) := VertexAttrib4Nuiv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; var v: UInt32) := VertexAttrib4Nuiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; var v: Vec4ui) := VertexAttrib4Nuiv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; v: pointer) := z_VertexAttrib4Nuiv(index, v); - - public z_VertexAttrib4Nubv := GetGLFuncOrNil&('glVertexAttrib4Nubv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; v: array of Byte) := VertexAttrib4Nubv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; var v: Byte) := VertexAttrib4Nubv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; var v: Vec4ub) := VertexAttrib4Nubv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; v: pointer) := z_VertexAttrib4Nubv(index, v); - - public z_VertexAttrib4Nub := GetGLFuncOrNil&('glVertexAttrib4Nub'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nub(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte) := z_VertexAttrib4Nub(index, x, y, z, w); - - public z_VertexAttrib4Nsv := GetGLFuncOrNil&('glVertexAttrib4Nsv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; v: array of Int16) := VertexAttrib4Nsv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; var v: Int16) := VertexAttrib4Nsv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; var v: Vec4s) := VertexAttrib4Nsv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; v: pointer) := z_VertexAttrib4Nsv(index, v); - - public z_VertexAttrib4Niv := GetGLFuncOrNil&('glVertexAttrib4Niv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; v: array of Int32) := VertexAttrib4Niv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; var v: Int32) := VertexAttrib4Niv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; var v: Vec4i) := VertexAttrib4Niv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; v: pointer) := z_VertexAttrib4Niv(index, v); - - public z_VertexAttrib4Nbv := GetGLFuncOrNil&('glVertexAttrib4Nbv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; v: array of SByte) := VertexAttrib4Nbv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; var v: SByte) := VertexAttrib4Nbv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; var v: Vec4b) := VertexAttrib4Nbv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; v: pointer) := z_VertexAttrib4Nbv(index, v); - - public z_VertexAttrib4iv := GetGLFuncOrNil&('glVertexAttrib4iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; v: array of Int32) := VertexAttrib4iv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; var v: Int32) := VertexAttrib4iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; var v: Vec4i) := VertexAttrib4iv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; v: pointer) := z_VertexAttrib4iv(index, v); - - public z_VertexAttrib4fv := GetGLFuncOrNil&('glVertexAttrib4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; v: array of single) := VertexAttrib4fv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; var v: single) := VertexAttrib4fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; var v: Vec4f) := VertexAttrib4fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; v: pointer) := z_VertexAttrib4fv(index, v); - - public z_VertexAttrib4f := GetGLFuncOrNil&('glVertexAttrib4f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4f(index: UInt32; x: single; y: single; z: single; w: single) := z_VertexAttrib4f(index, x, y, z, w); - - public z_VertexAttrib4dv := GetGLFuncOrNil&('glVertexAttrib4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; v: array of double) := VertexAttrib4dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; var v: double) := VertexAttrib4dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; var v: Vec4d) := VertexAttrib4dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; v: pointer) := z_VertexAttrib4dv(index, v); - - public z_VertexAttrib4d := GetGLFuncOrNil&('glVertexAttrib4d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4d(index: UInt32; x: double; y: double; z: double; w: double) := z_VertexAttrib4d(index, x, y, z, w); - - public z_VertexAttrib4bv := GetGLFuncOrNil&('glVertexAttrib4bv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; v: array of SByte) := VertexAttrib4bv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; var v: SByte) := VertexAttrib4bv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; var v: Vec4b) := VertexAttrib4bv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; v: pointer) := z_VertexAttrib4bv(index, v); - - public z_VertexAttrib3sv := GetGLFuncOrNil&('glVertexAttrib3sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; v: array of Int16) := VertexAttrib3sv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; var v: Int16) := VertexAttrib3sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; var v: Vec3s) := VertexAttrib3sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; v: pointer) := z_VertexAttrib3sv(index, v); - - public z_VertexAttrib3s := GetGLFuncOrNil&('glVertexAttrib3s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3s(index: UInt32; x: Int16; y: Int16; z: Int16) := z_VertexAttrib3s(index, x, y, z); - - public z_VertexAttrib3fv := GetGLFuncOrNil&('glVertexAttrib3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; v: array of single) := VertexAttrib3fv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; var v: single) := VertexAttrib3fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; var v: Vec3f) := VertexAttrib3fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; v: pointer) := z_VertexAttrib3fv(index, v); - - public z_VertexAttrib3f := GetGLFuncOrNil&('glVertexAttrib3f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3f(index: UInt32; x: single; y: single; z: single) := z_VertexAttrib3f(index, x, y, z); - - public z_VertexAttrib3dv := GetGLFuncOrNil&('glVertexAttrib3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; v: array of double) := VertexAttrib3dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; var v: double) := VertexAttrib3dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; var v: Vec3d) := VertexAttrib3dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; v: pointer) := z_VertexAttrib3dv(index, v); - - public z_VertexAttrib3d := GetGLFuncOrNil&('glVertexAttrib3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3d(index: UInt32; x: double; y: double; z: double) := z_VertexAttrib3d(index, x, y, z); - - public z_VertexAttrib2sv := GetGLFuncOrNil&('glVertexAttrib2sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; v: array of Int16) := VertexAttrib2sv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; var v: Int16) := VertexAttrib2sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; var v: Vec2s) := VertexAttrib2sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; v: pointer) := z_VertexAttrib2sv(index, v); - - public z_VertexAttrib2s := GetGLFuncOrNil&('glVertexAttrib2s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2s(index: UInt32; x: Int16; y: Int16) := z_VertexAttrib2s(index, x, y); - - public z_VertexAttrib2fv := GetGLFuncOrNil&('glVertexAttrib2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; v: array of single) := VertexAttrib2fv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; var v: single) := VertexAttrib2fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; var v: Vec2f) := VertexAttrib2fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; v: pointer) := z_VertexAttrib2fv(index, v); - - public z_VertexAttrib2f := GetGLFuncOrNil&('glVertexAttrib2f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2f(index: UInt32; x: single; y: single) := z_VertexAttrib2f(index, x, y); - - public z_VertexAttrib2dv := GetGLFuncOrNil&('glVertexAttrib2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; v: array of double) := VertexAttrib2dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; var v: double) := VertexAttrib2dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; var v: Vec2d) := VertexAttrib2dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; v: pointer) := z_VertexAttrib2dv(index, v); - - public z_VertexAttrib2d := GetGLFuncOrNil&('glVertexAttrib2d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2d(index: UInt32; x: double; y: double) := z_VertexAttrib2d(index, x, y); - - public z_VertexAttrib1sv := GetGLFuncOrNil&('glVertexAttrib1sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; v: array of Int16) := VertexAttrib1sv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; var v: Int16) := VertexAttrib1sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; var v: Vec1s) := VertexAttrib1sv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; v: pointer) := z_VertexAttrib1sv(index, v); - - public z_VertexAttrib1s := GetGLFuncOrNil&('glVertexAttrib1s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1s(index: UInt32; x: Int16) := z_VertexAttrib1s(index, x); - - public z_VertexAttrib1fv := GetGLFuncOrNil&('glVertexAttrib1fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; v: array of single) := VertexAttrib1fv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; var v: single) := VertexAttrib1fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; var v: Vec1f) := VertexAttrib1fv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; v: pointer) := z_VertexAttrib1fv(index, v); - - public z_VertexAttrib1f := GetGLFuncOrNil&('glVertexAttrib1f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1f(index: UInt32; x: single) := z_VertexAttrib1f(index, x); - - public z_VertexAttrib1dv := GetGLFuncOrNil&('glVertexAttrib1dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; v: array of double) := VertexAttrib1dv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; var v: double) := VertexAttrib1dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; var v: Vec1d) := VertexAttrib1dv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; v: pointer) := z_VertexAttrib1dv(index, v); - - public z_VertexAttrib1d := GetGLFuncOrNil&('glVertexAttrib1d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1d(index: UInt32; x: double) := z_VertexAttrib1d(index, x); - - {$endregion 10.2.1 - Current Generic Attributes} - - {$endregion 10.2 - Current Vertex Attribute Values} - - {$region 10.3 - Vertex Arrays} - - {$region 10.3.1 - Vertex Array Objects} - - public z_VertexArrayElementBuffer := GetGLFuncOrNil&('glVertexArrayElementBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayElementBuffer(vaobj: VertexArrayName; buffer: BufferName) := z_VertexArrayElementBuffer(vaobj, buffer); - - public z_IsVertexArray := GetGLFuncOrNil&('glIsVertexArray'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexArray(&array: VertexArrayName): boolean := z_IsVertexArray(&array); - - public z_GenVertexArrays := GetGLFuncOrNil&('glGenVertexArrays'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArrays(n: Int32; arrays: array of VertexArrayName) := GenVertexArrays(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArrays(n: Int32; var arrays: VertexArrayName) := GenVertexArrays(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArrays(n: Int32; arrays: pointer) := z_GenVertexArrays(n, arrays); - - public z_DeleteVertexArrays := GetGLFuncOrNil&('glDeleteVertexArrays'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArrays(n: Int32; arrays: array of VertexArrayName) := DeleteVertexArrays(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArrays(n: Int32; var arrays: VertexArrayName) := DeleteVertexArrays(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArrays(n: Int32; arrays: pointer) := z_DeleteVertexArrays(n, arrays); - - public z_CreateVertexArrays := GetGLFuncOrNil&('glCreateVertexArrays'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateVertexArrays(n: Int32; arrays: array of VertexArrayName) := CreateVertexArrays(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateVertexArrays(n: Int32; var arrays: VertexArrayName) := CreateVertexArrays(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateVertexArrays(n: Int32; arrays: pointer) := z_CreateVertexArrays(n, arrays); - - public z_BindVertexArray := GetGLFuncOrNil&('glBindVertexArray'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexArray(&array: VertexArrayName) := z_BindVertexArray(&array); - - {$endregion 10.3.1 - Vertex Array Objects} - - {$region 10.3.2 - Specifying Arrays for Generic Vertex Attributes} - - public z_VertexAttribPointer := GetGLFuncOrNil&('glVertexAttribPointer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointer(index: UInt32; size: Int32; &type: DataType; normalized: boolean; stride: Int32; _pointer: &Array) := VertexAttribPointer(index, size, &type, normalized, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointer(index: UInt32; size: Int32; &type: DataType; normalized: boolean; stride: Int32; var _pointer: T); where T: record; begin VertexAttribPointer(index, size, &type, normalized, stride, @_pointer); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointer(index: UInt32; size: Int32; &type: DataType; normalized: boolean; stride: Int32; _pointer: IntPtr) := VertexAttribPointer(index, size, &type, normalized, stride, pointer(_pointer)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointer(index: UInt32; size: Int32; &type: DataType; normalized: boolean; stride: Int32; _pointer: pointer) := z_VertexAttribPointer(index, size, &type, normalized, stride, _pointer); - - public z_VertexAttribLPointer := GetGLFuncOrNil&('glVertexAttribLPointer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; _pointer: &Array) := VertexAttribLPointer(index, size, &type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; var _pointer: T); where T: record; begin VertexAttribLPointer(index, size, &type, stride, @_pointer); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; _pointer: IntPtr) := VertexAttribLPointer(index, size, &type, stride, pointer(_pointer)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; _pointer: pointer) := z_VertexAttribLPointer(index, size, &type, stride, _pointer); - - public z_VertexAttribLFormat := GetGLFuncOrNil&('glVertexAttribLFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLFormat(attribindex: UInt32; size: Int32; &type: DataType; relativeoffset: UInt32) := z_VertexAttribLFormat(attribindex, size, &type, relativeoffset); - - public z_VertexAttribIPointer := GetGLFuncOrNil&('glVertexAttribIPointer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; _pointer: &Array) := VertexAttribIPointer(index, size, &type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; var _pointer: T); where T: record; begin VertexAttribIPointer(index, size, &type, stride, @_pointer); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; _pointer: IntPtr) := VertexAttribIPointer(index, size, &type, stride, pointer(_pointer)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIPointer(index: UInt32; size: Int32; &type: DataType; stride: Int32; _pointer: pointer) := z_VertexAttribIPointer(index, size, &type, stride, _pointer); - - public z_VertexAttribIFormat := GetGLFuncOrNil&('glVertexAttribIFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIFormat(attribindex: UInt32; size: Int32; &type: DataType; relativeoffset: UInt32) := z_VertexAttribIFormat(attribindex, size, &type, relativeoffset); - - public z_VertexAttribFormat := GetGLFuncOrNil&('glVertexAttribFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribFormat(attribindex: UInt32; size: Int32; &type: DataType; normalized: boolean; relativeoffset: UInt32) := z_VertexAttribFormat(attribindex, size, &type, normalized, relativeoffset); - - public z_VertexAttribBinding := GetGLFuncOrNil&('glVertexAttribBinding'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribBinding(attribindex: UInt32; bindingindex: UInt32) := z_VertexAttribBinding(attribindex, bindingindex); - - public z_VertexArrayVertexBuffers := GetGLFuncOrNil&('glVertexArrayVertexBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: VertexArrayName; first: UInt32; count: Int32; buffers: array of BufferName; offsets: array of IntPtr; strides: array of Int32) := VertexArrayVertexBuffers(vaobj, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(offsets,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(strides,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: VertexArrayName; first: UInt32; count: Int32; var buffers: BufferName; var offsets: IntPtr; var strides: Int32) := VertexArrayVertexBuffers(vaobj, first, count, @buffers, @offsets, @strides); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: VertexArrayName; first: UInt32; count: Int32; buffers: pointer; offsets: pointer; strides: pointer) := z_VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides); - - public z_VertexArrayVertexBuffer := GetGLFuncOrNil&('glVertexArrayVertexBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffer(vaobj: VertexArrayName; bindingindex: UInt32; buffer: BufferName; offset: IntPtr; stride: Int32) := z_VertexArrayVertexBuffer(vaobj, bindingindex, buffer, offset, stride); - - public z_VertexArrayAttribLFormat := GetGLFuncOrNil&('glVertexArrayAttribLFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribLFormat(vaobj: VertexArrayName; attribindex: UInt32; size: Int32; &type: DataType; relativeoffset: UInt32) := z_VertexArrayAttribLFormat(vaobj, attribindex, size, &type, relativeoffset); - - public z_VertexArrayAttribIFormat := GetGLFuncOrNil&('glVertexArrayAttribIFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribIFormat(vaobj: VertexArrayName; attribindex: UInt32; size: Int32; &type: DataType; relativeoffset: UInt32) := z_VertexArrayAttribIFormat(vaobj, attribindex, size, &type, relativeoffset); - - public z_VertexArrayAttribFormat := GetGLFuncOrNil&('glVertexArrayAttribFormat'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribFormat(vaobj: VertexArrayName; attribindex: UInt32; size: Int32; &type: DataType; normalized: boolean; relativeoffset: UInt32) := z_VertexArrayAttribFormat(vaobj, attribindex, size, &type, normalized, relativeoffset); - - public z_VertexArrayAttribBinding := GetGLFuncOrNil&('glVertexArrayAttribBinding'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribBinding(vaobj: VertexArrayName; attribindex: UInt32; bindingindex: UInt32) := z_VertexArrayAttribBinding(vaobj, attribindex, bindingindex); - - public z_EnableVertexAttribArray := GetGLFuncOrNil&('glEnableVertexAttribArray'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribArray(index: UInt32) := z_EnableVertexAttribArray(index); - - public z_EnableVertexArrayAttrib := GetGLFuncOrNil&('glEnableVertexArrayAttrib'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexArrayAttrib(vaobj: VertexArrayName; index: UInt32) := z_EnableVertexArrayAttrib(vaobj, index); - - public z_DisableVertexAttribArray := GetGLFuncOrNil&('glDisableVertexAttribArray'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribArray(index: UInt32) := z_DisableVertexAttribArray(index); - - public z_DisableVertexArrayAttrib := GetGLFuncOrNil&('glDisableVertexArrayAttrib'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexArrayAttrib(vaobj: VertexArrayName; index: UInt32) := z_DisableVertexArrayAttrib(vaobj, index); - - public z_BindVertexBuffers := GetGLFuncOrNil&('glBindVertexBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of BufferName; offsets: array of IntPtr; strides: array of Int32) := BindVertexBuffers(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(offsets,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(strides,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: BufferName; var offsets: IntPtr; var strides: Int32) := BindVertexBuffers(first, count, @buffers, @offsets, @strides); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: pointer; offsets: pointer; strides: pointer) := z_BindVertexBuffers(first, count, buffers, offsets, strides); - - public z_BindVertexBuffer := GetGLFuncOrNil&('glBindVertexBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffer(bindingindex: UInt32; buffer: BufferName; offset: IntPtr; stride: Int32) := z_BindVertexBuffer(bindingindex, buffer, offset, stride); - - {$endregion 10.3.2 - Specifying Arrays for Generic Vertex Attributes} - - {$region 10.3.4 - Vertex Attribute Divisors} - - public z_VertexBindingDivisor := GetGLFuncOrNil&('glVertexBindingDivisor'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBindingDivisor(bindingindex: UInt32; divisor: UInt32) := z_VertexBindingDivisor(bindingindex, divisor); - - public z_VertexAttribDivisor := GetGLFuncOrNil&('glVertexAttribDivisor'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisor(index: UInt32; divisor: UInt32) := z_VertexAttribDivisor(index, divisor); - - public z_VertexArrayBindingDivisor := GetGLFuncOrNil&('glVertexArrayBindingDivisor'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayBindingDivisor(vaobj: VertexArrayName; bindingindex: UInt32; divisor: UInt32) := z_VertexArrayBindingDivisor(vaobj, bindingindex, divisor); - - {$endregion 10.3.4 - Vertex Attribute Divisors} - - {$region 10.3.6 - Primitive Restart} - - public z_PrimitiveRestartIndex := GetGLFuncOrNil&('glPrimitiveRestartIndex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveRestartIndex(index: UInt32) := z_PrimitiveRestartIndex(index); - - private static procedure _Enable(cap: EnablableName); external 'opengl32.dll' name 'glEnable'; - public static z_Enable := _Enable; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Enable(cap: EnablableName) := z_Enable(cap); - - private static procedure _Disable(cap: EnablableName); external 'opengl32.dll' name 'glDisable'; - public static z_Disable := _Disable; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Disable(cap: EnablableName) := z_Disable(cap); - - {$endregion 10.3.6 - Primitive Restart} - - {$endregion 10.3 - Vertex Arrays} - - {$region 10.4 - Drawing Commands Using Vertex Arrays} - - public z_MultiDrawElementsIndirectCount := GetGLFuncOrNil&('glMultiDrawElementsIndirectCount'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectCount(mode: PrimitiveType; &type: DataType; var indirect: DrawArraysIndirectCommand; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := MultiDrawElementsIndirectCount(mode, &type, @indirect, drawcount, maxdrawcount, stride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectCount(mode: PrimitiveType; &type: DataType; indirect: pointer; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := z_MultiDrawElementsIndirectCount(mode, &type, indirect, drawcount, maxdrawcount, stride); - - public z_MultiDrawElementsIndirect := GetGLFuncOrNil&('glMultiDrawElementsIndirect'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirect(mode: PrimitiveType; &type: DataType; var indirect: DrawArraysIndirectCommand; drawcount: Int32; stride: Int32) := MultiDrawElementsIndirect(mode, &type, @indirect, drawcount, stride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirect(mode: PrimitiveType; &type: DataType; indirect: pointer; drawcount: Int32; stride: Int32) := z_MultiDrawElementsIndirect(mode, &type, indirect, drawcount, stride); - - public z_MultiDrawElementsBaseVertex := GetGLFuncOrNil&('glMultiDrawElementsBaseVertex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, @count, &type, @indices, drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, @count, &type, @indices, drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, @count, &type, @indices, drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, @count, &type, indices, drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, @count, &type, indices, drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, @count, &type, indices, drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, count, &type, @indices, drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, count, &type, @indices, drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; drawcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertex(mode, count, &type, @indices, drawcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; drawcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertex(mode, count, &type, indices, drawcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; drawcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertex(mode, count, &type, indices, drawcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; drawcount: Int32; basevertex: pointer) := z_MultiDrawElementsBaseVertex(mode, count, &type, indices, drawcount, basevertex); - - public z_MultiDrawElements := GetGLFuncOrNil&('glMultiDrawElements'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32) := MultiDrawElements(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32) := MultiDrawElements(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; drawcount: Int32) := MultiDrawElements(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32) := MultiDrawElements(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; drawcount: Int32) := MultiDrawElements(mode, @count, &type, @indices, drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; drawcount: Int32) := MultiDrawElements(mode, @count, &type, indices, drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; drawcount: Int32) := MultiDrawElements(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; drawcount: Int32) := MultiDrawElements(mode, count, &type, @indices, drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; drawcount: Int32) := z_MultiDrawElements(mode, count, &type, indices, drawcount); - - public z_MultiDrawArraysIndirectCount := GetGLFuncOrNil&('glMultiDrawArraysIndirectCount'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectCount(mode: PrimitiveType; indirect: array of DrawArraysIndirectCommand; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := MultiDrawArraysIndirectCount(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirect,0)), drawcount, maxdrawcount, stride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectCount(mode: PrimitiveType; var indirect: DrawArraysIndirectCommand; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := MultiDrawArraysIndirectCount(mode, @indirect, drawcount, maxdrawcount, stride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectCount(mode: PrimitiveType; indirect: pointer; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := z_MultiDrawArraysIndirectCount(mode, indirect, drawcount, maxdrawcount, stride); - - public z_MultiDrawArraysIndirect := GetGLFuncOrNil&('glMultiDrawArraysIndirect'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirect(mode: PrimitiveType; indirect: array of DrawArraysIndirectCommand; drawcount: Int32; stride: Int32) := MultiDrawArraysIndirect(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirect,0)), drawcount, stride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirect(mode: PrimitiveType; var indirect: DrawArraysIndirectCommand; drawcount: Int32; stride: Int32) := MultiDrawArraysIndirect(mode, @indirect, drawcount, stride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirect(mode: PrimitiveType; indirect: pointer; drawcount: Int32; stride: Int32) := z_MultiDrawArraysIndirect(mode, indirect, drawcount, stride); - - public z_MultiDrawArrays := GetGLFuncOrNil&('glMultiDrawArrays'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: array of Int32; count: array of Int32; drawcount: Int32) := MultiDrawArrays(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; var first: Int32; var count: Int32; drawcount: Int32) := MultiDrawArrays(mode, @first, @count, drawcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: pointer; count: pointer; drawcount: Int32) := z_MultiDrawArrays(mode, first, count, drawcount); - - public z_DrawRangeElementsBaseVertex := GetGLFuncOrNil&('glDrawRangeElementsBaseVertex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: array of UInt32; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; var indices: UInt32; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, @indices, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: array of UInt16; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; var indices: UInt16; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, @indices, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: array of Byte; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; var indices: Byte; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, @indices, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: &Array; basevertex: Int32) := DrawRangeElementsBaseVertex(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: pointer; basevertex: Int32) := z_DrawRangeElementsBaseVertex(mode, start, &end, count, &type, indices, basevertex); - - public z_DrawRangeElements := GetGLFuncOrNil&('glDrawRangeElements'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: array of UInt32) := DrawRangeElements(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; var indices: UInt32) := DrawRangeElements(mode, start, &end, count, &type, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: array of UInt16) := DrawRangeElements(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; var indices: UInt16) := DrawRangeElements(mode, start, &end, count, &type, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: array of Byte) := DrawRangeElements(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; var indices: Byte) := DrawRangeElements(mode, start, &end, count, &type, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: &Array) := DrawRangeElements(mode, start, &end, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DataType; indices: pointer) := z_DrawRangeElements(mode, start, &end, count, &type, indices); - - public z_DrawElementsInstancedBaseVertexBaseInstance := GetGLFuncOrNil&('glDrawElementsInstancedBaseVertexBaseInstance'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt32; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt32; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, @indices, instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt16; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt16; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, @indices, instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of Byte; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; var indices: Byte; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, @indices, instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: &Array; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := z_DrawElementsInstancedBaseVertexBaseInstance(mode, count, &type, indices, instancecount, basevertex, baseinstance); - - public z_DrawElementsInstancedBaseVertex := GetGLFuncOrNil&('glDrawElementsInstancedBaseVertex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt32; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt32; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, @indices, instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt16; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt16; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, @indices, instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of Byte; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; var indices: Byte; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, @indices, instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: &Array; instancecount: Int32; basevertex: Int32) := DrawElementsInstancedBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer; instancecount: Int32; basevertex: Int32) := z_DrawElementsInstancedBaseVertex(mode, count, &type, indices, instancecount, basevertex); - - public z_DrawElementsInstancedBaseInstance := GetGLFuncOrNil&('glDrawElementsInstancedBaseInstance'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt32; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt32; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, @indices, instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt16; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt16; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, @indices, instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of Byte; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; var indices: Byte; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, @indices, instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: &Array; instancecount: Int32; baseinstance: UInt32) := DrawElementsInstancedBaseInstance(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount, baseinstance); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer; instancecount: Int32; baseinstance: UInt32) := z_DrawElementsInstancedBaseInstance(mode, count, &type, indices, instancecount, baseinstance); - - public z_DrawElementsInstanced := GetGLFuncOrNil&('glDrawElementsInstanced'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt32; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt32; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, @indices, instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt16; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt16; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, @indices, instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of Byte; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; var indices: Byte; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, @indices, instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; indices: &Array; instancecount: Int32) := DrawElementsInstanced(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), instancecount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer; instancecount: Int32) := z_DrawElementsInstanced(mode, count, &type, indices, instancecount); - - public z_DrawElementsIndirect := GetGLFuncOrNil&('glDrawElementsIndirect'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsIndirect(mode: PrimitiveType; &type: DataType; var indirect: DrawArraysIndirectCommand) := DrawElementsIndirect(mode, &type, @indirect); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsIndirect(mode: PrimitiveType; &type: DataType; indirect: pointer) := z_DrawElementsIndirect(mode, &type, indirect); - - public z_DrawElementsBaseVertex := GetGLFuncOrNil&('glDrawElementsBaseVertex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt32; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt32; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, @indices, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt16; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt16; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, @indices, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of Byte; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; var indices: Byte; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, @indices, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: &Array; basevertex: Int32) := DrawElementsBaseVertex(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer; basevertex: Int32) := z_DrawElementsBaseVertex(mode, count, &type, indices, basevertex); - - private static procedure _DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer); external 'opengl32.dll' name 'glDrawElements'; - public static z_DrawElements := _DrawElements; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt32) := DrawElements(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt32) := DrawElements(mode, count, &type, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of UInt16) := DrawElements(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; var indices: UInt16) := DrawElements(mode, count, &type, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; indices: array of Byte) := DrawElements(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; var indices: Byte) := DrawElements(mode, count, &type, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; indices: &Array) := DrawElements(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DataType; indices: pointer) := z_DrawElements(mode, count, &type, indices); - - public z_DrawArraysInstancedBaseInstance := GetGLFuncOrNil&('glDrawArraysInstancedBaseInstance'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedBaseInstance(mode: PrimitiveType; first: Int32; count: Int32; instancecount: Int32; baseinstance: UInt32) := z_DrawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance); - - public z_DrawArraysInstanced := GetGLFuncOrNil&('glDrawArraysInstanced'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstanced(mode: PrimitiveType; first: Int32; count: Int32; instancecount: Int32) := z_DrawArraysInstanced(mode, first, count, instancecount); - - public z_DrawArraysIndirect := GetGLFuncOrNil&('glDrawArraysIndirect'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysIndirect(mode: PrimitiveType; var indirect: DrawArraysIndirectCommand) := DrawArraysIndirect(mode, @indirect); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysIndirect(mode: PrimitiveType; indirect: pointer) := z_DrawArraysIndirect(mode, indirect); - - private static procedure _DrawArrays(mode: PrimitiveType; first: Int32; count: Int32); external 'opengl32.dll' name 'glDrawArrays'; - public static z_DrawArrays := _DrawArrays; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArrays(mode: PrimitiveType; first: Int32; count: Int32) := z_DrawArrays(mode, first, count); - - {$endregion 10.4 - Drawing Commands Using Vertex Arrays} - - {$region 10.5 - Vertex Array and Vertex Array Object Queries} - - public z_GetVertexAttribPointerv := GetGLFuncOrNil&('glGetVertexAttribPointerv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: UInt32; _pointer: array of IntPtr) := GetVertexAttribPointerv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: UInt32; var _pointer: IntPtr) := GetVertexAttribPointerv(index, pname, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: UInt32; var _pointer: ^IntPtr) := GetVertexAttribPointerv(index, pname, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: UInt32; _pointer: pointer) := z_GetVertexAttribPointerv(index, pname, _pointer); - - public z_GetVertexAttribLdv := GetGLFuncOrNil&('glGetVertexAttribLdv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribInfoType; ¶ms: array of double) := GetVertexAttribLdv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: double) := GetVertexAttribLdv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Vec4d) := GetVertexAttribLdv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribInfoType; ¶ms: pointer) := z_GetVertexAttribLdv(index, pname, ¶ms); - - public z_GetVertexAttribiv := GetGLFuncOrNil&('glGetVertexAttribiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribInfoType; ¶ms: array of Int32) := GetVertexAttribiv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Int32) := GetVertexAttribiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: BufferName) := GetVertexAttribiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: DataType) := GetVertexAttribiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Vec4i) := GetVertexAttribiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribInfoType; ¶ms: pointer) := z_GetVertexAttribiv(index, pname, ¶ms); - - public z_GetVertexAttribIuiv := GetGLFuncOrNil&('glGetVertexAttribIuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribInfoType; ¶ms: array of UInt32) := GetVertexAttribIuiv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: UInt32) := GetVertexAttribIuiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: DataType) := GetVertexAttribIuiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Vec4ui) := GetVertexAttribIuiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribInfoType; ¶ms: pointer) := z_GetVertexAttribIuiv(index, pname, ¶ms); - - public z_GetVertexAttribIiv := GetGLFuncOrNil&('glGetVertexAttribIiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribInfoType; ¶ms: array of Int32) := GetVertexAttribIiv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Int32) := GetVertexAttribIiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: BufferName) := GetVertexAttribIiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: DataType) := GetVertexAttribIiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Vec4i) := GetVertexAttribIiv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribInfoType; ¶ms: pointer) := z_GetVertexAttribIiv(index, pname, ¶ms); - - public z_GetVertexAttribfv := GetGLFuncOrNil&('glGetVertexAttribfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribInfoType; ¶ms: array of single) := GetVertexAttribfv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: single) := GetVertexAttribfv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Vec4f) := GetVertexAttribfv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribInfoType; ¶ms: pointer) := z_GetVertexAttribfv(index, pname, ¶ms); - - public z_GetVertexAttribdv := GetGLFuncOrNil&('glGetVertexAttribdv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribInfoType; ¶ms: array of double) := GetVertexAttribdv(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: double) := GetVertexAttribdv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribInfoType; var ¶ms: Vec4d) := GetVertexAttribdv(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribInfoType; ¶ms: pointer) := z_GetVertexAttribdv(index, pname, ¶ms); - - public z_GetVertexArrayiv := GetGLFuncOrNil&('glGetVertexArrayiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayiv(vaobj: VertexArrayName; pname: VertexAttribInfoType; var param: Int32) := GetVertexArrayiv(vaobj, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayiv(vaobj: VertexArrayName; pname: VertexAttribInfoType; var param: BufferName) := GetVertexArrayiv(vaobj, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayiv(vaobj: VertexArrayName; pname: VertexAttribInfoType; param: pointer) := z_GetVertexArrayiv(vaobj, pname, param); - - public z_GetVertexArrayIndexediv := GetGLFuncOrNil&('glGetVertexArrayIndexediv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexediv(vaobj: VertexArrayName; index: UInt32; pname: VertexAttribInfoType; var param: Int32) := GetVertexArrayIndexediv(vaobj, index, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexediv(vaobj: VertexArrayName; index: UInt32; pname: VertexAttribInfoType; var param: DataType) := GetVertexArrayIndexediv(vaobj, index, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexediv(vaobj: VertexArrayName; index: UInt32; pname: VertexAttribInfoType; param: pointer) := z_GetVertexArrayIndexediv(vaobj, index, pname, param); - - public z_GetVertexArrayIndexed64iv := GetGLFuncOrNil&('glGetVertexArrayIndexed64iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexed64iv(vaobj: VertexArrayName; index: UInt32; pname: VertexAttribInfoType; var param: Int64) := GetVertexArrayIndexed64iv(vaobj, index, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexed64iv(vaobj: VertexArrayName; index: UInt32; pname: VertexAttribInfoType; param: pointer) := z_GetVertexArrayIndexed64iv(vaobj, index, pname, param); - - {$endregion 10.5 - Vertex Array and Vertex Array Object Queries} - - {$region 10.9 - Conditional Rendering} - - public z_EndConditionalRender := GetGLFuncOrNil&('glEndConditionalRender'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndConditionalRender := z_EndConditionalRender; - - public z_BeginConditionalRender := GetGLFuncOrNil&('glBeginConditionalRender'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginConditionalRender(id: UInt32; mode: ConditionalRenderingMode) := z_BeginConditionalRender(id, mode); - - {$endregion 10.9 - Conditional Rendering} - - {$endregion 10 - Vertex Specification and Drawing Commands} - - {$region 11 - Programmable Vertex Processing} - - {$region 11.1 - Vertex Shaders} - - {$region 11.1.1 - Vertex Attributes} - - public z_GetAttribLocation := GetGLFuncOrNil&('glGetAttribLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocation(&program: ProgramName; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetAttribLocation(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocation(&program: ProgramName; name: IntPtr): Int32 := z_GetAttribLocation(&program, name); - - public z_GetActiveAttrib := GetGLFuncOrNil&('glGetActiveAttrib'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: ProgramVarType; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttrib(&program, index, bufSize, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: ProgramVarType; name: IntPtr) := GetActiveAttrib(&program, index, bufSize, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttrib(&program, index, bufSize, @length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveAttrib(&program, index, bufSize, @length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: ProgramVarType; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttrib(&program, index, bufSize, length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: ProgramVarType; name: IntPtr) := GetActiveAttrib(&program, index, bufSize, length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttrib(&program, index, bufSize, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetActiveAttrib(&program, index, bufSize, length, size, &type, name); - - public z_BindAttribLocation := GetGLFuncOrNil&('glBindAttribLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocation(&program: ProgramName; index: UInt32; name: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); BindAttribLocation(&program, index, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocation(&program: ProgramName; index: UInt32; name: IntPtr) := z_BindAttribLocation(&program, index, name); - - {$endregion 11.1.1 - Vertex Attributes} - - {$region 11.1.2 - Vertex Shader Variables} - - public z_TransformFeedbackVaryings := GetGLFuncOrNil&('glTransformFeedbackVaryings'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryings(&program: ProgramName; count: Int32; var varyings: IntPtr; bufferMode: TransformFeedbackBufferMode) := TransformFeedbackVaryings(&program, count, @varyings, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryings(&program: ProgramName; count: Int32; varyings: pointer; bufferMode: TransformFeedbackBufferMode) := z_TransformFeedbackVaryings(&program, count, varyings, bufferMode); - - public z_GetTransformFeedbackVarying := GetGLFuncOrNil&('glGetTransformFeedbackVarying'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: ProgramVarType; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVarying(&program, index, bufSize, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: ProgramVarType; name: IntPtr) := GetTransformFeedbackVarying(&program, index, bufSize, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVarying(&program, index, bufSize, @length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVarying(&program, index, bufSize, @length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: ProgramVarType; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVarying(&program, index, bufSize, length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: ProgramVarType; name: IntPtr) := GetTransformFeedbackVarying(&program, index, bufSize, length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVarying(&program, index, bufSize, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: ProgramName; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetTransformFeedbackVarying(&program, index, bufSize, length, size, &type, name); - - {$endregion 11.1.2 - Vertex Shader Variables} - - {$region 11.1.3 - Shader Execution} - - public z_ValidateProgramPipeline := GetGLFuncOrNil&('glValidateProgramPipeline'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgramPipeline(pipeline: ProgramPipelineName) := z_ValidateProgramPipeline(pipeline); - - public z_ValidateProgram := GetGLFuncOrNil&('glValidateProgram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgram(&program: ProgramName) := z_ValidateProgram(&program); - - {$endregion 11.1.3 - Shader Execution} - - {$endregion 11.1 - Vertex Shaders} - - {$region 11.2 - Tessellation} - - {$region 11.2.2 - Tessellation Primitive Generation} - - public z_PatchParameterfv := GetGLFuncOrNil&('glPatchParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchMode; values: array of single) := PatchParameterfv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchMode; var values: single) := PatchParameterfv(pname, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchMode; var values: Vec2f) := PatchParameterfv(pname, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchMode; var values: Vec4f) := PatchParameterfv(pname, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchMode; values: pointer) := z_PatchParameterfv(pname, values); - - {$endregion 11.2.2 - Tessellation Primitive Generation} - - {$endregion 11.2 - Tessellation} - - {$endregion 11 - Programmable Vertex Processing} - - {$region 13 - Fixed-Function Vertex Post-Processing} - - {$region 13.3 - Transform Feedback} - - {$region 13.3.1 - Transform Feedback Objects} - - public z_IsTransformFeedback := GetGLFuncOrNil&('glIsTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTransformFeedback(id: TransformFeedbackName): boolean := z_IsTransformFeedback(id); - - public z_GenTransformFeedbacks := GetGLFuncOrNil&('glGenTransformFeedbacks'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacks(n: Int32; ids: array of TransformFeedbackName) := GenTransformFeedbacks(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacks(n: Int32; var ids: TransformFeedbackName) := GenTransformFeedbacks(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacks(n: Int32; ids: pointer) := z_GenTransformFeedbacks(n, ids); - - public z_DeleteTransformFeedbacks := GetGLFuncOrNil&('glDeleteTransformFeedbacks'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacks(n: Int32; ids: array of TransformFeedbackName) := DeleteTransformFeedbacks(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacks(n: Int32; var ids: TransformFeedbackName) := DeleteTransformFeedbacks(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacks(n: Int32; ids: pointer) := z_DeleteTransformFeedbacks(n, ids); - - public z_CreateTransformFeedbacks := GetGLFuncOrNil&('glCreateTransformFeedbacks'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTransformFeedbacks(n: Int32; ids: array of TransformFeedbackName) := CreateTransformFeedbacks(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTransformFeedbacks(n: Int32; var ids: TransformFeedbackName) := CreateTransformFeedbacks(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTransformFeedbacks(n: Int32; ids: pointer) := z_CreateTransformFeedbacks(n, ids); - - public z_BindTransformFeedback := GetGLFuncOrNil&('glBindTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTransformFeedback(target: TransformFeedbackBindTarget; id: TransformFeedbackName) := z_BindTransformFeedback(target, id); - - {$endregion 13.3.1 - Transform Feedback Objects} - - {$region 13.3.2 - Transform Feedback Primitive Capture} - - public z_TransformFeedbackBufferRange := GetGLFuncOrNil&('glTransformFeedbackBufferRange'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackBufferRange(xfb: TransformFeedbackName; index: UInt32; buffer: BufferName; offset: IntPtr; size: UIntPtr) := z_TransformFeedbackBufferRange(xfb, index, buffer, offset, size); - - public z_TransformFeedbackBufferBase := GetGLFuncOrNil&('glTransformFeedbackBufferBase'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackBufferBase(xfb: TransformFeedbackName; index: UInt32; buffer: BufferName) := z_TransformFeedbackBufferBase(xfb, index, buffer); - - public z_ResumeTransformFeedback := GetGLFuncOrNil&('glResumeTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResumeTransformFeedback := z_ResumeTransformFeedback; - - public z_PauseTransformFeedback := GetGLFuncOrNil&('glPauseTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PauseTransformFeedback := z_PauseTransformFeedback; - - public z_EndTransformFeedback := GetGLFuncOrNil&('glEndTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTransformFeedback := z_EndTransformFeedback; - - public z_BeginTransformFeedback := GetGLFuncOrNil&('glBeginTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginTransformFeedback(primitiveMode: PrimitiveType) := z_BeginTransformFeedback(primitiveMode); - - {$endregion 13.3.2 - Transform Feedback Primitive Capture} - - {$region 13.3.3 - Transform Feedback Draw Operations} - - public z_DrawTransformFeedbackStreamInstanced := GetGLFuncOrNil&('glDrawTransformFeedbackStreamInstanced'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackStreamInstanced(mode: PrimitiveType; id: TransformFeedbackName; stream: UInt32; instancecount: Int32) := z_DrawTransformFeedbackStreamInstanced(mode, id, stream, instancecount); - - public z_DrawTransformFeedbackStream := GetGLFuncOrNil&('glDrawTransformFeedbackStream'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackStream(mode: PrimitiveType; id: TransformFeedbackName; stream: UInt32) := z_DrawTransformFeedbackStream(mode, id, stream); - - public z_DrawTransformFeedbackInstanced := GetGLFuncOrNil&('glDrawTransformFeedbackInstanced'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackInstanced(mode: PrimitiveType; id: TransformFeedbackName; instancecount: Int32) := z_DrawTransformFeedbackInstanced(mode, id, instancecount); - - public z_DrawTransformFeedback := GetGLFuncOrNil&('glDrawTransformFeedback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedback(mode: PrimitiveType; id: TransformFeedbackName) := z_DrawTransformFeedback(mode, id); - - {$endregion 13.3.3 - Transform Feedback Draw Operations} - - {$endregion 13.3 - Transform Feedback} - - {$region 13.6 - Flatshading} - - public z_ProvokingVertex := GetGLFuncOrNil&('glProvokingVertex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProvokingVertex(mode: VertexProvokingMode) := z_ProvokingVertex(mode); - - {$endregion 13.6 - Flatshading} - - {$region 13.7 - Primitive Clipping} - - public z_ClipControl := GetGLFuncOrNil&('glClipControl'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipControl(origin: ClipOriginMode; depth: ClipDepthMode) := z_ClipControl(origin, depth); - - {$endregion 13.7 - Primitive Clipping} - - {$region 13.8 - Coordinate Transformations} - - {$region 13.8.1 - Controlling the Viewport} - - public z_ViewportIndexedfv := GetGLFuncOrNil&('glViewportIndexedfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; v: array of single) := ViewportIndexedfv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; var v: single) := ViewportIndexedfv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; var v: Vec4f) := ViewportIndexedfv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; v: pointer) := z_ViewportIndexedfv(index, v); - - public z_ViewportIndexedf := GetGLFuncOrNil&('glViewportIndexedf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedf(index: UInt32; x: single; y: single; w: single; h: single) := z_ViewportIndexedf(index, x, y, w, h); - - public z_ViewportArrayv := GetGLFuncOrNil&('glViewportArrayv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; v: array of single) := ViewportArrayv(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; var v: single) := ViewportArrayv(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; v: array of Vec4f) := ViewportArrayv(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; var v: Vec4f) := ViewportArrayv(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; v: pointer) := z_ViewportArrayv(first, count, v); - - private static procedure _Viewport(x: Int32; y: Int32; width: Int32; height: Int32); external 'opengl32.dll' name 'glViewport'; - public static z_Viewport := _Viewport; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Viewport(x: Int32; y: Int32; width: Int32; height: Int32) := z_Viewport(x, y, width, height); - - public z_DepthRangeIndexed := GetGLFuncOrNil&('glDepthRangeIndexed'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeIndexed(index: UInt32; n: double; f: double) := z_DepthRangeIndexed(index, n, f); - - public z_DepthRangef := GetGLFuncOrNil&('glDepthRangef'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangef(n: single; f: single) := z_DepthRangef(n, f); - - public z_DepthRangeArrayv := GetGLFuncOrNil&('glDepthRangeArrayv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; v: array of double) := DepthRangeArrayv(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; var v: double) := DepthRangeArrayv(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; v: array of Vec2d) := DepthRangeArrayv(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; var v: Vec2d) := DepthRangeArrayv(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; v: pointer) := z_DepthRangeArrayv(first, count, v); - - private static procedure _DepthRange(n: double; f: double); external 'opengl32.dll' name 'glDepthRange'; - public static z_DepthRange := _DepthRange; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRange(n: double; f: double) := z_DepthRange(n, f); - - {$endregion 13.8.1 - Controlling the Viewport} - - {$endregion 13.8 - Coordinate Transformations} - - {$endregion 13 - Fixed-Function Vertex Post-Processing} - - {$region 14 - Fixed-Function Primitive Assembly and Rasterization} - - {$region 14.3 - Antialiasing} - - {$region 14.3.1 - Multisampling} - - public z_MinSampleShading := GetGLFuncOrNil&('glMinSampleShading'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinSampleShading(value: single) := z_MinSampleShading(value); - - public z_GetMultisamplefv := GetGLFuncOrNil&('glGetMultisamplefv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: MultisampleInfoType; index: UInt32; val: array of single) := GetMultisamplefv(pname, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(val,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: MultisampleInfoType; index: UInt32; var val: single) := GetMultisamplefv(pname, index, @val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: MultisampleInfoType; index: UInt32; var val: Vec2f) := GetMultisamplefv(pname, index, @val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: MultisampleInfoType; index: UInt32; val: pointer) := z_GetMultisamplefv(pname, index, val); - - {$endregion 14.3.1 - Multisampling} - - {$endregion 14.3 - Antialiasing} - - {$region 14.4 - Points} - - private static procedure _PointSize(size: single); external 'opengl32.dll' name 'glPointSize'; - public static z_PointSize := _PointSize; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointSize(size: single) := z_PointSize(size); - - public z_PointParameteriv := GetGLFuncOrNil&('glPointParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriv(pname: PointInfoType; var ¶ms: Int32) := PointParameteriv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriv(pname: PointInfoType; ¶ms: pointer) := z_PointParameteriv(pname, ¶ms); - - public z_PointParameteri := GetGLFuncOrNil&('glPointParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteri(pname: PointInfoType; param: ClipOriginMode) := PointParameteri(pname, param.val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteri(pname: PointInfoType; param: Int32) := z_PointParameteri(pname, param); - - public z_PointParameterfv := GetGLFuncOrNil&('glPointParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfv(pname: PointInfoType; var ¶ms: single) := PointParameterfv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfv(pname: PointInfoType; ¶ms: pointer) := z_PointParameterfv(pname, ¶ms); - - public z_PointParameterf := GetGLFuncOrNil&('glPointParameterf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterf(pname: PointInfoType; param: single) := z_PointParameterf(pname, param); - - {$endregion 14.4 - Points} - - {$region 14.5 - Line Segments} - - private static procedure _LineWidth(width: single); external 'opengl32.dll' name 'glLineWidth'; - public static z_LineWidth := _LineWidth; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LineWidth(width: single) := z_LineWidth(width); - - {$endregion 14.5 - Line Segments} - - {$region 14.6 - Polygons} - - {$region 14.6.1 - Basic Polygon Rasterization} - - private static procedure _FrontFace(mode: FrontFaceDirection); external 'opengl32.dll' name 'glFrontFace'; - public static z_FrontFace := _FrontFace; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrontFace(mode: FrontFaceDirection) := z_FrontFace(mode); - - private static procedure _CullFace(mode: PolygonFace); external 'opengl32.dll' name 'glCullFace'; - public static z_CullFace := _CullFace; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullFace(mode: PolygonFace) := z_CullFace(mode); - - {$endregion 14.6.1 - Basic Polygon Rasterization} - - {$region 14.6.4 - Options Controlling Polygon Rasterization} - - private static procedure _PolygonMode(face: PolygonFace; mode: PolygonRasterizationMode); external 'opengl32.dll' name 'glPolygonMode'; - public static z_PolygonMode := _PolygonMode; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonMode(face: PolygonFace; mode: PolygonRasterizationMode) := z_PolygonMode(face, mode); - - {$endregion 14.6.4 - Options Controlling Polygon Rasterization} - - {$region 14.6.5 - Depth Offset} - - public z_PolygonOffsetClamp := GetGLFuncOrNil&('glPolygonOffsetClamp'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetClamp(factor: single; units: single; clamp: single) := z_PolygonOffsetClamp(factor, units, clamp); - - private static procedure _PolygonOffset(factor: single; units: single); external 'opengl32.dll' name 'glPolygonOffset'; - public static z_PolygonOffset := _PolygonOffset; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffset(factor: single; units: single) := z_PolygonOffset(factor, units); - - {$endregion 14.6.5 - Depth Offset} - - {$endregion 14.6 - Polygons} - - {$region 14.9 - Early Per-Fragment Tests} - - {$region 14.9.2 - Scissor Test} - - public z_ScissorIndexedv := GetGLFuncOrNil&('glScissorIndexedv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; v: array of Int32) := ScissorIndexedv(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; var v: Int32) := ScissorIndexedv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; var v: Vec4i) := ScissorIndexedv(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; v: pointer) := z_ScissorIndexedv(index, v); - - public z_ScissorIndexed := GetGLFuncOrNil&('glScissorIndexed'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexed(index: UInt32; left: Int32; bottom: Int32; width: Int32; height: Int32) := z_ScissorIndexed(index, left, bottom, width, height); - - public z_ScissorArrayv := GetGLFuncOrNil&('glScissorArrayv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; v: array of Int32) := ScissorArrayv(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; var v: Int32) := ScissorArrayv(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; v: array of Vec4i) := ScissorArrayv(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; var v: Vec4i) := ScissorArrayv(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; v: pointer) := z_ScissorArrayv(first, count, v); - - private static procedure _Scissor(x: Int32; y: Int32; width: Int32; height: Int32); external 'opengl32.dll' name 'glScissor'; - public static z_Scissor := _Scissor; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Scissor(x: Int32; y: Int32; width: Int32; height: Int32) := z_Scissor(x, y, width, height); - - {$endregion 14.9.2 - Scissor Test} - - {$region 14.9.3 - Multisample Fragment Operations} - - public z_SampleMaski := GetGLFuncOrNil&('glSampleMaski'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaski(maskNumber: UInt32; mask: UInt32) := z_SampleMaski(maskNumber, mask); - - public z_SampleCoverage := GetGLFuncOrNil&('glSampleCoverage'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleCoverage(value: single; invert: boolean) := z_SampleCoverage(value, invert); - - {$endregion 14.9.3 - Multisample Fragment Operations} - - {$endregion 14.9 - Early Per-Fragment Tests} - - {$endregion 14 - Fixed-Function Primitive Assembly and Rasterization} - - {$region 15 - Programmable Fragment Processing} - - {$region 15.2 - Shader Execution} - - {$region 15.2.3 - Shader Outputs} - - public z_GetFragDataLocation := GetGLFuncOrNil&('glGetFragDataLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocation(&program: ProgramName; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetFragDataLocation(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocation(&program: ProgramName; name: IntPtr): Int32 := z_GetFragDataLocation(&program, name); - - public z_GetFragDataIndex := GetGLFuncOrNil&('glGetFragDataIndex'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataIndex(&program: ProgramName; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetFragDataIndex(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataIndex(&program: ProgramName; name: IntPtr): Int32 := z_GetFragDataIndex(&program, name); - - public z_BindFragDataLocationIndexed := GetGLFuncOrNil&('glBindFragDataLocationIndexed'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationIndexed(&program: ProgramName; colorNumber: UInt32; index: UInt32; name: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(name); BindFragDataLocationIndexed(&program, colorNumber, index, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationIndexed(&program: ProgramName; colorNumber: UInt32; index: UInt32; name: IntPtr) := z_BindFragDataLocationIndexed(&program, colorNumber, index, name); - - public z_BindFragDataLocation := GetGLFuncOrNil&('glBindFragDataLocation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocation(&program: ProgramName; color: UInt32; name: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); BindFragDataLocation(&program, color, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocation(&program: ProgramName; color: UInt32; name: IntPtr) := z_BindFragDataLocation(&program, color, name); - - {$endregion 15.2.3 - Shader Outputs} - - {$endregion 15.2 - Shader Execution} - - {$endregion 15 - Programmable Fragment Processing} - - {$region 17 - Writing Fragments and Samples to the Framebuffer} - - {$region 17.3 - Per-Fragment Operations} - - {$region 17.3.3 - Stencil Test} - - public z_StencilOpSeparate := GetGLFuncOrNil&('glStencilOpSeparate'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOpSeparate(face: PolygonFace; sfail: StencilOpFailMode; dpfail: StencilOpFailMode; dppass: StencilOpFailMode) := z_StencilOpSeparate(face, sfail, dpfail, dppass); - - private static procedure _StencilOp(fail: StencilOpFailMode; zfail: StencilOpFailMode; zpass: StencilOpFailMode); external 'opengl32.dll' name 'glStencilOp'; - public static z_StencilOp := _StencilOp; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOp(fail: StencilOpFailMode; zfail: StencilOpFailMode; zpass: StencilOpFailMode) := z_StencilOp(fail, zfail, zpass); - - public z_StencilFuncSeparate := GetGLFuncOrNil&('glStencilFuncSeparate'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFuncSeparate(face: PolygonFace; func: ActivationFunc; ref: Int32; mask: UInt32) := z_StencilFuncSeparate(face, func, ref, mask); - - private static procedure _StencilFunc(func: ActivationFunc; ref: Int32; mask: UInt32); external 'opengl32.dll' name 'glStencilFunc'; - public static z_StencilFunc := _StencilFunc; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFunc(func: ActivationFunc; ref: Int32; mask: UInt32) := z_StencilFunc(func, ref, mask); - - {$endregion 17.3.3 - Stencil Test} - - {$region 17.3.4 - Depth Buffer Test} - - private static procedure _DepthFunc(func: ActivationFunc); external 'opengl32.dll' name 'glDepthFunc'; - public static z_DepthFunc := _DepthFunc; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthFunc(func: ActivationFunc) := z_DepthFunc(func); - - {$endregion 17.3.4 - Depth Buffer Test} - - {$region 17.3.6 - Blending} - - public z_Enablei := GetGLFuncOrNil&('glEnablei'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Enablei(target: EnablableName; index: UInt32) := z_Enablei(target, index); - - public z_Disablei := GetGLFuncOrNil&('glDisablei'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Disablei(target: EnablableName; index: UInt32) := z_Disablei(target, index); - - public z_BlendFuncSeparatei := GetGLFuncOrNil&('glBlendFuncSeparatei'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparatei(buf: UInt32; srcRGB: BlendFuncMode; dstRGB: BlendFuncMode; srcAlpha: BlendFuncMode; dstAlpha: BlendFuncMode) := z_BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); - - public z_BlendFuncSeparate := GetGLFuncOrNil&('glBlendFuncSeparate'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparate(sfactorRGB: BlendFuncMode; dfactorRGB: BlendFuncMode; sfactorAlpha: BlendFuncMode; dfactorAlpha: BlendFuncMode) := z_BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); - - public z_BlendFunci := GetGLFuncOrNil&('glBlendFunci'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunci(buf: UInt32; src: BlendFuncMode; dst: BlendFuncMode) := z_BlendFunci(buf, src, dst); - - private static procedure _BlendFunc(sfactor: BlendFuncMode; dfactor: BlendFuncMode); external 'opengl32.dll' name 'glBlendFunc'; - public static z_BlendFunc := _BlendFunc; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunc(sfactor: BlendFuncMode; dfactor: BlendFuncMode) := z_BlendFunc(sfactor, dfactor); - - public z_BlendEquationSeparatei := GetGLFuncOrNil&('glBlendEquationSeparatei'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparatei(buf: UInt32; modeRGB: BlendEquationMode; modeAlpha: BlendEquationMode) := z_BlendEquationSeparatei(buf, modeRGB, modeAlpha); - - public z_BlendEquationSeparate := GetGLFuncOrNil&('glBlendEquationSeparate'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparate(modeRGB: BlendEquationMode; modeAlpha: BlendEquationMode) := z_BlendEquationSeparate(modeRGB, modeAlpha); - - public z_BlendEquationi := GetGLFuncOrNil&('glBlendEquationi'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationi(buf: UInt32; mode: BlendEquationMode) := z_BlendEquationi(buf, mode); - - public z_BlendEquation := GetGLFuncOrNil&('glBlendEquation'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquation(mode: BlendEquationMode) := z_BlendEquation(mode); - - public z_BlendColor := GetGLFuncOrNil&('glBlendColor'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendColor(red: single; green: single; blue: single; alpha: single) := z_BlendColor(red, green, blue, alpha); - - {$endregion 17.3.6 - Blending} - - {$region 17.3.9 - Logical Operation} - - private static procedure _LogicOp(opcode: LogicOpCode); external 'opengl32.dll' name 'glLogicOp'; - public static z_LogicOp := _LogicOp; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LogicOp(opcode: LogicOpCode) := z_LogicOp(opcode); - - {$endregion 17.3.9 - Logical Operation} - - {$endregion 17.3 - Per-Fragment Operations} - - {$region 17.4 - Whole Framebuffer Operations} - - {$region 17.4.1 - Selecting Buffers for Writing} - - public z_NamedFramebufferDrawBuffers := GetGLFuncOrNil&('glNamedFramebufferDrawBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffers(framebuffer: FramebufferName; n: Int32; bufs: array of FrameBufferPart) := NamedFramebufferDrawBuffers(framebuffer, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffers(framebuffer: FramebufferName; n: Int32; var bufs: FrameBufferPart) := NamedFramebufferDrawBuffers(framebuffer, n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffers(framebuffer: FramebufferName; n: Int32; bufs: pointer) := z_NamedFramebufferDrawBuffers(framebuffer, n, bufs); - - public z_NamedFramebufferDrawBuffer := GetGLFuncOrNil&('glNamedFramebufferDrawBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffer(framebuffer: FramebufferName; buf: FrameBufferPart) := z_NamedFramebufferDrawBuffer(framebuffer, buf); - - public z_DrawBuffers := GetGLFuncOrNil&('glDrawBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffers(n: Int32; bufs: array of FrameBufferPart) := DrawBuffers(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffers(n: Int32; var bufs: FrameBufferPart) := DrawBuffers(n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffers(n: Int32; bufs: pointer) := z_DrawBuffers(n, bufs); - - private static procedure _DrawBuffer(buf: FrameBufferPart); external 'opengl32.dll' name 'glDrawBuffer'; - public static z_DrawBuffer := _DrawBuffer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffer(buf: FrameBufferPart) := z_DrawBuffer(buf); - - {$endregion 17.4.1 - Selecting Buffers for Writing} - - {$region 17.4.2 - Fine Control of Buffer Updates} - - public z_StencilMaskSeparate := GetGLFuncOrNil&('glStencilMaskSeparate'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilMaskSeparate(face: PolygonFace; mask: UInt32) := z_StencilMaskSeparate(face, mask); - - private static procedure _StencilMask(mask: UInt32); external 'opengl32.dll' name 'glStencilMask'; - public static z_StencilMask := _StencilMask; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilMask(mask: UInt32) := z_StencilMask(mask); - - private static procedure _DepthMask(flag: boolean); external 'opengl32.dll' name 'glDepthMask'; - public static z_DepthMask := _DepthMask; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthMask(flag: boolean) := z_DepthMask(flag); - - public z_ColorMaski := GetGLFuncOrNil&('glColorMaski'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaski(index: UInt32; r: boolean; g: boolean; b: boolean; a: boolean) := z_ColorMaski(index, r, g, b, a); - - private static procedure _ColorMask(red: boolean; green: boolean; blue: boolean; alpha: boolean); external 'opengl32.dll' name 'glColorMask'; - public static z_ColorMask := _ColorMask; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMask(red: boolean; green: boolean; blue: boolean; alpha: boolean) := z_ColorMask(red, green, blue, alpha); - - {$endregion 17.4.2 - Fine Control of Buffer Updates} - - {$region 17.4.3 - Clearing the Buffers} - - private static procedure _ClearStencil(s: Int32); external 'opengl32.dll' name 'glClearStencil'; - public static z_ClearStencil := _ClearStencil; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearStencil(s: Int32) := z_ClearStencil(s); - - public z_ClearNamedFramebufferuiv := GetGLFuncOrNil&('glClearNamedFramebufferuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of UInt32) := ClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: UInt32) := ClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Vec4ui) := ClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Vec4ui) := ClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: pointer) := z_ClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, value); - - public z_ClearNamedFramebufferiv := GetGLFuncOrNil&('glClearNamedFramebufferiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Int32) := ClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Int32) := ClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Vec4i) := ClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Vec4i) := ClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: pointer) := z_ClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value); - - public z_ClearNamedFramebufferfv := GetGLFuncOrNil&('glClearNamedFramebufferfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of single) := ClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: single) := ClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Vec4f) := ClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Vec4f) := ClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: pointer) := z_ClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value); - - public z_ClearNamedFramebufferfi := GetGLFuncOrNil&('glClearNamedFramebufferfi'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfi(framebuffer: FramebufferName; buffer: FramebufferAttachmentPoint; drawbuffer: Int32; depth: single; stencil: Int32) := z_ClearNamedFramebufferfi(framebuffer, buffer, drawbuffer, depth, stencil); - - public z_ClearDepthf := GetGLFuncOrNil&('glClearDepthf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthf(d: single) := z_ClearDepthf(d); - - private static procedure _ClearDepth(depth: double); external 'opengl32.dll' name 'glClearDepth'; - public static z_ClearDepth := _ClearDepth; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepth(depth: double) := z_ClearDepth(depth); - - private static procedure _ClearColor(red: single; green: single; blue: single; alpha: single); external 'opengl32.dll' name 'glClearColor'; - public static z_ClearColor := _ClearColor; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColor(red: single; green: single; blue: single; alpha: single) := z_ClearColor(red, green, blue, alpha); - - public z_ClearBufferuiv := GetGLFuncOrNil&('glClearBufferuiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of UInt32) := ClearBufferuiv(buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: UInt32) := ClearBufferuiv(buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Vec4ui) := ClearBufferuiv(buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Vec4ui) := ClearBufferuiv(buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: pointer) := z_ClearBufferuiv(buffer, drawbuffer, value); - - public z_ClearBufferiv := GetGLFuncOrNil&('glClearBufferiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Int32) := ClearBufferiv(buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Int32) := ClearBufferiv(buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Vec4i) := ClearBufferiv(buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Vec4i) := ClearBufferiv(buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: pointer) := z_ClearBufferiv(buffer, drawbuffer, value); - - public z_ClearBufferfv := GetGLFuncOrNil&('glClearBufferfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of single) := ClearBufferfv(buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: single) := ClearBufferfv(buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: array of Vec4f) := ClearBufferfv(buffer, drawbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; var value: Vec4f) := ClearBufferfv(buffer, drawbuffer, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; value: pointer) := z_ClearBufferfv(buffer, drawbuffer, value); - - public z_ClearBufferfi := GetGLFuncOrNil&('glClearBufferfi'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfi(buffer: FramebufferAttachmentPoint; drawbuffer: Int32; depth: single; stencil: Int32) := z_ClearBufferfi(buffer, drawbuffer, depth, stencil); - - private static procedure _Clear(mask: BufferTypeFlags); external 'opengl32.dll' name 'glClear'; - public static z_Clear := _Clear; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Clear(mask: BufferTypeFlags) := z_Clear(mask); - - {$endregion 17.4.3 - Clearing the Buffers} - - {$region 17.4.4 - Invalidating Framebuffer Contents} - - public z_InvalidateSubFramebuffer := GetGLFuncOrNil&('glInvalidateSubFramebuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateSubFramebuffer(target: DummyEnum; numAttachments: Int32; attachments: array of DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32) := InvalidateSubFramebuffer(target, numAttachments, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attachments,0)), x, y, width, height); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateSubFramebuffer(target: DummyEnum; numAttachments: Int32; var attachments: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32) := InvalidateSubFramebuffer(target, numAttachments, @attachments, x, y, width, height); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateSubFramebuffer(target: DummyEnum; numAttachments: Int32; attachments: pointer; x: Int32; y: Int32; width: Int32; height: Int32) := z_InvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); - - public z_InvalidateNamedFramebufferSubData := GetGLFuncOrNil&('glInvalidateNamedFramebufferSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferSubData(framebuffer: UInt32; numAttachments: Int32; attachments: array of DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32) := InvalidateNamedFramebufferSubData(framebuffer, numAttachments, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attachments,0)), x, y, width, height); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferSubData(framebuffer: UInt32; numAttachments: Int32; var attachments: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32) := InvalidateNamedFramebufferSubData(framebuffer, numAttachments, @attachments, x, y, width, height); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferSubData(framebuffer: UInt32; numAttachments: Int32; attachments: pointer; x: Int32; y: Int32; width: Int32; height: Int32) := z_InvalidateNamedFramebufferSubData(framebuffer, numAttachments, attachments, x, y, width, height); - - public z_InvalidateNamedFramebufferData := GetGLFuncOrNil&('glInvalidateNamedFramebufferData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferData(framebuffer: FramebufferName; numAttachments: Int32; attachments: array of FramebufferAttachmentPoint) := InvalidateNamedFramebufferData(framebuffer, numAttachments, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attachments,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferData(framebuffer: FramebufferName; numAttachments: Int32; var attachments: FramebufferAttachmentPoint) := InvalidateNamedFramebufferData(framebuffer, numAttachments, @attachments); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferData(framebuffer: FramebufferName; numAttachments: Int32; attachments: pointer) := z_InvalidateNamedFramebufferData(framebuffer, numAttachments, attachments); - - public z_InvalidateFramebuffer := GetGLFuncOrNil&('glInvalidateFramebuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateFramebuffer(target: FramebufferBindTarget; numAttachments: Int32; attachments: array of FramebufferAttachmentPoint) := InvalidateFramebuffer(target, numAttachments, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attachments,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateFramebuffer(target: FramebufferBindTarget; numAttachments: Int32; var attachments: FramebufferAttachmentPoint) := InvalidateFramebuffer(target, numAttachments, @attachments); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateFramebuffer(target: FramebufferBindTarget; numAttachments: Int32; attachments: pointer) := z_InvalidateFramebuffer(target, numAttachments, attachments); - - {$endregion 17.4.4 - Invalidating Framebuffer Contents} - - {$endregion 17.4 - Whole Framebuffer Operations} - - {$endregion 17 - Writing Fragments and Samples to the Framebuffer} - - {$region 18 - Reading and Copying Pixels} - - {$region 18.2 - Reading Pixels} - - {$region 18.2.1 - Selecting Buffers for Reading} - - private static procedure _ReadBuffer(src: FramebufferAttachmentPoint); external 'opengl32.dll' name 'glReadBuffer'; - public static z_ReadBuffer := _ReadBuffer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadBuffer(src: FramebufferAttachmentPoint) := z_ReadBuffer(src); - - public z_NamedFramebufferReadBuffer := GetGLFuncOrNil&('glNamedFramebufferReadBuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferReadBuffer(framebuffer: FramebufferName; src: FramebufferAttachmentPoint) := z_NamedFramebufferReadBuffer(framebuffer, src); - - {$endregion 18.2.1 - Selecting Buffers for Reading} - - {$region 18.2.2 - ReadPixels} - - private static procedure _ReadPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: pointer); external 'opengl32.dll' name 'glReadPixels'; - public static z_ReadPixels := _ReadPixels; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: &Array) := ReadPixels(x, y, width, height, format, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pixels,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; var pixels: T); where T: record; begin ReadPixels(x, y, width, height, format, &type, @pixels); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: IntPtr) := ReadPixels(x, y, width, height, format, &type, pointer(pixels)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; pixels: pointer) := z_ReadPixels(x, y, width, height, format, &type, pixels); - - public z_ReadnPixels := GetGLFuncOrNil&('glReadnPixels'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; bufSize: Int32; data: &Array) := ReadnPixels(x, y, width, height, format, &type, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; bufSize: Int32; var data: T); where T: record; begin ReadnPixels(x, y, width, height, format, &type, bufSize, @data); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; bufSize: Int32; data: IntPtr) := ReadnPixels(x, y, width, height, format, &type, bufSize, pointer(data)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: DataFormat; &type: DataType; bufSize: Int32; data: pointer) := z_ReadnPixels(x, y, width, height, format, &type, bufSize, data); - - {$endregion 18.2.2 - ReadPixels} - - {$region 18.2.8 - Final Conversion} - - public z_ClampColor := GetGLFuncOrNil&('glClampColor'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClampColor(target: ColorClampTarget; clamp: UInt32) := z_ClampColor(target, clamp); - - {$endregion 18.2.8 - Final Conversion} - - {$endregion 18.2 - Reading Pixels} - - {$region 18.3 - Copying Pixels} - - {$region 18.3.1 - Blitting Pixel Rectangles} - - public z_BlitNamedFramebuffer := GetGLFuncOrNil&('glBlitNamedFramebuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitNamedFramebuffer(readFramebuffer: FramebufferName; drawFramebuffer: FramebufferName; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: BufferTypeFlags; filter: PixelFilterMode) := z_BlitNamedFramebuffer(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - public z_BlitFramebuffer := GetGLFuncOrNil&('glBlitFramebuffer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitFramebuffer(srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: BufferTypeFlags; filter: PixelFilterMode) := z_BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - {$endregion 18.3.1 - Blitting Pixel Rectangles} - - {$region 18.3.2 - Copying Between Images} - - public z_CopyImageSubData := GetGLFuncOrNil&('glCopyImageSubData'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubData(srcName: UInt32; srcTarget: CopyableImageType; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: CopyableImageType; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32) := z_CopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); - - {$endregion 18.3.2 - Copying Between Images} - - {$endregion 18.3 - Copying Pixels} - - {$endregion 18 - Reading and Copying Pixels} - - {$region 19 - Compute Shaders} - - public z_DispatchComputeIndirect := GetGLFuncOrNil&('glDispatchComputeIndirect'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DispatchComputeIndirect(indirect: IntPtr) := z_DispatchComputeIndirect(indirect); - - public z_DispatchCompute := GetGLFuncOrNil&('glDispatchCompute'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DispatchCompute(num_groups_x: UInt32; num_groups_y: UInt32; num_groups_z: UInt32) := z_DispatchCompute(num_groups_x, num_groups_y, num_groups_z); - - {$endregion 19 - Compute Shaders} - - {$region 20 - Debug Output} - - {$region 20.2 - Debug Message Callback} - - public z_DebugMessageCallback := GetGLFuncOrNil&('glDebugMessageCallback'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallback(callback: GLDEBUGPROC; userParam: &Array) := DebugMessageCallback(callback, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(userParam,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallback(callback: GLDEBUGPROC; var userParam: T); where T: record; begin DebugMessageCallback(callback, @userParam); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallback(callback: GLDEBUGPROC; userParam: IntPtr) := DebugMessageCallback(callback, pointer(userParam)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallback(callback: GLDEBUGPROC; userParam: pointer) := z_DebugMessageCallback(callback, userParam); - - {$endregion 20.2 - Debug Message Callback} - - {$region 20.4 - Controlling Debug Messages} - - public z_DebugMessageControl := GetGLFuncOrNil&('glDebugMessageControl'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControl(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; ids: array of UInt32; enabled: boolean) := DebugMessageControl(source, &type, severity, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControl(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; var ids: UInt32; enabled: boolean) := DebugMessageControl(source, &type, severity, count, @ids, enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControl(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; ids: pointer; enabled: boolean) := z_DebugMessageControl(source, &type, severity, count, ids, enabled); - - {$endregion 20.4 - Controlling Debug Messages} - - {$region 20.5 - Externally Generated Messages} - - public z_DebugMessageInsert := GetGLFuncOrNil&('glDebugMessageInsert'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsert(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; buf: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(buf); DebugMessageInsert(source, &type, id, severity, length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsert(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; buf: IntPtr) := z_DebugMessageInsert(source, &type, id, severity, length, buf); - - {$endregion 20.5 - Externally Generated Messages} - - {$region 20.6 - Debug Groups} - - public z_PushDebugGroup := GetGLFuncOrNil&('glPushDebugGroup'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushDebugGroup(source: DebugSourceType; id: UInt32; length: Int32; message: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(message); PushDebugGroup(source, id, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushDebugGroup(source: DebugSourceType; id: UInt32; length: Int32; message: IntPtr) := z_PushDebugGroup(source, id, length, message); - - public z_PopDebugGroup := GetGLFuncOrNil&('glPopDebugGroup'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopDebugGroup := z_PopDebugGroup; - - {$endregion 20.6 - Debug Groups} - - {$region 20.7 - Debug Labels} - - public z_ObjectPtrLabel := GetGLFuncOrNil&('glObjectPtrLabel'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: &Array; length: Int32; &label: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(&label); ObjectPtrLabel(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ptr,0)), length, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: &Array; length: Int32; &label: IntPtr) := ObjectPtrLabel(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ptr,0)), length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(var ptr: T; length: Int32; &label: string); where T: record; begin var ptr_3 := Marshal.StringToHGlobalAnsi(&label); ObjectPtrLabel(@ptr, length, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(var ptr: T; length: Int32; &label: IntPtr); where T: record; begin ObjectPtrLabel(@ptr, length, &label); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: IntPtr; length: Int32; &label: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(&label); ObjectPtrLabel(pointer(ptr), length, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: IntPtr; length: Int32; &label: IntPtr) := ObjectPtrLabel(pointer(ptr), length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: pointer; length: Int32; &label: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(&label); ObjectPtrLabel(ptr, length, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: pointer; length: Int32; &label: IntPtr) := z_ObjectPtrLabel(ptr, length, &label); - - public z_ObjectLabel := GetGLFuncOrNil&('glObjectLabel'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectLabel(identifier: ObjectType; name: UInt32; length: Int32; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); ObjectLabel(identifier, name, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectLabel(identifier: ObjectType; name: UInt32; length: Int32; &label: IntPtr) := z_ObjectLabel(identifier, name, length, &label); - - {$endregion 20.7 - Debug Labels} - - {$region 20.9 - Debug Output Queries} - - public z_GetObjectPtrLabel := GetGLFuncOrNil&('glGetObjectPtrLabel'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: pointer; bufSize: Int32; var length: Int32; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); GetObjectPtrLabel(ptr, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: pointer; bufSize: Int32; var length: Int32; &label: IntPtr) := GetObjectPtrLabel(ptr, bufSize, @length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: pointer; bufSize: Int32; length: pointer; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); GetObjectPtrLabel(ptr, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: pointer; bufSize: Int32; length: pointer; &label: IntPtr) := z_GetObjectPtrLabel(ptr, bufSize, length, &label); - - public z_GetObjectLabel := GetGLFuncOrNil&('glGetObjectLabel'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectType; name: UInt32; bufSize: Int32; var length: Int32; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabel(identifier, name, bufSize, @length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectType; name: UInt32; bufSize: Int32; var length: Int32; &label: IntPtr) := GetObjectLabel(identifier, name, bufSize, @length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectType; name: UInt32; bufSize: Int32; length: pointer; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabel(identifier, name, bufSize, length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectType; name: UInt32; bufSize: Int32; length: pointer; &label: IntPtr) := z_GetObjectLabel(identifier, name, bufSize, length, &label); - - public z_GetDebugMessageLog := GetGLFuncOrNil&('glGetDebugMessageLog'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; sources: array of DebugSourceType; types: array of DebugMessageType; ids: array of UInt32; severities: array of DebugSeverityLevel; lengths: array of Int32; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLog(count, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sources,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(types,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(severities,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lengths,0)), ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; sources: array of DebugSourceType; types: array of DebugMessageType; ids: array of UInt32; severities: array of DebugSeverityLevel; lengths: array of Int32; messageLog: IntPtr): UInt32 := GetDebugMessageLog(count, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sources,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(types,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(severities,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lengths,0)), messageLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; var sources: DebugSourceType; var types: DebugMessageType; var ids: UInt32; var severities: DebugSeverityLevel; var lengths: Int32; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLog(count, bufSize, @sources, @types, @ids, @severities, @lengths, ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; var sources: DebugSourceType; var types: DebugMessageType; var ids: UInt32; var severities: DebugSeverityLevel; var lengths: Int32; messageLog: IntPtr): UInt32 := GetDebugMessageLog(count, bufSize, @sources, @types, @ids, @severities, @lengths, messageLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; sources: pointer; types: pointer; ids: pointer; severities: pointer; lengths: pointer; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; sources: pointer; types: pointer; ids: pointer; severities: pointer; lengths: pointer; messageLog: IntPtr): UInt32 := z_GetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog); - - {$endregion 20.9 - Debug Output Queries} - - {$endregion 20 - Debug Output} - - {$region 21 - Special Functions} - - {$region 21.5 - Hints} - - private static procedure _Hint(target: HintType; mode: HintValue); external 'opengl32.dll' name 'glHint'; - public static z_Hint := _Hint; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Hint(target: HintType; mode: HintValue) := z_Hint(target, mode); - - {$endregion 21.5 - Hints} - - {$endregion 21 - Special Functions} - - {$region 22 - Context State Queries} - - {$region 22.1 - Simple Queries} - - public z_IsEnabledi := GetGLFuncOrNil&('glIsEnabledi'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledi(target: EnablableName; index: UInt32): boolean := z_IsEnabledi(target, index); - - private static function _IsEnabled(cap: EnablableName): boolean; external 'opengl32.dll' name 'glIsEnabled'; - public static z_IsEnabled := _IsEnabled; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabled(cap: EnablableName): boolean := z_IsEnabled(cap); - - private static procedure _GetIntegerv(pname: GLGetQueries; data: pointer); external 'opengl32.dll' name 'glGetIntegerv'; - public static z_GetIntegerv := _GetIntegerv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerv(pname: GLGetQueries; data: array of Int32) := GetIntegerv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerv(pname: GLGetQueries; var data: Int32) := GetIntegerv(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerv(pname: GLGetQueries; data: pointer) := z_GetIntegerv(pname, data); - - public z_GetIntegeri_v := GetGLFuncOrNil&('glGetIntegeri_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: GLGetQueries; index: UInt32; data: array of Int32) := GetIntegeri_v(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: GLGetQueries; index: UInt32; var data: Int32) := GetIntegeri_v(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: BufferBindType; index: UInt32; var data: BufferName) := GetIntegeri_v(new GLGetQueries(target.val), index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: GLGetQueries; index: UInt32; data: pointer) := z_GetIntegeri_v(target, index, data); - - public z_GetInteger64v := GetGLFuncOrNil&('glGetInteger64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64v(pname: GLGetQueries; data: array of Int64) := GetInteger64v(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64v(pname: GLGetQueries; var data: Int64) := GetInteger64v(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64v(pname: GLGetQueries; data: pointer) := z_GetInteger64v(pname, data); - - public z_GetInteger64i_v := GetGLFuncOrNil&('glGetInteger64i_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: GLGetQueries; index: UInt32; data: array of Int64) := GetInteger64i_v(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: GLGetQueries; index: UInt32; var data: Int64) := GetInteger64i_v(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: BufferBindType; index: UInt32; var data: Vec2i64) := GetInteger64i_v(new GLGetQueries(target.val), index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: GLGetQueries; index: UInt32; data: pointer) := z_GetInteger64i_v(target, index, data); - - private static procedure _GetFloatv(pname: GLGetQueries; data: pointer); external 'opengl32.dll' name 'glGetFloatv'; - public static z_GetFloatv := _GetFloatv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatv(pname: GLGetQueries; data: array of single) := GetFloatv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatv(pname: GLGetQueries; var data: single) := GetFloatv(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatv(pname: GLGetQueries; data: pointer) := z_GetFloatv(pname, data); - - public z_GetFloati_v := GetGLFuncOrNil&('glGetFloati_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_v(target: GLGetQueries; index: UInt32; data: array of single) := GetFloati_v(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_v(target: GLGetQueries; index: UInt32; var data: single) := GetFloati_v(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_v(target: GLGetQueries; index: UInt32; data: pointer) := z_GetFloati_v(target, index, data); - - private static procedure _GetDoublev(pname: GLGetQueries; data: pointer); external 'opengl32.dll' name 'glGetDoublev'; - public static z_GetDoublev := _GetDoublev; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublev(pname: GLGetQueries; data: array of double) := GetDoublev(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublev(pname: GLGetQueries; var data: double) := GetDoublev(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublev(pname: GLGetQueries; data: pointer) := z_GetDoublev(pname, data); - - public z_GetDoublei_v := GetGLFuncOrNil&('glGetDoublei_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_v(target: GLGetQueries; index: UInt32; data: array of double) := GetDoublei_v(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_v(target: GLGetQueries; index: UInt32; var data: double) := GetDoublei_v(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_v(target: GLGetQueries; index: UInt32; data: pointer) := z_GetDoublei_v(target, index, data); - - private static procedure _GetBooleanv(pname: GLGetQueries; data: pointer); external 'opengl32.dll' name 'glGetBooleanv'; - public static z_GetBooleanv := _GetBooleanv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanv(pname: GLGetQueries; data: array of boolean) := GetBooleanv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanv(pname: GLGetQueries; var data: boolean) := GetBooleanv(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanv(pname: GLGetQueries; data: pointer) := z_GetBooleanv(pname, data); - - public z_GetBooleani_v := GetGLFuncOrNil&('glGetBooleani_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleani_v(target: GLGetQueries; index: UInt32; data: array of boolean) := GetBooleani_v(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleani_v(target: GLGetQueries; index: UInt32; var data: boolean) := GetBooleani_v(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleani_v(target: GLGetQueries; index: UInt32; data: pointer) := z_GetBooleani_v(target, index, data); - - {$endregion 22.1 - Simple Queries} - - {$region 22.2 - Pointer, String, and Related Context Queries} - - public z_GetStringi := GetGLFuncOrNil&('glGetStringi'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetStringi_Str(name: GLGetStringQueries; index: UInt32): string := Marshal.PtrToStringAnsi(GetStringi(name, index)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetStringi(name: GLGetStringQueries; index: UInt32): IntPtr := z_GetStringi(name, index); - - private static function _GetString(name: GLGetStringQueries): IntPtr; external 'opengl32.dll' name 'glGetString'; - public static z_GetString := _GetString; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetString_Str(name: GLGetStringQueries): string := Marshal.PtrToStringAnsi(GetString(name)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetString(name: GLGetStringQueries): IntPtr := z_GetString(name); - - private static procedure _GetPointerv(pname: GLGetQueries; ¶ms: pointer); external 'opengl32.dll' name 'glGetPointerv'; - public static z_GetPointerv := _GetPointerv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GLGetQueries; ¶ms: array of IntPtr) := GetPointerv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GLGetQueries; var ¶ms: IntPtr) := GetPointerv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GLGetQueries; var ¶ms: ^IntPtr) := GetPointerv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GLGetQueries; ¶ms: pointer) := z_GetPointerv(pname, ¶ms); - - {$endregion 22.2 - Pointer, String, and Related Context Queries} - - {$region 22.3 - Internal Format Queries} - - public z_GetInternalformativ := GetGLFuncOrNil&('glGetInternalformativ'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; ¶ms: array of Int32) := GetInternalformativ(target, internalformat, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: Int32) := GetInternalformativ(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: SupportLevel) := GetInternalformativ(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: DataFormat) := GetInternalformativ(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: DataType) := GetInternalformativ(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: CompatibilityImageClassType) := GetInternalformativ(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: ImageFormatCompatibilityMode) := GetInternalformativ(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; ¶ms: pointer) := z_GetInternalformativ(target, internalformat, pname, count, ¶ms); - - public z_GetInternalformati64v := GetGLFuncOrNil&('glGetInternalformati64v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformati64v(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; ¶ms: array of Int64) := GetInternalformati64v(target, internalformat, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformati64v(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; var ¶ms: Int64) := GetInternalformati64v(target, internalformat, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformati64v(target: TextureBindTarget; internalformat: InternalDataFormat; pname: InternalFormatInfoType; count: Int32; ¶ms: pointer) := z_GetInternalformati64v(target, internalformat, pname, count, ¶ms); - - {$endregion 22.3 - Internal Format Queries} - - {$region 22.4 - Transform Feedback State Queries} - - public z_GetTransformFeedbackiv := GetGLFuncOrNil&('glGetTransformFeedbackiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackiv(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; var param: Int32) := GetTransformFeedbackiv(xfb, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackiv(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; var param: BufferName) := GetTransformFeedbackiv(xfb, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackiv(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; param: pointer) := z_GetTransformFeedbackiv(xfb, pname, param); - - public z_GetTransformFeedbacki64_v := GetGLFuncOrNil&('glGetTransformFeedbacki64_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki64_v(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; index: UInt32; var param: Int64) := GetTransformFeedbacki64_v(xfb, pname, index, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki64_v(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; index: UInt32; param: pointer) := z_GetTransformFeedbacki64_v(xfb, pname, index, param); - - public z_GetTransformFeedbacki_v := GetGLFuncOrNil&('glGetTransformFeedbacki_v'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki_v(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; index: UInt32; var param: Int32) := GetTransformFeedbacki_v(xfb, pname, index, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki_v(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; index: UInt32; var param: BufferName) := GetTransformFeedbacki_v(xfb, pname, index, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki_v(xfb: TransformFeedbackName; pname: TransformFeedbackInfoType; index: UInt32; param: pointer) := z_GetTransformFeedbacki_v(xfb, pname, index, param); - - {$endregion 22.4 - Transform Feedback State Queries} - - {$endregion 22 - Context State Queries} + // added in gl1.3 + public z_ActiveTexture_adr := GetFuncAdr('glActiveTexture'); + public z_ActiveTexture_ovr_0 := GetFuncOrNil&(z_ActiveTexture_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveTexture(texture: TextureUnit); + begin + z_ActiveTexture_ovr_0(texture); + end; + + // added in gl2.0 + public z_AttachShader_adr := GetFuncAdr('glAttachShader'); + public z_AttachShader_ovr_0 := GetFuncOrNil&(z_AttachShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AttachShader(&program: ProgramName; shader: ShaderName); + begin + z_AttachShader_ovr_0(&program, shader); + end; + + // added in gl3.0 + public z_BeginConditionalRender_adr := GetFuncAdr('glBeginConditionalRender'); + public z_BeginConditionalRender_ovr_0 := GetFuncOrNil&(z_BeginConditionalRender_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginConditionalRender(id: UInt32; mode: ConditionalRenderMode); + begin + z_BeginConditionalRender_ovr_0(id, mode); + end; + + // added in gl1.5 + public z_BeginQuery_adr := GetFuncAdr('glBeginQuery'); + public z_BeginQuery_ovr_0 := GetFuncOrNil&(z_BeginQuery_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQuery(target: QueryTarget; id: QueryName); + begin + z_BeginQuery_ovr_0(target, id); + end; + + // added in gl4.0 + public z_BeginQueryIndexed_adr := GetFuncAdr('glBeginQueryIndexed'); + public z_BeginQueryIndexed_ovr_0 := GetFuncOrNil&(z_BeginQueryIndexed_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQueryIndexed(target: QueryTarget; index: UInt32; id: QueryName); + begin + z_BeginQueryIndexed_ovr_0(target, index, id); + end; + + // added in gl3.0 + public z_BeginTransformFeedback_adr := GetFuncAdr('glBeginTransformFeedback'); + public z_BeginTransformFeedback_ovr_0 := GetFuncOrNil&(z_BeginTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginTransformFeedback(primitiveMode: PrimitiveType); + begin + z_BeginTransformFeedback_ovr_0(primitiveMode); + end; + + // added in gl2.0 + public z_BindAttribLocation_adr := GetFuncAdr('glBindAttribLocation'); + public z_BindAttribLocation_ovr_0 := GetFuncOrNil&(z_BindAttribLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocation(&program: ProgramName; index: UInt32; name: string); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_BindAttribLocation_ovr_0(&program, index, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocation(&program: ProgramName; index: UInt32; name: IntPtr); + begin + z_BindAttribLocation_ovr_0(&program, index, name); + end; + + // added in gl1.5 + public z_BindBuffer_adr := GetFuncAdr('glBindBuffer'); + public z_BindBuffer_ovr_0 := GetFuncOrNil&(z_BindBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffer(target: BufferTargetARB; buffer: BufferName); + begin + z_BindBuffer_ovr_0(target, buffer); + end; + + // added in gl3.1 + public z_BindBufferBase_adr := GetFuncAdr('glBindBufferBase'); + public z_BindBufferBase_ovr_0 := GetFuncOrNil&(z_BindBufferBase_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferBase(target: BufferTargetARB; index: UInt32; buffer: BufferName); + begin + z_BindBufferBase_ovr_0(target, index, buffer); + end; + + // added in gl3.1 + public z_BindBufferRange_adr := GetFuncAdr('glBindBufferRange'); + public z_BindBufferRange_ovr_0 := GetFuncOrNil&(z_BindBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferRange(target: BufferTargetARB; index: UInt32; buffer: BufferName; offset: IntPtr; size: IntPtr); + begin + z_BindBufferRange_ovr_0(target, index, buffer, offset, size); + end; + + // added in gl4.4 + public z_BindBuffersBase_adr := GetFuncAdr('glBindBuffersBase'); + public z_BindBuffersBase_ovr_0 := GetFuncOrNil&(z_BindBuffersBase_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersBase(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32); + begin + z_BindBuffersBase_ovr_0(target, first, count, buffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersBase(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32); + begin + z_BindBuffersBase_ovr_0(target, first, count, buffers); + end; + public z_BindBuffersBase_ovr_2 := GetFuncOrNil&(z_BindBuffersBase_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersBase(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr); + begin + z_BindBuffersBase_ovr_2(target, first, count, buffers); + end; + + // added in gl4.4 + public z_BindBuffersRange_adr := GetFuncAdr('glBindBuffersRange'); + public z_BindBuffersRange_ovr_0 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers[0], offsets[0], sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers[0], offsets[0], sizes); + end; + public z_BindBuffersRange_ovr_2 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; sizes: pointer); + begin + z_BindBuffersRange_ovr_2(target, first, count, buffers[0], offsets[0], sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers[0], offsets, sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers[0], offsets, sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; sizes: pointer); + begin + z_BindBuffersRange_ovr_2(target, first, count, buffers[0], offsets, sizes); + end; + public z_BindBuffersRange_ovr_6 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_6(target, first, count, buffers[0], offsets, sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_6(target, first, count, buffers[0], offsets, sizes); + end; + public z_BindBuffersRange_ovr_8 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; sizes: pointer); + begin + z_BindBuffersRange_ovr_8(target, first, count, buffers[0], offsets, sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers, offsets[0], sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers, offsets[0], sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; sizes: pointer); + begin + z_BindBuffersRange_ovr_2(target, first, count, buffers, offsets[0], sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers, offsets, sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_0(target, first, count, buffers, offsets, sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; sizes: pointer); + begin + z_BindBuffersRange_ovr_2(target, first, count, buffers, offsets, sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_6(target, first, count, buffers, offsets, sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_6(target, first, count, buffers, offsets, sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; sizes: pointer); + begin + z_BindBuffersRange_ovr_8(target, first, count, buffers, offsets, sizes); + end; + public z_BindBuffersRange_ovr_18 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_18(target, first, count, buffers, offsets[0], sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_18(target, first, count, buffers, offsets[0], sizes); + end; + public z_BindBuffersRange_ovr_20 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; sizes: pointer); + begin + z_BindBuffersRange_ovr_20(target, first, count, buffers, offsets[0], sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_18(target, first, count, buffers, offsets, sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_18(target, first, count, buffers, offsets, sizes); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; sizes: pointer); + begin + z_BindBuffersRange_ovr_20(target, first, count, buffers, offsets, sizes); + end; + public z_BindBuffersRange_ovr_24 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; sizes: array of IntPtr); + begin + z_BindBuffersRange_ovr_24(target, first, count, buffers, offsets, sizes[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; var sizes: IntPtr); + begin + z_BindBuffersRange_ovr_24(target, first, count, buffers, offsets, sizes); + end; + public z_BindBuffersRange_ovr_26 := GetFuncOrNil&(z_BindBuffersRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBuffersRange(target: BufferTargetARB; first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; sizes: pointer); + begin + z_BindBuffersRange_ovr_26(target, first, count, buffers, offsets, sizes); + end; + + // added in gl3.0 + public z_BindFragDataLocation_adr := GetFuncAdr('glBindFragDataLocation'); + public z_BindFragDataLocation_ovr_0 := GetFuncOrNil&(z_BindFragDataLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocation(&program: ProgramName; color: UInt32; name: string); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_BindFragDataLocation_ovr_0(&program, color, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocation(&program: ProgramName; color: UInt32; name: IntPtr); + begin + z_BindFragDataLocation_ovr_0(&program, color, name); + end; + + // added in gl3.3 + public z_BindFragDataLocationIndexed_adr := GetFuncAdr('glBindFragDataLocationIndexed'); + public z_BindFragDataLocationIndexed_ovr_0 := GetFuncOrNil&(z_BindFragDataLocationIndexed_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationIndexed(&program: ProgramName; colorNumber: UInt32; index: UInt32; name: string); + begin + var par_4_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_BindFragDataLocationIndexed_ovr_0(&program, colorNumber, index, par_4_str_ptr); + Marshal.FreeHGlobal(par_4_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationIndexed(&program: ProgramName; colorNumber: UInt32; index: UInt32; name: IntPtr); + begin + z_BindFragDataLocationIndexed_ovr_0(&program, colorNumber, index, name); + end; + + // added in gl3.0 + public z_BindFramebuffer_adr := GetFuncAdr('glBindFramebuffer'); + public z_BindFramebuffer_ovr_0 := GetFuncOrNil&(z_BindFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFramebuffer(target: FramebufferTarget; framebuffer: FramebufferName); + begin + z_BindFramebuffer_ovr_0(target, framebuffer); + end; + + // added in gl4.2 + public z_BindImageTexture_adr := GetFuncAdr('glBindImageTexture'); + public z_BindImageTexture_ovr_0 := GetFuncOrNil&(z_BindImageTexture_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTexture(&unit: UInt32; texture: TextureName; level: Int32; layered: boolean; layer: Int32; access: BufferAccessARB; format: InternalFormat); + begin + z_BindImageTexture_ovr_0(&unit, texture, level, layered, layer, access, format); + end; + + // added in gl4.4 + public z_BindImageTextures_adr := GetFuncAdr('glBindImageTextures'); + public z_BindImageTextures_ovr_0 := GetFuncOrNil&(z_BindImageTextures_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextures(first: UInt32; count: Int32; textures: array of UInt32); + begin + z_BindImageTextures_ovr_0(first, count, textures[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextures(first: UInt32; count: Int32; var textures: UInt32); + begin + z_BindImageTextures_ovr_0(first, count, textures); + end; + public z_BindImageTextures_ovr_2 := GetFuncOrNil&(z_BindImageTextures_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextures(first: UInt32; count: Int32; textures: IntPtr); + begin + z_BindImageTextures_ovr_2(first, count, textures); + end; + + // added in gl4.1 + public z_BindProgramPipeline_adr := GetFuncAdr('glBindProgramPipeline'); + public z_BindProgramPipeline_ovr_0 := GetFuncOrNil&(z_BindProgramPipeline_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramPipeline(pipeline: ProgramPipelineName); + begin + z_BindProgramPipeline_ovr_0(pipeline); + end; + + // added in gl3.0 + public z_BindRenderbuffer_adr := GetFuncAdr('glBindRenderbuffer'); + public z_BindRenderbuffer_ovr_0 := GetFuncOrNil&(z_BindRenderbuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindRenderbuffer(target: RenderbufferTarget; renderbuffer: RenderbufferName); + begin + z_BindRenderbuffer_ovr_0(target, renderbuffer); + end; + + // added in gl3.3 + public z_BindSampler_adr := GetFuncAdr('glBindSampler'); + public z_BindSampler_ovr_0 := GetFuncOrNil&(z_BindSampler_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSampler(&unit: UInt32; sampler: SamplerName); + begin + z_BindSampler_ovr_0(&unit, sampler); + end; + + // added in gl4.4 + public z_BindSamplers_adr := GetFuncAdr('glBindSamplers'); + public z_BindSamplers_ovr_0 := GetFuncOrNil&(z_BindSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSamplers(first: UInt32; count: Int32; samplers: array of UInt32); + begin + z_BindSamplers_ovr_0(first, count, samplers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSamplers(first: UInt32; count: Int32; var samplers: UInt32); + begin + z_BindSamplers_ovr_0(first, count, samplers); + end; + public z_BindSamplers_ovr_2 := GetFuncOrNil&(z_BindSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSamplers(first: UInt32; count: Int32; samplers: IntPtr); + begin + z_BindSamplers_ovr_2(first, count, samplers); + end; + + // added in gl1.1 + private static procedure _z_BindTexture_ovr0(target: TextureTarget; texture: TextureName); + external 'opengl32.dll' name 'glBindTexture'; + public static z_BindTexture_ovr0 := _z_BindTexture_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTexture(target: TextureTarget; texture: TextureName) := z_BindTexture_ovr0(target, texture); + + // added in gl4.4 + public z_BindTextures_adr := GetFuncAdr('glBindTextures'); + public z_BindTextures_ovr_0 := GetFuncOrNil&(z_BindTextures_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextures(first: UInt32; count: Int32; textures: array of UInt32); + begin + z_BindTextures_ovr_0(first, count, textures[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextures(first: UInt32; count: Int32; var textures: UInt32); + begin + z_BindTextures_ovr_0(first, count, textures); + end; + public z_BindTextures_ovr_2 := GetFuncOrNil&(z_BindTextures_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextures(first: UInt32; count: Int32; textures: IntPtr); + begin + z_BindTextures_ovr_2(first, count, textures); + end; + + // added in gl4.5 + public z_BindTextureUnit_adr := GetFuncAdr('glBindTextureUnit'); + public z_BindTextureUnit_ovr_0 := GetFuncOrNil&(z_BindTextureUnit_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextureUnit(&unit: UInt32; texture: TextureName); + begin + z_BindTextureUnit_ovr_0(&unit, texture); + end; + + // added in gl4.0 + public z_BindTransformFeedback_adr := GetFuncAdr('glBindTransformFeedback'); + public z_BindTransformFeedback_ovr_0 := GetFuncOrNil&(z_BindTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTransformFeedback(target: BindTransformFeedbackTarget; id: TransformFeedbackName); + begin + z_BindTransformFeedback_ovr_0(target, id); + end; + + // added in gl3.0 + public z_BindVertexArray_adr := GetFuncAdr('glBindVertexArray'); + public z_BindVertexArray_ovr_0 := GetFuncOrNil&(z_BindVertexArray_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexArray(&array: VertexArrayName); + begin + z_BindVertexArray_ovr_0(&array); + end; + + // added in gl4.3 + public z_BindVertexBuffer_adr := GetFuncAdr('glBindVertexBuffer'); + public z_BindVertexBuffer_ovr_0 := GetFuncOrNil&(z_BindVertexBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffer(bindingindex: UInt32; buffer: BufferName; offset: IntPtr; stride: Int32); + begin + z_BindVertexBuffer_ovr_0(bindingindex, buffer, offset, stride); + end; + + // added in gl4.4 + public z_BindVertexBuffers_adr := GetFuncAdr('glBindVertexBuffers'); + public z_BindVertexBuffers_ovr_0 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers[0], offsets[0], strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; var strides: Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers[0], offsets[0], strides); + end; + public z_BindVertexBuffers_ovr_2 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_2(first, count, buffers[0], offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers[0], offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; var strides: Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers[0], offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_2(first, count, buffers[0], offsets, strides); + end; + public z_BindVertexBuffers_ovr_6 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_6(first, count, buffers[0], offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; var strides: Int32); + begin + z_BindVertexBuffers_ovr_6(first, count, buffers[0], offsets, strides); + end; + public z_BindVertexBuffers_ovr_8 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_8(first, count, buffers[0], offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers, offsets[0], strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; var strides: Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers, offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_2(first, count, buffers, offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; var strides: Int32); + begin + z_BindVertexBuffers_ovr_0(first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_2(first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_6(first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; var strides: Int32); + begin + z_BindVertexBuffers_ovr_6(first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_8(first, count, buffers, offsets, strides); + end; + public z_BindVertexBuffers_ovr_18 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_18(first, count, buffers, offsets[0], strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; var strides: Int32); + begin + z_BindVertexBuffers_ovr_18(first, count, buffers, offsets[0], strides); + end; + public z_BindVertexBuffers_ovr_20 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_20(first, count, buffers, offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_18(first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; var strides: Int32); + begin + z_BindVertexBuffers_ovr_18(first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_20(first, count, buffers, offsets, strides); + end; + public z_BindVertexBuffers_ovr_24 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; strides: array of Int32); + begin + z_BindVertexBuffers_ovr_24(first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; var strides: Int32); + begin + z_BindVertexBuffers_ovr_24(first, count, buffers, offsets, strides); + end; + public z_BindVertexBuffers_ovr_26 := GetFuncOrNil&(z_BindVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexBuffers(first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; strides: IntPtr); + begin + z_BindVertexBuffers_ovr_26(first, count, buffers, offsets, strides); + end; + + // added in gl1.4 + public z_BlendColor_adr := GetFuncAdr('glBlendColor'); + public z_BlendColor_ovr_0 := GetFuncOrNil&(z_BlendColor_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendColor(red: single; green: single; blue: single; alpha: single); + begin + z_BlendColor_ovr_0(red, green, blue, alpha); + end; + + // added in gl1.4 + public z_BlendEquation_adr := GetFuncAdr('glBlendEquation'); + public z_BlendEquation_ovr_0 := GetFuncOrNil&(z_BlendEquation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquation(mode: BlendEquationModeEXT); + begin + z_BlendEquation_ovr_0(mode); + end; + + // added in gl4.0 + public z_BlendEquationi_adr := GetFuncAdr('glBlendEquationi'); + public z_BlendEquationi_ovr_0 := GetFuncOrNil&(z_BlendEquationi_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationi(buf: UInt32; mode: BlendEquationModeEXT); + begin + z_BlendEquationi_ovr_0(buf, mode); + end; + + // added in gl2.0 + public z_BlendEquationSeparate_adr := GetFuncAdr('glBlendEquationSeparate'); + public z_BlendEquationSeparate_ovr_0 := GetFuncOrNil&(z_BlendEquationSeparate_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparate(modeRGB: BlendEquationModeEXT; modeAlpha: BlendEquationModeEXT); + begin + z_BlendEquationSeparate_ovr_0(modeRGB, modeAlpha); + end; + + // added in gl4.0 + public z_BlendEquationSeparatei_adr := GetFuncAdr('glBlendEquationSeparatei'); + public z_BlendEquationSeparatei_ovr_0 := GetFuncOrNil&(z_BlendEquationSeparatei_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparatei(buf: UInt32; modeRGB: BlendEquationModeEXT; modeAlpha: BlendEquationModeEXT); + begin + z_BlendEquationSeparatei_ovr_0(buf, modeRGB, modeAlpha); + end; + + // added in gl1.0 + private static procedure _z_BlendFunc_ovr0(sfactor: BlendingFactor; dfactor: BlendingFactor); + external 'opengl32.dll' name 'glBlendFunc'; + public static z_BlendFunc_ovr0 := _z_BlendFunc_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunc(sfactor: BlendingFactor; dfactor: BlendingFactor) := z_BlendFunc_ovr0(sfactor, dfactor); + + // added in gl4.0 + public z_BlendFunci_adr := GetFuncAdr('glBlendFunci'); + public z_BlendFunci_ovr_0 := GetFuncOrNil&(z_BlendFunci_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunci(buf: UInt32; src: BlendingFactor; dst: BlendingFactor); + begin + z_BlendFunci_ovr_0(buf, src, dst); + end; + + // added in gl1.4 + public z_BlendFuncSeparate_adr := GetFuncAdr('glBlendFuncSeparate'); + public z_BlendFuncSeparate_ovr_0 := GetFuncOrNil&(z_BlendFuncSeparate_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparate(sfactorRGB: BlendingFactor; dfactorRGB: BlendingFactor; sfactorAlpha: BlendingFactor; dfactorAlpha: BlendingFactor); + begin + z_BlendFuncSeparate_ovr_0(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + end; + + // added in gl4.0 + public z_BlendFuncSeparatei_adr := GetFuncAdr('glBlendFuncSeparatei'); + public z_BlendFuncSeparatei_ovr_0 := GetFuncOrNil&(z_BlendFuncSeparatei_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparatei(buf: UInt32; srcRGB: BlendingFactor; dstRGB: BlendingFactor; srcAlpha: BlendingFactor; dstAlpha: BlendingFactor); + begin + z_BlendFuncSeparatei_ovr_0(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + end; + + // added in gl3.0 + public z_BlitFramebuffer_adr := GetFuncAdr('glBlitFramebuffer'); + public z_BlitFramebuffer_ovr_0 := GetFuncOrNil&(z_BlitFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitFramebuffer(srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: ClearBufferMask; filter: BlitFramebufferFilter); + begin + z_BlitFramebuffer_ovr_0(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + end; + + // added in gl4.5 + public z_BlitNamedFramebuffer_adr := GetFuncAdr('glBlitNamedFramebuffer'); + public z_BlitNamedFramebuffer_ovr_0 := GetFuncOrNil&(z_BlitNamedFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitNamedFramebuffer(readFramebuffer: UInt32; drawFramebuffer: UInt32; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: ClearBufferMask; filter: BlitFramebufferFilter); + begin + z_BlitNamedFramebuffer_ovr_0(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + end; + + // added in gl1.5 + public z_BufferData_adr := GetFuncAdr('glBufferData'); + public z_BufferData_ovr_0 := GetFuncOrNil&(z_BufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferData(target: BufferTargetARB; size: IntPtr; data: IntPtr; usage: BufferUsageARB); + begin + z_BufferData_ovr_0(target, size, data, usage); + end; + + // added in gl4.4 + public z_BufferStorage_adr := GetFuncAdr('glBufferStorage'); + public z_BufferStorage_ovr_0 := GetFuncOrNil&(z_BufferStorage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorage(target: BufferStorageTarget; size: IntPtr; data: IntPtr; flags: BufferStorageMask); + begin + z_BufferStorage_ovr_0(target, size, data, flags); + end; + + // added in gl1.5 + public z_BufferSubData_adr := GetFuncAdr('glBufferSubData'); + public z_BufferSubData_ovr_0 := GetFuncOrNil&(z_BufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubData(target: BufferTargetARB; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_BufferSubData_ovr_0(target, offset, size, data); + end; + + // added in gl3.0 + public z_CheckFramebufferStatus_adr := GetFuncAdr('glCheckFramebufferStatus'); + public z_CheckFramebufferStatus_ovr_0 := GetFuncOrNil&(z_CheckFramebufferStatus_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckFramebufferStatus(target: FramebufferTarget): FramebufferStatus; + begin + Result := z_CheckFramebufferStatus_ovr_0(target); + end; + + // added in gl4.5 + public z_CheckNamedFramebufferStatus_adr := GetFuncAdr('glCheckNamedFramebufferStatus'); + public z_CheckNamedFramebufferStatus_ovr_0 := GetFuncOrNil&(z_CheckNamedFramebufferStatus_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckNamedFramebufferStatus(framebuffer: UInt32; target: FramebufferTarget): FramebufferStatus; + begin + Result := z_CheckNamedFramebufferStatus_ovr_0(framebuffer, target); + end; + + // added in gl3.0 + public z_ClampColor_adr := GetFuncAdr('glClampColor'); + public z_ClampColor_ovr_0 := GetFuncOrNil&(z_ClampColor_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClampColor(target: ClampColorTargetARB; clamp: ClampColorModeARB); + begin + z_ClampColor_ovr_0(target, clamp); + end; + + // added in gl1.0 + private static procedure _z_Clear_ovr0(mask: ClearBufferMask); + external 'opengl32.dll' name 'glClear'; + public static z_Clear_ovr0 := _z_Clear_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Clear(mask: ClearBufferMask) := z_Clear_ovr0(mask); + + // added in gl4.3 + public z_ClearBufferData_adr := GetFuncAdr('glClearBufferData'); + public z_ClearBufferData_ovr_0 := GetFuncOrNil&(z_ClearBufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferData(target: BufferStorageTarget; _internalformat: InternalFormat; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearBufferData_ovr_0(target, _internalformat, format, &type, data); + end; + + // added in gl3.0 + public z_ClearBufferfi_adr := GetFuncAdr('glClearBufferfi'); + public z_ClearBufferfi_ovr_0 := GetFuncOrNil&(z_ClearBufferfi_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfi(_buffer: Buffer; drawbuffer: Int32; depth: single; stencil: Int32); + begin + z_ClearBufferfi_ovr_0(_buffer, drawbuffer, depth, stencil); + end; + + // added in gl3.0 + public z_ClearBufferfv_adr := GetFuncAdr('glClearBufferfv'); + public z_ClearBufferfv_ovr_0 := GetFuncOrNil&(z_ClearBufferfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(_buffer: Buffer; drawbuffer: Int32; value: array of single); + begin + z_ClearBufferfv_ovr_0(_buffer, drawbuffer, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(_buffer: Buffer; drawbuffer: Int32; var value: single); + begin + z_ClearBufferfv_ovr_0(_buffer, drawbuffer, value); + end; + public z_ClearBufferfv_ovr_2 := GetFuncOrNil&(z_ClearBufferfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferfv(_buffer: Buffer; drawbuffer: Int32; value: IntPtr); + begin + z_ClearBufferfv_ovr_2(_buffer, drawbuffer, value); + end; + + // added in gl3.0 + public z_ClearBufferiv_adr := GetFuncAdr('glClearBufferiv'); + public z_ClearBufferiv_ovr_0 := GetFuncOrNil&(z_ClearBufferiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(_buffer: Buffer; drawbuffer: Int32; value: array of Int32); + begin + z_ClearBufferiv_ovr_0(_buffer, drawbuffer, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(_buffer: Buffer; drawbuffer: Int32; var value: Int32); + begin + z_ClearBufferiv_ovr_0(_buffer, drawbuffer, value); + end; + public z_ClearBufferiv_ovr_2 := GetFuncOrNil&(z_ClearBufferiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferiv(_buffer: Buffer; drawbuffer: Int32; value: IntPtr); + begin + z_ClearBufferiv_ovr_2(_buffer, drawbuffer, value); + end; + + // added in gl4.3 + public z_ClearBufferSubData_adr := GetFuncAdr('glClearBufferSubData'); + public z_ClearBufferSubData_ovr_0 := GetFuncOrNil&(z_ClearBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferSubData(target: BufferTargetARB; _internalformat: InternalFormat; offset: IntPtr; size: IntPtr; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearBufferSubData_ovr_0(target, _internalformat, offset, size, format, &type, data); + end; + + // added in gl3.0 + public z_ClearBufferuiv_adr := GetFuncAdr('glClearBufferuiv'); + public z_ClearBufferuiv_ovr_0 := GetFuncOrNil&(z_ClearBufferuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(_buffer: Buffer; drawbuffer: Int32; value: array of UInt32); + begin + z_ClearBufferuiv_ovr_0(_buffer, drawbuffer, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(_buffer: Buffer; drawbuffer: Int32; var value: UInt32); + begin + z_ClearBufferuiv_ovr_0(_buffer, drawbuffer, value); + end; + public z_ClearBufferuiv_ovr_2 := GetFuncOrNil&(z_ClearBufferuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearBufferuiv(_buffer: Buffer; drawbuffer: Int32; value: IntPtr); + begin + z_ClearBufferuiv_ovr_2(_buffer, drawbuffer, value); + end; + + // added in gl1.0 + private static procedure _z_ClearColor_ovr0(red: single; green: single; blue: single; alpha: single); + external 'opengl32.dll' name 'glClearColor'; + public static z_ClearColor_ovr0 := _z_ClearColor_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColor(red: single; green: single; blue: single; alpha: single) := z_ClearColor_ovr0(red, green, blue, alpha); + + // added in gl1.0 + private static procedure _z_ClearDepth_ovr0(depth: real); + external 'opengl32.dll' name 'glClearDepth'; + public static z_ClearDepth_ovr0 := _z_ClearDepth_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepth(depth: real) := z_ClearDepth_ovr0(depth); + + // added in gl4.1 + public z_ClearDepthf_adr := GetFuncAdr('glClearDepthf'); + public z_ClearDepthf_ovr_0 := GetFuncOrNil&(z_ClearDepthf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthf(d: single); + begin + z_ClearDepthf_ovr_0(d); + end; + + // added in gl4.5 + public z_ClearNamedBufferData_adr := GetFuncAdr('glClearNamedBufferData'); + public z_ClearNamedBufferData_ovr_0 := GetFuncOrNil&(z_ClearNamedBufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferData(buffer: UInt32; _internalformat: InternalFormat; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearNamedBufferData_ovr_0(buffer, _internalformat, format, &type, data); + end; + + // added in gl4.5 + public z_ClearNamedBufferSubData_adr := GetFuncAdr('glClearNamedBufferSubData'); + public z_ClearNamedBufferSubData_ovr_0 := GetFuncOrNil&(z_ClearNamedBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubData(buffer: UInt32; _internalformat: InternalFormat; offset: IntPtr; size: IntPtr; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearNamedBufferSubData_ovr_0(buffer, _internalformat, offset, size, format, &type, data); + end; + + // added in gl4.5 + public z_ClearNamedFramebufferfi_adr := GetFuncAdr('glClearNamedFramebufferfi'); + public z_ClearNamedFramebufferfi_ovr_0 := GetFuncOrNil&(z_ClearNamedFramebufferfi_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfi(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; depth: single; stencil: Int32); + begin + z_ClearNamedFramebufferfi_ovr_0(framebuffer, _buffer, drawbuffer, depth, stencil); + end; + + // added in gl4.5 + public z_ClearNamedFramebufferfv_adr := GetFuncAdr('glClearNamedFramebufferfv'); + public z_ClearNamedFramebufferfv_ovr_0 := GetFuncOrNil&(z_ClearNamedFramebufferfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; value: array of single); + begin + z_ClearNamedFramebufferfv_ovr_0(framebuffer, _buffer, drawbuffer, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; var value: single); + begin + z_ClearNamedFramebufferfv_ovr_0(framebuffer, _buffer, drawbuffer, value); + end; + public z_ClearNamedFramebufferfv_ovr_2 := GetFuncOrNil&(z_ClearNamedFramebufferfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferfv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; value: IntPtr); + begin + z_ClearNamedFramebufferfv_ovr_2(framebuffer, _buffer, drawbuffer, value); + end; + + // added in gl4.5 + public z_ClearNamedFramebufferiv_adr := GetFuncAdr('glClearNamedFramebufferiv'); + public z_ClearNamedFramebufferiv_ovr_0 := GetFuncOrNil&(z_ClearNamedFramebufferiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; value: array of Int32); + begin + z_ClearNamedFramebufferiv_ovr_0(framebuffer, _buffer, drawbuffer, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; var value: Int32); + begin + z_ClearNamedFramebufferiv_ovr_0(framebuffer, _buffer, drawbuffer, value); + end; + public z_ClearNamedFramebufferiv_ovr_2 := GetFuncOrNil&(z_ClearNamedFramebufferiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferiv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; value: IntPtr); + begin + z_ClearNamedFramebufferiv_ovr_2(framebuffer, _buffer, drawbuffer, value); + end; + + // added in gl4.5 + public z_ClearNamedFramebufferuiv_adr := GetFuncAdr('glClearNamedFramebufferuiv'); + public z_ClearNamedFramebufferuiv_ovr_0 := GetFuncOrNil&(z_ClearNamedFramebufferuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; value: array of UInt32); + begin + z_ClearNamedFramebufferuiv_ovr_0(framebuffer, _buffer, drawbuffer, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; var value: UInt32); + begin + z_ClearNamedFramebufferuiv_ovr_0(framebuffer, _buffer, drawbuffer, value); + end; + public z_ClearNamedFramebufferuiv_ovr_2 := GetFuncOrNil&(z_ClearNamedFramebufferuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedFramebufferuiv(framebuffer: UInt32; _buffer: Buffer; drawbuffer: Int32; value: IntPtr); + begin + z_ClearNamedFramebufferuiv_ovr_2(framebuffer, _buffer, drawbuffer, value); + end; + + // added in gl1.0 + private static procedure _z_ClearStencil_ovr0(s: Int32); + external 'opengl32.dll' name 'glClearStencil'; + public static z_ClearStencil_ovr0 := _z_ClearStencil_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearStencil(s: Int32) := z_ClearStencil_ovr0(s); + + // added in gl4.4 + public z_ClearTexImage_adr := GetFuncAdr('glClearTexImage'); + public z_ClearTexImage_ovr_0 := GetFuncOrNil&(z_ClearTexImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexImage(texture: UInt32; level: Int32; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearTexImage_ovr_0(texture, level, format, &type, data); + end; + + // added in gl4.4 + public z_ClearTexSubImage_adr := GetFuncAdr('glClearTexSubImage'); + public z_ClearTexSubImage_ovr_0 := GetFuncOrNil&(z_ClearTexSubImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexSubImage(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearTexSubImage_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, data); + end; + + // added in gl3.2 + public z_ClientWaitSync_adr := GetFuncAdr('glClientWaitSync'); + public z_ClientWaitSync_ovr_0 := GetFuncOrNil&(z_ClientWaitSync_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ClientWaitSync(sync: GLsync; flags: SyncObjectMask; timeout: UInt64): SyncStatus; + begin + Result := z_ClientWaitSync_ovr_0(sync, flags, timeout); + end; + + // added in gl4.5 + public z_ClipControl_adr := GetFuncAdr('glClipControl'); + public z_ClipControl_ovr_0 := GetFuncOrNil&(z_ClipControl_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipControl(origin: ClipControlOrigin; depth: ClipControlDepth); + begin + z_ClipControl_ovr_0(origin, depth); + end; + + // added in gl1.0 + private static procedure _z_ColorMask_ovr0(red: boolean; green: boolean; blue: boolean; alpha: boolean); + external 'opengl32.dll' name 'glColorMask'; + public static z_ColorMask_ovr0 := _z_ColorMask_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMask(red: boolean; green: boolean; blue: boolean; alpha: boolean) := z_ColorMask_ovr0(red, green, blue, alpha); + + // added in gl3.0 + public z_ColorMaski_adr := GetFuncAdr('glColorMaski'); + public z_ColorMaski_ovr_0 := GetFuncOrNil&(z_ColorMaski_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaski(index: UInt32; r: boolean; g: boolean; b: boolean; a: boolean); + begin + z_ColorMaski_ovr_0(index, r, g, b, a); + end; + + // added in gl3.3 + public z_ColorP3ui_adr := GetFuncAdr('glColorP3ui'); + public z_ColorP3ui_ovr_0 := GetFuncOrNil&(z_ColorP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3ui(&type: ColorPointerType; color: UInt32); + begin + z_ColorP3ui_ovr_0(&type, color); + end; + + // added in gl3.3 + public z_ColorP3uiv_adr := GetFuncAdr('glColorP3uiv'); + public z_ColorP3uiv_ovr_0 := GetFuncOrNil&(z_ColorP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3uiv(&type: ColorPointerType; color: array of UInt32); + begin + z_ColorP3uiv_ovr_0(&type, color[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3uiv(&type: ColorPointerType; var color: UInt32); + begin + z_ColorP3uiv_ovr_0(&type, color); + end; + public z_ColorP3uiv_ovr_2 := GetFuncOrNil&(z_ColorP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3uiv(&type: ColorPointerType; color: IntPtr); + begin + z_ColorP3uiv_ovr_2(&type, color); + end; + + // added in gl3.3 + public z_ColorP4ui_adr := GetFuncAdr('glColorP4ui'); + public z_ColorP4ui_ovr_0 := GetFuncOrNil&(z_ColorP4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4ui(&type: ColorPointerType; color: UInt32); + begin + z_ColorP4ui_ovr_0(&type, color); + end; + + // added in gl3.3 + public z_ColorP4uiv_adr := GetFuncAdr('glColorP4uiv'); + public z_ColorP4uiv_ovr_0 := GetFuncOrNil&(z_ColorP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4uiv(&type: ColorPointerType; color: array of UInt32); + begin + z_ColorP4uiv_ovr_0(&type, color[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4uiv(&type: ColorPointerType; var color: UInt32); + begin + z_ColorP4uiv_ovr_0(&type, color); + end; + public z_ColorP4uiv_ovr_2 := GetFuncOrNil&(z_ColorP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4uiv(&type: ColorPointerType; color: IntPtr); + begin + z_ColorP4uiv_ovr_2(&type, color); + end; + + // added in gl2.0 + public z_CompileShader_adr := GetFuncAdr('glCompileShader'); + public z_CompileShader_ovr_0 := GetFuncOrNil&(z_CompileShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShader(shader: ShaderName); + begin + z_CompileShader_ovr_0(shader); + end; + + // added in gl1.3 + public z_CompressedTexImage1D_adr := GetFuncAdr('glCompressedTexImage1D'); + public z_CompressedTexImage1D_ovr_0 := GetFuncOrNil&(z_CompressedTexImage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1D(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; border: Int32; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexImage1D_ovr_0(target, level, _internalformat, width, border, imageSize, data); + end; + + // added in gl1.3 + public z_CompressedTexImage2D_adr := GetFuncAdr('glCompressedTexImage2D'); + public z_CompressedTexImage2D_ovr_0 := GetFuncOrNil&(z_CompressedTexImage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2D(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexImage2D_ovr_0(target, level, _internalformat, width, height, border, imageSize, data); + end; + + // added in gl1.3 + public z_CompressedTexImage3D_adr := GetFuncAdr('glCompressedTexImage3D'); + public z_CompressedTexImage3D_ovr_0 := GetFuncOrNil&(z_CompressedTexImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3D(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexImage3D_ovr_0(target, level, _internalformat, width, height, depth, border, imageSize, data); + end; + + // added in gl1.3 + public z_CompressedTexSubImage1D_adr := GetFuncAdr('glCompressedTexSubImage1D'); + public z_CompressedTexSubImage1D_ovr_0 := GetFuncOrNil&(z_CompressedTexSubImage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1D(target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexSubImage1D_ovr_0(target, level, xoffset, width, format, imageSize, data); + end; + + // added in gl1.3 + public z_CompressedTexSubImage2D_adr := GetFuncAdr('glCompressedTexSubImage2D'); + public z_CompressedTexSubImage2D_ovr_0 := GetFuncOrNil&(z_CompressedTexSubImage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2D(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexSubImage2D_ovr_0(target, level, xoffset, yoffset, width, height, format, imageSize, data); + end; + + // added in gl1.3 + public z_CompressedTexSubImage3D_adr := GetFuncAdr('glCompressedTexSubImage3D'); + public z_CompressedTexSubImage3D_ovr_0 := GetFuncOrNil&(z_CompressedTexSubImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3D(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexSubImage3D_ovr_0(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + end; + + // added in gl4.5 + public z_CompressedTextureSubImage1D_adr := GetFuncAdr('glCompressedTextureSubImage1D'); + public z_CompressedTextureSubImage1D_ovr_0 := GetFuncOrNil&(z_CompressedTextureSubImage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1D(texture: UInt32; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTextureSubImage1D_ovr_0(texture, level, xoffset, width, format, imageSize, data); + end; + + // added in gl4.5 + public z_CompressedTextureSubImage2D_adr := GetFuncAdr('glCompressedTextureSubImage2D'); + public z_CompressedTextureSubImage2D_ovr_0 := GetFuncOrNil&(z_CompressedTextureSubImage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2D(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTextureSubImage2D_ovr_0(texture, level, xoffset, yoffset, width, height, format, imageSize, data); + end; + + // added in gl4.5 + public z_CompressedTextureSubImage3D_adr := GetFuncAdr('glCompressedTextureSubImage3D'); + public z_CompressedTextureSubImage3D_ovr_0 := GetFuncOrNil&(z_CompressedTextureSubImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3D(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTextureSubImage3D_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + end; + + // added in gl3.1 + public z_CopyBufferSubData_adr := GetFuncAdr('glCopyBufferSubData'); + public z_CopyBufferSubData_ovr_0 := GetFuncOrNil&(z_CopyBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyBufferSubData(readTarget: CopyBufferSubDataTarget; writeTarget: CopyBufferSubDataTarget; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr); + begin + z_CopyBufferSubData_ovr_0(readTarget, writeTarget, readOffset, writeOffset, size); + end; + + // added in gl4.3 + public z_CopyImageSubData_adr := GetFuncAdr('glCopyImageSubData'); + public z_CopyImageSubData_ovr_0 := GetFuncOrNil&(z_CopyImageSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubData(srcName: UInt32; srcTarget: CopyImageSubDataTarget; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: CopyImageSubDataTarget; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32); + begin + z_CopyImageSubData_ovr_0(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); + end; + + // added in gl4.5 + public z_CopyNamedBufferSubData_adr := GetFuncAdr('glCopyNamedBufferSubData'); + public z_CopyNamedBufferSubData_ovr_0 := GetFuncOrNil&(z_CopyNamedBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyNamedBufferSubData(readBuffer: BufferName; writeBuffer: BufferName; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr); + begin + z_CopyNamedBufferSubData_ovr_0(readBuffer, writeBuffer, readOffset, writeOffset, size); + end; + + // added in gl1.1 + private static procedure _z_CopyTexImage1D_ovr0(target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; border: Int32); + external 'opengl32.dll' name 'glCopyTexImage1D'; + public static z_CopyTexImage1D_ovr0 := _z_CopyTexImage1D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage1D(target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; border: Int32) := z_CopyTexImage1D_ovr0(target, level, _internalformat, x, y, width, border); + + // added in gl1.1 + private static procedure _z_CopyTexImage2D_ovr0(target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32); + external 'opengl32.dll' name 'glCopyTexImage2D'; + public static z_CopyTexImage2D_ovr0 := _z_CopyTexImage2D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage2D(target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32) := z_CopyTexImage2D_ovr0(target, level, _internalformat, x, y, width, height, border); + + // added in gl1.1 + private static procedure _z_CopyTexSubImage1D_ovr0(target: TextureTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32); + external 'opengl32.dll' name 'glCopyTexSubImage1D'; + public static z_CopyTexSubImage1D_ovr0 := _z_CopyTexSubImage1D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage1D(target: TextureTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32) := z_CopyTexSubImage1D_ovr0(target, level, xoffset, x, y, width); + + // added in gl1.1 + private static procedure _z_CopyTexSubImage2D_ovr0(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + external 'opengl32.dll' name 'glCopyTexSubImage2D'; + public static z_CopyTexSubImage2D_ovr0 := _z_CopyTexSubImage2D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage2D(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTexSubImage2D_ovr0(target, level, xoffset, yoffset, x, y, width, height); + + // added in gl1.2 + public z_CopyTexSubImage3D_adr := GetFuncAdr('glCopyTexSubImage3D'); + public z_CopyTexSubImage3D_ovr_0 := GetFuncOrNil&(z_CopyTexSubImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage3D(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTexSubImage3D_ovr_0(target, level, xoffset, yoffset, zoffset, x, y, width, height); + end; + + // added in gl4.5 + public z_CopyTextureSubImage1D_adr := GetFuncAdr('glCopyTextureSubImage1D'); + public z_CopyTextureSubImage1D_ovr_0 := GetFuncOrNil&(z_CopyTextureSubImage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage1D(texture: TextureName; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32); + begin + z_CopyTextureSubImage1D_ovr_0(texture, level, xoffset, x, y, width); + end; + + // added in gl4.5 + public z_CopyTextureSubImage2D_adr := GetFuncAdr('glCopyTextureSubImage2D'); + public z_CopyTextureSubImage2D_ovr_0 := GetFuncOrNil&(z_CopyTextureSubImage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage2D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTextureSubImage2D_ovr_0(texture, level, xoffset, yoffset, x, y, width, height); + end; + + // added in gl4.5 + public z_CopyTextureSubImage3D_adr := GetFuncAdr('glCopyTextureSubImage3D'); + public z_CopyTextureSubImage3D_ovr_0 := GetFuncOrNil&(z_CopyTextureSubImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage3D(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTextureSubImage3D_ovr_0(texture, level, xoffset, yoffset, zoffset, x, y, width, height); + end; + + // added in gl4.5 + public z_CreateBuffers_adr := GetFuncAdr('glCreateBuffers'); + public z_CreateBuffers_ovr_0 := GetFuncOrNil&(z_CreateBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateBuffers(n: Int32; buffers: array of BufferName); + begin + z_CreateBuffers_ovr_0(n, buffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateBuffers(n: Int32; var buffers: BufferName); + begin + z_CreateBuffers_ovr_0(n, buffers); + end; + public z_CreateBuffers_ovr_2 := GetFuncOrNil&(z_CreateBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateBuffers(n: Int32; buffers: IntPtr); + begin + z_CreateBuffers_ovr_2(n, buffers); + end; + + // added in gl4.5 + public z_CreateFramebuffers_adr := GetFuncAdr('glCreateFramebuffers'); + public z_CreateFramebuffers_ovr_0 := GetFuncOrNil&(z_CreateFramebuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateFramebuffers(n: Int32; framebuffers: array of UInt32); + begin + z_CreateFramebuffers_ovr_0(n, framebuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateFramebuffers(n: Int32; var framebuffers: UInt32); + begin + z_CreateFramebuffers_ovr_0(n, framebuffers); + end; + public z_CreateFramebuffers_ovr_2 := GetFuncOrNil&(z_CreateFramebuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateFramebuffers(n: Int32; framebuffers: IntPtr); + begin + z_CreateFramebuffers_ovr_2(n, framebuffers); + end; + + // added in gl2.0 + public z_CreateProgram_adr := GetFuncAdr('glCreateProgram'); + public z_CreateProgram_ovr_0 := GetFuncOrNil&(z_CreateProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateProgram: ProgramName; + begin + Result := z_CreateProgram_ovr_0; + end; + + // added in gl4.5 + public z_CreateProgramPipelines_adr := GetFuncAdr('glCreateProgramPipelines'); + public z_CreateProgramPipelines_ovr_0 := GetFuncOrNil&(z_CreateProgramPipelines_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateProgramPipelines(n: Int32; pipelines: array of UInt32); + begin + z_CreateProgramPipelines_ovr_0(n, pipelines[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateProgramPipelines(n: Int32; var pipelines: UInt32); + begin + z_CreateProgramPipelines_ovr_0(n, pipelines); + end; + public z_CreateProgramPipelines_ovr_2 := GetFuncOrNil&(z_CreateProgramPipelines_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateProgramPipelines(n: Int32; pipelines: IntPtr); + begin + z_CreateProgramPipelines_ovr_2(n, pipelines); + end; + + // added in gl4.5 + public z_CreateQueries_adr := GetFuncAdr('glCreateQueries'); + public z_CreateQueries_ovr_0 := GetFuncOrNil&(z_CreateQueries_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateQueries(target: QueryTarget; n: Int32; ids: array of UInt32); + begin + z_CreateQueries_ovr_0(target, n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateQueries(target: QueryTarget; n: Int32; var ids: UInt32); + begin + z_CreateQueries_ovr_0(target, n, ids); + end; + public z_CreateQueries_ovr_2 := GetFuncOrNil&(z_CreateQueries_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateQueries(target: QueryTarget; n: Int32; ids: IntPtr); + begin + z_CreateQueries_ovr_2(target, n, ids); + end; + + // added in gl4.5 + public z_CreateRenderbuffers_adr := GetFuncAdr('glCreateRenderbuffers'); + public z_CreateRenderbuffers_ovr_0 := GetFuncOrNil&(z_CreateRenderbuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateRenderbuffers(n: Int32; renderbuffers: array of UInt32); + begin + z_CreateRenderbuffers_ovr_0(n, renderbuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateRenderbuffers(n: Int32; var renderbuffers: UInt32); + begin + z_CreateRenderbuffers_ovr_0(n, renderbuffers); + end; + public z_CreateRenderbuffers_ovr_2 := GetFuncOrNil&(z_CreateRenderbuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateRenderbuffers(n: Int32; renderbuffers: IntPtr); + begin + z_CreateRenderbuffers_ovr_2(n, renderbuffers); + end; + + // added in gl4.5 + public z_CreateSamplers_adr := GetFuncAdr('glCreateSamplers'); + public z_CreateSamplers_ovr_0 := GetFuncOrNil&(z_CreateSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateSamplers(n: Int32; samplers: array of UInt32); + begin + z_CreateSamplers_ovr_0(n, samplers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateSamplers(n: Int32; var samplers: UInt32); + begin + z_CreateSamplers_ovr_0(n, samplers); + end; + public z_CreateSamplers_ovr_2 := GetFuncOrNil&(z_CreateSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateSamplers(n: Int32; samplers: IntPtr); + begin + z_CreateSamplers_ovr_2(n, samplers); + end; + + // added in gl2.0 + public z_CreateShader_adr := GetFuncAdr('glCreateShader'); + public z_CreateShader_ovr_0 := GetFuncOrNil&(z_CreateShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShader(&type: ShaderType): ShaderName; + begin + Result := z_CreateShader_ovr_0(&type); + end; + + // added in gl4.1 + public z_CreateShaderProgramv_adr := GetFuncAdr('glCreateShaderProgramv'); + public z_CreateShaderProgramv_ovr_0 := GetFuncOrNil&(z_CreateShaderProgramv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramv(&type: ShaderType; count: Int32; strings: array of string): ProgramName; + begin + var par_3_str_ptr := strings.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + Result := z_CreateShaderProgramv_ovr_0(&type, count, par_3_str_ptr[0]); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramv(&type: ShaderType; count: Int32; strings: array of IntPtr): ProgramName; + begin + Result := z_CreateShaderProgramv_ovr_0(&type, count, strings[0]); + end; + public z_CreateShaderProgramv_ovr_2 := GetFuncOrNil&(z_CreateShaderProgramv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramv(&type: ShaderType; count: Int32; strings: IntPtr): ProgramName; + begin + Result := z_CreateShaderProgramv_ovr_2(&type, count, strings); + end; + + // added in gl4.5 + public z_CreateTextures_adr := GetFuncAdr('glCreateTextures'); + public z_CreateTextures_ovr_0 := GetFuncOrNil&(z_CreateTextures_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTextures(target: TextureTarget; n: Int32; textures: array of UInt32); + begin + z_CreateTextures_ovr_0(target, n, textures[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTextures(target: TextureTarget; n: Int32; var textures: UInt32); + begin + z_CreateTextures_ovr_0(target, n, textures); + end; + public z_CreateTextures_ovr_2 := GetFuncOrNil&(z_CreateTextures_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTextures(target: TextureTarget; n: Int32; textures: IntPtr); + begin + z_CreateTextures_ovr_2(target, n, textures); + end; + + // added in gl4.5 + public z_CreateTransformFeedbacks_adr := GetFuncAdr('glCreateTransformFeedbacks'); + public z_CreateTransformFeedbacks_ovr_0 := GetFuncOrNil&(z_CreateTransformFeedbacks_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTransformFeedbacks(n: Int32; ids: array of UInt32); + begin + z_CreateTransformFeedbacks_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTransformFeedbacks(n: Int32; var ids: UInt32); + begin + z_CreateTransformFeedbacks_ovr_0(n, ids); + end; + public z_CreateTransformFeedbacks_ovr_2 := GetFuncOrNil&(z_CreateTransformFeedbacks_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateTransformFeedbacks(n: Int32; ids: IntPtr); + begin + z_CreateTransformFeedbacks_ovr_2(n, ids); + end; + + // added in gl4.5 + public z_CreateVertexArrays_adr := GetFuncAdr('glCreateVertexArrays'); + public z_CreateVertexArrays_ovr_0 := GetFuncOrNil&(z_CreateVertexArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateVertexArrays(n: Int32; arrays: array of UInt32); + begin + z_CreateVertexArrays_ovr_0(n, arrays[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateVertexArrays(n: Int32; var arrays: UInt32); + begin + z_CreateVertexArrays_ovr_0(n, arrays); + end; + public z_CreateVertexArrays_ovr_2 := GetFuncOrNil&(z_CreateVertexArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateVertexArrays(n: Int32; arrays: IntPtr); + begin + z_CreateVertexArrays_ovr_2(n, arrays); + end; + + // added in gl1.0 + private static procedure _z_CullFace_ovr0(mode: CullFaceMode); + external 'opengl32.dll' name 'glCullFace'; + public static z_CullFace_ovr0 := _z_CullFace_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullFace(mode: CullFaceMode) := z_CullFace_ovr0(mode); + + // added in gl4.3 + public z_DebugMessageCallback_adr := GetFuncAdr('glDebugMessageCallback'); + public z_DebugMessageCallback_ovr_0 := GetFuncOrNil&(z_DebugMessageCallback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallback(callback: GLDEBUGPROC; userParam: IntPtr); + begin + z_DebugMessageCallback_ovr_0(callback, userParam); + end; + + // added in gl4.3 + public z_DebugMessageControl_adr := GetFuncAdr('glDebugMessageControl'); + public z_DebugMessageControl_ovr_0 := GetFuncOrNil&(z_DebugMessageControl_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControl(source: DebugSource; &type: DebugType; severity: DebugSeverity; count: Int32; ids: array of UInt32; enabled: boolean); + begin + z_DebugMessageControl_ovr_0(source, &type, severity, count, ids[0], enabled); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControl(source: DebugSource; &type: DebugType; severity: DebugSeverity; count: Int32; var ids: UInt32; enabled: boolean); + begin + z_DebugMessageControl_ovr_0(source, &type, severity, count, ids, enabled); + end; + public z_DebugMessageControl_ovr_2 := GetFuncOrNil&(z_DebugMessageControl_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControl(source: DebugSource; &type: DebugType; severity: DebugSeverity; count: Int32; ids: IntPtr; enabled: boolean); + begin + z_DebugMessageControl_ovr_2(source, &type, severity, count, ids, enabled); + end; + + // added in gl4.3 + public z_DebugMessageInsert_adr := GetFuncAdr('glDebugMessageInsert'); + public z_DebugMessageInsert_ovr_0 := GetFuncOrNil&(z_DebugMessageInsert_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsert(source: DebugSource; &type: DebugType; id: UInt32; severity: DebugSeverity; length: Int32; buf: string); + begin + var par_6_str_ptr := Marshal.StringToHGlobalAnsi(buf); + z_DebugMessageInsert_ovr_0(source, &type, id, severity, length, par_6_str_ptr); + Marshal.FreeHGlobal(par_6_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsert(source: DebugSource; &type: DebugType; id: UInt32; severity: DebugSeverity; length: Int32; buf: IntPtr); + begin + z_DebugMessageInsert_ovr_0(source, &type, id, severity, length, buf); + end; + + // added in gl1.5 + public z_DeleteBuffers_adr := GetFuncAdr('glDeleteBuffers'); + public z_DeleteBuffers_ovr_0 := GetFuncOrNil&(z_DeleteBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffers(n: Int32; buffers: array of UInt32); + begin + z_DeleteBuffers_ovr_0(n, buffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffers(n: Int32; var buffers: UInt32); + begin + z_DeleteBuffers_ovr_0(n, buffers); + end; + public z_DeleteBuffers_ovr_2 := GetFuncOrNil&(z_DeleteBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffers(n: Int32; buffers: IntPtr); + begin + z_DeleteBuffers_ovr_2(n, buffers); + end; + + // added in gl3.0 + public z_DeleteFramebuffers_adr := GetFuncAdr('glDeleteFramebuffers'); + public z_DeleteFramebuffers_ovr_0 := GetFuncOrNil&(z_DeleteFramebuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffers(n: Int32; framebuffers: array of UInt32); + begin + z_DeleteFramebuffers_ovr_0(n, framebuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffers(n: Int32; var framebuffers: UInt32); + begin + z_DeleteFramebuffers_ovr_0(n, framebuffers); + end; + public z_DeleteFramebuffers_ovr_2 := GetFuncOrNil&(z_DeleteFramebuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffers(n: Int32; framebuffers: IntPtr); + begin + z_DeleteFramebuffers_ovr_2(n, framebuffers); + end; + + // added in gl2.0 + public z_DeleteProgram_adr := GetFuncAdr('glDeleteProgram'); + public z_DeleteProgram_ovr_0 := GetFuncOrNil&(z_DeleteProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgram(&program: ProgramName); + begin + z_DeleteProgram_ovr_0(&program); + end; + + // added in gl4.1 + public z_DeleteProgramPipelines_adr := GetFuncAdr('glDeleteProgramPipelines'); + public z_DeleteProgramPipelines_ovr_0 := GetFuncOrNil&(z_DeleteProgramPipelines_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelines(n: Int32; pipelines: array of UInt32); + begin + z_DeleteProgramPipelines_ovr_0(n, pipelines[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelines(n: Int32; var pipelines: UInt32); + begin + z_DeleteProgramPipelines_ovr_0(n, pipelines); + end; + public z_DeleteProgramPipelines_ovr_2 := GetFuncOrNil&(z_DeleteProgramPipelines_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelines(n: Int32; pipelines: IntPtr); + begin + z_DeleteProgramPipelines_ovr_2(n, pipelines); + end; + + // added in gl1.5 + public z_DeleteQueries_adr := GetFuncAdr('glDeleteQueries'); + public z_DeleteQueries_ovr_0 := GetFuncOrNil&(z_DeleteQueries_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueries(n: Int32; ids: array of UInt32); + begin + z_DeleteQueries_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueries(n: Int32; var ids: UInt32); + begin + z_DeleteQueries_ovr_0(n, ids); + end; + public z_DeleteQueries_ovr_2 := GetFuncOrNil&(z_DeleteQueries_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueries(n: Int32; ids: IntPtr); + begin + z_DeleteQueries_ovr_2(n, ids); + end; + + // added in gl3.0 + public z_DeleteRenderbuffers_adr := GetFuncAdr('glDeleteRenderbuffers'); + public z_DeleteRenderbuffers_ovr_0 := GetFuncOrNil&(z_DeleteRenderbuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffers(n: Int32; renderbuffers: array of UInt32); + begin + z_DeleteRenderbuffers_ovr_0(n, renderbuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffers(n: Int32; var renderbuffers: UInt32); + begin + z_DeleteRenderbuffers_ovr_0(n, renderbuffers); + end; + public z_DeleteRenderbuffers_ovr_2 := GetFuncOrNil&(z_DeleteRenderbuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffers(n: Int32; renderbuffers: IntPtr); + begin + z_DeleteRenderbuffers_ovr_2(n, renderbuffers); + end; + + // added in gl3.3 + public z_DeleteSamplers_adr := GetFuncAdr('glDeleteSamplers'); + public z_DeleteSamplers_ovr_0 := GetFuncOrNil&(z_DeleteSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSamplers(count: Int32; samplers: array of UInt32); + begin + z_DeleteSamplers_ovr_0(count, samplers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSamplers(count: Int32; var samplers: UInt32); + begin + z_DeleteSamplers_ovr_0(count, samplers); + end; + public z_DeleteSamplers_ovr_2 := GetFuncOrNil&(z_DeleteSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSamplers(count: Int32; samplers: IntPtr); + begin + z_DeleteSamplers_ovr_2(count, samplers); + end; + + // added in gl2.0 + public z_DeleteShader_adr := GetFuncAdr('glDeleteShader'); + public z_DeleteShader_ovr_0 := GetFuncOrNil&(z_DeleteShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteShader(shader: ShaderName); + begin + z_DeleteShader_ovr_0(shader); + end; + + // added in gl3.2 + public z_DeleteSync_adr := GetFuncAdr('glDeleteSync'); + public z_DeleteSync_ovr_0 := GetFuncOrNil&(z_DeleteSync_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSync(sync: GLsync); + begin + z_DeleteSync_ovr_0(sync); + end; + + // added in gl1.1 + private static procedure _z_DeleteTextures_ovr0(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32); + external 'opengl32.dll' name 'glDeleteTextures'; + public static z_DeleteTextures_ovr0 := _z_DeleteTextures_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTextures(n: Int32; textures: array of UInt32) := z_DeleteTextures_ovr0(n, textures); + private static procedure _z_DeleteTextures_ovr1(n: Int32; var textures: UInt32); + external 'opengl32.dll' name 'glDeleteTextures'; + public static z_DeleteTextures_ovr1 := _z_DeleteTextures_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTextures(n: Int32; var textures: UInt32) := z_DeleteTextures_ovr1(n, textures); + private static procedure _z_DeleteTextures_ovr2(n: Int32; textures: IntPtr); + external 'opengl32.dll' name 'glDeleteTextures'; + public static z_DeleteTextures_ovr2 := _z_DeleteTextures_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTextures(n: Int32; textures: IntPtr) := z_DeleteTextures_ovr2(n, textures); + + // added in gl4.0 + public z_DeleteTransformFeedbacks_adr := GetFuncAdr('glDeleteTransformFeedbacks'); + public z_DeleteTransformFeedbacks_ovr_0 := GetFuncOrNil&(z_DeleteTransformFeedbacks_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacks(n: Int32; ids: array of UInt32); + begin + z_DeleteTransformFeedbacks_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacks(n: Int32; var ids: UInt32); + begin + z_DeleteTransformFeedbacks_ovr_0(n, ids); + end; + public z_DeleteTransformFeedbacks_ovr_2 := GetFuncOrNil&(z_DeleteTransformFeedbacks_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacks(n: Int32; ids: IntPtr); + begin + z_DeleteTransformFeedbacks_ovr_2(n, ids); + end; + + // added in gl3.0 + public z_DeleteVertexArrays_adr := GetFuncAdr('glDeleteVertexArrays'); + public z_DeleteVertexArrays_ovr_0 := GetFuncOrNil&(z_DeleteVertexArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArrays(n: Int32; arrays: array of UInt32); + begin + z_DeleteVertexArrays_ovr_0(n, arrays[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArrays(n: Int32; var arrays: UInt32); + begin + z_DeleteVertexArrays_ovr_0(n, arrays); + end; + public z_DeleteVertexArrays_ovr_2 := GetFuncOrNil&(z_DeleteVertexArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArrays(n: Int32; arrays: IntPtr); + begin + z_DeleteVertexArrays_ovr_2(n, arrays); + end; + + // added in gl1.0 + private static procedure _z_DepthFunc_ovr0(func: DepthFunction); + external 'opengl32.dll' name 'glDepthFunc'; + public static z_DepthFunc_ovr0 := _z_DepthFunc_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthFunc(func: DepthFunction) := z_DepthFunc_ovr0(func); + + // added in gl1.0 + private static procedure _z_DepthMask_ovr0(flag: boolean); + external 'opengl32.dll' name 'glDepthMask'; + public static z_DepthMask_ovr0 := _z_DepthMask_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthMask(flag: boolean) := z_DepthMask_ovr0(flag); + + // added in gl1.0 + private static procedure _z_DepthRange_ovr0(n: real; f: real); + external 'opengl32.dll' name 'glDepthRange'; + public static z_DepthRange_ovr0 := _z_DepthRange_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRange(n: real; f: real) := z_DepthRange_ovr0(n, f); + + // added in gl4.1 + public z_DepthRangeArrayv_adr := GetFuncAdr('glDepthRangeArrayv'); + public z_DepthRangeArrayv_ovr_0 := GetFuncOrNil&(z_DepthRangeArrayv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; v: array of real); + begin + z_DepthRangeArrayv_ovr_0(first, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; var v: real); + begin + z_DepthRangeArrayv_ovr_0(first, count, v); + end; + public z_DepthRangeArrayv_ovr_2 := GetFuncOrNil&(z_DepthRangeArrayv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayv(first: UInt32; count: Int32; v: IntPtr); + begin + z_DepthRangeArrayv_ovr_2(first, count, v); + end; + + // added in gl4.1 + public z_DepthRangef_adr := GetFuncAdr('glDepthRangef'); + public z_DepthRangef_ovr_0 := GetFuncOrNil&(z_DepthRangef_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangef(n: single; f: single); + begin + z_DepthRangef_ovr_0(n, f); + end; + + // added in gl4.1 + public z_DepthRangeIndexed_adr := GetFuncAdr('glDepthRangeIndexed'); + public z_DepthRangeIndexed_ovr_0 := GetFuncOrNil&(z_DepthRangeIndexed_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeIndexed(index: UInt32; n: real; f: real); + begin + z_DepthRangeIndexed_ovr_0(index, n, f); + end; + + // added in gl2.0 + public z_DetachShader_adr := GetFuncAdr('glDetachShader'); + public z_DetachShader_ovr_0 := GetFuncOrNil&(z_DetachShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetachShader(&program: ProgramName; shader: ShaderName); + begin + z_DetachShader_ovr_0(&program, shader); + end; + + // added in gl1.0 + private static procedure _z_Disable_ovr0(cap: EnableCap); + external 'opengl32.dll' name 'glDisable'; + public static z_Disable_ovr0 := _z_Disable_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Disable(cap: EnableCap) := z_Disable_ovr0(cap); + + // added in gl3.0 + public z_Disablei_adr := GetFuncAdr('glDisablei'); + public z_Disablei_ovr_0 := GetFuncOrNil&(z_Disablei_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Disablei(target: EnableCap; index: UInt32); + begin + z_Disablei_ovr_0(target, index); + end; + + // added in gl4.5 + public z_DisableVertexArrayAttrib_adr := GetFuncAdr('glDisableVertexArrayAttrib'); + public z_DisableVertexArrayAttrib_ovr_0 := GetFuncOrNil&(z_DisableVertexArrayAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexArrayAttrib(vaobj: VertexArrayName; index: UInt32); + begin + z_DisableVertexArrayAttrib_ovr_0(vaobj, index); + end; + + // added in gl2.0 + public z_DisableVertexAttribArray_adr := GetFuncAdr('glDisableVertexAttribArray'); + public z_DisableVertexAttribArray_ovr_0 := GetFuncOrNil&(z_DisableVertexAttribArray_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribArray(index: UInt32); + begin + z_DisableVertexAttribArray_ovr_0(index); + end; + + // added in gl4.3 + public z_DispatchCompute_adr := GetFuncAdr('glDispatchCompute'); + public z_DispatchCompute_ovr_0 := GetFuncOrNil&(z_DispatchCompute_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DispatchCompute(num_groups_x: UInt32; num_groups_y: UInt32; num_groups_z: UInt32); + begin + z_DispatchCompute_ovr_0(num_groups_x, num_groups_y, num_groups_z); + end; + + // added in gl4.3 + public z_DispatchComputeIndirect_adr := GetFuncAdr('glDispatchComputeIndirect'); + public z_DispatchComputeIndirect_ovr_0 := GetFuncOrNil&(z_DispatchComputeIndirect_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DispatchComputeIndirect(indirect: IntPtr); + begin + z_DispatchComputeIndirect_ovr_0(indirect); + end; + + // added in gl1.1 + private static procedure _z_DrawArrays_ovr0(mode: PrimitiveType; first: Int32; count: Int32); + external 'opengl32.dll' name 'glDrawArrays'; + public static z_DrawArrays_ovr0 := _z_DrawArrays_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArrays(mode: PrimitiveType; first: Int32; count: Int32) := z_DrawArrays_ovr0(mode, first, count); + + // added in gl4.0 + public z_DrawArraysIndirect_adr := GetFuncAdr('glDrawArraysIndirect'); + public z_DrawArraysIndirect_ovr_0 := GetFuncOrNil&(z_DrawArraysIndirect_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysIndirect(mode: PrimitiveType; indirect: IntPtr); + begin + z_DrawArraysIndirect_ovr_0(mode, indirect); + end; + + // added in gl3.1 + public z_DrawArraysInstanced_adr := GetFuncAdr('glDrawArraysInstanced'); + public z_DrawArraysInstanced_ovr_0 := GetFuncOrNil&(z_DrawArraysInstanced_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstanced(mode: PrimitiveType; first: Int32; count: Int32; instancecount: Int32); + begin + z_DrawArraysInstanced_ovr_0(mode, first, count, instancecount); + end; + + // added in gl4.2 + public z_DrawArraysInstancedBaseInstance_adr := GetFuncAdr('glDrawArraysInstancedBaseInstance'); + public z_DrawArraysInstancedBaseInstance_ovr_0 := GetFuncOrNil&(z_DrawArraysInstancedBaseInstance_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedBaseInstance(mode: PrimitiveType; first: Int32; count: Int32; instancecount: Int32; baseinstance: UInt32); + begin + z_DrawArraysInstancedBaseInstance_ovr_0(mode, first, count, instancecount, baseinstance); + end; + + // added in gl1.0 + private static procedure _z_DrawBuffer_ovr0(buf: DrawBufferMode); + external 'opengl32.dll' name 'glDrawBuffer'; + public static z_DrawBuffer_ovr0 := _z_DrawBuffer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffer(buf: DrawBufferMode) := z_DrawBuffer_ovr0(buf); + + // added in gl2.0 + public z_DrawBuffers_adr := GetFuncAdr('glDrawBuffers'); + public z_DrawBuffers_ovr_0 := GetFuncOrNil&(z_DrawBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffers(n: Int32; bufs: array of DrawBufferMode); + begin + z_DrawBuffers_ovr_0(n, bufs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffers(n: Int32; var bufs: DrawBufferMode); + begin + z_DrawBuffers_ovr_0(n, bufs); + end; + public z_DrawBuffers_ovr_2 := GetFuncOrNil&(z_DrawBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffers(n: Int32; bufs: IntPtr); + begin + z_DrawBuffers_ovr_2(n, bufs); + end; + + // added in gl1.1 + private static procedure _z_DrawElements_ovr0(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr); + external 'opengl32.dll' name 'glDrawElements'; + public static z_DrawElements_ovr0 := _z_DrawElements_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElements(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr) := z_DrawElements_ovr0(mode, count, &type, indices); + + // added in gl3.2 + public z_DrawElementsBaseVertex_adr := GetFuncAdr('glDrawElementsBaseVertex'); + public z_DrawElementsBaseVertex_ovr_0 := GetFuncOrNil&(z_DrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertex(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr; basevertex: Int32); + begin + z_DrawElementsBaseVertex_ovr_0(mode, count, &type, indices, basevertex); + end; + + // added in gl4.0 + public z_DrawElementsIndirect_adr := GetFuncAdr('glDrawElementsIndirect'); + public z_DrawElementsIndirect_ovr_0 := GetFuncOrNil&(z_DrawElementsIndirect_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsIndirect(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr); + begin + z_DrawElementsIndirect_ovr_0(mode, &type, indirect); + end; + + // added in gl3.1 + public z_DrawElementsInstanced_adr := GetFuncAdr('glDrawElementsInstanced'); + public z_DrawElementsInstanced_ovr_0 := GetFuncOrNil&(z_DrawElementsInstanced_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstanced(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr; instancecount: Int32); + begin + z_DrawElementsInstanced_ovr_0(mode, count, &type, indices, instancecount); + end; + + // added in gl4.2 + public z_DrawElementsInstancedBaseInstance_adr := GetFuncAdr('glDrawElementsInstancedBaseInstance'); + public z_DrawElementsInstancedBaseInstance_ovr_0 := GetFuncOrNil&(z_DrawElementsInstancedBaseInstance_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstance(mode: PrimitiveType; count: Int32; &type: PrimitiveType; indices: IntPtr; instancecount: Int32; baseinstance: UInt32); + begin + z_DrawElementsInstancedBaseInstance_ovr_0(mode, count, &type, indices, instancecount, baseinstance); + end; + + // added in gl3.2 + public z_DrawElementsInstancedBaseVertex_adr := GetFuncAdr('glDrawElementsInstancedBaseVertex'); + public z_DrawElementsInstancedBaseVertex_ovr_0 := GetFuncOrNil&(z_DrawElementsInstancedBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertex(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr; instancecount: Int32; basevertex: Int32); + begin + z_DrawElementsInstancedBaseVertex_ovr_0(mode, count, &type, indices, instancecount, basevertex); + end; + + // added in gl4.2 + public z_DrawElementsInstancedBaseVertexBaseInstance_adr := GetFuncAdr('glDrawElementsInstancedBaseVertexBaseInstance'); + public z_DrawElementsInstancedBaseVertexBaseInstance_ovr_0 := GetFuncOrNil&(z_DrawElementsInstancedBaseVertexBaseInstance_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstance(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr; instancecount: Int32; basevertex: Int32; baseinstance: UInt32); + begin + z_DrawElementsInstancedBaseVertexBaseInstance_ovr_0(mode, count, &type, indices, instancecount, basevertex, baseinstance); + end; + + // added in gl1.2 + public z_DrawRangeElements_adr := GetFuncAdr('glDrawRangeElements'); + public z_DrawRangeElements_ovr_0 := GetFuncOrNil&(z_DrawRangeElements_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElements(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DrawElementsType; indices: IntPtr); + begin + z_DrawRangeElements_ovr_0(mode, start, &end, count, &type, indices); + end; + + // added in gl3.2 + public z_DrawRangeElementsBaseVertex_adr := GetFuncAdr('glDrawRangeElementsBaseVertex'); + public z_DrawRangeElementsBaseVertex_ovr_0 := GetFuncOrNil&(z_DrawRangeElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertex(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DrawElementsType; indices: IntPtr; basevertex: Int32); + begin + z_DrawRangeElementsBaseVertex_ovr_0(mode, start, &end, count, &type, indices, basevertex); + end; + + // added in gl4.0 + public z_DrawTransformFeedback_adr := GetFuncAdr('glDrawTransformFeedback'); + public z_DrawTransformFeedback_ovr_0 := GetFuncOrNil&(z_DrawTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedback(mode: PrimitiveType; id: TransformFeedbackName); + begin + z_DrawTransformFeedback_ovr_0(mode, id); + end; + + // added in gl4.2 + public z_DrawTransformFeedbackInstanced_adr := GetFuncAdr('glDrawTransformFeedbackInstanced'); + public z_DrawTransformFeedbackInstanced_ovr_0 := GetFuncOrNil&(z_DrawTransformFeedbackInstanced_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackInstanced(mode: PrimitiveType; id: TransformFeedbackName; instancecount: Int32); + begin + z_DrawTransformFeedbackInstanced_ovr_0(mode, id, instancecount); + end; + + // added in gl4.0 + public z_DrawTransformFeedbackStream_adr := GetFuncAdr('glDrawTransformFeedbackStream'); + public z_DrawTransformFeedbackStream_ovr_0 := GetFuncOrNil&(z_DrawTransformFeedbackStream_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackStream(mode: PrimitiveType; id: TransformFeedbackName; stream: UInt32); + begin + z_DrawTransformFeedbackStream_ovr_0(mode, id, stream); + end; + + // added in gl4.2 + public z_DrawTransformFeedbackStreamInstanced_adr := GetFuncAdr('glDrawTransformFeedbackStreamInstanced'); + public z_DrawTransformFeedbackStreamInstanced_ovr_0 := GetFuncOrNil&(z_DrawTransformFeedbackStreamInstanced_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackStreamInstanced(mode: PrimitiveType; id: TransformFeedbackName; stream: UInt32; instancecount: Int32); + begin + z_DrawTransformFeedbackStreamInstanced_ovr_0(mode, id, stream, instancecount); + end; + + // added in gl1.0 + private static procedure _z_Enable_ovr0(cap: EnableCap); + external 'opengl32.dll' name 'glEnable'; + public static z_Enable_ovr0 := _z_Enable_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Enable(cap: EnableCap) := z_Enable_ovr0(cap); + + // added in gl3.0 + public z_Enablei_adr := GetFuncAdr('glEnablei'); + public z_Enablei_ovr_0 := GetFuncOrNil&(z_Enablei_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Enablei(target: EnableCap; index: UInt32); + begin + z_Enablei_ovr_0(target, index); + end; + + // added in gl4.5 + public z_EnableVertexArrayAttrib_adr := GetFuncAdr('glEnableVertexArrayAttrib'); + public z_EnableVertexArrayAttrib_ovr_0 := GetFuncOrNil&(z_EnableVertexArrayAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexArrayAttrib(vaobj: VertexArrayName; index: UInt32); + begin + z_EnableVertexArrayAttrib_ovr_0(vaobj, index); + end; + + // added in gl2.0 + public z_EnableVertexAttribArray_adr := GetFuncAdr('glEnableVertexAttribArray'); + public z_EnableVertexAttribArray_ovr_0 := GetFuncOrNil&(z_EnableVertexAttribArray_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribArray(index: UInt32); + begin + z_EnableVertexAttribArray_ovr_0(index); + end; + + // added in gl3.0 + public z_EndConditionalRender_adr := GetFuncAdr('glEndConditionalRender'); + public z_EndConditionalRender_ovr_0 := GetFuncOrNil&(z_EndConditionalRender_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndConditionalRender; + begin + z_EndConditionalRender_ovr_0; + end; + + // added in gl1.5 + public z_EndQuery_adr := GetFuncAdr('glEndQuery'); + public z_EndQuery_ovr_0 := GetFuncOrNil&(z_EndQuery_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQuery(target: QueryTarget); + begin + z_EndQuery_ovr_0(target); + end; + + // added in gl4.0 + public z_EndQueryIndexed_adr := GetFuncAdr('glEndQueryIndexed'); + public z_EndQueryIndexed_ovr_0 := GetFuncOrNil&(z_EndQueryIndexed_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQueryIndexed(target: QueryTarget; index: UInt32); + begin + z_EndQueryIndexed_ovr_0(target, index); + end; + + // added in gl3.0 + public z_EndTransformFeedback_adr := GetFuncAdr('glEndTransformFeedback'); + public z_EndTransformFeedback_ovr_0 := GetFuncOrNil&(z_EndTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTransformFeedback; + begin + z_EndTransformFeedback_ovr_0; + end; + + // added in gl3.2 + public z_FenceSync_adr := GetFuncAdr('glFenceSync'); + public z_FenceSync_ovr_0 := GetFuncOrNil&(z_FenceSync_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function FenceSync(condition: SyncCondition; flags: DummyFlags): GLsync; + begin + Result := z_FenceSync_ovr_0(condition, flags); + end; + + // added in gl1.0 + private static procedure _z_Finish_ovr0; + external 'opengl32.dll' name 'glFinish'; + public static z_Finish_ovr0 := _z_Finish_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Finish := z_Finish_ovr0; + + // added in gl1.0 + private static procedure _z_Flush_ovr0; + external 'opengl32.dll' name 'glFlush'; + public static z_Flush_ovr0 := _z_Flush_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Flush := z_Flush_ovr0; + + // added in gl3.0 + public z_FlushMappedBufferRange_adr := GetFuncAdr('glFlushMappedBufferRange'); + public z_FlushMappedBufferRange_ovr_0 := GetFuncOrNil&(z_FlushMappedBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedBufferRange(target: BufferTargetARB; offset: IntPtr; length: IntPtr); + begin + z_FlushMappedBufferRange_ovr_0(target, offset, length); + end; + + // added in gl4.5 + public z_FlushMappedNamedBufferRange_adr := GetFuncAdr('glFlushMappedNamedBufferRange'); + public z_FlushMappedNamedBufferRange_ovr_0 := GetFuncOrNil&(z_FlushMappedNamedBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedNamedBufferRange(buffer: BufferName; offset: IntPtr; length: IntPtr); + begin + z_FlushMappedNamedBufferRange_ovr_0(buffer, offset, length); + end; + + // added in gl4.3 + public z_FramebufferParameteri_adr := GetFuncAdr('glFramebufferParameteri'); + public z_FramebufferParameteri_ovr_0 := GetFuncOrNil&(z_FramebufferParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferParameteri(target: FramebufferTarget; pname: FramebufferParameterName; param: Int32); + begin + z_FramebufferParameteri_ovr_0(target, pname, param); + end; + + // added in gl3.0 + public z_FramebufferRenderbuffer_adr := GetFuncAdr('glFramebufferRenderbuffer'); + public z_FramebufferRenderbuffer_ovr_0 := GetFuncOrNil&(z_FramebufferRenderbuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferRenderbuffer(target: FramebufferTarget; attachment: FramebufferAttachment; _renderbuffertarget: RenderbufferTarget; renderbuffer: RenderbufferName); + begin + z_FramebufferRenderbuffer_ovr_0(target, attachment, _renderbuffertarget, renderbuffer); + end; + + // added in gl3.2 + public z_FramebufferTexture_adr := GetFuncAdr('glFramebufferTexture'); + public z_FramebufferTexture_ovr_0 := GetFuncOrNil&(z_FramebufferTexture_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture(target: FramebufferTarget; attachment: FramebufferAttachment; texture: TextureName; level: Int32); + begin + z_FramebufferTexture_ovr_0(target, attachment, texture, level); + end; + + // added in gl3.0 + public z_FramebufferTexture1D_adr := GetFuncAdr('glFramebufferTexture1D'); + public z_FramebufferTexture1D_ovr_0 := GetFuncOrNil&(z_FramebufferTexture1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture1D(target: FramebufferTarget; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32); + begin + z_FramebufferTexture1D_ovr_0(target, attachment, textarget, texture, level); + end; + + // added in gl3.0 + public z_FramebufferTexture2D_adr := GetFuncAdr('glFramebufferTexture2D'); + public z_FramebufferTexture2D_ovr_0 := GetFuncOrNil&(z_FramebufferTexture2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2D(target: FramebufferTarget; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32); + begin + z_FramebufferTexture2D_ovr_0(target, attachment, textarget, texture, level); + end; + + // added in gl3.0 + public z_FramebufferTexture3D_adr := GetFuncAdr('glFramebufferTexture3D'); + public z_FramebufferTexture3D_ovr_0 := GetFuncOrNil&(z_FramebufferTexture3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture3D(target: FramebufferTarget; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32; zoffset: Int32); + begin + z_FramebufferTexture3D_ovr_0(target, attachment, textarget, texture, level, zoffset); + end; + + // added in gl3.0 + public z_FramebufferTextureLayer_adr := GetFuncAdr('glFramebufferTextureLayer'); + public z_FramebufferTextureLayer_ovr_0 := GetFuncOrNil&(z_FramebufferTextureLayer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayer(target: FramebufferTarget; attachment: FramebufferAttachment; texture: TextureName; level: Int32; layer: Int32); + begin + z_FramebufferTextureLayer_ovr_0(target, attachment, texture, level, layer); + end; + + // added in gl1.0 + private static procedure _z_FrontFace_ovr0(mode: FrontFaceDirection); + external 'opengl32.dll' name 'glFrontFace'; + public static z_FrontFace_ovr0 := _z_FrontFace_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrontFace(mode: FrontFaceDirection) := z_FrontFace_ovr0(mode); + + // added in gl1.5 + public z_GenBuffers_adr := GetFuncAdr('glGenBuffers'); + public z_GenBuffers_ovr_0 := GetFuncOrNil&(z_GenBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffers(n: Int32; buffers: array of BufferName); + begin + z_GenBuffers_ovr_0(n, buffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffers(n: Int32; var buffers: BufferName); + begin + z_GenBuffers_ovr_0(n, buffers); + end; + public z_GenBuffers_ovr_2 := GetFuncOrNil&(z_GenBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffers(n: Int32; buffers: IntPtr); + begin + z_GenBuffers_ovr_2(n, buffers); + end; + + // added in gl3.0 + public z_GenerateMipmap_adr := GetFuncAdr('glGenerateMipmap'); + public z_GenerateMipmap_ovr_0 := GetFuncOrNil&(z_GenerateMipmap_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMipmap(target: TextureTarget); + begin + z_GenerateMipmap_ovr_0(target); + end; + + // added in gl4.5 + public z_GenerateTextureMipmap_adr := GetFuncAdr('glGenerateTextureMipmap'); + public z_GenerateTextureMipmap_ovr_0 := GetFuncOrNil&(z_GenerateTextureMipmap_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateTextureMipmap(texture: TextureName); + begin + z_GenerateTextureMipmap_ovr_0(texture); + end; + + // added in gl3.0 + public z_GenFramebuffers_adr := GetFuncAdr('glGenFramebuffers'); + public z_GenFramebuffers_ovr_0 := GetFuncOrNil&(z_GenFramebuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffers(n: Int32; framebuffers: array of UInt32); + begin + z_GenFramebuffers_ovr_0(n, framebuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffers(n: Int32; var framebuffers: UInt32); + begin + z_GenFramebuffers_ovr_0(n, framebuffers); + end; + public z_GenFramebuffers_ovr_2 := GetFuncOrNil&(z_GenFramebuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffers(n: Int32; framebuffers: IntPtr); + begin + z_GenFramebuffers_ovr_2(n, framebuffers); + end; + + // added in gl4.1 + public z_GenProgramPipelines_adr := GetFuncAdr('glGenProgramPipelines'); + public z_GenProgramPipelines_ovr_0 := GetFuncOrNil&(z_GenProgramPipelines_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelines(n: Int32; pipelines: array of UInt32); + begin + z_GenProgramPipelines_ovr_0(n, pipelines[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelines(n: Int32; var pipelines: UInt32); + begin + z_GenProgramPipelines_ovr_0(n, pipelines); + end; + public z_GenProgramPipelines_ovr_2 := GetFuncOrNil&(z_GenProgramPipelines_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelines(n: Int32; pipelines: IntPtr); + begin + z_GenProgramPipelines_ovr_2(n, pipelines); + end; + + // added in gl1.5 + public z_GenQueries_adr := GetFuncAdr('glGenQueries'); + public z_GenQueries_ovr_0 := GetFuncOrNil&(z_GenQueries_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueries(n: Int32; ids: array of UInt32); + begin + z_GenQueries_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueries(n: Int32; var ids: UInt32); + begin + z_GenQueries_ovr_0(n, ids); + end; + public z_GenQueries_ovr_2 := GetFuncOrNil&(z_GenQueries_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueries(n: Int32; ids: IntPtr); + begin + z_GenQueries_ovr_2(n, ids); + end; + + // added in gl3.0 + public z_GenRenderbuffers_adr := GetFuncAdr('glGenRenderbuffers'); + public z_GenRenderbuffers_ovr_0 := GetFuncOrNil&(z_GenRenderbuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffers(n: Int32; renderbuffers: array of UInt32); + begin + z_GenRenderbuffers_ovr_0(n, renderbuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffers(n: Int32; var renderbuffers: UInt32); + begin + z_GenRenderbuffers_ovr_0(n, renderbuffers); + end; + public z_GenRenderbuffers_ovr_2 := GetFuncOrNil&(z_GenRenderbuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffers(n: Int32; renderbuffers: IntPtr); + begin + z_GenRenderbuffers_ovr_2(n, renderbuffers); + end; + + // added in gl3.3 + public z_GenSamplers_adr := GetFuncAdr('glGenSamplers'); + public z_GenSamplers_ovr_0 := GetFuncOrNil&(z_GenSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSamplers(count: Int32; samplers: array of UInt32); + begin + z_GenSamplers_ovr_0(count, samplers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSamplers(count: Int32; var samplers: UInt32); + begin + z_GenSamplers_ovr_0(count, samplers); + end; + public z_GenSamplers_ovr_2 := GetFuncOrNil&(z_GenSamplers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSamplers(count: Int32; samplers: IntPtr); + begin + z_GenSamplers_ovr_2(count, samplers); + end; + + // added in gl1.1 + private static procedure _z_GenTextures_ovr0(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32); + external 'opengl32.dll' name 'glGenTextures'; + public static z_GenTextures_ovr0 := _z_GenTextures_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTextures(n: Int32; textures: array of UInt32) := z_GenTextures_ovr0(n, textures); + private static procedure _z_GenTextures_ovr1(n: Int32; var textures: UInt32); + external 'opengl32.dll' name 'glGenTextures'; + public static z_GenTextures_ovr1 := _z_GenTextures_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTextures(n: Int32; var textures: UInt32) := z_GenTextures_ovr1(n, textures); + private static procedure _z_GenTextures_ovr2(n: Int32; textures: IntPtr); + external 'opengl32.dll' name 'glGenTextures'; + public static z_GenTextures_ovr2 := _z_GenTextures_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTextures(n: Int32; textures: IntPtr) := z_GenTextures_ovr2(n, textures); + + // added in gl4.0 + public z_GenTransformFeedbacks_adr := GetFuncAdr('glGenTransformFeedbacks'); + public z_GenTransformFeedbacks_ovr_0 := GetFuncOrNil&(z_GenTransformFeedbacks_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacks(n: Int32; ids: array of UInt32); + begin + z_GenTransformFeedbacks_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacks(n: Int32; var ids: UInt32); + begin + z_GenTransformFeedbacks_ovr_0(n, ids); + end; + public z_GenTransformFeedbacks_ovr_2 := GetFuncOrNil&(z_GenTransformFeedbacks_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacks(n: Int32; ids: IntPtr); + begin + z_GenTransformFeedbacks_ovr_2(n, ids); + end; + + // added in gl3.0 + public z_GenVertexArrays_adr := GetFuncAdr('glGenVertexArrays'); + public z_GenVertexArrays_ovr_0 := GetFuncOrNil&(z_GenVertexArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArrays(n: Int32; arrays: array of UInt32); + begin + z_GenVertexArrays_ovr_0(n, arrays[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArrays(n: Int32; var arrays: UInt32); + begin + z_GenVertexArrays_ovr_0(n, arrays); + end; + public z_GenVertexArrays_ovr_2 := GetFuncOrNil&(z_GenVertexArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArrays(n: Int32; arrays: IntPtr); + begin + z_GenVertexArrays_ovr_2(n, arrays); + end; + + // added in gl4.2 + public z_GetActiveAtomicCounterBufferiv_adr := GetFuncAdr('glGetActiveAtomicCounterBufferiv'); + public z_GetActiveAtomicCounterBufferiv_ovr_0 := GetFuncOrNil&(z_GetActiveAtomicCounterBufferiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: UInt32; bufferIndex: UInt32; pname: AtomicCounterBufferPName; ¶ms: array of Int32); + begin + z_GetActiveAtomicCounterBufferiv_ovr_0(&program, bufferIndex, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: UInt32; bufferIndex: UInt32; pname: AtomicCounterBufferPName; var ¶ms: Int32); + begin + z_GetActiveAtomicCounterBufferiv_ovr_0(&program, bufferIndex, pname, ¶ms); + end; + public z_GetActiveAtomicCounterBufferiv_ovr_2 := GetFuncOrNil&(z_GetActiveAtomicCounterBufferiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAtomicCounterBufferiv(&program: UInt32; bufferIndex: UInt32; pname: AtomicCounterBufferPName; ¶ms: IntPtr); + begin + z_GetActiveAtomicCounterBufferiv_ovr_2(&program, bufferIndex, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetActiveAttrib_adr := GetFuncAdr('glGetActiveAttrib'); + public z_GetActiveAttrib_ovr_0 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length[0], size[0], &type, name); + end; + public z_GetActiveAttrib_ovr_2 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_2(&program, index, bufSize, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_2(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetActiveAttrib_ovr_6 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_6(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_6(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetActiveAttrib_ovr_8 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_8(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_2(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_0(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_2(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_6(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_6(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_8(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveAttrib_ovr_18 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_18(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_18(&program, index, bufSize, length, size[0], &type, name); + end; + public z_GetActiveAttrib_ovr_20 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_20(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_18(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_18(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_20(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveAttrib_ovr_24 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_24(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttrib_ovr_24(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveAttrib_ovr_26 := GetFuncOrNil&(z_GetActiveAttrib_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttrib(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttrib_ovr_26(&program, index, bufSize, length, size, &type, name); + end; + + // added in gl4.0 + public z_GetActiveSubroutineName_adr := GetFuncAdr('glGetActiveSubroutineName'); + public z_GetActiveSubroutineName_ovr_0 := GetFuncOrNil&(z_GetActiveSubroutineName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: UInt32; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: array of Int32; name: IntPtr); + begin + z_GetActiveSubroutineName_ovr_0(&program, _shadertype, index, bufSize, length[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: UInt32; _shadertype: ShaderType; index: UInt32; bufSize: Int32; var length: Int32; name: IntPtr); + begin + z_GetActiveSubroutineName_ovr_0(&program, _shadertype, index, bufSize, length, name); + end; + public z_GetActiveSubroutineName_ovr_2 := GetFuncOrNil&(z_GetActiveSubroutineName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineName(&program: UInt32; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: IntPtr; name: IntPtr); + begin + z_GetActiveSubroutineName_ovr_2(&program, _shadertype, index, bufSize, length, name); + end; + + // added in gl4.0 + public z_GetActiveSubroutineUniformiv_adr := GetFuncAdr('glGetActiveSubroutineUniformiv'); + public z_GetActiveSubroutineUniformiv_ovr_0 := GetFuncOrNil&(z_GetActiveSubroutineUniformiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformiv(&program: ProgramName; _shadertype: ShaderType; index: UInt32; pname: SubroutineParameterName; values: array of Int32); + begin + z_GetActiveSubroutineUniformiv_ovr_0(&program, _shadertype, index, pname, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformiv(&program: ProgramName; _shadertype: ShaderType; index: UInt32; pname: SubroutineParameterName; var values: Int32); + begin + z_GetActiveSubroutineUniformiv_ovr_0(&program, _shadertype, index, pname, values); + end; + public z_GetActiveSubroutineUniformiv_ovr_2 := GetFuncOrNil&(z_GetActiveSubroutineUniformiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformiv(&program: ProgramName; _shadertype: ShaderType; index: UInt32; pname: SubroutineParameterName; values: IntPtr); + begin + z_GetActiveSubroutineUniformiv_ovr_2(&program, _shadertype, index, pname, values); + end; + + // added in gl4.0 + public z_GetActiveSubroutineUniformName_adr := GetFuncAdr('glGetActiveSubroutineUniformName'); + public z_GetActiveSubroutineUniformName_ovr_0 := GetFuncOrNil&(z_GetActiveSubroutineUniformName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: UInt32; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: array of Int32; name: IntPtr); + begin + z_GetActiveSubroutineUniformName_ovr_0(&program, _shadertype, index, bufSize, length[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: UInt32; _shadertype: ShaderType; index: UInt32; bufSize: Int32; var length: Int32; name: IntPtr); + begin + z_GetActiveSubroutineUniformName_ovr_0(&program, _shadertype, index, bufSize, length, name); + end; + public z_GetActiveSubroutineUniformName_ovr_2 := GetFuncOrNil&(z_GetActiveSubroutineUniformName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveSubroutineUniformName(&program: UInt32; _shadertype: ShaderType; index: UInt32; bufSize: Int32; length: IntPtr; name: IntPtr); + begin + z_GetActiveSubroutineUniformName_ovr_2(&program, _shadertype, index, bufSize, length, name); + end; + + // added in gl2.0 + public z_GetActiveUniform_adr := GetFuncAdr('glGetActiveUniform'); + public z_GetActiveUniform_ovr_0 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length[0], size[0], &type, name); + end; + public z_GetActiveUniform_ovr_2 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_2(&program, index, bufSize, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_2(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetActiveUniform_ovr_6 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_6(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_6(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetActiveUniform_ovr_8 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_8(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_2(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_0(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_2(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_6(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_6(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_8(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveUniform_ovr_18 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_18(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_18(&program, index, bufSize, length, size[0], &type, name); + end; + public z_GetActiveUniform_ovr_20 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_20(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_18(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_18(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_20(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveUniform_ovr_24 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_24(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniform_ovr_24(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveUniform_ovr_26 := GetFuncOrNil&(z_GetActiveUniform_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniform(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniform_ovr_26(&program, index, bufSize, length, size, &type, name); + end; + + // added in gl3.1 + public z_GetActiveUniformBlockiv_adr := GetFuncAdr('glGetActiveUniformBlockiv'); + public z_GetActiveUniformBlockiv_ovr_0 := GetFuncOrNil&(z_GetActiveUniformBlockiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: UInt32; uniformBlockIndex: UInt32; pname: UniformBlockPName; ¶ms: array of Int32); + begin + z_GetActiveUniformBlockiv_ovr_0(&program, uniformBlockIndex, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: UInt32; uniformBlockIndex: UInt32; pname: UniformBlockPName; var ¶ms: Int32); + begin + z_GetActiveUniformBlockiv_ovr_0(&program, uniformBlockIndex, pname, ¶ms); + end; + public z_GetActiveUniformBlockiv_ovr_2 := GetFuncOrNil&(z_GetActiveUniformBlockiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockiv(&program: UInt32; uniformBlockIndex: UInt32; pname: UniformBlockPName; ¶ms: IntPtr); + begin + z_GetActiveUniformBlockiv_ovr_2(&program, uniformBlockIndex, pname, ¶ms); + end; + + // added in gl3.1 + public z_GetActiveUniformBlockName_adr := GetFuncAdr('glGetActiveUniformBlockName'); + public z_GetActiveUniformBlockName_ovr_0 := GetFuncOrNil&(z_GetActiveUniformBlockName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockName(&program: UInt32; uniformBlockIndex: UInt32; bufSize: Int32; length: array of Int32; uniformBlockName: IntPtr); + begin + z_GetActiveUniformBlockName_ovr_0(&program, uniformBlockIndex, bufSize, length[0], uniformBlockName); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockName(&program: UInt32; uniformBlockIndex: UInt32; bufSize: Int32; var length: Int32; uniformBlockName: IntPtr); + begin + z_GetActiveUniformBlockName_ovr_0(&program, uniformBlockIndex, bufSize, length, uniformBlockName); + end; + public z_GetActiveUniformBlockName_ovr_2 := GetFuncOrNil&(z_GetActiveUniformBlockName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformBlockName(&program: UInt32; uniformBlockIndex: UInt32; bufSize: Int32; length: IntPtr; uniformBlockName: IntPtr); + begin + z_GetActiveUniformBlockName_ovr_2(&program, uniformBlockIndex, bufSize, length, uniformBlockName); + end; + + // added in gl3.1 + public z_GetActiveUniformName_adr := GetFuncAdr('glGetActiveUniformName'); + public z_GetActiveUniformName_ovr_0 := GetFuncOrNil&(z_GetActiveUniformName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: UInt32; uniformIndex: UInt32; bufSize: Int32; length: array of Int32; uniformName: IntPtr); + begin + z_GetActiveUniformName_ovr_0(&program, uniformIndex, bufSize, length[0], uniformName); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: UInt32; uniformIndex: UInt32; bufSize: Int32; var length: Int32; uniformName: IntPtr); + begin + z_GetActiveUniformName_ovr_0(&program, uniformIndex, bufSize, length, uniformName); + end; + public z_GetActiveUniformName_ovr_2 := GetFuncOrNil&(z_GetActiveUniformName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformName(&program: UInt32; uniformIndex: UInt32; bufSize: Int32; length: IntPtr; uniformName: IntPtr); + begin + z_GetActiveUniformName_ovr_2(&program, uniformIndex, bufSize, length, uniformName); + end; + + // added in gl3.1 + public z_GetActiveUniformsiv_adr := GetFuncAdr('glGetActiveUniformsiv'); + public z_GetActiveUniformsiv_ovr_0 := GetFuncOrNil&(z_GetActiveUniformsiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; uniformIndices: array of UInt32; pname: UniformPName; ¶ms: array of Int32); + begin + z_GetActiveUniformsiv_ovr_0(&program, uniformCount, uniformIndices[0], pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; uniformIndices: array of UInt32; pname: UniformPName; var ¶ms: Int32); + begin + z_GetActiveUniformsiv_ovr_0(&program, uniformCount, uniformIndices[0], pname, ¶ms); + end; + public z_GetActiveUniformsiv_ovr_2 := GetFuncOrNil&(z_GetActiveUniformsiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; uniformIndices: array of UInt32; pname: UniformPName; ¶ms: IntPtr); + begin + z_GetActiveUniformsiv_ovr_2(&program, uniformCount, uniformIndices[0], pname, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; var uniformIndices: UInt32; pname: UniformPName; ¶ms: array of Int32); + begin + z_GetActiveUniformsiv_ovr_0(&program, uniformCount, uniformIndices, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; var uniformIndices: UInt32; pname: UniformPName; var ¶ms: Int32); + begin + z_GetActiveUniformsiv_ovr_0(&program, uniformCount, uniformIndices, pname, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; var uniformIndices: UInt32; pname: UniformPName; ¶ms: IntPtr); + begin + z_GetActiveUniformsiv_ovr_2(&program, uniformCount, uniformIndices, pname, ¶ms); + end; + public z_GetActiveUniformsiv_ovr_6 := GetFuncOrNil&(z_GetActiveUniformsiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; uniformIndices: IntPtr; pname: UniformPName; ¶ms: array of Int32); + begin + z_GetActiveUniformsiv_ovr_6(&program, uniformCount, uniformIndices, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; uniformIndices: IntPtr; pname: UniformPName; var ¶ms: Int32); + begin + z_GetActiveUniformsiv_ovr_6(&program, uniformCount, uniformIndices, pname, ¶ms); + end; + public z_GetActiveUniformsiv_ovr_8 := GetFuncOrNil&(z_GetActiveUniformsiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformsiv(&program: UInt32; uniformCount: Int32; uniformIndices: IntPtr; pname: UniformPName; ¶ms: IntPtr); + begin + z_GetActiveUniformsiv_ovr_8(&program, uniformCount, uniformIndices, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetAttachedShaders_adr := GetFuncAdr('glGetAttachedShaders'); + public z_GetAttachedShaders_ovr_0 := GetFuncOrNil&(z_GetAttachedShaders_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; count: array of Int32; shaders: array of UInt32); + begin + z_GetAttachedShaders_ovr_0(&program, maxCount, count[0], shaders[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; count: array of Int32; var shaders: UInt32); + begin + z_GetAttachedShaders_ovr_0(&program, maxCount, count[0], shaders); + end; + public z_GetAttachedShaders_ovr_2 := GetFuncOrNil&(z_GetAttachedShaders_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; count: array of Int32; shaders: IntPtr); + begin + z_GetAttachedShaders_ovr_2(&program, maxCount, count[0], shaders); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; var count: Int32; shaders: array of UInt32); + begin + z_GetAttachedShaders_ovr_0(&program, maxCount, count, shaders[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; var count: Int32; var shaders: UInt32); + begin + z_GetAttachedShaders_ovr_0(&program, maxCount, count, shaders); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; var count: Int32; shaders: IntPtr); + begin + z_GetAttachedShaders_ovr_2(&program, maxCount, count, shaders); + end; + public z_GetAttachedShaders_ovr_6 := GetFuncOrNil&(z_GetAttachedShaders_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; count: IntPtr; shaders: array of UInt32); + begin + z_GetAttachedShaders_ovr_6(&program, maxCount, count, shaders[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; count: IntPtr; var shaders: UInt32); + begin + z_GetAttachedShaders_ovr_6(&program, maxCount, count, shaders); + end; + public z_GetAttachedShaders_ovr_8 := GetFuncOrNil&(z_GetAttachedShaders_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedShaders(&program: UInt32; maxCount: Int32; count: IntPtr; shaders: IntPtr); + begin + z_GetAttachedShaders_ovr_8(&program, maxCount, count, shaders); + end; + + // added in gl2.0 + public z_GetAttribLocation_adr := GetFuncAdr('glGetAttribLocation'); + public z_GetAttribLocation_ovr_0 := GetFuncOrNil&(z_GetAttribLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocation(&program: ProgramName; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetAttribLocation_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocation(&program: ProgramName; name: IntPtr): Int32; + begin + Result := z_GetAttribLocation_ovr_0(&program, name); + end; + + // added in gl3.0 + public z_GetBooleani_v_adr := GetFuncAdr('glGetBooleani_v'); + public z_GetBooleani_v_ovr_0 := GetFuncOrNil&(z_GetBooleani_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleani_v(target: BufferTargetARB; index: UInt32; data: array of boolean); + begin + z_GetBooleani_v_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleani_v(target: BufferTargetARB; index: UInt32; var data: boolean); + begin + z_GetBooleani_v_ovr_0(target, index, data); + end; + public z_GetBooleani_v_ovr_2 := GetFuncOrNil&(z_GetBooleani_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleani_v(target: BufferTargetARB; index: UInt32; data: IntPtr); + begin + z_GetBooleani_v_ovr_2(target, index, data); + end; + + // added in gl1.0 + private static procedure _z_GetBooleanv_ovr0(pname: GetPName; [MarshalAs(UnmanagedType.LPArray)] data: array of boolean); + external 'opengl32.dll' name 'glGetBooleanv'; + public static z_GetBooleanv_ovr0 := _z_GetBooleanv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanv(pname: GetPName; data: array of boolean) := z_GetBooleanv_ovr0(pname, data); + private static procedure _z_GetBooleanv_ovr1(pname: GetPName; var data: boolean); + external 'opengl32.dll' name 'glGetBooleanv'; + public static z_GetBooleanv_ovr1 := _z_GetBooleanv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanv(pname: GetPName; var data: boolean) := z_GetBooleanv_ovr1(pname, data); + private static procedure _z_GetBooleanv_ovr2(pname: GetPName; data: IntPtr); + external 'opengl32.dll' name 'glGetBooleanv'; + public static z_GetBooleanv_ovr2 := _z_GetBooleanv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanv(pname: GetPName; data: IntPtr) := z_GetBooleanv_ovr2(pname, data); + + // added in gl3.2 + public z_GetBufferParameteri64v_adr := GetFuncAdr('glGetBufferParameteri64v'); + public z_GetBufferParameteri64v_ovr_0 := GetFuncOrNil&(z_GetBufferParameteri64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteri64v(target: BufferTargetARB; pname: BufferPNameARB; ¶ms: array of Int64); + begin + z_GetBufferParameteri64v_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteri64v(target: BufferTargetARB; pname: BufferPNameARB; var ¶ms: Int64); + begin + z_GetBufferParameteri64v_ovr_0(target, pname, ¶ms); + end; + public z_GetBufferParameteri64v_ovr_2 := GetFuncOrNil&(z_GetBufferParameteri64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteri64v(target: BufferTargetARB; pname: BufferPNameARB; ¶ms: IntPtr); + begin + z_GetBufferParameteri64v_ovr_2(target, pname, ¶ms); + end; + + // added in gl1.5 + public z_GetBufferParameteriv_adr := GetFuncAdr('glGetBufferParameteriv'); + public z_GetBufferParameteriv_ovr_0 := GetFuncOrNil&(z_GetBufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferTargetARB; pname: BufferPNameARB; ¶ms: array of Int32); + begin + z_GetBufferParameteriv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferTargetARB; pname: BufferPNameARB; var ¶ms: Int32); + begin + z_GetBufferParameteriv_ovr_0(target, pname, ¶ms); + end; + public z_GetBufferParameteriv_ovr_2 := GetFuncOrNil&(z_GetBufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameteriv(target: BufferTargetARB; pname: BufferPNameARB; ¶ms: IntPtr); + begin + z_GetBufferParameteriv_ovr_2(target, pname, ¶ms); + end; + + // added in gl1.5 + public z_GetBufferPointerv_adr := GetFuncAdr('glGetBufferPointerv'); + public z_GetBufferPointerv_ovr_0 := GetFuncOrNil&(z_GetBufferPointerv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointerv(target: BufferTargetARB; pname: BufferPointerNameARB; ¶ms: array of IntPtr); + begin + z_GetBufferPointerv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointerv(target: BufferTargetARB; pname: BufferPointerNameARB; var ¶ms: IntPtr); + begin + z_GetBufferPointerv_ovr_0(target, pname, ¶ms); + end; + public z_GetBufferPointerv_ovr_2 := GetFuncOrNil&(z_GetBufferPointerv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointerv(target: BufferTargetARB; pname: BufferPointerNameARB; ¶ms: pointer); + begin + z_GetBufferPointerv_ovr_2(target, pname, ¶ms); + end; + + // added in gl1.5 + public z_GetBufferSubData_adr := GetFuncAdr('glGetBufferSubData'); + public z_GetBufferSubData_ovr_0 := GetFuncOrNil&(z_GetBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubData(target: BufferTargetARB; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_GetBufferSubData_ovr_0(target, offset, size, data); + end; + + // added in gl1.3 + public z_GetCompressedTexImage_adr := GetFuncAdr('glGetCompressedTexImage'); + public z_GetCompressedTexImage_ovr_0 := GetFuncOrNil&(z_GetCompressedTexImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImage(target: TextureTarget; level: Int32; img: IntPtr); + begin + z_GetCompressedTexImage_ovr_0(target, level, img); + end; + + // added in gl4.5 + public z_GetCompressedTextureImage_adr := GetFuncAdr('glGetCompressedTextureImage'); + public z_GetCompressedTextureImage_ovr_0 := GetFuncOrNil&(z_GetCompressedTextureImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImage(texture: UInt32; level: Int32; bufSize: Int32; pixels: IntPtr); + begin + z_GetCompressedTextureImage_ovr_0(texture, level, bufSize, pixels); + end; + + // added in gl4.5 + public z_GetCompressedTextureSubImage_adr := GetFuncAdr('glGetCompressedTextureSubImage'); + public z_GetCompressedTextureSubImage_ovr_0 := GetFuncOrNil&(z_GetCompressedTextureSubImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureSubImage(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; bufSize: Int32; pixels: IntPtr); + begin + z_GetCompressedTextureSubImage_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels); + end; + + // added in gl4.3 + public z_GetDebugMessageLog_adr := GetFuncAdr('glGetDebugMessageLog'); + public z_GetDebugMessageLog_ovr_0 := GetFuncOrNil&(z_GetDebugMessageLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; var sources: DebugSource; var types: DebugType; var ids: UInt32; var severities: DebugSeverity; var lengths: Int32; messageLog: IntPtr): UInt32; + begin + Result := z_GetDebugMessageLog_ovr_0(count, bufSize, sources, types, ids, severities, lengths, messageLog); + end; + public z_GetDebugMessageLog_ovr_1 := GetFuncOrNil&(z_GetDebugMessageLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLog(count: UInt32; bufSize: Int32; sources: IntPtr; types: IntPtr; ids: IntPtr; severities: IntPtr; lengths: IntPtr; messageLog: IntPtr): UInt32; + begin + Result := z_GetDebugMessageLog_ovr_1(count, bufSize, sources, types, ids, severities, lengths, messageLog); + end; + + // added in gl4.1 + public z_GetDoublei_v_adr := GetFuncAdr('glGetDoublei_v'); + public z_GetDoublei_v_ovr_0 := GetFuncOrNil&(z_GetDoublei_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_v(target: DummyEnum; index: UInt32; data: array of real); + begin + z_GetDoublei_v_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_v(target: DummyEnum; index: UInt32; var data: real); + begin + z_GetDoublei_v_ovr_0(target, index, data); + end; + public z_GetDoublei_v_ovr_2 := GetFuncOrNil&(z_GetDoublei_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_v(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetDoublei_v_ovr_2(target, index, data); + end; + + // added in gl1.0 + private static procedure _z_GetDoublev_ovr0(pname: GetPName; [MarshalAs(UnmanagedType.LPArray)] data: array of real); + external 'opengl32.dll' name 'glGetDoublev'; + public static z_GetDoublev_ovr0 := _z_GetDoublev_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublev(pname: GetPName; data: array of real) := z_GetDoublev_ovr0(pname, data); + private static procedure _z_GetDoublev_ovr1(pname: GetPName; var data: real); + external 'opengl32.dll' name 'glGetDoublev'; + public static z_GetDoublev_ovr1 := _z_GetDoublev_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublev(pname: GetPName; var data: real) := z_GetDoublev_ovr1(pname, data); + private static procedure _z_GetDoublev_ovr2(pname: GetPName; data: IntPtr); + external 'opengl32.dll' name 'glGetDoublev'; + public static z_GetDoublev_ovr2 := _z_GetDoublev_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublev(pname: GetPName; data: IntPtr) := z_GetDoublev_ovr2(pname, data); + + // added in gl1.0 + private static function _z_GetError_ovr0: ErrorCode; + external 'opengl32.dll' name 'glGetError'; + public static z_GetError_ovr0: function: ErrorCode := _z_GetError_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetError: ErrorCode := z_GetError_ovr0; + + // added in gl4.1 + public z_GetFloati_v_adr := GetFuncAdr('glGetFloati_v'); + public z_GetFloati_v_ovr_0 := GetFuncOrNil&(z_GetFloati_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_v(target: DummyEnum; index: UInt32; data: array of single); + begin + z_GetFloati_v_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_v(target: DummyEnum; index: UInt32; var data: single); + begin + z_GetFloati_v_ovr_0(target, index, data); + end; + public z_GetFloati_v_ovr_2 := GetFuncOrNil&(z_GetFloati_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_v(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetFloati_v_ovr_2(target, index, data); + end; + + // added in gl1.0 + private static procedure _z_GetFloatv_ovr0(pname: GetPName; [MarshalAs(UnmanagedType.LPArray)] data: array of single); + external 'opengl32.dll' name 'glGetFloatv'; + public static z_GetFloatv_ovr0 := _z_GetFloatv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatv(pname: GetPName; data: array of single) := z_GetFloatv_ovr0(pname, data); + private static procedure _z_GetFloatv_ovr1(pname: GetPName; var data: single); + external 'opengl32.dll' name 'glGetFloatv'; + public static z_GetFloatv_ovr1 := _z_GetFloatv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatv(pname: GetPName; var data: single) := z_GetFloatv_ovr1(pname, data); + private static procedure _z_GetFloatv_ovr2(pname: GetPName; data: IntPtr); + external 'opengl32.dll' name 'glGetFloatv'; + public static z_GetFloatv_ovr2 := _z_GetFloatv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatv(pname: GetPName; data: IntPtr) := z_GetFloatv_ovr2(pname, data); + + // added in gl3.3 + public z_GetFragDataIndex_adr := GetFuncAdr('glGetFragDataIndex'); + public z_GetFragDataIndex_ovr_0 := GetFuncOrNil&(z_GetFragDataIndex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataIndex(&program: ProgramName; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetFragDataIndex_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataIndex(&program: ProgramName; name: IntPtr): Int32; + begin + Result := z_GetFragDataIndex_ovr_0(&program, name); + end; + + // added in gl3.0 + public z_GetFragDataLocation_adr := GetFuncAdr('glGetFragDataLocation'); + public z_GetFragDataLocation_ovr_0 := GetFuncOrNil&(z_GetFragDataLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocation(&program: ProgramName; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetFragDataLocation_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocation(&program: ProgramName; name: IntPtr): Int32; + begin + Result := z_GetFragDataLocation_ovr_0(&program, name); + end; + + // added in gl3.0 + public z_GetFramebufferAttachmentParameteriv_adr := GetFuncAdr('glGetFramebufferAttachmentParameteriv'); + public z_GetFramebufferAttachmentParameteriv_ovr_0 := GetFuncOrNil&(z_GetFramebufferAttachmentParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferTarget; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: array of Int32); + begin + z_GetFramebufferAttachmentParameteriv_ovr_0(target, attachment, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferTarget; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; var ¶ms: Int32); + begin + z_GetFramebufferAttachmentParameteriv_ovr_0(target, attachment, pname, ¶ms); + end; + public z_GetFramebufferAttachmentParameteriv_ovr_2 := GetFuncOrNil&(z_GetFramebufferAttachmentParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameteriv(target: FramebufferTarget; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: IntPtr); + begin + z_GetFramebufferAttachmentParameteriv_ovr_2(target, attachment, pname, ¶ms); + end; + + // added in gl4.3 + public z_GetFramebufferParameteriv_adr := GetFuncAdr('glGetFramebufferParameteriv'); + public z_GetFramebufferParameteriv_ovr_0 := GetFuncOrNil&(z_GetFramebufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameteriv(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; ¶ms: array of Int32); + begin + z_GetFramebufferParameteriv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameteriv(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; var ¶ms: Int32); + begin + z_GetFramebufferParameteriv_ovr_0(target, pname, ¶ms); + end; + public z_GetFramebufferParameteriv_ovr_2 := GetFuncOrNil&(z_GetFramebufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameteriv(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; ¶ms: IntPtr); + begin + z_GetFramebufferParameteriv_ovr_2(target, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetGraphicsResetStatus_adr := GetFuncAdr('glGetGraphicsResetStatus'); + public z_GetGraphicsResetStatus_ovr_0 := GetFuncOrNil&(z_GetGraphicsResetStatus_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGraphicsResetStatus: GraphicsResetStatus; + begin + Result := z_GetGraphicsResetStatus_ovr_0; + end; + + // added in gl3.2 + public z_GetInteger64i_v_adr := GetFuncAdr('glGetInteger64i_v'); + public z_GetInteger64i_v_ovr_0 := GetFuncOrNil&(z_GetInteger64i_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: DummyEnum; index: UInt32; data: array of Int64); + begin + z_GetInteger64i_v_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: DummyEnum; index: UInt32; var data: Int64); + begin + z_GetInteger64i_v_ovr_0(target, index, data); + end; + public z_GetInteger64i_v_ovr_2 := GetFuncOrNil&(z_GetInteger64i_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64i_v(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetInteger64i_v_ovr_2(target, index, data); + end; + + // added in gl3.2 + public z_GetInteger64v_adr := GetFuncAdr('glGetInteger64v'); + public z_GetInteger64v_ovr_0 := GetFuncOrNil&(z_GetInteger64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64v(pname: GetPName; data: array of Int64); + begin + z_GetInteger64v_ovr_0(pname, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64v(pname: GetPName; var data: Int64); + begin + z_GetInteger64v_ovr_0(pname, data); + end; + public z_GetInteger64v_ovr_2 := GetFuncOrNil&(z_GetInteger64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64v(pname: GetPName; data: IntPtr); + begin + z_GetInteger64v_ovr_2(pname, data); + end; + + // added in gl3.1 + public z_GetIntegeri_v_adr := GetFuncAdr('glGetIntegeri_v'); + public z_GetIntegeri_v_ovr_0 := GetFuncOrNil&(z_GetIntegeri_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: DummyEnum; index: UInt32; data: array of Int32); + begin + z_GetIntegeri_v_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: DummyEnum; index: UInt32; var data: Int32); + begin + z_GetIntegeri_v_ovr_0(target, index, data); + end; + public z_GetIntegeri_v_ovr_2 := GetFuncOrNil&(z_GetIntegeri_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_v(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetIntegeri_v_ovr_2(target, index, data); + end; + + // added in gl1.0 + private static procedure _z_GetIntegerv_ovr0(pname: GetPName; [MarshalAs(UnmanagedType.LPArray)] data: array of Int32); + external 'opengl32.dll' name 'glGetIntegerv'; + public static z_GetIntegerv_ovr0 := _z_GetIntegerv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerv(pname: GetPName; data: array of Int32) := z_GetIntegerv_ovr0(pname, data); + private static procedure _z_GetIntegerv_ovr1(pname: GetPName; var data: Int32); + external 'opengl32.dll' name 'glGetIntegerv'; + public static z_GetIntegerv_ovr1 := _z_GetIntegerv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerv(pname: GetPName; var data: Int32) := z_GetIntegerv_ovr1(pname, data); + private static procedure _z_GetIntegerv_ovr2(pname: GetPName; data: IntPtr); + external 'opengl32.dll' name 'glGetIntegerv'; + public static z_GetIntegerv_ovr2 := _z_GetIntegerv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerv(pname: GetPName; data: IntPtr) := z_GetIntegerv_ovr2(pname, data); + + // added in gl4.3 + public z_GetInternalformati64v_adr := GetFuncAdr('glGetInternalformati64v'); + public z_GetInternalformati64v_ovr_0 := GetFuncOrNil&(z_GetInternalformati64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformati64v(target: TextureTarget; _internalformat: InternalFormat; pname: InternalFormatPName; count: Int32; ¶ms: array of Int64); + begin + z_GetInternalformati64v_ovr_0(target, _internalformat, pname, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformati64v(target: TextureTarget; _internalformat: InternalFormat; pname: InternalFormatPName; count: Int32; var ¶ms: Int64); + begin + z_GetInternalformati64v_ovr_0(target, _internalformat, pname, count, ¶ms); + end; + public z_GetInternalformati64v_ovr_2 := GetFuncOrNil&(z_GetInternalformati64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformati64v(target: TextureTarget; _internalformat: InternalFormat; pname: InternalFormatPName; count: Int32; ¶ms: IntPtr); + begin + z_GetInternalformati64v_ovr_2(target, _internalformat, pname, count, ¶ms); + end; + + // added in gl4.2 + public z_GetInternalformativ_adr := GetFuncAdr('glGetInternalformativ'); + public z_GetInternalformativ_ovr_0 := GetFuncOrNil&(z_GetInternalformativ_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureTarget; _internalformat: InternalFormat; pname: InternalFormatPName; count: Int32; ¶ms: array of Int32); + begin + z_GetInternalformativ_ovr_0(target, _internalformat, pname, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureTarget; _internalformat: InternalFormat; pname: InternalFormatPName; count: Int32; var ¶ms: Int32); + begin + z_GetInternalformativ_ovr_0(target, _internalformat, pname, count, ¶ms); + end; + public z_GetInternalformativ_ovr_2 := GetFuncOrNil&(z_GetInternalformativ_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformativ(target: TextureTarget; _internalformat: InternalFormat; pname: InternalFormatPName; count: Int32; ¶ms: IntPtr); + begin + z_GetInternalformativ_ovr_2(target, _internalformat, pname, count, ¶ms); + end; + + // added in gl3.2 + public z_GetMultisamplefv_adr := GetFuncAdr('glGetMultisamplefv'); + public z_GetMultisamplefv_ovr_0 := GetFuncOrNil&(z_GetMultisamplefv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: GetMultisamplePNameNV; index: UInt32; val: array of single); + begin + z_GetMultisamplefv_ovr_0(pname, index, val[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: GetMultisamplePNameNV; index: UInt32; var val: single); + begin + z_GetMultisamplefv_ovr_0(pname, index, val); + end; + public z_GetMultisamplefv_ovr_2 := GetFuncOrNil&(z_GetMultisamplefv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefv(pname: GetMultisamplePNameNV; index: UInt32; val: IntPtr); + begin + z_GetMultisamplefv_ovr_2(pname, index, val); + end; + + // added in gl4.5 + public z_GetNamedBufferParameteri64v_adr := GetFuncAdr('glGetNamedBufferParameteri64v'); + public z_GetNamedBufferParameteri64v_ovr_0 := GetFuncOrNil&(z_GetNamedBufferParameteri64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteri64v(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: array of Int64); + begin + z_GetNamedBufferParameteri64v_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteri64v(buffer: UInt32; pname: VertexBufferObjectParameter; var ¶ms: Int64); + begin + z_GetNamedBufferParameteri64v_ovr_0(buffer, pname, ¶ms); + end; + public z_GetNamedBufferParameteri64v_ovr_2 := GetFuncOrNil&(z_GetNamedBufferParameteri64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteri64v(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: IntPtr); + begin + z_GetNamedBufferParameteri64v_ovr_2(buffer, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetNamedBufferParameteriv_adr := GetFuncAdr('glGetNamedBufferParameteriv'); + public z_GetNamedBufferParameteriv_ovr_0 := GetFuncOrNil&(z_GetNamedBufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: array of Int32); + begin + z_GetNamedBufferParameteriv_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: UInt32; pname: VertexBufferObjectParameter; var ¶ms: Int32); + begin + z_GetNamedBufferParameteriv_ovr_0(buffer, pname, ¶ms); + end; + public z_GetNamedBufferParameteriv_ovr_2 := GetFuncOrNil&(z_GetNamedBufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameteriv(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: IntPtr); + begin + z_GetNamedBufferParameteriv_ovr_2(buffer, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetNamedBufferPointerv_adr := GetFuncAdr('glGetNamedBufferPointerv'); + public z_GetNamedBufferPointerv_ovr_0 := GetFuncOrNil&(z_GetNamedBufferPointerv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointerv(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: array of IntPtr); + begin + z_GetNamedBufferPointerv_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointerv(buffer: UInt32; pname: VertexBufferObjectParameter; var ¶ms: IntPtr); + begin + z_GetNamedBufferPointerv_ovr_0(buffer, pname, ¶ms); + end; + public z_GetNamedBufferPointerv_ovr_2 := GetFuncOrNil&(z_GetNamedBufferPointerv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointerv(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: pointer); + begin + z_GetNamedBufferPointerv_ovr_2(buffer, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetNamedBufferSubData_adr := GetFuncAdr('glGetNamedBufferSubData'); + public z_GetNamedBufferSubData_ovr_0 := GetFuncOrNil&(z_GetNamedBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubData(buffer: UInt32; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_GetNamedBufferSubData_ovr_0(buffer, offset, size, data); + end; + + // added in gl4.5 + public z_GetNamedFramebufferAttachmentParameteriv_adr := GetFuncAdr('glGetNamedFramebufferAttachmentParameteriv'); + public z_GetNamedFramebufferAttachmentParameteriv_ovr_0 := GetFuncOrNil&(z_GetNamedFramebufferAttachmentParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: UInt32; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: array of Int32); + begin + z_GetNamedFramebufferAttachmentParameteriv_ovr_0(framebuffer, attachment, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: UInt32; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; var ¶ms: Int32); + begin + z_GetNamedFramebufferAttachmentParameteriv_ovr_0(framebuffer, attachment, pname, ¶ms); + end; + public z_GetNamedFramebufferAttachmentParameteriv_ovr_2 := GetFuncOrNil&(z_GetNamedFramebufferAttachmentParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameteriv(framebuffer: UInt32; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: IntPtr); + begin + z_GetNamedFramebufferAttachmentParameteriv_ovr_2(framebuffer, attachment, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetNamedFramebufferParameteriv_adr := GetFuncAdr('glGetNamedFramebufferParameteriv'); + public z_GetNamedFramebufferParameteriv_ovr_0 := GetFuncOrNil&(z_GetNamedFramebufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameteriv(framebuffer: UInt32; pname: GetFramebufferParameter; param: array of Int32); + begin + z_GetNamedFramebufferParameteriv_ovr_0(framebuffer, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameteriv(framebuffer: UInt32; pname: GetFramebufferParameter; var param: Int32); + begin + z_GetNamedFramebufferParameteriv_ovr_0(framebuffer, pname, param); + end; + public z_GetNamedFramebufferParameteriv_ovr_2 := GetFuncOrNil&(z_GetNamedFramebufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameteriv(framebuffer: UInt32; pname: GetFramebufferParameter; param: IntPtr); + begin + z_GetNamedFramebufferParameteriv_ovr_2(framebuffer, pname, param); + end; + + // added in gl4.5 + public z_GetNamedRenderbufferParameteriv_adr := GetFuncAdr('glGetNamedRenderbufferParameteriv'); + public z_GetNamedRenderbufferParameteriv_ovr_0 := GetFuncOrNil&(z_GetNamedRenderbufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameteriv(renderbuffer: UInt32; pname: RenderbufferParameterName; ¶ms: array of Int32); + begin + z_GetNamedRenderbufferParameteriv_ovr_0(renderbuffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameteriv(renderbuffer: UInt32; pname: RenderbufferParameterName; var ¶ms: Int32); + begin + z_GetNamedRenderbufferParameteriv_ovr_0(renderbuffer, pname, ¶ms); + end; + public z_GetNamedRenderbufferParameteriv_ovr_2 := GetFuncOrNil&(z_GetNamedRenderbufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameteriv(renderbuffer: UInt32; pname: RenderbufferParameterName; ¶ms: IntPtr); + begin + z_GetNamedRenderbufferParameteriv_ovr_2(renderbuffer, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetnColorTable_adr := GetFuncAdr('glGetnColorTable'); + public z_GetnColorTable_ovr_0 := GetFuncOrNil&(z_GetnColorTable_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnColorTable(target: ColorTableTarget; format: PixelFormat; &type: PixelType; bufSize: Int32; table: IntPtr); + begin + z_GetnColorTable_ovr_0(target, format, &type, bufSize, table); + end; + + // added in gl4.5 + public z_GetnCompressedTexImage_adr := GetFuncAdr('glGetnCompressedTexImage'); + public z_GetnCompressedTexImage_ovr_0 := GetFuncOrNil&(z_GetnCompressedTexImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImage(target: TextureTarget; lod: Int32; bufSize: Int32; pixels: IntPtr); + begin + z_GetnCompressedTexImage_ovr_0(target, lod, bufSize, pixels); + end; + + // added in gl4.5 + public z_GetnConvolutionFilter_adr := GetFuncAdr('glGetnConvolutionFilter'); + public z_GetnConvolutionFilter_ovr_0 := GetFuncOrNil&(z_GetnConvolutionFilter_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnConvolutionFilter(target: ConvolutionTarget; format: PixelFormat; &type: PixelType; bufSize: Int32; image: IntPtr); + begin + z_GetnConvolutionFilter_ovr_0(target, format, &type, bufSize, image); + end; + + // added in gl4.5 + public z_GetnHistogram_adr := GetFuncAdr('glGetnHistogram'); + public z_GetnHistogram_ovr_0 := GetFuncOrNil&(z_GetnHistogram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnHistogram(target: HistogramTargetEXT; reset: boolean; format: PixelFormat; &type: PixelType; bufSize: Int32; values: IntPtr); + begin + z_GetnHistogram_ovr_0(target, reset, format, &type, bufSize, values); + end; + + // added in gl4.5 + public z_GetnMapdv_adr := GetFuncAdr('glGetnMapdv'); + public z_GetnMapdv_ovr_0 := GetFuncOrNil&(z_GetnMapdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdv(target: MapTarget; query: MapQuery; bufSize: Int32; v: array of real); + begin + z_GetnMapdv_ovr_0(target, query, bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdv(target: MapTarget; query: MapQuery; bufSize: Int32; var v: real); + begin + z_GetnMapdv_ovr_0(target, query, bufSize, v); + end; + public z_GetnMapdv_ovr_2 := GetFuncOrNil&(z_GetnMapdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdv(target: MapTarget; query: MapQuery; bufSize: Int32; v: IntPtr); + begin + z_GetnMapdv_ovr_2(target, query, bufSize, v); + end; + + // added in gl4.5 + public z_GetnMapfv_adr := GetFuncAdr('glGetnMapfv'); + public z_GetnMapfv_ovr_0 := GetFuncOrNil&(z_GetnMapfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfv(target: MapTarget; query: MapQuery; bufSize: Int32; v: array of single); + begin + z_GetnMapfv_ovr_0(target, query, bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfv(target: MapTarget; query: MapQuery; bufSize: Int32; var v: single); + begin + z_GetnMapfv_ovr_0(target, query, bufSize, v); + end; + public z_GetnMapfv_ovr_2 := GetFuncOrNil&(z_GetnMapfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfv(target: MapTarget; query: MapQuery; bufSize: Int32; v: IntPtr); + begin + z_GetnMapfv_ovr_2(target, query, bufSize, v); + end; + + // added in gl4.5 + public z_GetnMapiv_adr := GetFuncAdr('glGetnMapiv'); + public z_GetnMapiv_ovr_0 := GetFuncOrNil&(z_GetnMapiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapiv(target: MapTarget; query: MapQuery; bufSize: Int32; v: array of Int32); + begin + z_GetnMapiv_ovr_0(target, query, bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapiv(target: MapTarget; query: MapQuery; bufSize: Int32; var v: Int32); + begin + z_GetnMapiv_ovr_0(target, query, bufSize, v); + end; + public z_GetnMapiv_ovr_2 := GetFuncOrNil&(z_GetnMapiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapiv(target: MapTarget; query: MapQuery; bufSize: Int32; v: IntPtr); + begin + z_GetnMapiv_ovr_2(target, query, bufSize, v); + end; + + // added in gl4.5 + public z_GetnMinmax_adr := GetFuncAdr('glGetnMinmax'); + public z_GetnMinmax_ovr_0 := GetFuncOrNil&(z_GetnMinmax_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMinmax(target: MinmaxTargetEXT; reset: boolean; format: PixelFormat; &type: PixelType; bufSize: Int32; values: IntPtr); + begin + z_GetnMinmax_ovr_0(target, reset, format, &type, bufSize, values); + end; + + // added in gl4.5 + public z_GetnPixelMapfv_adr := GetFuncAdr('glGetnPixelMapfv'); + public z_GetnPixelMapfv_ovr_0 := GetFuncOrNil&(z_GetnPixelMapfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfv(map: PixelMap; bufSize: Int32; values: array of single); + begin + z_GetnPixelMapfv_ovr_0(map, bufSize, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfv(map: PixelMap; bufSize: Int32; var values: single); + begin + z_GetnPixelMapfv_ovr_0(map, bufSize, values); + end; + public z_GetnPixelMapfv_ovr_2 := GetFuncOrNil&(z_GetnPixelMapfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfv(map: PixelMap; bufSize: Int32; values: IntPtr); + begin + z_GetnPixelMapfv_ovr_2(map, bufSize, values); + end; + + // added in gl4.5 + public z_GetnPixelMapuiv_adr := GetFuncAdr('glGetnPixelMapuiv'); + public z_GetnPixelMapuiv_ovr_0 := GetFuncOrNil&(z_GetnPixelMapuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuiv(map: PixelMap; bufSize: Int32; values: array of UInt32); + begin + z_GetnPixelMapuiv_ovr_0(map, bufSize, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuiv(map: PixelMap; bufSize: Int32; var values: UInt32); + begin + z_GetnPixelMapuiv_ovr_0(map, bufSize, values); + end; + public z_GetnPixelMapuiv_ovr_2 := GetFuncOrNil&(z_GetnPixelMapuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuiv(map: PixelMap; bufSize: Int32; values: IntPtr); + begin + z_GetnPixelMapuiv_ovr_2(map, bufSize, values); + end; + + // added in gl4.5 + public z_GetnPixelMapusv_adr := GetFuncAdr('glGetnPixelMapusv'); + public z_GetnPixelMapusv_ovr_0 := GetFuncOrNil&(z_GetnPixelMapusv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusv(map: PixelMap; bufSize: Int32; values: array of UInt16); + begin + z_GetnPixelMapusv_ovr_0(map, bufSize, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusv(map: PixelMap; bufSize: Int32; var values: UInt16); + begin + z_GetnPixelMapusv_ovr_0(map, bufSize, values); + end; + public z_GetnPixelMapusv_ovr_2 := GetFuncOrNil&(z_GetnPixelMapusv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusv(map: PixelMap; bufSize: Int32; values: IntPtr); + begin + z_GetnPixelMapusv_ovr_2(map, bufSize, values); + end; + + // added in gl4.5 + public z_GetnPolygonStipple_adr := GetFuncAdr('glGetnPolygonStipple'); + public z_GetnPolygonStipple_ovr_0 := GetFuncOrNil&(z_GetnPolygonStipple_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStipple(bufSize: Int32; pattern: array of Byte); + begin + z_GetnPolygonStipple_ovr_0(bufSize, pattern[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStipple(bufSize: Int32; var pattern: Byte); + begin + z_GetnPolygonStipple_ovr_0(bufSize, pattern); + end; + public z_GetnPolygonStipple_ovr_2 := GetFuncOrNil&(z_GetnPolygonStipple_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStipple(bufSize: Int32; pattern: IntPtr); + begin + z_GetnPolygonStipple_ovr_2(bufSize, pattern); + end; + + // added in gl4.5 + public z_GetnSeparableFilter_adr := GetFuncAdr('glGetnSeparableFilter'); + public z_GetnSeparableFilter_ovr_0 := GetFuncOrNil&(z_GetnSeparableFilter_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnSeparableFilter(target: SeparableTargetEXT; format: PixelFormat; &type: PixelType; rowBufSize: Int32; row: IntPtr; columnBufSize: Int32; column: IntPtr; span: IntPtr); + begin + z_GetnSeparableFilter_ovr_0(target, format, &type, rowBufSize, row, columnBufSize, column, span); + end; + + // added in gl4.5 + public z_GetnTexImage_adr := GetFuncAdr('glGetnTexImage'); + public z_GetnTexImage_ovr_0 := GetFuncOrNil&(z_GetnTexImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImage(target: TextureTarget; level: Int32; format: PixelFormat; &type: PixelType; bufSize: Int32; pixels: IntPtr); + begin + z_GetnTexImage_ovr_0(target, level, format, &type, bufSize, pixels); + end; + + // added in gl4.5 + public z_GetnUniformdv_adr := GetFuncAdr('glGetnUniformdv'); + public z_GetnUniformdv_ovr_0 := GetFuncOrNil&(z_GetnUniformdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of real); + begin + z_GetnUniformdv_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: real); + begin + z_GetnUniformdv_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformdv_ovr_2 := GetFuncOrNil&(z_GetnUniformdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformdv_ovr_2(&program, location, bufSize, ¶ms); + end; + + // added in gl4.5 + public z_GetnUniformfv_adr := GetFuncAdr('glGetnUniformfv'); + public z_GetnUniformfv_ovr_0 := GetFuncOrNil&(z_GetnUniformfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of single); + begin + z_GetnUniformfv_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: single); + begin + z_GetnUniformfv_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformfv_ovr_2 := GetFuncOrNil&(z_GetnUniformfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformfv_ovr_2(&program, location, bufSize, ¶ms); + end; + + // added in gl4.5 + public z_GetnUniformiv_adr := GetFuncAdr('glGetnUniformiv'); + public z_GetnUniformiv_ovr_0 := GetFuncOrNil&(z_GetnUniformiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of Int32); + begin + z_GetnUniformiv_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformiv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: Int32); + begin + z_GetnUniformiv_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformiv_ovr_2 := GetFuncOrNil&(z_GetnUniformiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformiv_ovr_2(&program, location, bufSize, ¶ms); + end; + + // added in gl4.5 + public z_GetnUniformuiv_adr := GetFuncAdr('glGetnUniformuiv'); + public z_GetnUniformuiv_ovr_0 := GetFuncOrNil&(z_GetnUniformuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: array of UInt32); + begin + z_GetnUniformuiv_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuiv(&program: ProgramName; location: Int32; bufSize: Int32; var ¶ms: UInt32); + begin + z_GetnUniformuiv_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformuiv_ovr_2 := GetFuncOrNil&(z_GetnUniformuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuiv(&program: ProgramName; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformuiv_ovr_2(&program, location, bufSize, ¶ms); + end; + + // added in gl4.3 + public z_GetObjectLabel_adr := GetFuncAdr('glGetObjectLabel'); + public z_GetObjectLabel_ovr_0 := GetFuncOrNil&(z_GetObjectLabel_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectIdentifier; name: UInt32; bufSize: Int32; length: array of Int32; &label: IntPtr); + begin + z_GetObjectLabel_ovr_0(identifier, name, bufSize, length[0], &label); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectIdentifier; name: UInt32; bufSize: Int32; var length: Int32; &label: IntPtr); + begin + z_GetObjectLabel_ovr_0(identifier, name, bufSize, length, &label); + end; + public z_GetObjectLabel_ovr_2 := GetFuncOrNil&(z_GetObjectLabel_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabel(identifier: ObjectIdentifier; name: UInt32; bufSize: Int32; length: IntPtr; &label: IntPtr); + begin + z_GetObjectLabel_ovr_2(identifier, name, bufSize, length, &label); + end; + + // added in gl4.3 + public z_GetObjectPtrLabel_adr := GetFuncAdr('glGetObjectPtrLabel'); + public z_GetObjectPtrLabel_ovr_0 := GetFuncOrNil&(z_GetObjectPtrLabel_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: IntPtr; bufSize: Int32; length: array of Int32; &label: IntPtr); + begin + z_GetObjectPtrLabel_ovr_0(ptr, bufSize, length[0], &label); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: IntPtr; bufSize: Int32; var length: Int32; &label: IntPtr); + begin + z_GetObjectPtrLabel_ovr_0(ptr, bufSize, length, &label); + end; + public z_GetObjectPtrLabel_ovr_2 := GetFuncOrNil&(z_GetObjectPtrLabel_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabel(ptr: IntPtr; bufSize: Int32; length: IntPtr; &label: IntPtr); + begin + z_GetObjectPtrLabel_ovr_2(ptr, bufSize, length, &label); + end; + + // added in gl1.1 + private static procedure _z_GetPointerv_ovr0(pname: GetPointervPName; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of IntPtr); + external 'opengl32.dll' name 'glGetPointerv'; + public static z_GetPointerv_ovr0 := _z_GetPointerv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GetPointervPName; ¶ms: array of IntPtr) := z_GetPointerv_ovr0(pname, ¶ms); + private static procedure _z_GetPointerv_ovr1(pname: GetPointervPName; var ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetPointerv'; + public static z_GetPointerv_ovr1 := _z_GetPointerv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GetPointervPName; var ¶ms: IntPtr) := z_GetPointerv_ovr1(pname, ¶ms); + private static procedure _z_GetPointerv_ovr2(pname: GetPointervPName; ¶ms: pointer); + external 'opengl32.dll' name 'glGetPointerv'; + public static z_GetPointerv_ovr2 := _z_GetPointerv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerv(pname: GetPointervPName; ¶ms: pointer) := z_GetPointerv_ovr2(pname, ¶ms); + + // added in gl4.1 + public z_GetProgramBinary_adr := GetFuncAdr('glGetProgramBinary'); + public z_GetProgramBinary_ovr_0 := GetFuncOrNil&(z_GetProgramBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: array of Int32; binaryFormat: array of DummyEnum; binary: IntPtr); + begin + z_GetProgramBinary_ovr_0(&program, bufSize, length[0], binaryFormat[0], binary); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: array of Int32; var binaryFormat: DummyEnum; binary: IntPtr); + begin + z_GetProgramBinary_ovr_0(&program, bufSize, length[0], binaryFormat, binary); + end; + public z_GetProgramBinary_ovr_2 := GetFuncOrNil&(z_GetProgramBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: array of Int32; binaryFormat: IntPtr; binary: IntPtr); + begin + z_GetProgramBinary_ovr_2(&program, bufSize, length[0], binaryFormat, binary); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; var length: Int32; binaryFormat: array of DummyEnum; binary: IntPtr); + begin + z_GetProgramBinary_ovr_0(&program, bufSize, length, binaryFormat[0], binary); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; var length: Int32; var binaryFormat: DummyEnum; binary: IntPtr); + begin + z_GetProgramBinary_ovr_0(&program, bufSize, length, binaryFormat, binary); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; var length: Int32; binaryFormat: IntPtr; binary: IntPtr); + begin + z_GetProgramBinary_ovr_2(&program, bufSize, length, binaryFormat, binary); + end; + public z_GetProgramBinary_ovr_6 := GetFuncOrNil&(z_GetProgramBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: IntPtr; binaryFormat: array of DummyEnum; binary: IntPtr); + begin + z_GetProgramBinary_ovr_6(&program, bufSize, length, binaryFormat[0], binary); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: IntPtr; var binaryFormat: DummyEnum; binary: IntPtr); + begin + z_GetProgramBinary_ovr_6(&program, bufSize, length, binaryFormat, binary); + end; + public z_GetProgramBinary_ovr_8 := GetFuncOrNil&(z_GetProgramBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinary(&program: UInt32; bufSize: Int32; length: IntPtr; binaryFormat: IntPtr; binary: IntPtr); + begin + z_GetProgramBinary_ovr_8(&program, bufSize, length, binaryFormat, binary); + end; + + // added in gl2.0 + public z_GetProgramInfoLog_adr := GetFuncAdr('glGetProgramInfoLog'); + public z_GetProgramInfoLog_ovr_0 := GetFuncOrNil&(z_GetProgramInfoLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInfoLog(&program: ProgramName; bufSize: Int32; var length: Int32; infoLog: IntPtr); + begin + z_GetProgramInfoLog_ovr_0(&program, bufSize, length, infoLog); + end; + public z_GetProgramInfoLog_ovr_1 := GetFuncOrNil&(z_GetProgramInfoLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInfoLog(&program: ProgramName; bufSize: Int32; length: IntPtr; infoLog: IntPtr); + begin + z_GetProgramInfoLog_ovr_1(&program, bufSize, length, infoLog); + end; + + // added in gl4.3 + public z_GetProgramInterfaceiv_adr := GetFuncAdr('glGetProgramInterfaceiv'); + public z_GetProgramInterfaceiv_ovr_0 := GetFuncOrNil&(z_GetProgramInterfaceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInterfaceiv(&program: ProgramName; _programInterface: ProgramInterface; pname: ProgramInterfacePName; ¶ms: array of Int32); + begin + z_GetProgramInterfaceiv_ovr_0(&program, _programInterface, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInterfaceiv(&program: ProgramName; _programInterface: ProgramInterface; pname: ProgramInterfacePName; var ¶ms: Int32); + begin + z_GetProgramInterfaceiv_ovr_0(&program, _programInterface, pname, ¶ms); + end; + public z_GetProgramInterfaceiv_ovr_2 := GetFuncOrNil&(z_GetProgramInterfaceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramInterfaceiv(&program: ProgramName; _programInterface: ProgramInterface; pname: ProgramInterfacePName; ¶ms: IntPtr); + begin + z_GetProgramInterfaceiv_ovr_2(&program, _programInterface, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetProgramiv_adr := GetFuncAdr('glGetProgramiv'); + public z_GetProgramiv_ovr_0 := GetFuncOrNil&(z_GetProgramiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramiv(&program: ProgramName; pname: ProgramPropertyARB; ¶ms: array of Int32); + begin + z_GetProgramiv_ovr_0(&program, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramiv(&program: ProgramName; pname: ProgramPropertyARB; var ¶ms: Int32); + begin + z_GetProgramiv_ovr_0(&program, pname, ¶ms); + end; + public z_GetProgramiv_ovr_2 := GetFuncOrNil&(z_GetProgramiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramiv(&program: ProgramName; pname: ProgramPropertyARB; ¶ms: IntPtr); + begin + z_GetProgramiv_ovr_2(&program, pname, ¶ms); + end; + + // added in gl4.1 + public z_GetProgramPipelineInfoLog_adr := GetFuncAdr('glGetProgramPipelineInfoLog'); + public z_GetProgramPipelineInfoLog_ovr_0 := GetFuncOrNil&(z_GetProgramPipelineInfoLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: UInt32; bufSize: Int32; length: array of Int32; infoLog: IntPtr); + begin + z_GetProgramPipelineInfoLog_ovr_0(pipeline, bufSize, length[0], infoLog); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: UInt32; bufSize: Int32; var length: Int32; infoLog: IntPtr); + begin + z_GetProgramPipelineInfoLog_ovr_0(pipeline, bufSize, length, infoLog); + end; + public z_GetProgramPipelineInfoLog_ovr_2 := GetFuncOrNil&(z_GetProgramPipelineInfoLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLog(pipeline: UInt32; bufSize: Int32; length: IntPtr; infoLog: IntPtr); + begin + z_GetProgramPipelineInfoLog_ovr_2(pipeline, bufSize, length, infoLog); + end; + + // added in gl4.1 + public z_GetProgramPipelineiv_adr := GetFuncAdr('glGetProgramPipelineiv'); + public z_GetProgramPipelineiv_ovr_0 := GetFuncOrNil&(z_GetProgramPipelineiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: UInt32; pname: PipelineParameterName; ¶ms: array of Int32); + begin + z_GetProgramPipelineiv_ovr_0(pipeline, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: UInt32; pname: PipelineParameterName; var ¶ms: Int32); + begin + z_GetProgramPipelineiv_ovr_0(pipeline, pname, ¶ms); + end; + public z_GetProgramPipelineiv_ovr_2 := GetFuncOrNil&(z_GetProgramPipelineiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineiv(pipeline: UInt32; pname: PipelineParameterName; ¶ms: IntPtr); + begin + z_GetProgramPipelineiv_ovr_2(pipeline, pname, ¶ms); + end; + + // added in gl4.3 + public z_GetProgramResourceIndex_adr := GetFuncAdr('glGetProgramResourceIndex'); + public z_GetProgramResourceIndex_ovr_0 := GetFuncOrNil&(z_GetProgramResourceIndex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceIndex(&program: ProgramName; _programInterface: ProgramInterface; name: string): UInt32; + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetProgramResourceIndex_ovr_0(&program, _programInterface, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceIndex(&program: ProgramName; _programInterface: ProgramInterface; name: IntPtr): UInt32; + begin + Result := z_GetProgramResourceIndex_ovr_0(&program, _programInterface, name); + end; + + // added in gl4.3 + public z_GetProgramResourceiv_adr := GetFuncAdr('glGetProgramResourceiv'); + public z_GetProgramResourceiv_ovr_0 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; length: array of Int32; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props[0], count, length[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; length: array of Int32; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props[0], count, length[0], ¶ms); + end; + public z_GetProgramResourceiv_ovr_2 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; length: array of Int32; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_2(&program, _programInterface, index, propCount, props[0], count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; var length: Int32; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props[0], count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; var length: Int32; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; var length: Int32; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_2(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public z_GetProgramResourceiv_ovr_6 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; length: IntPtr; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_6(&program, _programInterface, index, propCount, props[0], count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; length: IntPtr; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_6(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public z_GetProgramResourceiv_ovr_8 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of ProgramResourceProperty; count: Int32; length: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_8(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; length: array of Int32; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props, count, length[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; length: array of Int32; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; length: array of Int32; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_2(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; var length: Int32; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; var length: Int32; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_0(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; var length: Int32; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_2(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; length: IntPtr; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_6(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; length: IntPtr; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_6(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: ProgramResourceProperty; count: Int32; length: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_8(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public z_GetProgramResourceiv_ovr_18 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: array of Int32; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_18(&program, _programInterface, index, propCount, props, count, length[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: array of Int32; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_18(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public z_GetProgramResourceiv_ovr_20 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: array of Int32; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_20(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; var length: Int32; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_18(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; var length: Int32; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_18(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; var length: Int32; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_20(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public z_GetProgramResourceiv_ovr_24 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: IntPtr; ¶ms: array of Int32); + begin + z_GetProgramResourceiv_ovr_24(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: IntPtr; var ¶ms: Int32); + begin + z_GetProgramResourceiv_ovr_24(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public z_GetProgramResourceiv_ovr_26 := GetFuncOrNil&(z_GetProgramResourceiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceiv(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramResourceiv_ovr_26(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + + // added in gl4.3 + public z_GetProgramResourceLocation_adr := GetFuncAdr('glGetProgramResourceLocation'); + public z_GetProgramResourceLocation_ovr_0 := GetFuncOrNil&(z_GetProgramResourceLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocation(&program: ProgramName; _programInterface: ProgramInterface; name: string): Int32; + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetProgramResourceLocation_ovr_0(&program, _programInterface, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocation(&program: ProgramName; _programInterface: ProgramInterface; name: IntPtr): Int32; + begin + Result := z_GetProgramResourceLocation_ovr_0(&program, _programInterface, name); + end; + + // added in gl4.3 + public z_GetProgramResourceLocationIndex_adr := GetFuncAdr('glGetProgramResourceLocationIndex'); + public z_GetProgramResourceLocationIndex_ovr_0 := GetFuncOrNil&(z_GetProgramResourceLocationIndex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocationIndex(&program: ProgramName; _programInterface: ProgramInterface; name: string): Int32; + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetProgramResourceLocationIndex_ovr_0(&program, _programInterface, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocationIndex(&program: ProgramName; _programInterface: ProgramInterface; name: IntPtr): Int32; + begin + Result := z_GetProgramResourceLocationIndex_ovr_0(&program, _programInterface, name); + end; + + // added in gl4.3 + public z_GetProgramResourceName_adr := GetFuncAdr('glGetProgramResourceName'); + public z_GetProgramResourceName_ovr_0 := GetFuncOrNil&(z_GetProgramResourceName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; bufSize: Int32; length: array of Int32; name: IntPtr); + begin + z_GetProgramResourceName_ovr_0(&program, _programInterface, index, bufSize, length[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; bufSize: Int32; var length: Int32; name: IntPtr); + begin + z_GetProgramResourceName_ovr_0(&program, _programInterface, index, bufSize, length, name); + end; + public z_GetProgramResourceName_ovr_2 := GetFuncOrNil&(z_GetProgramResourceName_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourceName(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; bufSize: Int32; length: IntPtr; name: IntPtr); + begin + z_GetProgramResourceName_ovr_2(&program, _programInterface, index, bufSize, length, name); + end; + + // added in gl4.0 + public z_GetProgramStageiv_adr := GetFuncAdr('glGetProgramStageiv'); + public z_GetProgramStageiv_ovr_0 := GetFuncOrNil&(z_GetProgramStageiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStageiv(&program: ProgramName; _shadertype: ShaderType; pname: ProgramStagePName; values: array of Int32); + begin + z_GetProgramStageiv_ovr_0(&program, _shadertype, pname, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStageiv(&program: ProgramName; _shadertype: ShaderType; pname: ProgramStagePName; var values: Int32); + begin + z_GetProgramStageiv_ovr_0(&program, _shadertype, pname, values); + end; + public z_GetProgramStageiv_ovr_2 := GetFuncOrNil&(z_GetProgramStageiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStageiv(&program: ProgramName; _shadertype: ShaderType; pname: ProgramStagePName; values: IntPtr); + begin + z_GetProgramStageiv_ovr_2(&program, _shadertype, pname, values); + end; + + // added in gl4.5 + public z_GetQueryBufferObjecti64v_adr := GetFuncAdr('glGetQueryBufferObjecti64v'); + public z_GetQueryBufferObjecti64v_ovr_0 := GetFuncOrNil&(z_GetQueryBufferObjecti64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjecti64v(id: QueryName; buffer: BufferName; pname: QueryObjectParameterName; offset: IntPtr); + begin + z_GetQueryBufferObjecti64v_ovr_0(id, buffer, pname, offset); + end; + + // added in gl4.5 + public z_GetQueryBufferObjectiv_adr := GetFuncAdr('glGetQueryBufferObjectiv'); + public z_GetQueryBufferObjectiv_ovr_0 := GetFuncOrNil&(z_GetQueryBufferObjectiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjectiv(id: QueryName; buffer: BufferName; pname: QueryObjectParameterName; offset: IntPtr); + begin + z_GetQueryBufferObjectiv_ovr_0(id, buffer, pname, offset); + end; + + // added in gl4.5 + public z_GetQueryBufferObjectui64v_adr := GetFuncAdr('glGetQueryBufferObjectui64v'); + public z_GetQueryBufferObjectui64v_ovr_0 := GetFuncOrNil&(z_GetQueryBufferObjectui64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjectui64v(id: QueryName; buffer: BufferName; pname: QueryObjectParameterName; offset: IntPtr); + begin + z_GetQueryBufferObjectui64v_ovr_0(id, buffer, pname, offset); + end; + + // added in gl4.5 + public z_GetQueryBufferObjectuiv_adr := GetFuncAdr('glGetQueryBufferObjectuiv'); + public z_GetQueryBufferObjectuiv_ovr_0 := GetFuncOrNil&(z_GetQueryBufferObjectuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryBufferObjectuiv(id: QueryName; buffer: BufferName; pname: QueryObjectParameterName; offset: IntPtr); + begin + z_GetQueryBufferObjectuiv_ovr_0(id, buffer, pname, offset); + end; + + // added in gl4.0 + public z_GetQueryIndexediv_adr := GetFuncAdr('glGetQueryIndexediv'); + public z_GetQueryIndexediv_ovr_0 := GetFuncOrNil&(z_GetQueryIndexediv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTarget; index: UInt32; pname: QueryParameterName; ¶ms: array of Int32); + begin + z_GetQueryIndexediv_ovr_0(target, index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTarget; index: UInt32; pname: QueryParameterName; var ¶ms: Int32); + begin + z_GetQueryIndexediv_ovr_0(target, index, pname, ¶ms); + end; + public z_GetQueryIndexediv_ovr_2 := GetFuncOrNil&(z_GetQueryIndexediv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryIndexediv(target: QueryTarget; index: UInt32; pname: QueryParameterName; ¶ms: IntPtr); + begin + z_GetQueryIndexediv_ovr_2(target, index, pname, ¶ms); + end; + + // added in gl1.5 + public z_GetQueryiv_adr := GetFuncAdr('glGetQueryiv'); + public z_GetQueryiv_ovr_0 := GetFuncOrNil&(z_GetQueryiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTarget; pname: QueryParameterName; ¶ms: array of Int32); + begin + z_GetQueryiv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTarget; pname: QueryParameterName; var ¶ms: Int32); + begin + z_GetQueryiv_ovr_0(target, pname, ¶ms); + end; + public z_GetQueryiv_ovr_2 := GetFuncOrNil&(z_GetQueryiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryiv(target: QueryTarget; pname: QueryParameterName; ¶ms: IntPtr); + begin + z_GetQueryiv_ovr_2(target, pname, ¶ms); + end; + + // added in gl3.3 + public z_GetQueryObjecti64v_adr := GetFuncAdr('glGetQueryObjecti64v'); + public z_GetQueryObjecti64v_ovr_0 := GetFuncOrNil&(z_GetQueryObjecti64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64v(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of Int64); + begin + z_GetQueryObjecti64v_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64v(id: UInt32; pname: QueryObjectParameterName; var ¶ms: Int64); + begin + z_GetQueryObjecti64v_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjecti64v_ovr_2 := GetFuncOrNil&(z_GetQueryObjecti64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64v(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjecti64v_ovr_2(id, pname, ¶ms); + end; + + // added in gl1.5 + public z_GetQueryObjectiv_adr := GetFuncAdr('glGetQueryObjectiv'); + public z_GetQueryObjectiv_ovr_0 := GetFuncOrNil&(z_GetQueryObjectiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectiv(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of Int32); + begin + z_GetQueryObjectiv_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectiv(id: UInt32; pname: QueryObjectParameterName; var ¶ms: Int32); + begin + z_GetQueryObjectiv_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjectiv_ovr_2 := GetFuncOrNil&(z_GetQueryObjectiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectiv(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjectiv_ovr_2(id, pname, ¶ms); + end; + + // added in gl3.3 + public z_GetQueryObjectui64v_adr := GetFuncAdr('glGetQueryObjectui64v'); + public z_GetQueryObjectui64v_ovr_0 := GetFuncOrNil&(z_GetQueryObjectui64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of UInt64); + begin + z_GetQueryObjectui64v_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: UInt32; pname: QueryObjectParameterName; var ¶ms: UInt64); + begin + z_GetQueryObjectui64v_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjectui64v_ovr_2 := GetFuncOrNil&(z_GetQueryObjectui64v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64v(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjectui64v_ovr_2(id, pname, ¶ms); + end; + + // added in gl1.5 + public z_GetQueryObjectuiv_adr := GetFuncAdr('glGetQueryObjectuiv'); + public z_GetQueryObjectuiv_ovr_0 := GetFuncOrNil&(z_GetQueryObjectuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuiv(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of UInt32); + begin + z_GetQueryObjectuiv_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuiv(id: UInt32; pname: QueryObjectParameterName; var ¶ms: UInt32); + begin + z_GetQueryObjectuiv_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjectuiv_ovr_2 := GetFuncOrNil&(z_GetQueryObjectuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuiv(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjectuiv_ovr_2(id, pname, ¶ms); + end; + + // added in gl3.0 + public z_GetRenderbufferParameteriv_adr := GetFuncAdr('glGetRenderbufferParameteriv'); + public z_GetRenderbufferParameteriv_ovr_0 := GetFuncOrNil&(z_GetRenderbufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameteriv(target: RenderbufferTarget; pname: RenderbufferParameterName; ¶ms: array of Int32); + begin + z_GetRenderbufferParameteriv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameteriv(target: RenderbufferTarget; pname: RenderbufferParameterName; var ¶ms: Int32); + begin + z_GetRenderbufferParameteriv_ovr_0(target, pname, ¶ms); + end; + public z_GetRenderbufferParameteriv_ovr_2 := GetFuncOrNil&(z_GetRenderbufferParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameteriv(target: RenderbufferTarget; pname: RenderbufferParameterName; ¶ms: IntPtr); + begin + z_GetRenderbufferParameteriv_ovr_2(target, pname, ¶ms); + end; + + // added in gl3.3 + public z_GetSamplerParameterfv_adr := GetFuncAdr('glGetSamplerParameterfv'); + public z_GetSamplerParameterfv_ovr_0 := GetFuncOrNil&(z_GetSamplerParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterfv(sampler: UInt32; pname: SamplerParameterF; ¶ms: array of single); + begin + z_GetSamplerParameterfv_ovr_0(sampler, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterfv(sampler: UInt32; pname: SamplerParameterF; var ¶ms: single); + begin + z_GetSamplerParameterfv_ovr_0(sampler, pname, ¶ms); + end; + public z_GetSamplerParameterfv_ovr_2 := GetFuncOrNil&(z_GetSamplerParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterfv(sampler: UInt32; pname: SamplerParameterF; ¶ms: IntPtr); + begin + z_GetSamplerParameterfv_ovr_2(sampler, pname, ¶ms); + end; + + // added in gl3.3 + public z_GetSamplerParameterIiv_adr := GetFuncAdr('glGetSamplerParameterIiv'); + public z_GetSamplerParameterIiv_ovr_0 := GetFuncOrNil&(z_GetSamplerParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIiv(sampler: UInt32; pname: SamplerParameterI; ¶ms: array of Int32); + begin + z_GetSamplerParameterIiv_ovr_0(sampler, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIiv(sampler: UInt32; pname: SamplerParameterI; var ¶ms: Int32); + begin + z_GetSamplerParameterIiv_ovr_0(sampler, pname, ¶ms); + end; + public z_GetSamplerParameterIiv_ovr_2 := GetFuncOrNil&(z_GetSamplerParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIiv(sampler: UInt32; pname: SamplerParameterI; ¶ms: IntPtr); + begin + z_GetSamplerParameterIiv_ovr_2(sampler, pname, ¶ms); + end; + + // added in gl3.3 + public z_GetSamplerParameterIuiv_adr := GetFuncAdr('glGetSamplerParameterIuiv'); + public z_GetSamplerParameterIuiv_ovr_0 := GetFuncOrNil&(z_GetSamplerParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: UInt32; pname: SamplerParameterI; ¶ms: array of UInt32); + begin + z_GetSamplerParameterIuiv_ovr_0(sampler, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: UInt32; pname: SamplerParameterI; var ¶ms: UInt32); + begin + z_GetSamplerParameterIuiv_ovr_0(sampler, pname, ¶ms); + end; + public z_GetSamplerParameterIuiv_ovr_2 := GetFuncOrNil&(z_GetSamplerParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuiv(sampler: UInt32; pname: SamplerParameterI; ¶ms: IntPtr); + begin + z_GetSamplerParameterIuiv_ovr_2(sampler, pname, ¶ms); + end; + + // added in gl3.3 + public z_GetSamplerParameteriv_adr := GetFuncAdr('glGetSamplerParameteriv'); + public z_GetSamplerParameteriv_ovr_0 := GetFuncOrNil&(z_GetSamplerParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: UInt32; pname: SamplerParameterI; ¶ms: array of Int32); + begin + z_GetSamplerParameteriv_ovr_0(sampler, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: UInt32; pname: SamplerParameterI; var ¶ms: Int32); + begin + z_GetSamplerParameteriv_ovr_0(sampler, pname, ¶ms); + end; + public z_GetSamplerParameteriv_ovr_2 := GetFuncOrNil&(z_GetSamplerParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameteriv(sampler: UInt32; pname: SamplerParameterI; ¶ms: IntPtr); + begin + z_GetSamplerParameteriv_ovr_2(sampler, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetShaderInfoLog_adr := GetFuncAdr('glGetShaderInfoLog'); + public z_GetShaderInfoLog_ovr_0 := GetFuncOrNil&(z_GetShaderInfoLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderInfoLog(shader: ShaderName; bufSize: Int32; var length: Int32; infoLog: IntPtr); + begin + z_GetShaderInfoLog_ovr_0(shader, bufSize, length, infoLog); + end; + public z_GetShaderInfoLog_ovr_1 := GetFuncOrNil&(z_GetShaderInfoLog_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderInfoLog(shader: ShaderName; bufSize: Int32; length: IntPtr; infoLog: IntPtr); + begin + z_GetShaderInfoLog_ovr_1(shader, bufSize, length, infoLog); + end; + + // added in gl2.0 + public z_GetShaderiv_adr := GetFuncAdr('glGetShaderiv'); + public z_GetShaderiv_ovr_0 := GetFuncOrNil&(z_GetShaderiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderiv(shader: ShaderName; pname: ShaderParameterName; ¶ms: array of Int32); + begin + z_GetShaderiv_ovr_0(shader, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderiv(shader: ShaderName; pname: ShaderParameterName; var ¶ms: Int32); + begin + z_GetShaderiv_ovr_0(shader, pname, ¶ms); + end; + public z_GetShaderiv_ovr_2 := GetFuncOrNil&(z_GetShaderiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderiv(shader: ShaderName; pname: ShaderParameterName; ¶ms: IntPtr); + begin + z_GetShaderiv_ovr_2(shader, pname, ¶ms); + end; + + // added in gl4.1 + public z_GetShaderPrecisionFormat_adr := GetFuncAdr('glGetShaderPrecisionFormat'); + public z_GetShaderPrecisionFormat_ovr_0 := GetFuncOrNil&(z_GetShaderPrecisionFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; range: array of Int32; precision: array of Int32); + begin + z_GetShaderPrecisionFormat_ovr_0(_shadertype, _precisiontype, range[0], precision[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; range: array of Int32; var precision: Int32); + begin + z_GetShaderPrecisionFormat_ovr_0(_shadertype, _precisiontype, range[0], precision); + end; + public z_GetShaderPrecisionFormat_ovr_2 := GetFuncOrNil&(z_GetShaderPrecisionFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; range: array of Int32; precision: IntPtr); + begin + z_GetShaderPrecisionFormat_ovr_2(_shadertype, _precisiontype, range[0], precision); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; var range: Int32; precision: array of Int32); + begin + z_GetShaderPrecisionFormat_ovr_0(_shadertype, _precisiontype, range, precision[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; var range: Int32; var precision: Int32); + begin + z_GetShaderPrecisionFormat_ovr_0(_shadertype, _precisiontype, range, precision); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; var range: Int32; precision: IntPtr); + begin + z_GetShaderPrecisionFormat_ovr_2(_shadertype, _precisiontype, range, precision); + end; + public z_GetShaderPrecisionFormat_ovr_6 := GetFuncOrNil&(z_GetShaderPrecisionFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; range: IntPtr; precision: array of Int32); + begin + z_GetShaderPrecisionFormat_ovr_6(_shadertype, _precisiontype, range, precision[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; range: IntPtr; var precision: Int32); + begin + z_GetShaderPrecisionFormat_ovr_6(_shadertype, _precisiontype, range, precision); + end; + public z_GetShaderPrecisionFormat_ovr_8 := GetFuncOrNil&(z_GetShaderPrecisionFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderPrecisionFormat(_shadertype: ShaderType; _precisiontype: PrecisionType; range: IntPtr; precision: IntPtr); + begin + z_GetShaderPrecisionFormat_ovr_8(_shadertype, _precisiontype, range, precision); + end; + + // added in gl2.0 + public z_GetShaderSource_adr := GetFuncAdr('glGetShaderSource'); + public z_GetShaderSource_ovr_0 := GetFuncOrNil&(z_GetShaderSource_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: UInt32; bufSize: Int32; length: array of Int32; source: IntPtr); + begin + z_GetShaderSource_ovr_0(shader, bufSize, length[0], source); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: UInt32; bufSize: Int32; var length: Int32; source: IntPtr); + begin + z_GetShaderSource_ovr_0(shader, bufSize, length, source); + end; + public z_GetShaderSource_ovr_2 := GetFuncOrNil&(z_GetShaderSource_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSource(shader: UInt32; bufSize: Int32; length: IntPtr; source: IntPtr); + begin + z_GetShaderSource_ovr_2(shader, bufSize, length, source); + end; + + // added in gl1.0 + private [Result: MarshalAs(UnmanagedType.LPStr)] static function _z_GetString_ovr0(name: StringName): string; + external 'opengl32.dll' name 'glGetString'; + public static z_GetString_ovr0 := _z_GetString_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetString(name: StringName): string := z_GetString_ovr0(name); + + // added in gl3.0 + public z_GetStringi_adr := GetFuncAdr('glGetStringi'); + public z_GetStringi_ovr_0 := GetFuncOrNil&(z_GetStringi_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetStringi(name: StringName; index: UInt32): string; + begin + var par_0_str_ptr := z_GetStringi_ovr_0(name, index); + Result := Marshal.PtrToStringAnsi(par_0_str_ptr); + end; + + // added in gl4.0 + public z_GetSubroutineIndex_adr := GetFuncAdr('glGetSubroutineIndex'); + public z_GetSubroutineIndex_ovr_0 := GetFuncOrNil&(z_GetSubroutineIndex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineIndex(&program: ProgramName; _shadertype: ShaderType; name: string): UInt32; + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetSubroutineIndex_ovr_0(&program, _shadertype, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineIndex(&program: ProgramName; _shadertype: ShaderType; name: IntPtr): UInt32; + begin + Result := z_GetSubroutineIndex_ovr_0(&program, _shadertype, name); + end; + + // added in gl4.0 + public z_GetSubroutineUniformLocation_adr := GetFuncAdr('glGetSubroutineUniformLocation'); + public z_GetSubroutineUniformLocation_ovr_0 := GetFuncOrNil&(z_GetSubroutineUniformLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineUniformLocation(&program: ProgramName; _shadertype: ShaderType; name: string): Int32; + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetSubroutineUniformLocation_ovr_0(&program, _shadertype, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSubroutineUniformLocation(&program: ProgramName; _shadertype: ShaderType; name: IntPtr): Int32; + begin + Result := z_GetSubroutineUniformLocation_ovr_0(&program, _shadertype, name); + end; + + // added in gl3.2 + public z_GetSynciv_adr := GetFuncAdr('glGetSynciv'); + public z_GetSynciv_ovr_0 := GetFuncOrNil&(z_GetSynciv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; length: array of Int32; values: array of Int32); + begin + z_GetSynciv_ovr_0(sync, pname, count, length[0], values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; length: array of Int32; var values: Int32); + begin + z_GetSynciv_ovr_0(sync, pname, count, length[0], values); + end; + public z_GetSynciv_ovr_2 := GetFuncOrNil&(z_GetSynciv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; length: array of Int32; values: IntPtr); + begin + z_GetSynciv_ovr_2(sync, pname, count, length[0], values); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; var length: Int32; values: array of Int32); + begin + z_GetSynciv_ovr_0(sync, pname, count, length, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; var length: Int32; var values: Int32); + begin + z_GetSynciv_ovr_0(sync, pname, count, length, values); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; var length: Int32; values: IntPtr); + begin + z_GetSynciv_ovr_2(sync, pname, count, length, values); + end; + public z_GetSynciv_ovr_6 := GetFuncOrNil&(z_GetSynciv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; length: IntPtr; values: array of Int32); + begin + z_GetSynciv_ovr_6(sync, pname, count, length, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; length: IntPtr; var values: Int32); + begin + z_GetSynciv_ovr_6(sync, pname, count, length, values); + end; + public z_GetSynciv_ovr_8 := GetFuncOrNil&(z_GetSynciv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSynciv(sync: GLsync; pname: SyncParameterName; count: Int32; length: IntPtr; values: IntPtr); + begin + z_GetSynciv_ovr_8(sync, pname, count, length, values); + end; + + // added in gl1.0 + private static procedure _z_GetTexImage_ovr0(target: TextureTarget; level: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glGetTexImage'; + public static z_GetTexImage_ovr0 := _z_GetTexImage_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexImage(target: TextureTarget; level: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_GetTexImage_ovr0(target, level, format, &type, pixels); + + // added in gl1.0 + private static procedure _z_GetTexLevelParameterfv_ovr0(target: TextureTarget; level: Int32; pname: GetTextureParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glGetTexLevelParameterfv'; + public static z_GetTexLevelParameterfv_ovr0 := _z_GetTexLevelParameterfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of single) := z_GetTexLevelParameterfv_ovr0(target, level, pname, ¶ms); + private static procedure _z_GetTexLevelParameterfv_ovr1(target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: single); + external 'opengl32.dll' name 'glGetTexLevelParameterfv'; + public static z_GetTexLevelParameterfv_ovr1 := _z_GetTexLevelParameterfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: single) := z_GetTexLevelParameterfv_ovr1(target, level, pname, ¶ms); + private static procedure _z_GetTexLevelParameterfv_ovr2(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexLevelParameterfv'; + public static z_GetTexLevelParameterfv_ovr2 := _z_GetTexLevelParameterfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterfv(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr) := z_GetTexLevelParameterfv_ovr2(target, level, pname, ¶ms); + + // added in gl1.0 + private static procedure _z_GetTexLevelParameteriv_ovr0(target: TextureTarget; level: Int32; pname: GetTextureParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glGetTexLevelParameteriv'; + public static z_GetTexLevelParameteriv_ovr0 := _z_GetTexLevelParameteriv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of Int32) := z_GetTexLevelParameteriv_ovr0(target, level, pname, ¶ms); + private static procedure _z_GetTexLevelParameteriv_ovr1(target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glGetTexLevelParameteriv'; + public static z_GetTexLevelParameteriv_ovr1 := _z_GetTexLevelParameteriv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: Int32) := z_GetTexLevelParameteriv_ovr1(target, level, pname, ¶ms); + private static procedure _z_GetTexLevelParameteriv_ovr2(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexLevelParameteriv'; + public static z_GetTexLevelParameteriv_ovr2 := _z_GetTexLevelParameteriv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameteriv(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr) := z_GetTexLevelParameteriv_ovr2(target, level, pname, ¶ms); + + // added in gl1.0 + private static procedure _z_GetTexParameterfv_ovr0(target: TextureTarget; pname: GetTextureParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glGetTexParameterfv'; + public static z_GetTexParameterfv_ovr0 := _z_GetTexParameterfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterfv(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of single) := z_GetTexParameterfv_ovr0(target, pname, ¶ms); + private static procedure _z_GetTexParameterfv_ovr1(target: TextureTarget; pname: GetTextureParameter; var ¶ms: single); + external 'opengl32.dll' name 'glGetTexParameterfv'; + public static z_GetTexParameterfv_ovr1 := _z_GetTexParameterfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterfv(target: TextureTarget; pname: GetTextureParameter; var ¶ms: single) := z_GetTexParameterfv_ovr1(target, pname, ¶ms); + private static procedure _z_GetTexParameterfv_ovr2(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexParameterfv'; + public static z_GetTexParameterfv_ovr2 := _z_GetTexParameterfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterfv(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr) := z_GetTexParameterfv_ovr2(target, pname, ¶ms); + + // added in gl3.0 + public z_GetTexParameterIiv_adr := GetFuncAdr('glGetTexParameterIiv'); + public z_GetTexParameterIiv_ovr_0 := GetFuncOrNil&(z_GetTexParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIiv(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTexParameterIiv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIiv(target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTexParameterIiv_ovr_0(target, pname, ¶ms); + end; + public z_GetTexParameterIiv_ovr_2 := GetFuncOrNil&(z_GetTexParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIiv(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTexParameterIiv_ovr_2(target, pname, ¶ms); + end; + + // added in gl3.0 + public z_GetTexParameterIuiv_adr := GetFuncAdr('glGetTexParameterIuiv'); + public z_GetTexParameterIuiv_ovr_0 := GetFuncOrNil&(z_GetTexParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of UInt32); + begin + z_GetTexParameterIuiv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureTarget; pname: GetTextureParameter; var ¶ms: UInt32); + begin + z_GetTexParameterIuiv_ovr_0(target, pname, ¶ms); + end; + public z_GetTexParameterIuiv_ovr_2 := GetFuncOrNil&(z_GetTexParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuiv(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTexParameterIuiv_ovr_2(target, pname, ¶ms); + end; + + // added in gl1.0 + private static procedure _z_GetTexParameteriv_ovr0(target: TextureTarget; pname: GetTextureParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glGetTexParameteriv'; + public static z_GetTexParameteriv_ovr0 := _z_GetTexParameteriv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32) := z_GetTexParameteriv_ovr0(target, pname, ¶ms); + private static procedure _z_GetTexParameteriv_ovr1(target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glGetTexParameteriv'; + public static z_GetTexParameteriv_ovr1 := _z_GetTexParameteriv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32) := z_GetTexParameteriv_ovr1(target, pname, ¶ms); + private static procedure _z_GetTexParameteriv_ovr2(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexParameteriv'; + public static z_GetTexParameteriv_ovr2 := _z_GetTexParameteriv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameteriv(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr) := z_GetTexParameteriv_ovr2(target, pname, ¶ms); + + // added in gl4.5 + public z_GetTextureImage_adr := GetFuncAdr('glGetTextureImage'); + public z_GetTextureImage_ovr_0 := GetFuncOrNil&(z_GetTextureImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImage(texture: UInt32; level: Int32; format: PixelFormat; &type: PixelType; bufSize: Int32; pixels: IntPtr); + begin + z_GetTextureImage_ovr_0(texture, level, format, &type, bufSize, pixels); + end; + + // added in gl4.5 + public z_GetTextureLevelParameterfv_adr := GetFuncAdr('glGetTextureLevelParameterfv'); + public z_GetTextureLevelParameterfv_ovr_0 := GetFuncOrNil&(z_GetTextureLevelParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfv(texture: UInt32; level: Int32; pname: GetTextureParameter; ¶ms: array of single); + begin + z_GetTextureLevelParameterfv_ovr_0(texture, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfv(texture: UInt32; level: Int32; pname: GetTextureParameter; var ¶ms: single); + begin + z_GetTextureLevelParameterfv_ovr_0(texture, level, pname, ¶ms); + end; + public z_GetTextureLevelParameterfv_ovr_2 := GetFuncOrNil&(z_GetTextureLevelParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfv(texture: UInt32; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureLevelParameterfv_ovr_2(texture, level, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetTextureLevelParameteriv_adr := GetFuncAdr('glGetTextureLevelParameteriv'); + public z_GetTextureLevelParameteriv_ovr_0 := GetFuncOrNil&(z_GetTextureLevelParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: UInt32; level: Int32; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTextureLevelParameteriv_ovr_0(texture, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: UInt32; level: Int32; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTextureLevelParameteriv_ovr_0(texture, level, pname, ¶ms); + end; + public z_GetTextureLevelParameteriv_ovr_2 := GetFuncOrNil&(z_GetTextureLevelParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameteriv(texture: UInt32; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureLevelParameteriv_ovr_2(texture, level, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetTextureParameterfv_adr := GetFuncAdr('glGetTextureParameterfv'); + public z_GetTextureParameterfv_ovr_0 := GetFuncOrNil&(z_GetTextureParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfv(texture: UInt32; pname: GetTextureParameter; ¶ms: array of single); + begin + z_GetTextureParameterfv_ovr_0(texture, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfv(texture: UInt32; pname: GetTextureParameter; var ¶ms: single); + begin + z_GetTextureParameterfv_ovr_0(texture, pname, ¶ms); + end; + public z_GetTextureParameterfv_ovr_2 := GetFuncOrNil&(z_GetTextureParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfv(texture: UInt32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterfv_ovr_2(texture, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetTextureParameterIiv_adr := GetFuncAdr('glGetTextureParameterIiv'); + public z_GetTextureParameterIiv_ovr_0 := GetFuncOrNil&(z_GetTextureParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIiv(texture: UInt32; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTextureParameterIiv_ovr_0(texture, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIiv(texture: UInt32; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTextureParameterIiv_ovr_0(texture, pname, ¶ms); + end; + public z_GetTextureParameterIiv_ovr_2 := GetFuncOrNil&(z_GetTextureParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIiv(texture: UInt32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterIiv_ovr_2(texture, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetTextureParameterIuiv_adr := GetFuncAdr('glGetTextureParameterIuiv'); + public z_GetTextureParameterIuiv_ovr_0 := GetFuncOrNil&(z_GetTextureParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: UInt32; pname: GetTextureParameter; ¶ms: array of UInt32); + begin + z_GetTextureParameterIuiv_ovr_0(texture, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: UInt32; pname: GetTextureParameter; var ¶ms: UInt32); + begin + z_GetTextureParameterIuiv_ovr_0(texture, pname, ¶ms); + end; + public z_GetTextureParameterIuiv_ovr_2 := GetFuncOrNil&(z_GetTextureParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuiv(texture: UInt32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterIuiv_ovr_2(texture, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetTextureParameteriv_adr := GetFuncAdr('glGetTextureParameteriv'); + public z_GetTextureParameteriv_ovr_0 := GetFuncOrNil&(z_GetTextureParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: UInt32; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTextureParameteriv_ovr_0(texture, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: UInt32; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTextureParameteriv_ovr_0(texture, pname, ¶ms); + end; + public z_GetTextureParameteriv_ovr_2 := GetFuncOrNil&(z_GetTextureParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameteriv(texture: UInt32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameteriv_ovr_2(texture, pname, ¶ms); + end; + + // added in gl4.5 + public z_GetTextureSubImage_adr := GetFuncAdr('glGetTextureSubImage'); + public z_GetTextureSubImage_ovr_0 := GetFuncOrNil&(z_GetTextureSubImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureSubImage(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; bufSize: Int32; pixels: IntPtr); + begin + z_GetTextureSubImage_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, bufSize, pixels); + end; + + // added in gl4.5 + public z_GetTransformFeedbacki_v_adr := GetFuncAdr('glGetTransformFeedbacki_v'); + public z_GetTransformFeedbacki_v_ovr_0 := GetFuncOrNil&(z_GetTransformFeedbacki_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki_v(xfb: UInt32; pname: TransformFeedbackPName; index: UInt32; param: array of Int32); + begin + z_GetTransformFeedbacki_v_ovr_0(xfb, pname, index, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki_v(xfb: UInt32; pname: TransformFeedbackPName; index: UInt32; var param: Int32); + begin + z_GetTransformFeedbacki_v_ovr_0(xfb, pname, index, param); + end; + public z_GetTransformFeedbacki_v_ovr_2 := GetFuncOrNil&(z_GetTransformFeedbacki_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki_v(xfb: UInt32; pname: TransformFeedbackPName; index: UInt32; param: IntPtr); + begin + z_GetTransformFeedbacki_v_ovr_2(xfb, pname, index, param); + end; + + // added in gl4.5 + public z_GetTransformFeedbacki64_v_adr := GetFuncAdr('glGetTransformFeedbacki64_v'); + public z_GetTransformFeedbacki64_v_ovr_0 := GetFuncOrNil&(z_GetTransformFeedbacki64_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki64_v(xfb: UInt32; pname: TransformFeedbackPName; index: UInt32; param: array of Int64); + begin + z_GetTransformFeedbacki64_v_ovr_0(xfb, pname, index, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki64_v(xfb: UInt32; pname: TransformFeedbackPName; index: UInt32; var param: Int64); + begin + z_GetTransformFeedbacki64_v_ovr_0(xfb, pname, index, param); + end; + public z_GetTransformFeedbacki64_v_ovr_2 := GetFuncOrNil&(z_GetTransformFeedbacki64_v_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbacki64_v(xfb: UInt32; pname: TransformFeedbackPName; index: UInt32; param: IntPtr); + begin + z_GetTransformFeedbacki64_v_ovr_2(xfb, pname, index, param); + end; + + // added in gl4.5 + public z_GetTransformFeedbackiv_adr := GetFuncAdr('glGetTransformFeedbackiv'); + public z_GetTransformFeedbackiv_ovr_0 := GetFuncOrNil&(z_GetTransformFeedbackiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackiv(xfb: UInt32; pname: TransformFeedbackPName; param: array of Int32); + begin + z_GetTransformFeedbackiv_ovr_0(xfb, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackiv(xfb: UInt32; pname: TransformFeedbackPName; var param: Int32); + begin + z_GetTransformFeedbackiv_ovr_0(xfb, pname, param); + end; + public z_GetTransformFeedbackiv_ovr_2 := GetFuncOrNil&(z_GetTransformFeedbackiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackiv(xfb: UInt32; pname: TransformFeedbackPName; param: IntPtr); + begin + z_GetTransformFeedbackiv_ovr_2(xfb, pname, param); + end; + + // added in gl3.0 + public z_GetTransformFeedbackVarying_adr := GetFuncAdr('glGetTransformFeedbackVarying'); + public z_GetTransformFeedbackVarying_ovr_0 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length[0], size[0], &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_2 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_2(&program, index, bufSize, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_2(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_6 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_6(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_6(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_8 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_8(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_2(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_0(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_2(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_6(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_6(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_8(&program, index, bufSize, length, size, &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_18 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_18(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_18(&program, index, bufSize, length, size[0], &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_20 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_20(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_18(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_18(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_20(&program, index, bufSize, length, size, &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_24 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_24(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_24(&program, index, bufSize, length, size, &type, name); + end; + public z_GetTransformFeedbackVarying_ovr_26 := GetFuncOrNil&(z_GetTransformFeedbackVarying_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVarying(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVarying_ovr_26(&program, index, bufSize, length, size, &type, name); + end; + + // added in gl3.1 + public z_GetUniformBlockIndex_adr := GetFuncAdr('glGetUniformBlockIndex'); + public z_GetUniformBlockIndex_ovr_0 := GetFuncOrNil&(z_GetUniformBlockIndex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformBlockIndex(&program: ProgramName; uniformBlockName: string): UInt32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(uniformBlockName); + Result := z_GetUniformBlockIndex_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformBlockIndex(&program: ProgramName; uniformBlockName: IntPtr): UInt32; + begin + Result := z_GetUniformBlockIndex_ovr_0(&program, uniformBlockName); + end; + + // added in gl4.0 + public z_GetUniformdv_adr := GetFuncAdr('glGetUniformdv'); + public z_GetUniformdv_ovr_0 := GetFuncOrNil&(z_GetUniformdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformdv(&program: ProgramName; location: Int32; ¶ms: array of real); + begin + z_GetUniformdv_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformdv(&program: ProgramName; location: Int32; var ¶ms: real); + begin + z_GetUniformdv_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformdv_ovr_2 := GetFuncOrNil&(z_GetUniformdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformdv(&program: ProgramName; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformdv_ovr_2(&program, location, ¶ms); + end; + + // added in gl2.0 + public z_GetUniformfv_adr := GetFuncAdr('glGetUniformfv'); + public z_GetUniformfv_ovr_0 := GetFuncOrNil&(z_GetUniformfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfv(&program: ProgramName; location: Int32; ¶ms: array of single); + begin + z_GetUniformfv_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfv(&program: ProgramName; location: Int32; var ¶ms: single); + begin + z_GetUniformfv_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformfv_ovr_2 := GetFuncOrNil&(z_GetUniformfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfv(&program: ProgramName; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformfv_ovr_2(&program, location, ¶ms); + end; + + // added in gl3.1 + public z_GetUniformIndices_adr := GetFuncAdr('glGetUniformIndices'); + public z_GetUniformIndices_ovr_0 := GetFuncOrNil&(z_GetUniformIndices_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of string; uniformIndices: array of UInt32); + begin + var par_3_str_ptr := uniformNames.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_GetUniformIndices_ovr_0(&program, uniformCount, par_3_str_ptr[0], uniformIndices[0]); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of string; var uniformIndices: UInt32); + begin + var par_3_str_ptr := uniformNames.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_GetUniformIndices_ovr_0(&program, uniformCount, par_3_str_ptr[0], uniformIndices); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public z_GetUniformIndices_ovr_2 := GetFuncOrNil&(z_GetUniformIndices_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of string; uniformIndices: IntPtr); + begin + var par_3_str_ptr := uniformNames.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_GetUniformIndices_ovr_2(&program, uniformCount, par_3_str_ptr[0], uniformIndices); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of IntPtr; uniformIndices: array of UInt32); + begin + z_GetUniformIndices_ovr_0(&program, uniformCount, uniformNames[0], uniformIndices[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of IntPtr; var uniformIndices: UInt32); + begin + z_GetUniformIndices_ovr_0(&program, uniformCount, uniformNames[0], uniformIndices); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: array of IntPtr; uniformIndices: IntPtr); + begin + z_GetUniformIndices_ovr_2(&program, uniformCount, uniformNames[0], uniformIndices); + end; + public z_GetUniformIndices_ovr_6 := GetFuncOrNil&(z_GetUniformIndices_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: IntPtr; uniformIndices: array of UInt32); + begin + z_GetUniformIndices_ovr_6(&program, uniformCount, uniformNames, uniformIndices[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: IntPtr; var uniformIndices: UInt32); + begin + z_GetUniformIndices_ovr_6(&program, uniformCount, uniformNames, uniformIndices); + end; + public z_GetUniformIndices_ovr_8 := GetFuncOrNil&(z_GetUniformIndices_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformIndices(&program: ProgramName; uniformCount: Int32; uniformNames: IntPtr; uniformIndices: IntPtr); + begin + z_GetUniformIndices_ovr_8(&program, uniformCount, uniformNames, uniformIndices); + end; + + // added in gl2.0 + public z_GetUniformiv_adr := GetFuncAdr('glGetUniformiv'); + public z_GetUniformiv_ovr_0 := GetFuncOrNil&(z_GetUniformiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformiv(&program: ProgramName; location: Int32; ¶ms: array of Int32); + begin + z_GetUniformiv_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformiv(&program: ProgramName; location: Int32; var ¶ms: Int32); + begin + z_GetUniformiv_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformiv_ovr_2 := GetFuncOrNil&(z_GetUniformiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformiv(&program: ProgramName; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformiv_ovr_2(&program, location, ¶ms); + end; + + // added in gl2.0 + public z_GetUniformLocation_adr := GetFuncAdr('glGetUniformLocation'); + public z_GetUniformLocation_ovr_0 := GetFuncOrNil&(z_GetUniformLocation_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocation(&program: ProgramName; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetUniformLocation_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocation(&program: ProgramName; name: IntPtr): Int32; + begin + Result := z_GetUniformLocation_ovr_0(&program, name); + end; + + // added in gl4.0 + public z_GetUniformSubroutineuiv_adr := GetFuncAdr('glGetUniformSubroutineuiv'); + public z_GetUniformSubroutineuiv_ovr_0 := GetFuncOrNil&(z_GetUniformSubroutineuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformSubroutineuiv(_shadertype: ShaderType; location: Int32; ¶ms: array of UInt32); + begin + z_GetUniformSubroutineuiv_ovr_0(_shadertype, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformSubroutineuiv(_shadertype: ShaderType; location: Int32; var ¶ms: UInt32); + begin + z_GetUniformSubroutineuiv_ovr_0(_shadertype, location, ¶ms); + end; + public z_GetUniformSubroutineuiv_ovr_2 := GetFuncOrNil&(z_GetUniformSubroutineuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformSubroutineuiv(_shadertype: ShaderType; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformSubroutineuiv_ovr_2(_shadertype, location, ¶ms); + end; + + // added in gl3.0 + public z_GetUniformuiv_adr := GetFuncAdr('glGetUniformuiv'); + public z_GetUniformuiv_ovr_0 := GetFuncOrNil&(z_GetUniformuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuiv(&program: ProgramName; location: Int32; ¶ms: array of UInt32); + begin + z_GetUniformuiv_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuiv(&program: ProgramName; location: Int32; var ¶ms: UInt32); + begin + z_GetUniformuiv_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformuiv_ovr_2 := GetFuncOrNil&(z_GetUniformuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuiv(&program: ProgramName; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformuiv_ovr_2(&program, location, ¶ms); + end; + + // added in gl4.5 + public z_GetVertexArrayIndexed64iv_adr := GetFuncAdr('glGetVertexArrayIndexed64iv'); + public z_GetVertexArrayIndexed64iv_ovr_0 := GetFuncOrNil&(z_GetVertexArrayIndexed64iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexed64iv(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: array of Int64); + begin + z_GetVertexArrayIndexed64iv_ovr_0(vaobj, index, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexed64iv(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; var param: Int64); + begin + z_GetVertexArrayIndexed64iv_ovr_0(vaobj, index, pname, param); + end; + public z_GetVertexArrayIndexed64iv_ovr_2 := GetFuncOrNil&(z_GetVertexArrayIndexed64iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexed64iv(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: IntPtr); + begin + z_GetVertexArrayIndexed64iv_ovr_2(vaobj, index, pname, param); + end; + + // added in gl4.5 + public z_GetVertexArrayIndexediv_adr := GetFuncAdr('glGetVertexArrayIndexediv'); + public z_GetVertexArrayIndexediv_ovr_0 := GetFuncOrNil&(z_GetVertexArrayIndexediv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexediv(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: array of Int32); + begin + z_GetVertexArrayIndexediv_ovr_0(vaobj, index, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexediv(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; var param: Int32); + begin + z_GetVertexArrayIndexediv_ovr_0(vaobj, index, pname, param); + end; + public z_GetVertexArrayIndexediv_ovr_2 := GetFuncOrNil&(z_GetVertexArrayIndexediv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIndexediv(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: IntPtr); + begin + z_GetVertexArrayIndexediv_ovr_2(vaobj, index, pname, param); + end; + + // added in gl4.5 + public z_GetVertexArrayiv_adr := GetFuncAdr('glGetVertexArrayiv'); + public z_GetVertexArrayiv_ovr_0 := GetFuncOrNil&(z_GetVertexArrayiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayiv(vaobj: UInt32; pname: VertexArrayPName; param: array of Int32); + begin + z_GetVertexArrayiv_ovr_0(vaobj, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayiv(vaobj: UInt32; pname: VertexArrayPName; var param: Int32); + begin + z_GetVertexArrayiv_ovr_0(vaobj, pname, param); + end; + public z_GetVertexArrayiv_ovr_2 := GetFuncOrNil&(z_GetVertexArrayiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayiv(vaobj: UInt32; pname: VertexArrayPName; param: IntPtr); + begin + z_GetVertexArrayiv_ovr_2(vaobj, pname, param); + end; + + // added in gl2.0 + public z_GetVertexAttribdv_adr := GetFuncAdr('glGetVertexAttribdv'); + public z_GetVertexAttribdv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of real); + begin + z_GetVertexAttribdv_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: real); + begin + z_GetVertexAttribdv_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribdv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdv(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribdv_ovr_2(index, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetVertexAttribfv_adr := GetFuncAdr('glGetVertexAttribfv'); + public z_GetVertexAttribfv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of single); + begin + z_GetVertexAttribfv_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: single); + begin + z_GetVertexAttribfv_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribfv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfv(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribfv_ovr_2(index, pname, ¶ms); + end; + + // added in gl3.0 + public z_GetVertexAttribIiv_adr := GetFuncAdr('glGetVertexAttribIiv'); + public z_GetVertexAttribIiv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribEnum; ¶ms: array of Int32); + begin + z_GetVertexAttribIiv_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribEnum; var ¶ms: Int32); + begin + z_GetVertexAttribIiv_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribIiv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIiv(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribIiv_ovr_2(index, pname, ¶ms); + end; + + // added in gl3.0 + public z_GetVertexAttribIuiv_adr := GetFuncAdr('glGetVertexAttribIuiv'); + public z_GetVertexAttribIuiv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribEnum; ¶ms: array of UInt32); + begin + z_GetVertexAttribIuiv_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribEnum; var ¶ms: UInt32); + begin + z_GetVertexAttribIuiv_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribIuiv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuiv(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribIuiv_ovr_2(index, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetVertexAttribiv_adr := GetFuncAdr('glGetVertexAttribiv'); + public z_GetVertexAttribiv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of Int32); + begin + z_GetVertexAttribiv_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: Int32); + begin + z_GetVertexAttribiv_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribiv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribiv(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribiv_ovr_2(index, pname, ¶ms); + end; + + // added in gl4.1 + public z_GetVertexAttribLdv_adr := GetFuncAdr('glGetVertexAttribLdv'); + public z_GetVertexAttribLdv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribLdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribEnum; ¶ms: array of real); + begin + z_GetVertexAttribLdv_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribEnum; var ¶ms: real); + begin + z_GetVertexAttribLdv_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribLdv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribLdv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdv(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribLdv_ovr_2(index, pname, ¶ms); + end; + + // added in gl2.0 + public z_GetVertexAttribPointerv_adr := GetFuncAdr('glGetVertexAttribPointerv'); + public z_GetVertexAttribPointerv_ovr_0 := GetFuncOrNil&(z_GetVertexAttribPointerv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: VertexAttribPointerPropertyARB; _pointer: array of IntPtr); + begin + z_GetVertexAttribPointerv_ovr_0(index, pname, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: VertexAttribPointerPropertyARB; var _pointer: IntPtr); + begin + z_GetVertexAttribPointerv_ovr_0(index, pname, _pointer); + end; + public z_GetVertexAttribPointerv_ovr_2 := GetFuncOrNil&(z_GetVertexAttribPointerv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointerv(index: UInt32; pname: VertexAttribPointerPropertyARB; _pointer: pointer); + begin + z_GetVertexAttribPointerv_ovr_2(index, pname, _pointer); + end; + + // added in gl1.0 + private static procedure _z_Hint_ovr0(target: HintTarget; mode: HintMode); + external 'opengl32.dll' name 'glHint'; + public static z_Hint_ovr0 := _z_Hint_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Hint(target: HintTarget; mode: HintMode) := z_Hint_ovr0(target, mode); + + // added in gl4.3 + public z_InvalidateBufferData_adr := GetFuncAdr('glInvalidateBufferData'); + public z_InvalidateBufferData_ovr_0 := GetFuncOrNil&(z_InvalidateBufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateBufferData(buffer: BufferName); + begin + z_InvalidateBufferData_ovr_0(buffer); + end; + + // added in gl4.3 + public z_InvalidateBufferSubData_adr := GetFuncAdr('glInvalidateBufferSubData'); + public z_InvalidateBufferSubData_ovr_0 := GetFuncOrNil&(z_InvalidateBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateBufferSubData(buffer: BufferName; offset: IntPtr; length: IntPtr); + begin + z_InvalidateBufferSubData_ovr_0(buffer, offset, length); + end; + + // added in gl4.3 + public z_InvalidateFramebuffer_adr := GetFuncAdr('glInvalidateFramebuffer'); + public z_InvalidateFramebuffer_ovr_0 := GetFuncOrNil&(z_InvalidateFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateFramebuffer(target: FramebufferTarget; numAttachments: Int32; attachments: array of InvalidateFramebufferAttachment); + begin + z_InvalidateFramebuffer_ovr_0(target, numAttachments, attachments[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateFramebuffer(target: FramebufferTarget; numAttachments: Int32; var attachments: InvalidateFramebufferAttachment); + begin + z_InvalidateFramebuffer_ovr_0(target, numAttachments, attachments); + end; + public z_InvalidateFramebuffer_ovr_2 := GetFuncOrNil&(z_InvalidateFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateFramebuffer(target: FramebufferTarget; numAttachments: Int32; attachments: IntPtr); + begin + z_InvalidateFramebuffer_ovr_2(target, numAttachments, attachments); + end; + + // added in gl4.5 + public z_InvalidateNamedFramebufferData_adr := GetFuncAdr('glInvalidateNamedFramebufferData'); + public z_InvalidateNamedFramebufferData_ovr_0 := GetFuncOrNil&(z_InvalidateNamedFramebufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferData(framebuffer: UInt32; numAttachments: Int32; attachments: array of FramebufferAttachment); + begin + z_InvalidateNamedFramebufferData_ovr_0(framebuffer, numAttachments, attachments[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferData(framebuffer: UInt32; numAttachments: Int32; var attachments: FramebufferAttachment); + begin + z_InvalidateNamedFramebufferData_ovr_0(framebuffer, numAttachments, attachments); + end; + public z_InvalidateNamedFramebufferData_ovr_2 := GetFuncOrNil&(z_InvalidateNamedFramebufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferData(framebuffer: UInt32; numAttachments: Int32; attachments: IntPtr); + begin + z_InvalidateNamedFramebufferData_ovr_2(framebuffer, numAttachments, attachments); + end; + + // added in gl4.5 + public z_InvalidateNamedFramebufferSubData_adr := GetFuncAdr('glInvalidateNamedFramebufferSubData'); + public z_InvalidateNamedFramebufferSubData_ovr_0 := GetFuncOrNil&(z_InvalidateNamedFramebufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferSubData(framebuffer: UInt32; numAttachments: Int32; attachments: array of FramebufferAttachment; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_InvalidateNamedFramebufferSubData_ovr_0(framebuffer, numAttachments, attachments[0], x, y, width, height); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferSubData(framebuffer: UInt32; numAttachments: Int32; var attachments: FramebufferAttachment; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_InvalidateNamedFramebufferSubData_ovr_0(framebuffer, numAttachments, attachments, x, y, width, height); + end; + public z_InvalidateNamedFramebufferSubData_ovr_2 := GetFuncOrNil&(z_InvalidateNamedFramebufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateNamedFramebufferSubData(framebuffer: UInt32; numAttachments: Int32; attachments: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_InvalidateNamedFramebufferSubData_ovr_2(framebuffer, numAttachments, attachments, x, y, width, height); + end; + + // added in gl4.3 + public z_InvalidateSubFramebuffer_adr := GetFuncAdr('glInvalidateSubFramebuffer'); + public z_InvalidateSubFramebuffer_ovr_0 := GetFuncOrNil&(z_InvalidateSubFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateSubFramebuffer(target: FramebufferTarget; numAttachments: Int32; attachments: array of InvalidateFramebufferAttachment; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_InvalidateSubFramebuffer_ovr_0(target, numAttachments, attachments[0], x, y, width, height); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateSubFramebuffer(target: FramebufferTarget; numAttachments: Int32; var attachments: InvalidateFramebufferAttachment; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_InvalidateSubFramebuffer_ovr_0(target, numAttachments, attachments, x, y, width, height); + end; + public z_InvalidateSubFramebuffer_ovr_2 := GetFuncOrNil&(z_InvalidateSubFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateSubFramebuffer(target: FramebufferTarget; numAttachments: Int32; attachments: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_InvalidateSubFramebuffer_ovr_2(target, numAttachments, attachments, x, y, width, height); + end; + + // added in gl4.3 + public z_InvalidateTexImage_adr := GetFuncAdr('glInvalidateTexImage'); + public z_InvalidateTexImage_ovr_0 := GetFuncOrNil&(z_InvalidateTexImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateTexImage(texture: TextureName; level: Int32); + begin + z_InvalidateTexImage_ovr_0(texture, level); + end; + + // added in gl4.3 + public z_InvalidateTexSubImage_adr := GetFuncAdr('glInvalidateTexSubImage'); + public z_InvalidateTexSubImage_ovr_0 := GetFuncOrNil&(z_InvalidateTexSubImage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InvalidateTexSubImage(texture: TextureName; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32); + begin + z_InvalidateTexSubImage_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth); + end; + + // added in gl1.5 + public z_IsBuffer_adr := GetFuncAdr('glIsBuffer'); + public z_IsBuffer_ovr_0 := GetFuncOrNil&(z_IsBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsBuffer(buffer: BufferName): boolean; + begin + Result := z_IsBuffer_ovr_0(buffer); + end; + + // added in gl1.0 + private static function _z_IsEnabled_ovr0(cap: EnableCap): boolean; + external 'opengl32.dll' name 'glIsEnabled'; + public static z_IsEnabled_ovr0 := _z_IsEnabled_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabled(cap: EnableCap): boolean := z_IsEnabled_ovr0(cap); + + // added in gl3.0 + public z_IsEnabledi_adr := GetFuncAdr('glIsEnabledi'); + public z_IsEnabledi_ovr_0 := GetFuncOrNil&(z_IsEnabledi_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledi(target: EnableCap; index: UInt32): boolean; + begin + Result := z_IsEnabledi_ovr_0(target, index); + end; + + // added in gl3.0 + public z_IsFramebuffer_adr := GetFuncAdr('glIsFramebuffer'); + public z_IsFramebuffer_ovr_0 := GetFuncOrNil&(z_IsFramebuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFramebuffer(framebuffer: FramebufferName): boolean; + begin + Result := z_IsFramebuffer_ovr_0(framebuffer); + end; + + // added in gl2.0 + public z_IsProgram_adr := GetFuncAdr('glIsProgram'); + public z_IsProgram_ovr_0 := GetFuncOrNil&(z_IsProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgram(&program: ProgramName): boolean; + begin + Result := z_IsProgram_ovr_0(&program); + end; + + // added in gl4.1 + public z_IsProgramPipeline_adr := GetFuncAdr('glIsProgramPipeline'); + public z_IsProgramPipeline_ovr_0 := GetFuncOrNil&(z_IsProgramPipeline_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramPipeline(pipeline: ProgramPipelineName): boolean; + begin + Result := z_IsProgramPipeline_ovr_0(pipeline); + end; + + // added in gl1.5 + public z_IsQuery_adr := GetFuncAdr('glIsQuery'); + public z_IsQuery_ovr_0 := GetFuncOrNil&(z_IsQuery_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsQuery(id: QueryName): boolean; + begin + Result := z_IsQuery_ovr_0(id); + end; + + // added in gl3.0 + public z_IsRenderbuffer_adr := GetFuncAdr('glIsRenderbuffer'); + public z_IsRenderbuffer_ovr_0 := GetFuncOrNil&(z_IsRenderbuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsRenderbuffer(renderbuffer: RenderbufferName): boolean; + begin + Result := z_IsRenderbuffer_ovr_0(renderbuffer); + end; + + // added in gl3.3 + public z_IsSampler_adr := GetFuncAdr('glIsSampler'); + public z_IsSampler_ovr_0 := GetFuncOrNil&(z_IsSampler_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSampler(sampler: SamplerName): boolean; + begin + Result := z_IsSampler_ovr_0(sampler); + end; + + // added in gl2.0 + public z_IsShader_adr := GetFuncAdr('glIsShader'); + public z_IsShader_ovr_0 := GetFuncOrNil&(z_IsShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsShader(shader: ShaderName): boolean; + begin + Result := z_IsShader_ovr_0(shader); + end; + + // added in gl3.2 + public z_IsSync_adr := GetFuncAdr('glIsSync'); + public z_IsSync_ovr_0 := GetFuncOrNil&(z_IsSync_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSync(sync: GLsync): boolean; + begin + Result := z_IsSync_ovr_0(sync); + end; + + // added in gl1.1 + private static function _z_IsTexture_ovr0(texture: TextureName): boolean; + external 'opengl32.dll' name 'glIsTexture'; + public static z_IsTexture_ovr0 := _z_IsTexture_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTexture(texture: TextureName): boolean := z_IsTexture_ovr0(texture); + + // added in gl4.0 + public z_IsTransformFeedback_adr := GetFuncAdr('glIsTransformFeedback'); + public z_IsTransformFeedback_ovr_0 := GetFuncOrNil&(z_IsTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTransformFeedback(id: TransformFeedbackName): boolean; + begin + Result := z_IsTransformFeedback_ovr_0(id); + end; + + // added in gl3.0 + public z_IsVertexArray_adr := GetFuncAdr('glIsVertexArray'); + public z_IsVertexArray_ovr_0 := GetFuncOrNil&(z_IsVertexArray_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexArray(&array: VertexArrayName): boolean; + begin + Result := z_IsVertexArray_ovr_0(&array); + end; + + // added in gl1.0 + private static procedure _z_LineWidth_ovr0(width: single); + external 'opengl32.dll' name 'glLineWidth'; + public static z_LineWidth_ovr0 := _z_LineWidth_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LineWidth(width: single) := z_LineWidth_ovr0(width); + + // added in gl2.0 + public z_LinkProgram_adr := GetFuncAdr('glLinkProgram'); + public z_LinkProgram_ovr_0 := GetFuncOrNil&(z_LinkProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LinkProgram(&program: ProgramName); + begin + z_LinkProgram_ovr_0(&program); + end; + + // added in gl1.0 + private static procedure _z_LogicOp_ovr0(opcode: OpenGL.LogicOp); + external 'opengl32.dll' name 'glLogicOp'; + public static z_LogicOp_ovr0 := _z_LogicOp_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LogicOp(opcode: OpenGL.LogicOp) := z_LogicOp_ovr0(opcode); + + // added in gl1.5 + public z_MapBuffer_adr := GetFuncAdr('glMapBuffer'); + public z_MapBuffer_ovr_0 := GetFuncOrNil&(z_MapBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBuffer(target: BufferTargetARB; access: BufferAccessARB): IntPtr; + begin + Result := z_MapBuffer_ovr_0(target, access); + end; + + // added in gl3.0 + public z_MapBufferRange_adr := GetFuncAdr('glMapBufferRange'); + public z_MapBufferRange_ovr_0 := GetFuncOrNil&(z_MapBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBufferRange(target: BufferTargetARB; offset: IntPtr; length: IntPtr; access: MapBufferAccessMask): IntPtr; + begin + Result := z_MapBufferRange_ovr_0(target, offset, length, access); + end; + + // added in gl4.5 + public z_MapNamedBuffer_adr := GetFuncAdr('glMapNamedBuffer'); + public z_MapNamedBuffer_ovr_0 := GetFuncOrNil&(z_MapNamedBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBuffer(buffer: BufferName; access: BufferAccessARB): IntPtr; + begin + Result := z_MapNamedBuffer_ovr_0(buffer, access); + end; + + // added in gl4.5 + public z_MapNamedBufferRange_adr := GetFuncAdr('glMapNamedBufferRange'); + public z_MapNamedBufferRange_ovr_0 := GetFuncOrNil&(z_MapNamedBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBufferRange(buffer: BufferName; offset: IntPtr; length: IntPtr; access: MapBufferAccessMask): IntPtr; + begin + Result := z_MapNamedBufferRange_ovr_0(buffer, offset, length, access); + end; + + // added in gl4.2 + public z_MemoryBarrier_adr := GetFuncAdr('glMemoryBarrier'); + public z_MemoryBarrier_ovr_0 := GetFuncOrNil&(z_MemoryBarrier_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryBarrier(barriers: MemoryBarrierMask); + begin + z_MemoryBarrier_ovr_0(barriers); + end; + + // added in gl4.5 + public z_MemoryBarrierByRegion_adr := GetFuncAdr('glMemoryBarrierByRegion'); + public z_MemoryBarrierByRegion_ovr_0 := GetFuncOrNil&(z_MemoryBarrierByRegion_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryBarrierByRegion(barriers: MemoryBarrierMask); + begin + z_MemoryBarrierByRegion_ovr_0(barriers); + end; + + // added in gl4.0 + public z_MinSampleShading_adr := GetFuncAdr('glMinSampleShading'); + public z_MinSampleShading_ovr_0 := GetFuncOrNil&(z_MinSampleShading_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinSampleShading(value: single); + begin + z_MinSampleShading_ovr_0(value); + end; + + // added in gl1.4 + public z_MultiDrawArrays_adr := GetFuncAdr('glMultiDrawArrays'); + public z_MultiDrawArrays_ovr_0 := GetFuncOrNil&(z_MultiDrawArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: array of Int32; count: array of Int32; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_0(mode, first[0], count[0], drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: array of Int32; var count: Int32; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_0(mode, first[0], count, drawcount); + end; + public z_MultiDrawArrays_ovr_2 := GetFuncOrNil&(z_MultiDrawArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: array of Int32; count: IntPtr; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_2(mode, first[0], count, drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; var first: Int32; count: array of Int32; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_0(mode, first, count[0], drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; var first: Int32; var count: Int32; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_0(mode, first, count, drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; var first: Int32; count: IntPtr; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_2(mode, first, count, drawcount); + end; + public z_MultiDrawArrays_ovr_6 := GetFuncOrNil&(z_MultiDrawArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: IntPtr; count: array of Int32; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_6(mode, first, count[0], drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: IntPtr; var count: Int32; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_6(mode, first, count, drawcount); + end; + public z_MultiDrawArrays_ovr_8 := GetFuncOrNil&(z_MultiDrawArrays_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArrays(mode: PrimitiveType; first: IntPtr; count: IntPtr; drawcount: Int32); + begin + z_MultiDrawArrays_ovr_8(mode, first, count, drawcount); + end; + + // added in gl4.3 + public z_MultiDrawArraysIndirect_adr := GetFuncAdr('glMultiDrawArraysIndirect'); + public z_MultiDrawArraysIndirect_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysIndirect_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirect(mode: PrimitiveType; indirect: IntPtr; drawcount: Int32; stride: Int32); + begin + z_MultiDrawArraysIndirect_ovr_0(mode, indirect, drawcount, stride); + end; + + // added in gl4.6 + public z_MultiDrawArraysIndirectCount_adr := GetFuncAdr('glMultiDrawArraysIndirectCount'); + public z_MultiDrawArraysIndirectCount_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysIndirectCount_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectCount(mode: PrimitiveType; indirect: IntPtr; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32); + begin + z_MultiDrawArraysIndirectCount_ovr_0(mode, indirect, drawcount, maxdrawcount, stride); + end; + + // added in gl1.4 + public z_MultiDrawElements_adr := GetFuncAdr('glMultiDrawElements'); + public z_MultiDrawElements_ovr_0 := GetFuncOrNil&(z_MultiDrawElements_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32); + begin + z_MultiDrawElements_ovr_0(mode, count[0], &type, indices[0], drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32); + begin + z_MultiDrawElements_ovr_0(mode, count[0], &type, indices, drawcount); + end; + public z_MultiDrawElements_ovr_2 := GetFuncOrNil&(z_MultiDrawElements_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32); + begin + z_MultiDrawElements_ovr_2(mode, count[0], &type, indices, drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32); + begin + z_MultiDrawElements_ovr_0(mode, count, &type, indices[0], drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32); + begin + z_MultiDrawElements_ovr_0(mode, count, &type, indices, drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32); + begin + z_MultiDrawElements_ovr_2(mode, count, &type, indices, drawcount); + end; + public z_MultiDrawElements_ovr_6 := GetFuncOrNil&(z_MultiDrawElements_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32); + begin + z_MultiDrawElements_ovr_6(mode, count, &type, indices[0], drawcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32); + begin + z_MultiDrawElements_ovr_6(mode, count, &type, indices, drawcount); + end; + public z_MultiDrawElements_ovr_8 := GetFuncOrNil&(z_MultiDrawElements_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElements(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; drawcount: Int32); + begin + z_MultiDrawElements_ovr_8(mode, count, &type, indices, drawcount); + end; + + // added in gl3.2 + public z_MultiDrawElementsBaseVertex_adr := GetFuncAdr('glMultiDrawElementsBaseVertex'); + public z_MultiDrawElementsBaseVertex_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count[0], &type, indices[0], drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count[0], &type, indices[0], drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_2 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_2(mode, count[0], &type, indices[0], drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count[0], &type, indices, drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count[0], &type, indices, drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_2(mode, count[0], &type, indices, drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_6 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_6(mode, count[0], &type, indices, drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_6(mode, count[0], &type, indices, drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_8 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_8(mode, count[0], &type, indices, drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count, &type, indices[0], drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count, &type, indices[0], drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_2(mode, count, &type, indices[0], drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count, &type, indices, drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_0(mode, count, &type, indices, drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_2(mode, count, &type, indices, drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_6(mode, count, &type, indices, drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_6(mode, count, &type, indices, drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_8(mode, count, &type, indices, drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_18 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_18(mode, count, &type, indices[0], drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_18(mode, count, &type, indices[0], drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_20 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_20(mode, count, &type, indices[0], drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_18(mode, count, &type, indices, drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_18(mode, count, &type, indices, drawcount, basevertex); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_20(mode, count, &type, indices, drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_24 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; drawcount: Int32; basevertex: array of Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_24(mode, count, &type, indices, drawcount, basevertex[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; drawcount: Int32; var basevertex: Int32); + begin + z_MultiDrawElementsBaseVertex_ovr_24(mode, count, &type, indices, drawcount, basevertex); + end; + public z_MultiDrawElementsBaseVertex_ovr_26 := GetFuncOrNil&(z_MultiDrawElementsBaseVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertex(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; drawcount: Int32; basevertex: IntPtr); + begin + z_MultiDrawElementsBaseVertex_ovr_26(mode, count, &type, indices, drawcount, basevertex); + end; + + // added in gl4.3 + public z_MultiDrawElementsIndirect_adr := GetFuncAdr('glMultiDrawElementsIndirect'); + public z_MultiDrawElementsIndirect_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsIndirect_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirect(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr; drawcount: Int32; stride: Int32); + begin + z_MultiDrawElementsIndirect_ovr_0(mode, &type, indirect, drawcount, stride); + end; + + // added in gl4.6 + public z_MultiDrawElementsIndirectCount_adr := GetFuncAdr('glMultiDrawElementsIndirectCount'); + public z_MultiDrawElementsIndirectCount_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsIndirectCount_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectCount(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32); + begin + z_MultiDrawElementsIndirectCount_ovr_0(mode, &type, indirect, drawcount, maxdrawcount, stride); + end; + + // added in gl3.3 + public z_MultiTexCoordP1ui_adr := GetFuncAdr('glMultiTexCoordP1ui'); + public z_MultiTexCoordP1ui_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP1ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1ui(texture: TextureUnit; &type: TexCoordPointerType; coords: UInt32); + begin + z_MultiTexCoordP1ui_ovr_0(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP1uiv_adr := GetFuncAdr('glMultiTexCoordP1uiv'); + public z_MultiTexCoordP1uiv_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: array of UInt32); + begin + z_MultiTexCoordP1uiv_ovr_0(texture, &type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1uiv(texture: TextureUnit; &type: TexCoordPointerType; var coords: UInt32); + begin + z_MultiTexCoordP1uiv_ovr_0(texture, &type, coords); + end; + public z_MultiTexCoordP1uiv_ovr_2 := GetFuncOrNil&(z_MultiTexCoordP1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: IntPtr); + begin + z_MultiTexCoordP1uiv_ovr_2(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP2ui_adr := GetFuncAdr('glMultiTexCoordP2ui'); + public z_MultiTexCoordP2ui_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2ui(texture: TextureUnit; &type: TexCoordPointerType; coords: UInt32); + begin + z_MultiTexCoordP2ui_ovr_0(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP2uiv_adr := GetFuncAdr('glMultiTexCoordP2uiv'); + public z_MultiTexCoordP2uiv_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: array of UInt32); + begin + z_MultiTexCoordP2uiv_ovr_0(texture, &type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2uiv(texture: TextureUnit; &type: TexCoordPointerType; var coords: UInt32); + begin + z_MultiTexCoordP2uiv_ovr_0(texture, &type, coords); + end; + public z_MultiTexCoordP2uiv_ovr_2 := GetFuncOrNil&(z_MultiTexCoordP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: IntPtr); + begin + z_MultiTexCoordP2uiv_ovr_2(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP3ui_adr := GetFuncAdr('glMultiTexCoordP3ui'); + public z_MultiTexCoordP3ui_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3ui(texture: TextureUnit; &type: TexCoordPointerType; coords: UInt32); + begin + z_MultiTexCoordP3ui_ovr_0(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP3uiv_adr := GetFuncAdr('glMultiTexCoordP3uiv'); + public z_MultiTexCoordP3uiv_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: array of UInt32); + begin + z_MultiTexCoordP3uiv_ovr_0(texture, &type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3uiv(texture: TextureUnit; &type: TexCoordPointerType; var coords: UInt32); + begin + z_MultiTexCoordP3uiv_ovr_0(texture, &type, coords); + end; + public z_MultiTexCoordP3uiv_ovr_2 := GetFuncOrNil&(z_MultiTexCoordP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: IntPtr); + begin + z_MultiTexCoordP3uiv_ovr_2(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP4ui_adr := GetFuncAdr('glMultiTexCoordP4ui'); + public z_MultiTexCoordP4ui_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4ui(texture: TextureUnit; &type: TexCoordPointerType; coords: UInt32); + begin + z_MultiTexCoordP4ui_ovr_0(texture, &type, coords); + end; + + // added in gl3.3 + public z_MultiTexCoordP4uiv_adr := GetFuncAdr('glMultiTexCoordP4uiv'); + public z_MultiTexCoordP4uiv_ovr_0 := GetFuncOrNil&(z_MultiTexCoordP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: array of UInt32); + begin + z_MultiTexCoordP4uiv_ovr_0(texture, &type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4uiv(texture: TextureUnit; &type: TexCoordPointerType; var coords: UInt32); + begin + z_MultiTexCoordP4uiv_ovr_0(texture, &type, coords); + end; + public z_MultiTexCoordP4uiv_ovr_2 := GetFuncOrNil&(z_MultiTexCoordP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4uiv(texture: TextureUnit; &type: TexCoordPointerType; coords: IntPtr); + begin + z_MultiTexCoordP4uiv_ovr_2(texture, &type, coords); + end; + + // added in gl4.5 + public z_NamedBufferData_adr := GetFuncAdr('glNamedBufferData'); + public z_NamedBufferData_ovr_0 := GetFuncOrNil&(z_NamedBufferData_adr); + private [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure z_NamedBufferData_ovr_0_temp(buffer: BufferName; size: IntPtr; var data: T; usage: VertexBufferObjectUsage) := + z_NamedBufferData_ovr_0(buffer, size, PByte(pointer(@data))^, usage); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: IntPtr; data: array of T; usage: VertexBufferObjectUsage); + begin + z_NamedBufferData_ovr_0_temp(buffer, size, data[0], usage); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: IntPtr; var data: T; usage: VertexBufferObjectUsage); + begin + z_NamedBufferData_ovr_0(buffer, size, PByte(pointer(@data))^, usage); + end; + public z_NamedBufferData_ovr_2 := GetFuncOrNil&(z_NamedBufferData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferData(buffer: BufferName; size: IntPtr; data: IntPtr; usage: VertexBufferObjectUsage); + begin + z_NamedBufferData_ovr_2(buffer, size, data, usage); + end; + + // added in gl4.5 + public z_NamedBufferStorage_adr := GetFuncAdr('glNamedBufferStorage'); + public z_NamedBufferStorage_ovr_0 := GetFuncOrNil&(z_NamedBufferStorage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorage(buffer: BufferName; size: IntPtr; data: IntPtr; flags: BufferStorageMask); + begin + z_NamedBufferStorage_ovr_0(buffer, size, data, flags); + end; + + // added in gl4.5 + public z_NamedBufferSubData_adr := GetFuncAdr('glNamedBufferSubData'); + public z_NamedBufferSubData_ovr_0 := GetFuncOrNil&(z_NamedBufferSubData_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubData(buffer: UInt32; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_NamedBufferSubData_ovr_0(buffer, offset, size, data); + end; + + // added in gl4.5 + public z_NamedFramebufferDrawBuffer_adr := GetFuncAdr('glNamedFramebufferDrawBuffer'); + public z_NamedFramebufferDrawBuffer_ovr_0 := GetFuncOrNil&(z_NamedFramebufferDrawBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffer(framebuffer: FramebufferName; buf: ColorBuffer); + begin + z_NamedFramebufferDrawBuffer_ovr_0(framebuffer, buf); + end; + + // added in gl4.5 + public z_NamedFramebufferDrawBuffers_adr := GetFuncAdr('glNamedFramebufferDrawBuffers'); + public z_NamedFramebufferDrawBuffers_ovr_0 := GetFuncOrNil&(z_NamedFramebufferDrawBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffers(framebuffer: UInt32; n: Int32; bufs: array of ColorBuffer); + begin + z_NamedFramebufferDrawBuffers_ovr_0(framebuffer, n, bufs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffers(framebuffer: UInt32; n: Int32; var bufs: ColorBuffer); + begin + z_NamedFramebufferDrawBuffers_ovr_0(framebuffer, n, bufs); + end; + public z_NamedFramebufferDrawBuffers_ovr_2 := GetFuncOrNil&(z_NamedFramebufferDrawBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferDrawBuffers(framebuffer: UInt32; n: Int32; bufs: IntPtr); + begin + z_NamedFramebufferDrawBuffers_ovr_2(framebuffer, n, bufs); + end; + + // added in gl4.5 + public z_NamedFramebufferParameteri_adr := GetFuncAdr('glNamedFramebufferParameteri'); + public z_NamedFramebufferParameteri_ovr_0 := GetFuncOrNil&(z_NamedFramebufferParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferParameteri(framebuffer: FramebufferName; pname: FramebufferParameterName; param: Int32); + begin + z_NamedFramebufferParameteri_ovr_0(framebuffer, pname, param); + end; + + // added in gl4.5 + public z_NamedFramebufferReadBuffer_adr := GetFuncAdr('glNamedFramebufferReadBuffer'); + public z_NamedFramebufferReadBuffer_ovr_0 := GetFuncOrNil&(z_NamedFramebufferReadBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferReadBuffer(framebuffer: FramebufferName; src: ColorBuffer); + begin + z_NamedFramebufferReadBuffer_ovr_0(framebuffer, src); + end; + + // added in gl4.5 + public z_NamedFramebufferRenderbuffer_adr := GetFuncAdr('glNamedFramebufferRenderbuffer'); + public z_NamedFramebufferRenderbuffer_ovr_0 := GetFuncOrNil&(z_NamedFramebufferRenderbuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferRenderbuffer(framebuffer: FramebufferName; attachment: FramebufferAttachment; _renderbuffertarget: RenderbufferTarget; renderbuffer: RenderbufferName); + begin + z_NamedFramebufferRenderbuffer_ovr_0(framebuffer, attachment, _renderbuffertarget, renderbuffer); + end; + + // added in gl4.5 + public z_NamedFramebufferTexture_adr := GetFuncAdr('glNamedFramebufferTexture'); + public z_NamedFramebufferTexture_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTexture_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture(framebuffer: FramebufferName; attachment: FramebufferAttachment; texture: TextureName; level: Int32); + begin + z_NamedFramebufferTexture_ovr_0(framebuffer, attachment, texture, level); + end; + + // added in gl4.5 + public z_NamedFramebufferTextureLayer_adr := GetFuncAdr('glNamedFramebufferTextureLayer'); + public z_NamedFramebufferTextureLayer_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTextureLayer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureLayer(framebuffer: FramebufferName; attachment: FramebufferAttachment; texture: TextureName; level: Int32; layer: Int32); + begin + z_NamedFramebufferTextureLayer_ovr_0(framebuffer, attachment, texture, level, layer); + end; + + // added in gl4.5 + public z_NamedRenderbufferStorage_adr := GetFuncAdr('glNamedRenderbufferStorage'); + public z_NamedRenderbufferStorage_ovr_0 := GetFuncOrNil&(z_NamedRenderbufferStorage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorage(renderbuffer: RenderbufferName; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_NamedRenderbufferStorage_ovr_0(renderbuffer, _internalformat, width, height); + end; + + // added in gl4.5 + public z_NamedRenderbufferStorageMultisample_adr := GetFuncAdr('glNamedRenderbufferStorageMultisample'); + public z_NamedRenderbufferStorageMultisample_ovr_0 := GetFuncOrNil&(z_NamedRenderbufferStorageMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisample(renderbuffer: RenderbufferName; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_NamedRenderbufferStorageMultisample_ovr_0(renderbuffer, samples, _internalformat, width, height); + end; + + // added in gl3.3 + public z_NormalP3ui_adr := GetFuncAdr('glNormalP3ui'); + public z_NormalP3ui_ovr_0 := GetFuncOrNil&(z_NormalP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3ui(&type: NormalPointerType; coords: UInt32); + begin + z_NormalP3ui_ovr_0(&type, coords); + end; + + // added in gl3.3 + public z_NormalP3uiv_adr := GetFuncAdr('glNormalP3uiv'); + public z_NormalP3uiv_ovr_0 := GetFuncOrNil&(z_NormalP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3uiv(&type: NormalPointerType; coords: array of UInt32); + begin + z_NormalP3uiv_ovr_0(&type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3uiv(&type: NormalPointerType; var coords: UInt32); + begin + z_NormalP3uiv_ovr_0(&type, coords); + end; + public z_NormalP3uiv_ovr_2 := GetFuncOrNil&(z_NormalP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3uiv(&type: NormalPointerType; coords: IntPtr); + begin + z_NormalP3uiv_ovr_2(&type, coords); + end; + + // added in gl4.3 + public z_ObjectLabel_adr := GetFuncAdr('glObjectLabel'); + public z_ObjectLabel_ovr_0 := GetFuncOrNil&(z_ObjectLabel_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectLabel(identifier: ObjectIdentifier; name: UInt32; length: Int32; &label: string); + begin + var par_4_str_ptr := Marshal.StringToHGlobalAnsi(&label); + z_ObjectLabel_ovr_0(identifier, name, length, par_4_str_ptr); + Marshal.FreeHGlobal(par_4_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectLabel(identifier: ObjectIdentifier; name: UInt32; length: Int32; &label: IntPtr); + begin + z_ObjectLabel_ovr_0(identifier, name, length, &label); + end; + + // added in gl4.3 + public z_ObjectPtrLabel_adr := GetFuncAdr('glObjectPtrLabel'); + public z_ObjectPtrLabel_ovr_0 := GetFuncOrNil&(z_ObjectPtrLabel_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: IntPtr; length: Int32; &label: string); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(&label); + z_ObjectPtrLabel_ovr_0(ptr, length, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabel(ptr: IntPtr; length: Int32; &label: IntPtr); + begin + z_ObjectPtrLabel_ovr_0(ptr, length, &label); + end; + + // added in gl4.0 + public z_PatchParameterfv_adr := GetFuncAdr('glPatchParameterfv'); + public z_PatchParameterfv_ovr_0 := GetFuncOrNil&(z_PatchParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchParameterName; values: array of single); + begin + z_PatchParameterfv_ovr_0(pname, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchParameterName; var values: single); + begin + z_PatchParameterfv_ovr_0(pname, values); + end; + public z_PatchParameterfv_ovr_2 := GetFuncOrNil&(z_PatchParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameterfv(pname: PatchParameterName; values: IntPtr); + begin + z_PatchParameterfv_ovr_2(pname, values); + end; + + // added in gl4.0 + public z_PatchParameteri_adr := GetFuncAdr('glPatchParameteri'); + public z_PatchParameteri_ovr_0 := GetFuncOrNil&(z_PatchParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameteri(pname: PatchParameterName; value: Int32); + begin + z_PatchParameteri_ovr_0(pname, value); + end; + + // added in gl4.0 + public z_PauseTransformFeedback_adr := GetFuncAdr('glPauseTransformFeedback'); + public z_PauseTransformFeedback_ovr_0 := GetFuncOrNil&(z_PauseTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PauseTransformFeedback; + begin + z_PauseTransformFeedback_ovr_0; + end; + + // added in gl1.0 + private static procedure _z_PixelStoref_ovr0(pname: PixelStoreParameter; param: single); + external 'opengl32.dll' name 'glPixelStoref'; + public static z_PixelStoref_ovr0 := _z_PixelStoref_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelStoref(pname: PixelStoreParameter; param: single) := z_PixelStoref_ovr0(pname, param); + + // added in gl1.0 + private static procedure _z_PixelStorei_ovr0(pname: PixelStoreParameter; param: Int32); + external 'opengl32.dll' name 'glPixelStorei'; + public static z_PixelStorei_ovr0 := _z_PixelStorei_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelStorei(pname: PixelStoreParameter; param: Int32) := z_PixelStorei_ovr0(pname, param); + + // added in gl1.4 + public z_PointParameterf_adr := GetFuncAdr('glPointParameterf'); + public z_PointParameterf_ovr_0 := GetFuncOrNil&(z_PointParameterf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterf(pname: PointParameterNameARB; param: single); + begin + z_PointParameterf_ovr_0(pname, param); + end; + + // added in gl1.4 + public z_PointParameterfv_adr := GetFuncAdr('glPointParameterfv'); + public z_PointParameterfv_ovr_0 := GetFuncOrNil&(z_PointParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfv(pname: PointParameterNameARB; ¶ms: array of single); + begin + z_PointParameterfv_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfv(pname: PointParameterNameARB; var ¶ms: single); + begin + z_PointParameterfv_ovr_0(pname, ¶ms); + end; + public z_PointParameterfv_ovr_2 := GetFuncOrNil&(z_PointParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfv(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameterfv_ovr_2(pname, ¶ms); + end; + + // added in gl1.4 + public z_PointParameteri_adr := GetFuncAdr('glPointParameteri'); + public z_PointParameteri_ovr_0 := GetFuncOrNil&(z_PointParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteri(pname: PointParameterNameARB; param: Int32); + begin + z_PointParameteri_ovr_0(pname, param); + end; + + // added in gl1.4 + public z_PointParameteriv_adr := GetFuncAdr('glPointParameteriv'); + public z_PointParameteriv_ovr_0 := GetFuncOrNil&(z_PointParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriv(pname: PointParameterNameARB; ¶ms: array of Int32); + begin + z_PointParameteriv_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriv(pname: PointParameterNameARB; var ¶ms: Int32); + begin + z_PointParameteriv_ovr_0(pname, ¶ms); + end; + public z_PointParameteriv_ovr_2 := GetFuncOrNil&(z_PointParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriv(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameteriv_ovr_2(pname, ¶ms); + end; + + // added in gl1.0 + private static procedure _z_PointSize_ovr0(size: single); + external 'opengl32.dll' name 'glPointSize'; + public static z_PointSize_ovr0 := _z_PointSize_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointSize(size: single) := z_PointSize_ovr0(size); + + // added in gl1.0 + private static procedure _z_PolygonMode_ovr0(face: DummyEnum; mode: OpenGL.PolygonMode); + external 'opengl32.dll' name 'glPolygonMode'; + public static z_PolygonMode_ovr0 := _z_PolygonMode_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonMode(face: DummyEnum; mode: OpenGL.PolygonMode) := z_PolygonMode_ovr0(face, mode); + + // added in gl1.1 + private static procedure _z_PolygonOffset_ovr0(factor: single; units: single); + external 'opengl32.dll' name 'glPolygonOffset'; + public static z_PolygonOffset_ovr0 := _z_PolygonOffset_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffset(factor: single; units: single) := z_PolygonOffset_ovr0(factor, units); + + // added in gl4.6 + public z_PolygonOffsetClamp_adr := GetFuncAdr('glPolygonOffsetClamp'); + public z_PolygonOffsetClamp_ovr_0 := GetFuncOrNil&(z_PolygonOffsetClamp_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetClamp(factor: single; units: single; clamp: single); + begin + z_PolygonOffsetClamp_ovr_0(factor, units, clamp); + end; + + // added in gl4.3 + public z_PopDebugGroup_adr := GetFuncAdr('glPopDebugGroup'); + public z_PopDebugGroup_ovr_0 := GetFuncOrNil&(z_PopDebugGroup_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopDebugGroup; + begin + z_PopDebugGroup_ovr_0; + end; + + // added in gl3.1 + public z_PrimitiveRestartIndex_adr := GetFuncAdr('glPrimitiveRestartIndex'); + public z_PrimitiveRestartIndex_ovr_0 := GetFuncOrNil&(z_PrimitiveRestartIndex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveRestartIndex(index: UInt32); + begin + z_PrimitiveRestartIndex_ovr_0(index); + end; + + // added in gl4.1 + public z_ProgramBinary_adr := GetFuncAdr('glProgramBinary'); + public z_ProgramBinary_ovr_0 := GetFuncOrNil&(z_ProgramBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBinary(&program: UInt32; binaryFormat: DummyEnum; binary: IntPtr; length: Int32); + begin + z_ProgramBinary_ovr_0(&program, binaryFormat, binary, length); + end; + + // added in gl4.1 + public z_ProgramParameteri_adr := GetFuncAdr('glProgramParameteri'); + public z_ProgramParameteri_ovr_0 := GetFuncOrNil&(z_ProgramParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameteri(&program: ProgramName; pname: ProgramParameterPName; value: Int32); + begin + z_ProgramParameteri_ovr_0(&program, pname, value); + end; + + // added in gl4.1 + public z_ProgramUniform1d_adr := GetFuncAdr('glProgramUniform1d'); + public z_ProgramUniform1d_ovr_0 := GetFuncOrNil&(z_ProgramUniform1d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1d(&program: ProgramName; location: Int32; v0: real); + begin + z_ProgramUniform1d_ovr_0(&program, location, v0); + end; + + // added in gl4.1 + public z_ProgramUniform1dv_adr := GetFuncAdr('glProgramUniform1dv'); + public z_ProgramUniform1dv_ovr_0 := GetFuncOrNil&(z_ProgramUniform1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform1dv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform1dv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1dv_ovr_2 := GetFuncOrNil&(z_ProgramUniform1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1dv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform1f_adr := GetFuncAdr('glProgramUniform1f'); + public z_ProgramUniform1f_ovr_0 := GetFuncOrNil&(z_ProgramUniform1f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1f(&program: ProgramName; location: Int32; v0: single); + begin + z_ProgramUniform1f_ovr_0(&program, location, v0); + end; + + // added in gl4.1 + public z_ProgramUniform1fv_adr := GetFuncAdr('glProgramUniform1fv'); + public z_ProgramUniform1fv_ovr_0 := GetFuncOrNil&(z_ProgramUniform1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform1fv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform1fv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1fv_ovr_2 := GetFuncOrNil&(z_ProgramUniform1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1fv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform1i_adr := GetFuncAdr('glProgramUniform1i'); + public z_ProgramUniform1i_ovr_0 := GetFuncOrNil&(z_ProgramUniform1i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i(&program: ProgramName; location: Int32; v0: Int32); + begin + z_ProgramUniform1i_ovr_0(&program, location, v0); + end; + + // added in gl4.1 + public z_ProgramUniform1iv_adr := GetFuncAdr('glProgramUniform1iv'); + public z_ProgramUniform1iv_ovr_0 := GetFuncOrNil&(z_ProgramUniform1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform1iv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform1iv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1iv_ovr_2 := GetFuncOrNil&(z_ProgramUniform1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1iv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform1ui_adr := GetFuncAdr('glProgramUniform1ui'); + public z_ProgramUniform1ui_ovr_0 := GetFuncOrNil&(z_ProgramUniform1ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui(&program: ProgramName; location: Int32; v0: UInt32); + begin + z_ProgramUniform1ui_ovr_0(&program, location, v0); + end; + + // added in gl4.1 + public z_ProgramUniform1uiv_adr := GetFuncAdr('glProgramUniform1uiv'); + public z_ProgramUniform1uiv_ovr_0 := GetFuncOrNil&(z_ProgramUniform1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform1uiv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform1uiv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1uiv_ovr_2 := GetFuncOrNil&(z_ProgramUniform1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1uiv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform2d_adr := GetFuncAdr('glProgramUniform2d'); + public z_ProgramUniform2d_ovr_0 := GetFuncOrNil&(z_ProgramUniform2d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2d(&program: ProgramName; location: Int32; v0: real; v1: real); + begin + z_ProgramUniform2d_ovr_0(&program, location, v0, v1); + end; + + // added in gl4.1 + public z_ProgramUniform2dv_adr := GetFuncAdr('glProgramUniform2dv'); + public z_ProgramUniform2dv_ovr_0 := GetFuncOrNil&(z_ProgramUniform2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform2dv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform2dv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2dv_ovr_2 := GetFuncOrNil&(z_ProgramUniform2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2dv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform2f_adr := GetFuncAdr('glProgramUniform2f'); + public z_ProgramUniform2f_ovr_0 := GetFuncOrNil&(z_ProgramUniform2f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2f(&program: ProgramName; location: Int32; v0: single; v1: single); + begin + z_ProgramUniform2f_ovr_0(&program, location, v0, v1); + end; + + // added in gl4.1 + public z_ProgramUniform2fv_adr := GetFuncAdr('glProgramUniform2fv'); + public z_ProgramUniform2fv_ovr_0 := GetFuncOrNil&(z_ProgramUniform2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform2fv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform2fv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2fv_ovr_2 := GetFuncOrNil&(z_ProgramUniform2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2fv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform2i_adr := GetFuncAdr('glProgramUniform2i'); + public z_ProgramUniform2i_ovr_0 := GetFuncOrNil&(z_ProgramUniform2i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i(&program: ProgramName; location: Int32; v0: Int32; v1: Int32); + begin + z_ProgramUniform2i_ovr_0(&program, location, v0, v1); + end; + + // added in gl4.1 + public z_ProgramUniform2iv_adr := GetFuncAdr('glProgramUniform2iv'); + public z_ProgramUniform2iv_ovr_0 := GetFuncOrNil&(z_ProgramUniform2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform2iv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform2iv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2iv_ovr_2 := GetFuncOrNil&(z_ProgramUniform2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2iv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform2ui_adr := GetFuncAdr('glProgramUniform2ui'); + public z_ProgramUniform2ui_ovr_0 := GetFuncOrNil&(z_ProgramUniform2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui(&program: ProgramName; location: Int32; v0: UInt32; v1: UInt32); + begin + z_ProgramUniform2ui_ovr_0(&program, location, v0, v1); + end; + + // added in gl4.1 + public z_ProgramUniform2uiv_adr := GetFuncAdr('glProgramUniform2uiv'); + public z_ProgramUniform2uiv_ovr_0 := GetFuncOrNil&(z_ProgramUniform2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform2uiv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform2uiv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2uiv_ovr_2 := GetFuncOrNil&(z_ProgramUniform2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2uiv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform3d_adr := GetFuncAdr('glProgramUniform3d'); + public z_ProgramUniform3d_ovr_0 := GetFuncOrNil&(z_ProgramUniform3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3d(&program: ProgramName; location: Int32; v0: real; v1: real; v2: real); + begin + z_ProgramUniform3d_ovr_0(&program, location, v0, v1, v2); + end; + + // added in gl4.1 + public z_ProgramUniform3dv_adr := GetFuncAdr('glProgramUniform3dv'); + public z_ProgramUniform3dv_ovr_0 := GetFuncOrNil&(z_ProgramUniform3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform3dv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform3dv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3dv_ovr_2 := GetFuncOrNil&(z_ProgramUniform3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3dv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform3f_adr := GetFuncAdr('glProgramUniform3f'); + public z_ProgramUniform3f_ovr_0 := GetFuncOrNil&(z_ProgramUniform3f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3f(&program: ProgramName; location: Int32; v0: single; v1: single; v2: single); + begin + z_ProgramUniform3f_ovr_0(&program, location, v0, v1, v2); + end; + + // added in gl4.1 + public z_ProgramUniform3fv_adr := GetFuncAdr('glProgramUniform3fv'); + public z_ProgramUniform3fv_ovr_0 := GetFuncOrNil&(z_ProgramUniform3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform3fv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform3fv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3fv_ovr_2 := GetFuncOrNil&(z_ProgramUniform3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3fv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform3i_adr := GetFuncAdr('glProgramUniform3i'); + public z_ProgramUniform3i_ovr_0 := GetFuncOrNil&(z_ProgramUniform3i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i(&program: ProgramName; location: Int32; v0: Int32; v1: Int32; v2: Int32); + begin + z_ProgramUniform3i_ovr_0(&program, location, v0, v1, v2); + end; + + // added in gl4.1 + public z_ProgramUniform3iv_adr := GetFuncAdr('glProgramUniform3iv'); + public z_ProgramUniform3iv_ovr_0 := GetFuncOrNil&(z_ProgramUniform3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform3iv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform3iv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3iv_ovr_2 := GetFuncOrNil&(z_ProgramUniform3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3iv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform3ui_adr := GetFuncAdr('glProgramUniform3ui'); + public z_ProgramUniform3ui_ovr_0 := GetFuncOrNil&(z_ProgramUniform3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui(&program: ProgramName; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32); + begin + z_ProgramUniform3ui_ovr_0(&program, location, v0, v1, v2); + end; + + // added in gl4.1 + public z_ProgramUniform3uiv_adr := GetFuncAdr('glProgramUniform3uiv'); + public z_ProgramUniform3uiv_ovr_0 := GetFuncOrNil&(z_ProgramUniform3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform3uiv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform3uiv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3uiv_ovr_2 := GetFuncOrNil&(z_ProgramUniform3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3uiv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform4d_adr := GetFuncAdr('glProgramUniform4d'); + public z_ProgramUniform4d_ovr_0 := GetFuncOrNil&(z_ProgramUniform4d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4d(&program: ProgramName; location: Int32; v0: real; v1: real; v2: real; v3: real); + begin + z_ProgramUniform4d_ovr_0(&program, location, v0, v1, v2, v3); + end; + + // added in gl4.1 + public z_ProgramUniform4dv_adr := GetFuncAdr('glProgramUniform4dv'); + public z_ProgramUniform4dv_ovr_0 := GetFuncOrNil&(z_ProgramUniform4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform4dv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform4dv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4dv_ovr_2 := GetFuncOrNil&(z_ProgramUniform4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4dv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform4f_adr := GetFuncAdr('glProgramUniform4f'); + public z_ProgramUniform4f_ovr_0 := GetFuncOrNil&(z_ProgramUniform4f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4f(&program: ProgramName; location: Int32; v0: single; v1: single; v2: single; v3: single); + begin + z_ProgramUniform4f_ovr_0(&program, location, v0, v1, v2, v3); + end; + + // added in gl4.1 + public z_ProgramUniform4fv_adr := GetFuncAdr('glProgramUniform4fv'); + public z_ProgramUniform4fv_ovr_0 := GetFuncOrNil&(z_ProgramUniform4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform4fv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform4fv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4fv_ovr_2 := GetFuncOrNil&(z_ProgramUniform4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4fv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform4i_adr := GetFuncAdr('glProgramUniform4i'); + public z_ProgramUniform4i_ovr_0 := GetFuncOrNil&(z_ProgramUniform4i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i(&program: ProgramName; location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32); + begin + z_ProgramUniform4i_ovr_0(&program, location, v0, v1, v2, v3); + end; + + // added in gl4.1 + public z_ProgramUniform4iv_adr := GetFuncAdr('glProgramUniform4iv'); + public z_ProgramUniform4iv_ovr_0 := GetFuncOrNil&(z_ProgramUniform4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform4iv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform4iv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4iv_ovr_2 := GetFuncOrNil&(z_ProgramUniform4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4iv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniform4ui_adr := GetFuncAdr('glProgramUniform4ui'); + public z_ProgramUniform4ui_ovr_0 := GetFuncOrNil&(z_ProgramUniform4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui(&program: ProgramName; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32); + begin + z_ProgramUniform4ui_ovr_0(&program, location, v0, v1, v2, v3); + end; + + // added in gl4.1 + public z_ProgramUniform4uiv_adr := GetFuncAdr('glProgramUniform4uiv'); + public z_ProgramUniform4uiv_ovr_0 := GetFuncOrNil&(z_ProgramUniform4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform4uiv_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform4uiv_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4uiv_ovr_2 := GetFuncOrNil&(z_ProgramUniform4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiv(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4uiv_ovr_2(&program, location, count, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix2dv_adr := GetFuncAdr('glProgramUniformMatrix2dv'); + public z_ProgramUniformMatrix2dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix2dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix2dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix2fv_adr := GetFuncAdr('glProgramUniformMatrix2fv'); + public z_ProgramUniformMatrix2fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix2fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix2fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix2x3dv_adr := GetFuncAdr('glProgramUniformMatrix2x3dv'); + public z_ProgramUniformMatrix2x3dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix2x3dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix2x3dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x3dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x3dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix2x3fv_adr := GetFuncAdr('glProgramUniformMatrix2x3fv'); + public z_ProgramUniformMatrix2x3fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix2x3fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix2x3fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x3fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x3fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix2x4dv_adr := GetFuncAdr('glProgramUniformMatrix2x4dv'); + public z_ProgramUniformMatrix2x4dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix2x4dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix2x4dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x4dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x4dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix2x4fv_adr := GetFuncAdr('glProgramUniformMatrix2x4fv'); + public z_ProgramUniformMatrix2x4fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix2x4fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix2x4fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x4fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x4fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix3dv_adr := GetFuncAdr('glProgramUniformMatrix3dv'); + public z_ProgramUniformMatrix3dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix3dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix3dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix3fv_adr := GetFuncAdr('glProgramUniformMatrix3fv'); + public z_ProgramUniformMatrix3fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix3fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix3fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix3x2dv_adr := GetFuncAdr('glProgramUniformMatrix3x2dv'); + public z_ProgramUniformMatrix3x2dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix3x2dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix3x2dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x2dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x2dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix3x2fv_adr := GetFuncAdr('glProgramUniformMatrix3x2fv'); + public z_ProgramUniformMatrix3x2fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix3x2fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix3x2fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x2fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x2fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix3x4dv_adr := GetFuncAdr('glProgramUniformMatrix3x4dv'); + public z_ProgramUniformMatrix3x4dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix3x4dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix3x4dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x4dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x4dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix3x4fv_adr := GetFuncAdr('glProgramUniformMatrix3x4fv'); + public z_ProgramUniformMatrix3x4fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix3x4fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix3x4fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x4fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x4fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix4dv_adr := GetFuncAdr('glProgramUniformMatrix4dv'); + public z_ProgramUniformMatrix4dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix4dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix4dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix4fv_adr := GetFuncAdr('glProgramUniformMatrix4fv'); + public z_ProgramUniformMatrix4fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix4fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix4fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix4x2dv_adr := GetFuncAdr('glProgramUniformMatrix4x2dv'); + public z_ProgramUniformMatrix4x2dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix4x2dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix4x2dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x2dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x2dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix4x2fv_adr := GetFuncAdr('glProgramUniformMatrix4x2fv'); + public z_ProgramUniformMatrix4x2fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix4x2fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix4x2fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x2fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x2fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix4x3dv_adr := GetFuncAdr('glProgramUniformMatrix4x3dv'); + public z_ProgramUniformMatrix4x3dv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix4x3dv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix4x3dv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x3dv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x3dv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl4.1 + public z_ProgramUniformMatrix4x3fv_adr := GetFuncAdr('glProgramUniformMatrix4x3fv'); + public z_ProgramUniformMatrix4x3fv_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix4x3fv_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix4x3fv_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x3fv_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fv(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x3fv_ovr_2(&program, location, count, transpose, value); + end; + + // added in gl3.2 + public z_ProvokingVertex_adr := GetFuncAdr('glProvokingVertex'); + public z_ProvokingVertex_ovr_0 := GetFuncOrNil&(z_ProvokingVertex_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProvokingVertex(mode: VertexProvokingMode); + begin + z_ProvokingVertex_ovr_0(mode); + end; + + // added in gl4.3 + public z_PushDebugGroup_adr := GetFuncAdr('glPushDebugGroup'); + public z_PushDebugGroup_ovr_0 := GetFuncOrNil&(z_PushDebugGroup_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushDebugGroup(source: DebugSource; id: UInt32; length: Int32; message: string); + begin + var par_4_str_ptr := Marshal.StringToHGlobalAnsi(message); + z_PushDebugGroup_ovr_0(source, id, length, par_4_str_ptr); + Marshal.FreeHGlobal(par_4_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushDebugGroup(source: DebugSource; id: UInt32; length: Int32; message: IntPtr); + begin + z_PushDebugGroup_ovr_0(source, id, length, message); + end; + + // added in gl3.3 + public z_QueryCounter_adr := GetFuncAdr('glQueryCounter'); + public z_QueryCounter_ovr_0 := GetFuncOrNil&(z_QueryCounter_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryCounter(id: QueryName; target: QueryCounterTarget); + begin + z_QueryCounter_ovr_0(id, target); + end; + + // added in gl1.0 + private static procedure _z_ReadBuffer_ovr0(src: ReadBufferMode); + external 'opengl32.dll' name 'glReadBuffer'; + public static z_ReadBuffer_ovr0 := _z_ReadBuffer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadBuffer(src: ReadBufferMode) := z_ReadBuffer_ovr0(src); + + // added in gl4.5 + public z_ReadnPixels_adr := GetFuncAdr('glReadnPixels'); + public z_ReadnPixels_ovr_0 := GetFuncOrNil&(z_ReadnPixels_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; bufSize: Int32; data: IntPtr); + begin + z_ReadnPixels_ovr_0(x, y, width, height, format, &type, bufSize, data); + end; + + // added in gl1.0 + private static procedure _z_ReadPixels_ovr0(x: Int32; y: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glReadPixels'; + public static z_ReadPixels_ovr0 := _z_ReadPixels_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadPixels(x: Int32; y: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_ReadPixels_ovr0(x, y, width, height, format, &type, pixels); + + // added in gl4.1 + public z_ReleaseShaderCompiler_adr := GetFuncAdr('glReleaseShaderCompiler'); + public z_ReleaseShaderCompiler_ovr_0 := GetFuncOrNil&(z_ReleaseShaderCompiler_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReleaseShaderCompiler; + begin + z_ReleaseShaderCompiler_ovr_0; + end; + + // added in gl3.0 + public z_RenderbufferStorage_adr := GetFuncAdr('glRenderbufferStorage'); + public z_RenderbufferStorage_ovr_0 := GetFuncOrNil&(z_RenderbufferStorage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorage(target: RenderbufferTarget; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_RenderbufferStorage_ovr_0(target, _internalformat, width, height); + end; + + // added in gl3.0 + public z_RenderbufferStorageMultisample_adr := GetFuncAdr('glRenderbufferStorageMultisample'); + public z_RenderbufferStorageMultisample_ovr_0 := GetFuncOrNil&(z_RenderbufferStorageMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisample(target: RenderbufferTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_RenderbufferStorageMultisample_ovr_0(target, samples, _internalformat, width, height); + end; + + // added in gl4.0 + public z_ResumeTransformFeedback_adr := GetFuncAdr('glResumeTransformFeedback'); + public z_ResumeTransformFeedback_ovr_0 := GetFuncOrNil&(z_ResumeTransformFeedback_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResumeTransformFeedback; + begin + z_ResumeTransformFeedback_ovr_0; + end; + + // added in gl1.3 + public z_SampleCoverage_adr := GetFuncAdr('glSampleCoverage'); + public z_SampleCoverage_ovr_0 := GetFuncOrNil&(z_SampleCoverage_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleCoverage(value: single; invert: boolean); + begin + z_SampleCoverage_ovr_0(value, invert); + end; + + // added in gl3.2 + public z_SampleMaski_adr := GetFuncAdr('glSampleMaski'); + public z_SampleMaski_ovr_0 := GetFuncOrNil&(z_SampleMaski_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaski(maskNumber: UInt32; mask: DummyFlags); + begin + z_SampleMaski_ovr_0(maskNumber, mask); + end; + + // added in gl3.3 + public z_SamplerParameterf_adr := GetFuncAdr('glSamplerParameterf'); + public z_SamplerParameterf_ovr_0 := GetFuncOrNil&(z_SamplerParameterf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterf(sampler: SamplerName; pname: OpenGL.SamplerParameterF; param: single); + begin + z_SamplerParameterf_ovr_0(sampler, pname, param); + end; + + // added in gl3.3 + public z_SamplerParameterfv_adr := GetFuncAdr('glSamplerParameterfv'); + public z_SamplerParameterfv_ovr_0 := GetFuncOrNil&(z_SamplerParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterfv(sampler: UInt32; pname: OpenGL.SamplerParameterF; param: array of single); + begin + z_SamplerParameterfv_ovr_0(sampler, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterfv(sampler: UInt32; pname: OpenGL.SamplerParameterF; var param: single); + begin + z_SamplerParameterfv_ovr_0(sampler, pname, param); + end; + public z_SamplerParameterfv_ovr_2 := GetFuncOrNil&(z_SamplerParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterfv(sampler: UInt32; pname: OpenGL.SamplerParameterF; param: IntPtr); + begin + z_SamplerParameterfv_ovr_2(sampler, pname, param); + end; + + // added in gl3.3 + public z_SamplerParameteri_adr := GetFuncAdr('glSamplerParameteri'); + public z_SamplerParameteri_ovr_0 := GetFuncOrNil&(z_SamplerParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteri(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: Int32); + begin + z_SamplerParameteri_ovr_0(sampler, pname, param); + end; + + // added in gl3.3 + public z_SamplerParameterIiv_adr := GetFuncAdr('glSamplerParameterIiv'); + public z_SamplerParameterIiv_ovr_0 := GetFuncOrNil&(z_SamplerParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIiv(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: array of Int32); + begin + z_SamplerParameterIiv_ovr_0(sampler, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIiv(sampler: UInt32; pname: OpenGL.SamplerParameterI; var param: Int32); + begin + z_SamplerParameterIiv_ovr_0(sampler, pname, param); + end; + public z_SamplerParameterIiv_ovr_2 := GetFuncOrNil&(z_SamplerParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIiv(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: IntPtr); + begin + z_SamplerParameterIiv_ovr_2(sampler, pname, param); + end; + + // added in gl3.3 + public z_SamplerParameterIuiv_adr := GetFuncAdr('glSamplerParameterIuiv'); + public z_SamplerParameterIuiv_ovr_0 := GetFuncOrNil&(z_SamplerParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: array of UInt32); + begin + z_SamplerParameterIuiv_ovr_0(sampler, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: UInt32; pname: OpenGL.SamplerParameterI; var param: UInt32); + begin + z_SamplerParameterIuiv_ovr_0(sampler, pname, param); + end; + public z_SamplerParameterIuiv_ovr_2 := GetFuncOrNil&(z_SamplerParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuiv(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: IntPtr); + begin + z_SamplerParameterIuiv_ovr_2(sampler, pname, param); + end; + + // added in gl3.3 + public z_SamplerParameteriv_adr := GetFuncAdr('glSamplerParameteriv'); + public z_SamplerParameteriv_ovr_0 := GetFuncOrNil&(z_SamplerParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteriv(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: array of Int32); + begin + z_SamplerParameteriv_ovr_0(sampler, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteriv(sampler: UInt32; pname: OpenGL.SamplerParameterI; var param: Int32); + begin + z_SamplerParameteriv_ovr_0(sampler, pname, param); + end; + public z_SamplerParameteriv_ovr_2 := GetFuncOrNil&(z_SamplerParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameteriv(sampler: UInt32; pname: OpenGL.SamplerParameterI; param: IntPtr); + begin + z_SamplerParameteriv_ovr_2(sampler, pname, param); + end; + + // added in gl1.0 + private static procedure _z_Scissor_ovr0(x: Int32; y: Int32; width: Int32; height: Int32); + external 'opengl32.dll' name 'glScissor'; + public static z_Scissor_ovr0 := _z_Scissor_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Scissor(x: Int32; y: Int32; width: Int32; height: Int32) := z_Scissor_ovr0(x, y, width, height); + + // added in gl4.1 + public z_ScissorArrayv_adr := GetFuncAdr('glScissorArrayv'); + public z_ScissorArrayv_ovr_0 := GetFuncOrNil&(z_ScissorArrayv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; v: array of Int32); + begin + z_ScissorArrayv_ovr_0(first, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; var v: Int32); + begin + z_ScissorArrayv_ovr_0(first, count, v); + end; + public z_ScissorArrayv_ovr_2 := GetFuncOrNil&(z_ScissorArrayv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayv(first: UInt32; count: Int32; v: IntPtr); + begin + z_ScissorArrayv_ovr_2(first, count, v); + end; + + // added in gl4.1 + public z_ScissorIndexed_adr := GetFuncAdr('glScissorIndexed'); + public z_ScissorIndexed_ovr_0 := GetFuncOrNil&(z_ScissorIndexed_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexed(index: UInt32; left: Int32; bottom: Int32; width: Int32; height: Int32); + begin + z_ScissorIndexed_ovr_0(index, left, bottom, width, height); + end; + + // added in gl4.1 + public z_ScissorIndexedv_adr := GetFuncAdr('glScissorIndexedv'); + public z_ScissorIndexedv_ovr_0 := GetFuncOrNil&(z_ScissorIndexedv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; v: array of Int32); + begin + z_ScissorIndexedv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; var v: Int32); + begin + z_ScissorIndexedv_ovr_0(index, v); + end; + public z_ScissorIndexedv_ovr_2 := GetFuncOrNil&(z_ScissorIndexedv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedv(index: UInt32; v: IntPtr); + begin + z_ScissorIndexedv_ovr_2(index, v); + end; + + // added in gl3.3 + public z_SecondaryColorP3ui_adr := GetFuncAdr('glSecondaryColorP3ui'); + public z_SecondaryColorP3ui_ovr_0 := GetFuncOrNil&(z_SecondaryColorP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3ui(&type: ColorPointerType; color: UInt32); + begin + z_SecondaryColorP3ui_ovr_0(&type, color); + end; + + // added in gl3.3 + public z_SecondaryColorP3uiv_adr := GetFuncAdr('glSecondaryColorP3uiv'); + public z_SecondaryColorP3uiv_ovr_0 := GetFuncOrNil&(z_SecondaryColorP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3uiv(&type: ColorPointerType; color: array of UInt32); + begin + z_SecondaryColorP3uiv_ovr_0(&type, color[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3uiv(&type: ColorPointerType; var color: UInt32); + begin + z_SecondaryColorP3uiv_ovr_0(&type, color); + end; + public z_SecondaryColorP3uiv_ovr_2 := GetFuncOrNil&(z_SecondaryColorP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3uiv(&type: ColorPointerType; color: IntPtr); + begin + z_SecondaryColorP3uiv_ovr_2(&type, color); + end; + + // added in gl4.1 + public z_ShaderBinary_adr := GetFuncAdr('glShaderBinary'); + public z_ShaderBinary_ovr_0 := GetFuncOrNil&(z_ShaderBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: array of UInt32; binaryformat: DummyEnum; binary: IntPtr; length: Int32); + begin + z_ShaderBinary_ovr_0(count, shaders[0], binaryformat, binary, length); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; var shaders: UInt32; binaryformat: DummyEnum; binary: IntPtr; length: Int32); + begin + z_ShaderBinary_ovr_0(count, shaders, binaryformat, binary, length); + end; + public z_ShaderBinary_ovr_2 := GetFuncOrNil&(z_ShaderBinary_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderBinary(count: Int32; shaders: IntPtr; binaryformat: DummyEnum; binary: IntPtr; length: Int32); + begin + z_ShaderBinary_ovr_2(count, shaders, binaryformat, binary, length); + end; + + // added in gl2.0 + public z_ShaderSource_adr := GetFuncAdr('glShaderSource'); + public z_ShaderSource_ovr_0 := GetFuncOrNil&(z_ShaderSource_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: array of string; length: array of Int32); + begin + var par_3_str_ptr := _string.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_ShaderSource_ovr_0(shader, count, par_3_str_ptr[0], length[0]); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: array of string; var length: Int32); + begin + var par_3_str_ptr := _string.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_ShaderSource_ovr_0(shader, count, par_3_str_ptr[0], length); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public z_ShaderSource_ovr_2 := GetFuncOrNil&(z_ShaderSource_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: array of string; length: IntPtr); + begin + var par_3_str_ptr := _string.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_ShaderSource_ovr_2(shader, count, par_3_str_ptr[0], length); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: array of IntPtr; length: array of Int32); + begin + z_ShaderSource_ovr_0(shader, count, _string[0], length[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: array of IntPtr; var length: Int32); + begin + z_ShaderSource_ovr_0(shader, count, _string[0], length); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: array of IntPtr; length: IntPtr); + begin + z_ShaderSource_ovr_2(shader, count, _string[0], length); + end; + public z_ShaderSource_ovr_6 := GetFuncOrNil&(z_ShaderSource_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: IntPtr; length: array of Int32); + begin + z_ShaderSource_ovr_6(shader, count, _string, length[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: IntPtr; var length: Int32); + begin + z_ShaderSource_ovr_6(shader, count, _string, length); + end; + public z_ShaderSource_ovr_8 := GetFuncOrNil&(z_ShaderSource_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSource(shader: ShaderName; count: Int32; _string: IntPtr; length: IntPtr); + begin + z_ShaderSource_ovr_8(shader, count, _string, length); + end; + + // added in gl4.3 + public z_ShaderStorageBlockBinding_adr := GetFuncAdr('glShaderStorageBlockBinding'); + public z_ShaderStorageBlockBinding_ovr_0 := GetFuncOrNil&(z_ShaderStorageBlockBinding_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderStorageBlockBinding(&program: ProgramName; storageBlockIndex: UInt32; storageBlockBinding: UInt32); + begin + z_ShaderStorageBlockBinding_ovr_0(&program, storageBlockIndex, storageBlockBinding); + end; + + // added in gl4.6 + public z_SpecializeShader_adr := GetFuncAdr('glSpecializeShader'); + public z_SpecializeShader_ovr_0 := GetFuncOrNil&(z_SpecializeShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex[0], pConstantValue[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; var pConstantValue: UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex[0], pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_SpecializeShader_ovr_2 := GetFuncOrNil&(z_SpecializeShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_2(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex[0], pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: array of UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_2(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_SpecializeShader_ovr_6 := GetFuncOrNil&(z_SpecializeShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: array of UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_6(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; var pConstantValue: UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_6(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_SpecializeShader_ovr_8 := GetFuncOrNil&(z_SpecializeShader_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShader_ovr_8(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of UInt32); + begin + z_SpecializeShader_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex[0], pConstantValue[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; var pConstantValue: UInt32); + begin + z_SpecializeShader_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex[0], pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: IntPtr); + begin + z_SpecializeShader_ovr_2(shader, pEntryPoint, numSpecializationConstants, pConstantIndex[0], pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: array of UInt32); + begin + z_SpecializeShader_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: UInt32); + begin + z_SpecializeShader_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: IntPtr); + begin + z_SpecializeShader_ovr_2(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: array of UInt32); + begin + z_SpecializeShader_ovr_6(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; var pConstantValue: UInt32); + begin + z_SpecializeShader_ovr_6(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShader(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: IntPtr); + begin + z_SpecializeShader_ovr_8(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + + // added in gl1.0 + private static procedure _z_StencilFunc_ovr0(func: StencilFunction; ref: Int32; mask: UInt32); + external 'opengl32.dll' name 'glStencilFunc'; + public static z_StencilFunc_ovr0 := _z_StencilFunc_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFunc(func: StencilFunction; ref: Int32; mask: UInt32) := z_StencilFunc_ovr0(func, ref, mask); + + // added in gl2.0 + public z_StencilFuncSeparate_adr := GetFuncAdr('glStencilFuncSeparate'); + public z_StencilFuncSeparate_ovr_0 := GetFuncOrNil&(z_StencilFuncSeparate_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFuncSeparate(face: StencilFaceDirection; func: StencilFunction; ref: Int32; mask: UInt32); + begin + z_StencilFuncSeparate_ovr_0(face, func, ref, mask); + end; + + // added in gl1.0 + private static procedure _z_StencilMask_ovr0(mask: UInt32); + external 'opengl32.dll' name 'glStencilMask'; + public static z_StencilMask_ovr0 := _z_StencilMask_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilMask(mask: UInt32) := z_StencilMask_ovr0(mask); + + // added in gl2.0 + public z_StencilMaskSeparate_adr := GetFuncAdr('glStencilMaskSeparate'); + public z_StencilMaskSeparate_ovr_0 := GetFuncOrNil&(z_StencilMaskSeparate_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilMaskSeparate(face: StencilFaceDirection; mask: UInt32); + begin + z_StencilMaskSeparate_ovr_0(face, mask); + end; + + // added in gl1.0 + private static procedure _z_StencilOp_ovr0(fail: OpenGL.StencilOp; zfail: OpenGL.StencilOp; zpass: OpenGL.StencilOp); + external 'opengl32.dll' name 'glStencilOp'; + public static z_StencilOp_ovr0 := _z_StencilOp_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOp(fail: OpenGL.StencilOp; zfail: OpenGL.StencilOp; zpass: OpenGL.StencilOp) := z_StencilOp_ovr0(fail, zfail, zpass); + + // added in gl2.0 + public z_StencilOpSeparate_adr := GetFuncAdr('glStencilOpSeparate'); + public z_StencilOpSeparate_ovr_0 := GetFuncOrNil&(z_StencilOpSeparate_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOpSeparate(face: StencilFaceDirection; sfail: OpenGL.StencilOp; dpfail: OpenGL.StencilOp; dppass: OpenGL.StencilOp); + begin + z_StencilOpSeparate_ovr_0(face, sfail, dpfail, dppass); + end; + + // added in gl3.1 + public z_TexBuffer_adr := GetFuncAdr('glTexBuffer'); + public z_TexBuffer_ovr_0 := GetFuncOrNil&(z_TexBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBuffer(target: TextureTarget; _internalformat: InternalFormat; buffer: BufferName); + begin + z_TexBuffer_ovr_0(target, _internalformat, buffer); + end; + + // added in gl4.3 + public z_TexBufferRange_adr := GetFuncAdr('glTexBufferRange'); + public z_TexBufferRange_ovr_0 := GetFuncOrNil&(z_TexBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferRange(target: TextureTarget; _internalformat: InternalFormat; buffer: BufferName; offset: IntPtr; size: IntPtr); + begin + z_TexBufferRange_ovr_0(target, _internalformat, buffer, offset, size); + end; + + // added in gl3.3 + public z_TexCoordP1ui_adr := GetFuncAdr('glTexCoordP1ui'); + public z_TexCoordP1ui_ovr_0 := GetFuncOrNil&(z_TexCoordP1ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1ui(&type: TexCoordPointerType; coords: UInt32); + begin + z_TexCoordP1ui_ovr_0(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP1uiv_adr := GetFuncAdr('glTexCoordP1uiv'); + public z_TexCoordP1uiv_ovr_0 := GetFuncOrNil&(z_TexCoordP1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1uiv(&type: TexCoordPointerType; coords: array of UInt32); + begin + z_TexCoordP1uiv_ovr_0(&type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1uiv(&type: TexCoordPointerType; var coords: UInt32); + begin + z_TexCoordP1uiv_ovr_0(&type, coords); + end; + public z_TexCoordP1uiv_ovr_2 := GetFuncOrNil&(z_TexCoordP1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1uiv(&type: TexCoordPointerType; coords: IntPtr); + begin + z_TexCoordP1uiv_ovr_2(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP2ui_adr := GetFuncAdr('glTexCoordP2ui'); + public z_TexCoordP2ui_ovr_0 := GetFuncOrNil&(z_TexCoordP2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2ui(&type: TexCoordPointerType; coords: UInt32); + begin + z_TexCoordP2ui_ovr_0(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP2uiv_adr := GetFuncAdr('glTexCoordP2uiv'); + public z_TexCoordP2uiv_ovr_0 := GetFuncOrNil&(z_TexCoordP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2uiv(&type: TexCoordPointerType; coords: array of UInt32); + begin + z_TexCoordP2uiv_ovr_0(&type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2uiv(&type: TexCoordPointerType; var coords: UInt32); + begin + z_TexCoordP2uiv_ovr_0(&type, coords); + end; + public z_TexCoordP2uiv_ovr_2 := GetFuncOrNil&(z_TexCoordP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2uiv(&type: TexCoordPointerType; coords: IntPtr); + begin + z_TexCoordP2uiv_ovr_2(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP3ui_adr := GetFuncAdr('glTexCoordP3ui'); + public z_TexCoordP3ui_ovr_0 := GetFuncOrNil&(z_TexCoordP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3ui(&type: TexCoordPointerType; coords: UInt32); + begin + z_TexCoordP3ui_ovr_0(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP3uiv_adr := GetFuncAdr('glTexCoordP3uiv'); + public z_TexCoordP3uiv_ovr_0 := GetFuncOrNil&(z_TexCoordP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3uiv(&type: TexCoordPointerType; coords: array of UInt32); + begin + z_TexCoordP3uiv_ovr_0(&type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3uiv(&type: TexCoordPointerType; var coords: UInt32); + begin + z_TexCoordP3uiv_ovr_0(&type, coords); + end; + public z_TexCoordP3uiv_ovr_2 := GetFuncOrNil&(z_TexCoordP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3uiv(&type: TexCoordPointerType; coords: IntPtr); + begin + z_TexCoordP3uiv_ovr_2(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP4ui_adr := GetFuncAdr('glTexCoordP4ui'); + public z_TexCoordP4ui_ovr_0 := GetFuncOrNil&(z_TexCoordP4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4ui(&type: TexCoordPointerType; coords: UInt32); + begin + z_TexCoordP4ui_ovr_0(&type, coords); + end; + + // added in gl3.3 + public z_TexCoordP4uiv_adr := GetFuncAdr('glTexCoordP4uiv'); + public z_TexCoordP4uiv_ovr_0 := GetFuncOrNil&(z_TexCoordP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4uiv(&type: TexCoordPointerType; coords: array of UInt32); + begin + z_TexCoordP4uiv_ovr_0(&type, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4uiv(&type: TexCoordPointerType; var coords: UInt32); + begin + z_TexCoordP4uiv_ovr_0(&type, coords); + end; + public z_TexCoordP4uiv_ovr_2 := GetFuncOrNil&(z_TexCoordP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4uiv(&type: TexCoordPointerType; coords: IntPtr); + begin + z_TexCoordP4uiv_ovr_2(&type, coords); + end; + + // added in gl1.0 + private static procedure _z_TexImage1D_ovr0(target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glTexImage1D'; + public static z_TexImage1D_ovr0 := _z_TexImage1D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage1D(target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_TexImage1D_ovr0(target, level, internalformat, width, border, format, &type, pixels); + + // added in gl1.0 + private static procedure _z_TexImage2D_ovr0(target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glTexImage2D'; + public static z_TexImage2D_ovr0 := _z_TexImage2D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2D(target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_TexImage2D_ovr0(target, level, internalformat, width, height, border, format, &type, pixels); + + // added in gl3.2 + public z_TexImage2DMultisample_adr := GetFuncAdr('glTexImage2DMultisample'); + public z_TexImage2DMultisample_ovr_0 := GetFuncOrNil&(z_TexImage2DMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2DMultisample(target: TextureTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; fixedsamplelocations: boolean); + begin + z_TexImage2DMultisample_ovr_0(target, samples, _internalformat, width, height, fixedsamplelocations); + end; + + // added in gl1.2 + public z_TexImage3D_adr := GetFuncAdr('glTexImage3D'); + public z_TexImage3D_ovr_0 := GetFuncOrNil&(z_TexImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3D(target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; depth: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexImage3D_ovr_0(target, level, internalformat, width, height, depth, border, format, &type, pixels); + end; + + // added in gl3.2 + public z_TexImage3DMultisample_adr := GetFuncAdr('glTexImage3DMultisample'); + public z_TexImage3DMultisample_ovr_0 := GetFuncOrNil&(z_TexImage3DMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DMultisample(target: TextureTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean); + begin + z_TexImage3DMultisample_ovr_0(target, samples, _internalformat, width, height, depth, fixedsamplelocations); + end; + + // added in gl1.0 + private static procedure _z_TexParameterf_ovr0(target: TextureTarget; pname: TextureParameterName; param: single); + external 'opengl32.dll' name 'glTexParameterf'; + public static z_TexParameterf_ovr0 := _z_TexParameterf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterf(target: TextureTarget; pname: TextureParameterName; param: single) := z_TexParameterf_ovr0(target, pname, param); + + // added in gl1.0 + private static procedure _z_TexParameterfv_ovr0(target: TextureTarget; pname: TextureParameterName; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glTexParameterfv'; + public static z_TexParameterfv_ovr0 := _z_TexParameterfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterfv(target: TextureTarget; pname: TextureParameterName; ¶ms: array of single) := z_TexParameterfv_ovr0(target, pname, ¶ms); + private static procedure _z_TexParameterfv_ovr1(target: TextureTarget; pname: TextureParameterName; var ¶ms: single); + external 'opengl32.dll' name 'glTexParameterfv'; + public static z_TexParameterfv_ovr1 := _z_TexParameterfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterfv(target: TextureTarget; pname: TextureParameterName; var ¶ms: single) := z_TexParameterfv_ovr1(target, pname, ¶ms); + private static procedure _z_TexParameterfv_ovr2(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexParameterfv'; + public static z_TexParameterfv_ovr2 := _z_TexParameterfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterfv(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr) := z_TexParameterfv_ovr2(target, pname, ¶ms); + + // added in gl1.0 + private static procedure _z_TexParameteri_ovr0(target: TextureTarget; pname: TextureParameterName; param: Int32); + external 'opengl32.dll' name 'glTexParameteri'; + public static z_TexParameteri_ovr0 := _z_TexParameteri_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteri(target: TextureTarget; pname: TextureParameterName; param: Int32) := z_TexParameteri_ovr0(target, pname, param); + + // added in gl3.0 + public z_TexParameterIiv_adr := GetFuncAdr('glTexParameterIiv'); + public z_TexParameterIiv_ovr_0 := GetFuncOrNil&(z_TexParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIiv(target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_TexParameterIiv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIiv(target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + begin + z_TexParameterIiv_ovr_0(target, pname, ¶ms); + end; + public z_TexParameterIiv_ovr_2 := GetFuncOrNil&(z_TexParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIiv(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TexParameterIiv_ovr_2(target, pname, ¶ms); + end; + + // added in gl3.0 + public z_TexParameterIuiv_adr := GetFuncAdr('glTexParameterIuiv'); + public z_TexParameterIuiv_ovr_0 := GetFuncOrNil&(z_TexParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureTarget; pname: TextureParameterName; ¶ms: array of UInt32); + begin + z_TexParameterIuiv_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureTarget; pname: TextureParameterName; var ¶ms: UInt32); + begin + z_TexParameterIuiv_ovr_0(target, pname, ¶ms); + end; + public z_TexParameterIuiv_ovr_2 := GetFuncOrNil&(z_TexParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuiv(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TexParameterIuiv_ovr_2(target, pname, ¶ms); + end; + + // added in gl1.0 + private static procedure _z_TexParameteriv_ovr0(target: TextureTarget; pname: TextureParameterName; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glTexParameteriv'; + public static z_TexParameteriv_ovr0 := _z_TexParameteriv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32) := z_TexParameteriv_ovr0(target, pname, ¶ms); + private static procedure _z_TexParameteriv_ovr1(target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + external 'opengl32.dll' name 'glTexParameteriv'; + public static z_TexParameteriv_ovr1 := _z_TexParameteriv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32) := z_TexParameteriv_ovr1(target, pname, ¶ms); + private static procedure _z_TexParameteriv_ovr2(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexParameteriv'; + public static z_TexParameteriv_ovr2 := _z_TexParameteriv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameteriv(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr) := z_TexParameteriv_ovr2(target, pname, ¶ms); + + // added in gl4.2 + public z_TexStorage1D_adr := GetFuncAdr('glTexStorage1D'); + public z_TexStorage1D_ovr_0 := GetFuncOrNil&(z_TexStorage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage1D(target: TextureTarget; levels: Int32; _internalformat: InternalFormat; width: Int32); + begin + z_TexStorage1D_ovr_0(target, levels, _internalformat, width); + end; + + // added in gl4.2 + public z_TexStorage2D_adr := GetFuncAdr('glTexStorage2D'); + public z_TexStorage2D_ovr_0 := GetFuncOrNil&(z_TexStorage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage2D(target: TextureTarget; levels: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_TexStorage2D_ovr_0(target, levels, _internalformat, width, height); + end; + + // added in gl4.3 + public z_TexStorage2DMultisample_adr := GetFuncAdr('glTexStorage2DMultisample'); + public z_TexStorage2DMultisample_ovr_0 := GetFuncOrNil&(z_TexStorage2DMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage2DMultisample(target: TextureTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; fixedsamplelocations: boolean); + begin + z_TexStorage2DMultisample_ovr_0(target, samples, _internalformat, width, height, fixedsamplelocations); + end; + + // added in gl4.2 + public z_TexStorage3D_adr := GetFuncAdr('glTexStorage3D'); + public z_TexStorage3D_ovr_0 := GetFuncOrNil&(z_TexStorage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage3D(target: TextureTarget; levels: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32); + begin + z_TexStorage3D_ovr_0(target, levels, _internalformat, width, height, depth); + end; + + // added in gl4.3 + public z_TexStorage3DMultisample_adr := GetFuncAdr('glTexStorage3DMultisample'); + public z_TexStorage3DMultisample_ovr_0 := GetFuncOrNil&(z_TexStorage3DMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage3DMultisample(target: TextureTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean); + begin + z_TexStorage3DMultisample_ovr_0(target, samples, _internalformat, width, height, depth, fixedsamplelocations); + end; + + // added in gl1.1 + private static procedure _z_TexSubImage1D_ovr0(target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glTexSubImage1D'; + public static z_TexSubImage1D_ovr0 := _z_TexSubImage1D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1D(target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_TexSubImage1D_ovr0(target, level, xoffset, width, format, &type, pixels); + + // added in gl1.1 + private static procedure _z_TexSubImage2D_ovr0(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glTexSubImage2D'; + public static z_TexSubImage2D_ovr0 := _z_TexSubImage2D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2D(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_TexSubImage2D_ovr0(target, level, xoffset, yoffset, width, height, format, &type, pixels); + + // added in gl1.2 + public z_TexSubImage3D_adr := GetFuncAdr('glTexSubImage3D'); + public z_TexSubImage3D_ovr_0 := GetFuncOrNil&(z_TexSubImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3D(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexSubImage3D_ovr_0(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); + end; + + // added in gl4.5 + public z_TextureBarrier_adr := GetFuncAdr('glTextureBarrier'); + public z_TextureBarrier_ovr_0 := GetFuncOrNil&(z_TextureBarrier_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBarrier; + begin + z_TextureBarrier_ovr_0; + end; + + // added in gl4.5 + public z_TextureBuffer_adr := GetFuncAdr('glTextureBuffer'); + public z_TextureBuffer_ovr_0 := GetFuncOrNil&(z_TextureBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBuffer(texture: TextureName; _internalformat: InternalFormat; buffer: BufferName); + begin + z_TextureBuffer_ovr_0(texture, _internalformat, buffer); + end; + + // added in gl4.5 + public z_TextureBufferRange_adr := GetFuncAdr('glTextureBufferRange'); + public z_TextureBufferRange_ovr_0 := GetFuncOrNil&(z_TextureBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBufferRange(texture: TextureName; _internalformat: InternalFormat; buffer: BufferName; offset: IntPtr; size: IntPtr); + begin + z_TextureBufferRange_ovr_0(texture, _internalformat, buffer, offset, size); + end; + + // added in gl4.5 + public z_TextureParameterf_adr := GetFuncAdr('glTextureParameterf'); + public z_TextureParameterf_ovr_0 := GetFuncOrNil&(z_TextureParameterf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterf(texture: TextureName; pname: TextureParameterName; param: single); + begin + z_TextureParameterf_ovr_0(texture, pname, param); + end; + + // added in gl4.5 + public z_TextureParameterfv_adr := GetFuncAdr('glTextureParameterfv'); + public z_TextureParameterfv_ovr_0 := GetFuncOrNil&(z_TextureParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfv(texture: UInt32; pname: TextureParameterName; param: array of single); + begin + z_TextureParameterfv_ovr_0(texture, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfv(texture: UInt32; pname: TextureParameterName; var param: single); + begin + z_TextureParameterfv_ovr_0(texture, pname, param); + end; + public z_TextureParameterfv_ovr_2 := GetFuncOrNil&(z_TextureParameterfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfv(texture: UInt32; pname: TextureParameterName; param: IntPtr); + begin + z_TextureParameterfv_ovr_2(texture, pname, param); + end; + + // added in gl4.5 + public z_TextureParameteri_adr := GetFuncAdr('glTextureParameteri'); + public z_TextureParameteri_ovr_0 := GetFuncOrNil&(z_TextureParameteri_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteri(texture: UInt32; pname: TextureParameterName; param: Int32); + begin + z_TextureParameteri_ovr_0(texture, pname, param); + end; + + // added in gl4.5 + public z_TextureParameterIiv_adr := GetFuncAdr('glTextureParameterIiv'); + public z_TextureParameterIiv_ovr_0 := GetFuncOrNil&(z_TextureParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIiv(texture: UInt32; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_TextureParameterIiv_ovr_0(texture, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIiv(texture: UInt32; pname: TextureParameterName; var ¶ms: Int32); + begin + z_TextureParameterIiv_ovr_0(texture, pname, ¶ms); + end; + public z_TextureParameterIiv_ovr_2 := GetFuncOrNil&(z_TextureParameterIiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIiv(texture: UInt32; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TextureParameterIiv_ovr_2(texture, pname, ¶ms); + end; + + // added in gl4.5 + public z_TextureParameterIuiv_adr := GetFuncAdr('glTextureParameterIuiv'); + public z_TextureParameterIuiv_ovr_0 := GetFuncOrNil&(z_TextureParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: UInt32; pname: TextureParameterName; ¶ms: array of UInt32); + begin + z_TextureParameterIuiv_ovr_0(texture, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: UInt32; pname: TextureParameterName; var ¶ms: UInt32); + begin + z_TextureParameterIuiv_ovr_0(texture, pname, ¶ms); + end; + public z_TextureParameterIuiv_ovr_2 := GetFuncOrNil&(z_TextureParameterIuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuiv(texture: UInt32; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TextureParameterIuiv_ovr_2(texture, pname, ¶ms); + end; + + // added in gl4.5 + public z_TextureParameteriv_adr := GetFuncAdr('glTextureParameteriv'); + public z_TextureParameteriv_ovr_0 := GetFuncOrNil&(z_TextureParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: UInt32; pname: TextureParameterName; param: array of Int32); + begin + z_TextureParameteriv_ovr_0(texture, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: UInt32; pname: TextureParameterName; var param: Int32); + begin + z_TextureParameteriv_ovr_0(texture, pname, param); + end; + public z_TextureParameteriv_ovr_2 := GetFuncOrNil&(z_TextureParameteriv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriv(texture: UInt32; pname: TextureParameterName; param: IntPtr); + begin + z_TextureParameteriv_ovr_2(texture, pname, param); + end; + + // added in gl4.5 + public z_TextureStorage1D_adr := GetFuncAdr('glTextureStorage1D'); + public z_TextureStorage1D_ovr_0 := GetFuncOrNil&(z_TextureStorage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage1D(texture: TextureName; levels: Int32; _internalformat: InternalFormat; width: Int32); + begin + z_TextureStorage1D_ovr_0(texture, levels, _internalformat, width); + end; + + // added in gl4.5 + public z_TextureStorage2D_adr := GetFuncAdr('glTextureStorage2D'); + public z_TextureStorage2D_ovr_0 := GetFuncOrNil&(z_TextureStorage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2D(texture: TextureName; levels: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_TextureStorage2D_ovr_0(texture, levels, _internalformat, width, height); + end; + + // added in gl4.5 + public z_TextureStorage2DMultisample_adr := GetFuncAdr('glTextureStorage2DMultisample'); + public z_TextureStorage2DMultisample_ovr_0 := GetFuncOrNil&(z_TextureStorage2DMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2DMultisample(texture: TextureName; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; fixedsamplelocations: boolean); + begin + z_TextureStorage2DMultisample_ovr_0(texture, samples, _internalformat, width, height, fixedsamplelocations); + end; + + // added in gl4.5 + public z_TextureStorage3D_adr := GetFuncAdr('glTextureStorage3D'); + public z_TextureStorage3D_ovr_0 := GetFuncOrNil&(z_TextureStorage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3D(texture: TextureName; levels: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32); + begin + z_TextureStorage3D_ovr_0(texture, levels, _internalformat, width, height, depth); + end; + + // added in gl4.5 + public z_TextureStorage3DMultisample_adr := GetFuncAdr('glTextureStorage3DMultisample'); + public z_TextureStorage3DMultisample_ovr_0 := GetFuncOrNil&(z_TextureStorage3DMultisample_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3DMultisample(texture: TextureName; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean); + begin + z_TextureStorage3DMultisample_ovr_0(texture, samples, _internalformat, width, height, depth, fixedsamplelocations); + end; + + // added in gl4.5 + public z_TextureSubImage1D_adr := GetFuncAdr('glTextureSubImage1D'); + public z_TextureSubImage1D_ovr_0 := GetFuncOrNil&(z_TextureSubImage1D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1D(texture: UInt32; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureSubImage1D_ovr_0(texture, level, xoffset, width, format, &type, pixels); + end; + + // added in gl4.5 + public z_TextureSubImage2D_adr := GetFuncAdr('glTextureSubImage2D'); + public z_TextureSubImage2D_ovr_0 := GetFuncOrNil&(z_TextureSubImage2D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2D(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureSubImage2D_ovr_0(texture, level, xoffset, yoffset, width, height, format, &type, pixels); + end; + + // added in gl4.5 + public z_TextureSubImage3D_adr := GetFuncAdr('glTextureSubImage3D'); + public z_TextureSubImage3D_ovr_0 := GetFuncOrNil&(z_TextureSubImage3D_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3D(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureSubImage3D_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); + end; + + // added in gl4.3 + public z_TextureView_adr := GetFuncAdr('glTextureView'); + public z_TextureView_ovr_0 := GetFuncOrNil&(z_TextureView_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureView(texture: TextureName; target: TextureTarget; origtexture: TextureName; _internalformat: InternalFormat; minlevel: UInt32; numlevels: UInt32; minlayer: UInt32; numlayers: UInt32); + begin + z_TextureView_ovr_0(texture, target, origtexture, _internalformat, minlevel, numlevels, minlayer, numlayers); + end; + + // added in gl4.5 + public z_TransformFeedbackBufferBase_adr := GetFuncAdr('glTransformFeedbackBufferBase'); + public z_TransformFeedbackBufferBase_ovr_0 := GetFuncOrNil&(z_TransformFeedbackBufferBase_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackBufferBase(xfb: TransformFeedbackName; index: UInt32; buffer: BufferName); + begin + z_TransformFeedbackBufferBase_ovr_0(xfb, index, buffer); + end; + + // added in gl4.5 + public z_TransformFeedbackBufferRange_adr := GetFuncAdr('glTransformFeedbackBufferRange'); + public z_TransformFeedbackBufferRange_ovr_0 := GetFuncOrNil&(z_TransformFeedbackBufferRange_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackBufferRange(xfb: TransformFeedbackName; index: UInt32; buffer: BufferName; offset: IntPtr; size: IntPtr); + begin + z_TransformFeedbackBufferRange_ovr_0(xfb, index, buffer, offset, size); + end; + + // added in gl3.0 + public z_TransformFeedbackVaryings_adr := GetFuncAdr('glTransformFeedbackVaryings'); + public z_TransformFeedbackVaryings_ovr_0 := GetFuncOrNil&(z_TransformFeedbackVaryings_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryings(&program: UInt32; count: Int32; varyings: array of string; bufferMode: TransformFeedbackBufferMode); + begin + var par_3_str_ptr := varyings.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_TransformFeedbackVaryings_ovr_0(&program, count, par_3_str_ptr[0], bufferMode); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryings(&program: UInt32; count: Int32; varyings: array of IntPtr; bufferMode: TransformFeedbackBufferMode); + begin + z_TransformFeedbackVaryings_ovr_0(&program, count, varyings[0], bufferMode); + end; + public z_TransformFeedbackVaryings_ovr_2 := GetFuncOrNil&(z_TransformFeedbackVaryings_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryings(&program: UInt32; count: Int32; varyings: IntPtr; bufferMode: TransformFeedbackBufferMode); + begin + z_TransformFeedbackVaryings_ovr_2(&program, count, varyings, bufferMode); + end; + + // added in gl4.0 + public z_Uniform1d_adr := GetFuncAdr('glUniform1d'); + public z_Uniform1d_ovr_0 := GetFuncOrNil&(z_Uniform1d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1d(location: Int32; x: real); + begin + z_Uniform1d_ovr_0(location, x); + end; + + // added in gl4.0 + public z_Uniform1dv_adr := GetFuncAdr('glUniform1dv'); + public z_Uniform1dv_ovr_0 := GetFuncOrNil&(z_Uniform1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; value: array of real); + begin + z_Uniform1dv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; var value: real); + begin + z_Uniform1dv_ovr_0(location, count, value); + end; + public z_Uniform1dv_ovr_2 := GetFuncOrNil&(z_Uniform1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1dv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1dv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform1f_adr := GetFuncAdr('glUniform1f'); + public z_Uniform1f_ovr_0 := GetFuncOrNil&(z_Uniform1f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1f(location: Int32; v0: single); + begin + z_Uniform1f_ovr_0(location, v0); + end; + + // added in gl2.0 + public z_Uniform1fv_adr := GetFuncAdr('glUniform1fv'); + public z_Uniform1fv_ovr_0 := GetFuncOrNil&(z_Uniform1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; value: array of single); + begin + z_Uniform1fv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; var value: single); + begin + z_Uniform1fv_ovr_0(location, count, value); + end; + public z_Uniform1fv_ovr_2 := GetFuncOrNil&(z_Uniform1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1fv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform1i_adr := GetFuncAdr('glUniform1i'); + public z_Uniform1i_ovr_0 := GetFuncOrNil&(z_Uniform1i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i(location: Int32; v0: Int32); + begin + z_Uniform1i_ovr_0(location, v0); + end; + + // added in gl2.0 + public z_Uniform1iv_adr := GetFuncAdr('glUniform1iv'); + public z_Uniform1iv_ovr_0 := GetFuncOrNil&(z_Uniform1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform1iv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform1iv_ovr_0(location, count, value); + end; + public z_Uniform1iv_ovr_2 := GetFuncOrNil&(z_Uniform1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1iv_ovr_2(location, count, value); + end; + + // added in gl3.0 + public z_Uniform1ui_adr := GetFuncAdr('glUniform1ui'); + public z_Uniform1ui_ovr_0 := GetFuncOrNil&(z_Uniform1ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui(location: Int32; v0: UInt32); + begin + z_Uniform1ui_ovr_0(location, v0); + end; + + // added in gl3.0 + public z_Uniform1uiv_adr := GetFuncAdr('glUniform1uiv'); + public z_Uniform1uiv_ovr_0 := GetFuncOrNil&(z_Uniform1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform1uiv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform1uiv_ovr_0(location, count, value); + end; + public z_Uniform1uiv_ovr_2 := GetFuncOrNil&(z_Uniform1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1uiv_ovr_2(location, count, value); + end; + + // added in gl4.0 + public z_Uniform2d_adr := GetFuncAdr('glUniform2d'); + public z_Uniform2d_ovr_0 := GetFuncOrNil&(z_Uniform2d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2d(location: Int32; x: real; y: real); + begin + z_Uniform2d_ovr_0(location, x, y); + end; + + // added in gl4.0 + public z_Uniform2dv_adr := GetFuncAdr('glUniform2dv'); + public z_Uniform2dv_ovr_0 := GetFuncOrNil&(z_Uniform2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; value: array of real); + begin + z_Uniform2dv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; var value: real); + begin + z_Uniform2dv_ovr_0(location, count, value); + end; + public z_Uniform2dv_ovr_2 := GetFuncOrNil&(z_Uniform2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2dv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2dv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform2f_adr := GetFuncAdr('glUniform2f'); + public z_Uniform2f_ovr_0 := GetFuncOrNil&(z_Uniform2f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2f(location: Int32; v0: single; v1: single); + begin + z_Uniform2f_ovr_0(location, v0, v1); + end; + + // added in gl2.0 + public z_Uniform2fv_adr := GetFuncAdr('glUniform2fv'); + public z_Uniform2fv_ovr_0 := GetFuncOrNil&(z_Uniform2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; value: array of single); + begin + z_Uniform2fv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; var value: single); + begin + z_Uniform2fv_ovr_0(location, count, value); + end; + public z_Uniform2fv_ovr_2 := GetFuncOrNil&(z_Uniform2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2fv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform2i_adr := GetFuncAdr('glUniform2i'); + public z_Uniform2i_ovr_0 := GetFuncOrNil&(z_Uniform2i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i(location: Int32; v0: Int32; v1: Int32); + begin + z_Uniform2i_ovr_0(location, v0, v1); + end; + + // added in gl2.0 + public z_Uniform2iv_adr := GetFuncAdr('glUniform2iv'); + public z_Uniform2iv_ovr_0 := GetFuncOrNil&(z_Uniform2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform2iv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform2iv_ovr_0(location, count, value); + end; + public z_Uniform2iv_ovr_2 := GetFuncOrNil&(z_Uniform2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2iv_ovr_2(location, count, value); + end; + + // added in gl3.0 + public z_Uniform2ui_adr := GetFuncAdr('glUniform2ui'); + public z_Uniform2ui_ovr_0 := GetFuncOrNil&(z_Uniform2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui(location: Int32; v0: UInt32; v1: UInt32); + begin + z_Uniform2ui_ovr_0(location, v0, v1); + end; + + // added in gl3.0 + public z_Uniform2uiv_adr := GetFuncAdr('glUniform2uiv'); + public z_Uniform2uiv_ovr_0 := GetFuncOrNil&(z_Uniform2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform2uiv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform2uiv_ovr_0(location, count, value); + end; + public z_Uniform2uiv_ovr_2 := GetFuncOrNil&(z_Uniform2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2uiv_ovr_2(location, count, value); + end; + + // added in gl4.0 + public z_Uniform3d_adr := GetFuncAdr('glUniform3d'); + public z_Uniform3d_ovr_0 := GetFuncOrNil&(z_Uniform3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3d(location: Int32; x: real; y: real; z: real); + begin + z_Uniform3d_ovr_0(location, x, y, z); + end; + + // added in gl4.0 + public z_Uniform3dv_adr := GetFuncAdr('glUniform3dv'); + public z_Uniform3dv_ovr_0 := GetFuncOrNil&(z_Uniform3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; value: array of real); + begin + z_Uniform3dv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; var value: real); + begin + z_Uniform3dv_ovr_0(location, count, value); + end; + public z_Uniform3dv_ovr_2 := GetFuncOrNil&(z_Uniform3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3dv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3dv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform3f_adr := GetFuncAdr('glUniform3f'); + public z_Uniform3f_ovr_0 := GetFuncOrNil&(z_Uniform3f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3f(location: Int32; v0: single; v1: single; v2: single); + begin + z_Uniform3f_ovr_0(location, v0, v1, v2); + end; + + // added in gl2.0 + public z_Uniform3fv_adr := GetFuncAdr('glUniform3fv'); + public z_Uniform3fv_ovr_0 := GetFuncOrNil&(z_Uniform3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; value: array of single); + begin + z_Uniform3fv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; var value: single); + begin + z_Uniform3fv_ovr_0(location, count, value); + end; + public z_Uniform3fv_ovr_2 := GetFuncOrNil&(z_Uniform3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3fv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform3i_adr := GetFuncAdr('glUniform3i'); + public z_Uniform3i_ovr_0 := GetFuncOrNil&(z_Uniform3i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i(location: Int32; v0: Int32; v1: Int32; v2: Int32); + begin + z_Uniform3i_ovr_0(location, v0, v1, v2); + end; + + // added in gl2.0 + public z_Uniform3iv_adr := GetFuncAdr('glUniform3iv'); + public z_Uniform3iv_ovr_0 := GetFuncOrNil&(z_Uniform3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform3iv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform3iv_ovr_0(location, count, value); + end; + public z_Uniform3iv_ovr_2 := GetFuncOrNil&(z_Uniform3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3iv_ovr_2(location, count, value); + end; + + // added in gl3.0 + public z_Uniform3ui_adr := GetFuncAdr('glUniform3ui'); + public z_Uniform3ui_ovr_0 := GetFuncOrNil&(z_Uniform3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32); + begin + z_Uniform3ui_ovr_0(location, v0, v1, v2); + end; + + // added in gl3.0 + public z_Uniform3uiv_adr := GetFuncAdr('glUniform3uiv'); + public z_Uniform3uiv_ovr_0 := GetFuncOrNil&(z_Uniform3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform3uiv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform3uiv_ovr_0(location, count, value); + end; + public z_Uniform3uiv_ovr_2 := GetFuncOrNil&(z_Uniform3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3uiv_ovr_2(location, count, value); + end; + + // added in gl4.0 + public z_Uniform4d_adr := GetFuncAdr('glUniform4d'); + public z_Uniform4d_ovr_0 := GetFuncOrNil&(z_Uniform4d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4d(location: Int32; x: real; y: real; z: real; w: real); + begin + z_Uniform4d_ovr_0(location, x, y, z, w); + end; + + // added in gl4.0 + public z_Uniform4dv_adr := GetFuncAdr('glUniform4dv'); + public z_Uniform4dv_ovr_0 := GetFuncOrNil&(z_Uniform4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; value: array of real); + begin + z_Uniform4dv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; var value: real); + begin + z_Uniform4dv_ovr_0(location, count, value); + end; + public z_Uniform4dv_ovr_2 := GetFuncOrNil&(z_Uniform4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4dv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4dv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform4f_adr := GetFuncAdr('glUniform4f'); + public z_Uniform4f_ovr_0 := GetFuncOrNil&(z_Uniform4f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4f(location: Int32; v0: single; v1: single; v2: single; v3: single); + begin + z_Uniform4f_ovr_0(location, v0, v1, v2, v3); + end; + + // added in gl2.0 + public z_Uniform4fv_adr := GetFuncAdr('glUniform4fv'); + public z_Uniform4fv_ovr_0 := GetFuncOrNil&(z_Uniform4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; value: array of single); + begin + z_Uniform4fv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; var value: single); + begin + z_Uniform4fv_ovr_0(location, count, value); + end; + public z_Uniform4fv_ovr_2 := GetFuncOrNil&(z_Uniform4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4fv_ovr_2(location, count, value); + end; + + // added in gl2.0 + public z_Uniform4i_adr := GetFuncAdr('glUniform4i'); + public z_Uniform4i_ovr_0 := GetFuncOrNil&(z_Uniform4i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i(location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32); + begin + z_Uniform4i_ovr_0(location, v0, v1, v2, v3); + end; + + // added in gl2.0 + public z_Uniform4iv_adr := GetFuncAdr('glUniform4iv'); + public z_Uniform4iv_ovr_0 := GetFuncOrNil&(z_Uniform4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform4iv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform4iv_ovr_0(location, count, value); + end; + public z_Uniform4iv_ovr_2 := GetFuncOrNil&(z_Uniform4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4iv_ovr_2(location, count, value); + end; + + // added in gl3.0 + public z_Uniform4ui_adr := GetFuncAdr('glUniform4ui'); + public z_Uniform4ui_ovr_0 := GetFuncOrNil&(z_Uniform4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32); + begin + z_Uniform4ui_ovr_0(location, v0, v1, v2, v3); + end; + + // added in gl3.0 + public z_Uniform4uiv_adr := GetFuncAdr('glUniform4uiv'); + public z_Uniform4uiv_ovr_0 := GetFuncOrNil&(z_Uniform4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform4uiv_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform4uiv_ovr_0(location, count, value); + end; + public z_Uniform4uiv_ovr_2 := GetFuncOrNil&(z_Uniform4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiv(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4uiv_ovr_2(location, count, value); + end; + + // added in gl3.1 + public z_UniformBlockBinding_adr := GetFuncAdr('glUniformBlockBinding'); + public z_UniformBlockBinding_ovr_0 := GetFuncOrNil&(z_UniformBlockBinding_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformBlockBinding(&program: ProgramName; uniformBlockIndex: UInt32; uniformBlockBinding: UInt32); + begin + z_UniformBlockBinding_ovr_0(&program, uniformBlockIndex, uniformBlockBinding); + end; + + // added in gl4.0 + public z_UniformMatrix2dv_adr := GetFuncAdr('glUniformMatrix2dv'); + public z_UniformMatrix2dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix2dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix2dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.0 + public z_UniformMatrix2fv_adr := GetFuncAdr('glUniformMatrix2fv'); + public z_UniformMatrix2fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix2fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix2fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix2x3dv_adr := GetFuncAdr('glUniformMatrix2x3dv'); + public z_UniformMatrix2x3dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix2x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix2x3dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix2x3dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2x3dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix2x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2x3dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.1 + public z_UniformMatrix2x3fv_adr := GetFuncAdr('glUniformMatrix2x3fv'); + public z_UniformMatrix2x3fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix2x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix2x3fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix2x3fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2x3fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix2x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2x3fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix2x4dv_adr := GetFuncAdr('glUniformMatrix2x4dv'); + public z_UniformMatrix2x4dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix2x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix2x4dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix2x4dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2x4dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix2x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2x4dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.1 + public z_UniformMatrix2x4fv_adr := GetFuncAdr('glUniformMatrix2x4fv'); + public z_UniformMatrix2x4fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix2x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix2x4fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix2x4fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2x4fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix2x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2x4fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix3dv_adr := GetFuncAdr('glUniformMatrix3dv'); + public z_UniformMatrix3dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix3dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix3dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.0 + public z_UniformMatrix3fv_adr := GetFuncAdr('glUniformMatrix3fv'); + public z_UniformMatrix3fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix3fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix3fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix3x2dv_adr := GetFuncAdr('glUniformMatrix3x2dv'); + public z_UniformMatrix3x2dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix3x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix3x2dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix3x2dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3x2dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix3x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3x2dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.1 + public z_UniformMatrix3x2fv_adr := GetFuncAdr('glUniformMatrix3x2fv'); + public z_UniformMatrix3x2fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix3x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix3x2fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix3x2fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3x2fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix3x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3x2fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix3x4dv_adr := GetFuncAdr('glUniformMatrix3x4dv'); + public z_UniformMatrix3x4dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix3x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix3x4dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix3x4dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3x4dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix3x4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3x4dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.1 + public z_UniformMatrix3x4fv_adr := GetFuncAdr('glUniformMatrix3x4fv'); + public z_UniformMatrix3x4fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix3x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix3x4fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix3x4fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3x4fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix3x4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3x4fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix4dv_adr := GetFuncAdr('glUniformMatrix4dv'); + public z_UniformMatrix4dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix4dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix4dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.0 + public z_UniformMatrix4fv_adr := GetFuncAdr('glUniformMatrix4fv'); + public z_UniformMatrix4fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix4fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix4fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix4x2dv_adr := GetFuncAdr('glUniformMatrix4x2dv'); + public z_UniformMatrix4x2dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix4x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix4x2dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix4x2dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4x2dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix4x2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4x2dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.1 + public z_UniformMatrix4x2fv_adr := GetFuncAdr('glUniformMatrix4x2fv'); + public z_UniformMatrix4x2fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix4x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix4x2fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix4x2fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4x2fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix4x2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4x2fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformMatrix4x3dv_adr := GetFuncAdr('glUniformMatrix4x3dv'); + public z_UniformMatrix4x3dv_ovr_0 := GetFuncOrNil&(z_UniformMatrix4x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_UniformMatrix4x3dv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_UniformMatrix4x3dv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4x3dv_ovr_2 := GetFuncOrNil&(z_UniformMatrix4x3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3dv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4x3dv_ovr_2(location, count, transpose, value); + end; + + // added in gl2.1 + public z_UniformMatrix4x3fv_adr := GetFuncAdr('glUniformMatrix4x3fv'); + public z_UniformMatrix4x3fv_ovr_0 := GetFuncOrNil&(z_UniformMatrix4x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix4x3fv_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix4x3fv_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4x3fv_ovr_2 := GetFuncOrNil&(z_UniformMatrix4x3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fv(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4x3fv_ovr_2(location, count, transpose, value); + end; + + // added in gl4.0 + public z_UniformSubroutinesuiv_adr := GetFuncAdr('glUniformSubroutinesuiv'); + public z_UniformSubroutinesuiv_ovr_0 := GetFuncOrNil&(z_UniformSubroutinesuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformSubroutinesuiv(_shadertype: ShaderType; count: Int32; indices: array of UInt32); + begin + z_UniformSubroutinesuiv_ovr_0(_shadertype, count, indices[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformSubroutinesuiv(_shadertype: ShaderType; count: Int32; var indices: UInt32); + begin + z_UniformSubroutinesuiv_ovr_0(_shadertype, count, indices); + end; + public z_UniformSubroutinesuiv_ovr_2 := GetFuncOrNil&(z_UniformSubroutinesuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformSubroutinesuiv(_shadertype: ShaderType; count: Int32; indices: IntPtr); + begin + z_UniformSubroutinesuiv_ovr_2(_shadertype, count, indices); + end; + + // added in gl1.5 + public z_UnmapBuffer_adr := GetFuncAdr('glUnmapBuffer'); + public z_UnmapBuffer_ovr_0 := GetFuncOrNil&(z_UnmapBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapBuffer(target: BufferTargetARB): boolean; + begin + Result := z_UnmapBuffer_ovr_0(target); + end; + + // added in gl4.5 + public z_UnmapNamedBuffer_adr := GetFuncAdr('glUnmapNamedBuffer'); + public z_UnmapNamedBuffer_ovr_0 := GetFuncOrNil&(z_UnmapNamedBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapNamedBuffer(buffer: BufferName): boolean; + begin + Result := z_UnmapNamedBuffer_ovr_0(buffer); + end; + + // added in gl2.0 + public z_UseProgram_adr := GetFuncAdr('glUseProgram'); + public z_UseProgram_ovr_0 := GetFuncOrNil&(z_UseProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgram(&program: ProgramName); + begin + z_UseProgram_ovr_0(&program); + end; + + // added in gl4.1 + public z_UseProgramStages_adr := GetFuncAdr('glUseProgramStages'); + public z_UseProgramStages_ovr_0 := GetFuncOrNil&(z_UseProgramStages_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgramStages(pipeline: ProgramPipelineName; stages: UseProgramStageMask; &program: ProgramName); + begin + z_UseProgramStages_ovr_0(pipeline, stages, &program); + end; + + // added in gl2.0 + public z_ValidateProgram_adr := GetFuncAdr('glValidateProgram'); + public z_ValidateProgram_ovr_0 := GetFuncOrNil&(z_ValidateProgram_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgram(&program: ProgramName); + begin + z_ValidateProgram_ovr_0(&program); + end; + + // added in gl4.1 + public z_ValidateProgramPipeline_adr := GetFuncAdr('glValidateProgramPipeline'); + public z_ValidateProgramPipeline_ovr_0 := GetFuncOrNil&(z_ValidateProgramPipeline_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgramPipeline(pipeline: ProgramPipelineName); + begin + z_ValidateProgramPipeline_ovr_0(pipeline); + end; + + // added in gl4.5 + public z_VertexArrayAttribBinding_adr := GetFuncAdr('glVertexArrayAttribBinding'); + public z_VertexArrayAttribBinding_ovr_0 := GetFuncOrNil&(z_VertexArrayAttribBinding_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribBinding(vaobj: VertexArrayName; attribindex: UInt32; bindingindex: UInt32); + begin + z_VertexArrayAttribBinding_ovr_0(vaobj, attribindex, bindingindex); + end; + + // added in gl4.5 + public z_VertexArrayAttribFormat_adr := GetFuncAdr('glVertexArrayAttribFormat'); + public z_VertexArrayAttribFormat_ovr_0 := GetFuncOrNil&(z_VertexArrayAttribFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribFormat(vaobj: VertexArrayName; attribindex: UInt32; size: Int32; &type: VertexAttribType; normalized: boolean; relativeoffset: UInt32); + begin + z_VertexArrayAttribFormat_ovr_0(vaobj, attribindex, size, &type, normalized, relativeoffset); + end; + + // added in gl4.5 + public z_VertexArrayAttribIFormat_adr := GetFuncAdr('glVertexArrayAttribIFormat'); + public z_VertexArrayAttribIFormat_ovr_0 := GetFuncOrNil&(z_VertexArrayAttribIFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribIFormat(vaobj: VertexArrayName; attribindex: UInt32; size: Int32; &type: VertexAttribIType; relativeoffset: UInt32); + begin + z_VertexArrayAttribIFormat_ovr_0(vaobj, attribindex, size, &type, relativeoffset); + end; + + // added in gl4.5 + public z_VertexArrayAttribLFormat_adr := GetFuncAdr('glVertexArrayAttribLFormat'); + public z_VertexArrayAttribLFormat_ovr_0 := GetFuncOrNil&(z_VertexArrayAttribLFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayAttribLFormat(vaobj: VertexArrayName; attribindex: UInt32; size: Int32; &type: VertexAttribLType; relativeoffset: UInt32); + begin + z_VertexArrayAttribLFormat_ovr_0(vaobj, attribindex, size, &type, relativeoffset); + end; + + // added in gl4.5 + public z_VertexArrayBindingDivisor_adr := GetFuncAdr('glVertexArrayBindingDivisor'); + public z_VertexArrayBindingDivisor_ovr_0 := GetFuncOrNil&(z_VertexArrayBindingDivisor_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayBindingDivisor(vaobj: VertexArrayName; bindingindex: UInt32; divisor: UInt32); + begin + z_VertexArrayBindingDivisor_ovr_0(vaobj, bindingindex, divisor); + end; + + // added in gl4.5 + public z_VertexArrayElementBuffer_adr := GetFuncAdr('glVertexArrayElementBuffer'); + public z_VertexArrayElementBuffer_ovr_0 := GetFuncOrNil&(z_VertexArrayElementBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayElementBuffer(vaobj: VertexArrayName; buffer: BufferName); + begin + z_VertexArrayElementBuffer_ovr_0(vaobj, buffer); + end; + + // added in gl4.5 + public z_VertexArrayVertexBuffer_adr := GetFuncAdr('glVertexArrayVertexBuffer'); + public z_VertexArrayVertexBuffer_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexBuffer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffer(vaobj: VertexArrayName; bindingindex: UInt32; buffer: BufferName; offset: IntPtr; stride: Int32); + begin + z_VertexArrayVertexBuffer_ovr_0(vaobj, bindingindex, buffer, offset, stride); + end; + + // added in gl4.5 + public z_VertexArrayVertexBuffers_adr := GetFuncAdr('glVertexArrayVertexBuffers'); + public z_VertexArrayVertexBuffers_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers[0], offsets[0], strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers[0], offsets[0], strides); + end; + public z_VertexArrayVertexBuffers_ovr_2 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; offsets: array of IntPtr; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_2(vaobj, first, count, buffers[0], offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers[0], offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers[0], offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; var offsets: IntPtr; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_2(vaobj, first, count, buffers[0], offsets, strides); + end; + public z_VertexArrayVertexBuffers_ovr_6 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_6(vaobj, first, count, buffers[0], offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_6(vaobj, first, count, buffers[0], offsets, strides); + end; + public z_VertexArrayVertexBuffers_ovr_8 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: array of UInt32; offsets: pointer; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_8(vaobj, first, count, buffers[0], offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers, offsets[0], strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers, offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; offsets: array of IntPtr; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_2(vaobj, first, count, buffers, offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_0(vaobj, first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; var offsets: IntPtr; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_2(vaobj, first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_6(vaobj, first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_6(vaobj, first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; var buffers: UInt32; offsets: pointer; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_8(vaobj, first, count, buffers, offsets, strides); + end; + public z_VertexArrayVertexBuffers_ovr_18 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_18(vaobj, first, count, buffers, offsets[0], strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_18(vaobj, first, count, buffers, offsets[0], strides); + end; + public z_VertexArrayVertexBuffers_ovr_20 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; offsets: array of IntPtr; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_20(vaobj, first, count, buffers, offsets[0], strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_18(vaobj, first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_18(vaobj, first, count, buffers, offsets, strides); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; var offsets: IntPtr; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_20(vaobj, first, count, buffers, offsets, strides); + end; + public z_VertexArrayVertexBuffers_ovr_24 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; strides: array of Int32); + begin + z_VertexArrayVertexBuffers_ovr_24(vaobj, first, count, buffers, offsets, strides[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; var strides: Int32); + begin + z_VertexArrayVertexBuffers_ovr_24(vaobj, first, count, buffers, offsets, strides); + end; + public z_VertexArrayVertexBuffers_ovr_26 := GetFuncOrNil&(z_VertexArrayVertexBuffers_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBuffers(vaobj: UInt32; first: UInt32; count: Int32; buffers: IntPtr; offsets: pointer; strides: IntPtr); + begin + z_VertexArrayVertexBuffers_ovr_26(vaobj, first, count, buffers, offsets, strides); + end; + + // added in gl2.0 + public z_VertexAttrib1d_adr := GetFuncAdr('glVertexAttrib1d'); + public z_VertexAttrib1d_ovr_0 := GetFuncOrNil&(z_VertexAttrib1d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1d(index: UInt32; x: real); + begin + z_VertexAttrib1d_ovr_0(index, x); + end; + + // added in gl2.0 + public z_VertexAttrib1dv_adr := GetFuncAdr('glVertexAttrib1dv'); + public z_VertexAttrib1dv_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; v: array of real); + begin + z_VertexAttrib1dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; var v: real); + begin + z_VertexAttrib1dv_ovr_0(index, v); + end; + public z_VertexAttrib1dv_ovr_2 := GetFuncOrNil&(z_VertexAttrib1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1dv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib1f_adr := GetFuncAdr('glVertexAttrib1f'); + public z_VertexAttrib1f_ovr_0 := GetFuncOrNil&(z_VertexAttrib1f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1f(index: UInt32; x: single); + begin + z_VertexAttrib1f_ovr_0(index, x); + end; + + // added in gl2.0 + public z_VertexAttrib1fv_adr := GetFuncAdr('glVertexAttrib1fv'); + public z_VertexAttrib1fv_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; v: array of single); + begin + z_VertexAttrib1fv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; var v: single); + begin + z_VertexAttrib1fv_ovr_0(index, v); + end; + public z_VertexAttrib1fv_ovr_2 := GetFuncOrNil&(z_VertexAttrib1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1fv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib1s_adr := GetFuncAdr('glVertexAttrib1s'); + public z_VertexAttrib1s_ovr_0 := GetFuncOrNil&(z_VertexAttrib1s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1s(index: UInt32; x: Int16); + begin + z_VertexAttrib1s_ovr_0(index, x); + end; + + // added in gl2.0 + public z_VertexAttrib1sv_adr := GetFuncAdr('glVertexAttrib1sv'); + public z_VertexAttrib1sv_ovr_0 := GetFuncOrNil&(z_VertexAttrib1sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; v: array of Int16); + begin + z_VertexAttrib1sv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; var v: Int16); + begin + z_VertexAttrib1sv_ovr_0(index, v); + end; + public z_VertexAttrib1sv_ovr_2 := GetFuncOrNil&(z_VertexAttrib1sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1sv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib2d_adr := GetFuncAdr('glVertexAttrib2d'); + public z_VertexAttrib2d_ovr_0 := GetFuncOrNil&(z_VertexAttrib2d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2d(index: UInt32; x: real; y: real); + begin + z_VertexAttrib2d_ovr_0(index, x, y); + end; + + // added in gl2.0 + public z_VertexAttrib2dv_adr := GetFuncAdr('glVertexAttrib2dv'); + public z_VertexAttrib2dv_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; v: array of real); + begin + z_VertexAttrib2dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; var v: real); + begin + z_VertexAttrib2dv_ovr_0(index, v); + end; + public z_VertexAttrib2dv_ovr_2 := GetFuncOrNil&(z_VertexAttrib2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2dv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib2f_adr := GetFuncAdr('glVertexAttrib2f'); + public z_VertexAttrib2f_ovr_0 := GetFuncOrNil&(z_VertexAttrib2f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2f(index: UInt32; x: single; y: single); + begin + z_VertexAttrib2f_ovr_0(index, x, y); + end; + + // added in gl2.0 + public z_VertexAttrib2fv_adr := GetFuncAdr('glVertexAttrib2fv'); + public z_VertexAttrib2fv_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; v: array of single); + begin + z_VertexAttrib2fv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; var v: single); + begin + z_VertexAttrib2fv_ovr_0(index, v); + end; + public z_VertexAttrib2fv_ovr_2 := GetFuncOrNil&(z_VertexAttrib2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2fv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib2s_adr := GetFuncAdr('glVertexAttrib2s'); + public z_VertexAttrib2s_ovr_0 := GetFuncOrNil&(z_VertexAttrib2s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2s(index: UInt32; x: Int16; y: Int16); + begin + z_VertexAttrib2s_ovr_0(index, x, y); + end; + + // added in gl2.0 + public z_VertexAttrib2sv_adr := GetFuncAdr('glVertexAttrib2sv'); + public z_VertexAttrib2sv_ovr_0 := GetFuncOrNil&(z_VertexAttrib2sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; v: array of Int16); + begin + z_VertexAttrib2sv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; var v: Int16); + begin + z_VertexAttrib2sv_ovr_0(index, v); + end; + public z_VertexAttrib2sv_ovr_2 := GetFuncOrNil&(z_VertexAttrib2sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2sv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib3d_adr := GetFuncAdr('glVertexAttrib3d'); + public z_VertexAttrib3d_ovr_0 := GetFuncOrNil&(z_VertexAttrib3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3d(index: UInt32; x: real; y: real; z: real); + begin + z_VertexAttrib3d_ovr_0(index, x, y, z); + end; + + // added in gl2.0 + public z_VertexAttrib3dv_adr := GetFuncAdr('glVertexAttrib3dv'); + public z_VertexAttrib3dv_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; v: array of real); + begin + z_VertexAttrib3dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; var v: real); + begin + z_VertexAttrib3dv_ovr_0(index, v); + end; + public z_VertexAttrib3dv_ovr_2 := GetFuncOrNil&(z_VertexAttrib3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3dv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib3f_adr := GetFuncAdr('glVertexAttrib3f'); + public z_VertexAttrib3f_ovr_0 := GetFuncOrNil&(z_VertexAttrib3f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3f(index: UInt32; x: single; y: single; z: single); + begin + z_VertexAttrib3f_ovr_0(index, x, y, z); + end; + + // added in gl2.0 + public z_VertexAttrib3fv_adr := GetFuncAdr('glVertexAttrib3fv'); + public z_VertexAttrib3fv_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; v: array of single); + begin + z_VertexAttrib3fv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; var v: single); + begin + z_VertexAttrib3fv_ovr_0(index, v); + end; + public z_VertexAttrib3fv_ovr_2 := GetFuncOrNil&(z_VertexAttrib3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3fv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib3s_adr := GetFuncAdr('glVertexAttrib3s'); + public z_VertexAttrib3s_ovr_0 := GetFuncOrNil&(z_VertexAttrib3s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3s(index: UInt32; x: Int16; y: Int16; z: Int16); + begin + z_VertexAttrib3s_ovr_0(index, x, y, z); + end; + + // added in gl2.0 + public z_VertexAttrib3sv_adr := GetFuncAdr('glVertexAttrib3sv'); + public z_VertexAttrib3sv_ovr_0 := GetFuncOrNil&(z_VertexAttrib3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; v: array of Int16); + begin + z_VertexAttrib3sv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; var v: Int16); + begin + z_VertexAttrib3sv_ovr_0(index, v); + end; + public z_VertexAttrib3sv_ovr_2 := GetFuncOrNil&(z_VertexAttrib3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3sv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4bv_adr := GetFuncAdr('glVertexAttrib4bv'); + public z_VertexAttrib4bv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4bv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; v: array of SByte); + begin + z_VertexAttrib4bv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; var v: SByte); + begin + z_VertexAttrib4bv_ovr_0(index, v); + end; + public z_VertexAttrib4bv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4bv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4bv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4d_adr := GetFuncAdr('glVertexAttrib4d'); + public z_VertexAttrib4d_ovr_0 := GetFuncOrNil&(z_VertexAttrib4d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4d(index: UInt32; x: real; y: real; z: real; w: real); + begin + z_VertexAttrib4d_ovr_0(index, x, y, z, w); + end; + + // added in gl2.0 + public z_VertexAttrib4dv_adr := GetFuncAdr('glVertexAttrib4dv'); + public z_VertexAttrib4dv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; v: array of real); + begin + z_VertexAttrib4dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; var v: real); + begin + z_VertexAttrib4dv_ovr_0(index, v); + end; + public z_VertexAttrib4dv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4dv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4f_adr := GetFuncAdr('glVertexAttrib4f'); + public z_VertexAttrib4f_ovr_0 := GetFuncOrNil&(z_VertexAttrib4f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4f(index: UInt32; x: single; y: single; z: single; w: single); + begin + z_VertexAttrib4f_ovr_0(index, x, y, z, w); + end; + + // added in gl2.0 + public z_VertexAttrib4fv_adr := GetFuncAdr('glVertexAttrib4fv'); + public z_VertexAttrib4fv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; v: array of single); + begin + z_VertexAttrib4fv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; var v: single); + begin + z_VertexAttrib4fv_ovr_0(index, v); + end; + public z_VertexAttrib4fv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4fv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4iv_adr := GetFuncAdr('glVertexAttrib4iv'); + public z_VertexAttrib4iv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; v: array of Int32); + begin + z_VertexAttrib4iv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; var v: Int32); + begin + z_VertexAttrib4iv_ovr_0(index, v); + end; + public z_VertexAttrib4iv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4iv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4iv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4Nbv_adr := GetFuncAdr('glVertexAttrib4Nbv'); + public z_VertexAttrib4Nbv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Nbv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; v: array of SByte); + begin + z_VertexAttrib4Nbv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; var v: SByte); + begin + z_VertexAttrib4Nbv_ovr_0(index, v); + end; + public z_VertexAttrib4Nbv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4Nbv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nbv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4Nbv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4Niv_adr := GetFuncAdr('glVertexAttrib4Niv'); + public z_VertexAttrib4Niv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Niv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; v: array of Int32); + begin + z_VertexAttrib4Niv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; var v: Int32); + begin + z_VertexAttrib4Niv_ovr_0(index, v); + end; + public z_VertexAttrib4Niv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4Niv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Niv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4Niv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4Nsv_adr := GetFuncAdr('glVertexAttrib4Nsv'); + public z_VertexAttrib4Nsv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Nsv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4Nsv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; var v: Int16); + begin + z_VertexAttrib4Nsv_ovr_0(index, v); + end; + public z_VertexAttrib4Nsv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4Nsv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nsv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4Nsv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4Nub_adr := GetFuncAdr('glVertexAttrib4Nub'); + public z_VertexAttrib4Nub_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Nub_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nub(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte); + begin + z_VertexAttrib4Nub_ovr_0(index, x, y, z, w); + end; + + // added in gl2.0 + public z_VertexAttrib4Nubv_adr := GetFuncAdr('glVertexAttrib4Nubv'); + public z_VertexAttrib4Nubv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Nubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4Nubv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; var v: Byte); + begin + z_VertexAttrib4Nubv_ovr_0(index, v); + end; + public z_VertexAttrib4Nubv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4Nubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nubv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4Nubv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4Nuiv_adr := GetFuncAdr('glVertexAttrib4Nuiv'); + public z_VertexAttrib4Nuiv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Nuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; v: array of UInt32); + begin + z_VertexAttrib4Nuiv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; var v: UInt32); + begin + z_VertexAttrib4Nuiv_ovr_0(index, v); + end; + public z_VertexAttrib4Nuiv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4Nuiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nuiv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4Nuiv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4Nusv_adr := GetFuncAdr('glVertexAttrib4Nusv'); + public z_VertexAttrib4Nusv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4Nusv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; v: array of UInt16); + begin + z_VertexAttrib4Nusv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; var v: UInt16); + begin + z_VertexAttrib4Nusv_ovr_0(index, v); + end; + public z_VertexAttrib4Nusv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4Nusv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4Nusv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4Nusv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4s_adr := GetFuncAdr('glVertexAttrib4s'); + public z_VertexAttrib4s_ovr_0 := GetFuncOrNil&(z_VertexAttrib4s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4s(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16); + begin + z_VertexAttrib4s_ovr_0(index, x, y, z, w); + end; + + // added in gl2.0 + public z_VertexAttrib4sv_adr := GetFuncAdr('glVertexAttrib4sv'); + public z_VertexAttrib4sv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4sv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; var v: Int16); + begin + z_VertexAttrib4sv_ovr_0(index, v); + end; + public z_VertexAttrib4sv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4sv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4ubv_adr := GetFuncAdr('glVertexAttrib4ubv'); + public z_VertexAttrib4ubv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4ubv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; var v: Byte); + begin + z_VertexAttrib4ubv_ovr_0(index, v); + end; + public z_VertexAttrib4ubv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4ubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4ubv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4uiv_adr := GetFuncAdr('glVertexAttrib4uiv'); + public z_VertexAttrib4uiv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; v: array of UInt32); + begin + z_VertexAttrib4uiv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; var v: UInt32); + begin + z_VertexAttrib4uiv_ovr_0(index, v); + end; + public z_VertexAttrib4uiv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uiv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4uiv_ovr_2(index, v); + end; + + // added in gl2.0 + public z_VertexAttrib4usv_adr := GetFuncAdr('glVertexAttrib4usv'); + public z_VertexAttrib4usv_ovr_0 := GetFuncOrNil&(z_VertexAttrib4usv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; v: array of UInt16); + begin + z_VertexAttrib4usv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; var v: UInt16); + begin + z_VertexAttrib4usv_ovr_0(index, v); + end; + public z_VertexAttrib4usv_ovr_2 := GetFuncOrNil&(z_VertexAttrib4usv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usv(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4usv_ovr_2(index, v); + end; + + // added in gl4.3 + public z_VertexAttribBinding_adr := GetFuncAdr('glVertexAttribBinding'); + public z_VertexAttribBinding_ovr_0 := GetFuncOrNil&(z_VertexAttribBinding_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribBinding(attribindex: UInt32; bindingindex: UInt32); + begin + z_VertexAttribBinding_ovr_0(attribindex, bindingindex); + end; + + // added in gl3.3 + public z_VertexAttribDivisor_adr := GetFuncAdr('glVertexAttribDivisor'); + public z_VertexAttribDivisor_ovr_0 := GetFuncOrNil&(z_VertexAttribDivisor_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisor(index: UInt32; divisor: UInt32); + begin + z_VertexAttribDivisor_ovr_0(index, divisor); + end; + + // added in gl4.3 + public z_VertexAttribFormat_adr := GetFuncAdr('glVertexAttribFormat'); + public z_VertexAttribFormat_ovr_0 := GetFuncOrNil&(z_VertexAttribFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribFormat(attribindex: UInt32; size: Int32; &type: VertexAttribType; normalized: boolean; relativeoffset: UInt32); + begin + z_VertexAttribFormat_ovr_0(attribindex, size, &type, normalized, relativeoffset); + end; + + // added in gl3.0 + public z_VertexAttribI1i_adr := GetFuncAdr('glVertexAttribI1i'); + public z_VertexAttribI1i_ovr_0 := GetFuncOrNil&(z_VertexAttribI1i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1i(index: UInt32; x: Int32); + begin + z_VertexAttribI1i_ovr_0(index, x); + end; + + // added in gl3.0 + public z_VertexAttribI1iv_adr := GetFuncAdr('glVertexAttribI1iv'); + public z_VertexAttribI1iv_ovr_0 := GetFuncOrNil&(z_VertexAttribI1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; v: array of Int32); + begin + z_VertexAttribI1iv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; var v: Int32); + begin + z_VertexAttribI1iv_ovr_0(index, v); + end; + public z_VertexAttribI1iv_ovr_2 := GetFuncOrNil&(z_VertexAttribI1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI1iv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI1ui_adr := GetFuncAdr('glVertexAttribI1ui'); + public z_VertexAttribI1ui_ovr_0 := GetFuncOrNil&(z_VertexAttribI1ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1ui(index: UInt32; x: UInt32); + begin + z_VertexAttribI1ui_ovr_0(index, x); + end; + + // added in gl3.0 + public z_VertexAttribI1uiv_adr := GetFuncAdr('glVertexAttribI1uiv'); + public z_VertexAttribI1uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribI1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; v: array of UInt32); + begin + z_VertexAttribI1uiv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; var v: UInt32); + begin + z_VertexAttribI1uiv_ovr_0(index, v); + end; + public z_VertexAttribI1uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribI1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI1uiv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI2i_adr := GetFuncAdr('glVertexAttribI2i'); + public z_VertexAttribI2i_ovr_0 := GetFuncOrNil&(z_VertexAttribI2i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2i(index: UInt32; x: Int32; y: Int32); + begin + z_VertexAttribI2i_ovr_0(index, x, y); + end; + + // added in gl3.0 + public z_VertexAttribI2iv_adr := GetFuncAdr('glVertexAttribI2iv'); + public z_VertexAttribI2iv_ovr_0 := GetFuncOrNil&(z_VertexAttribI2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; v: array of Int32); + begin + z_VertexAttribI2iv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; var v: Int32); + begin + z_VertexAttribI2iv_ovr_0(index, v); + end; + public z_VertexAttribI2iv_ovr_2 := GetFuncOrNil&(z_VertexAttribI2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI2iv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI2ui_adr := GetFuncAdr('glVertexAttribI2ui'); + public z_VertexAttribI2ui_ovr_0 := GetFuncOrNil&(z_VertexAttribI2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2ui(index: UInt32; x: UInt32; y: UInt32); + begin + z_VertexAttribI2ui_ovr_0(index, x, y); + end; + + // added in gl3.0 + public z_VertexAttribI2uiv_adr := GetFuncAdr('glVertexAttribI2uiv'); + public z_VertexAttribI2uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribI2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; v: array of UInt32); + begin + z_VertexAttribI2uiv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; var v: UInt32); + begin + z_VertexAttribI2uiv_ovr_0(index, v); + end; + public z_VertexAttribI2uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribI2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI2uiv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI3i_adr := GetFuncAdr('glVertexAttribI3i'); + public z_VertexAttribI3i_ovr_0 := GetFuncOrNil&(z_VertexAttribI3i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3i(index: UInt32; x: Int32; y: Int32; z: Int32); + begin + z_VertexAttribI3i_ovr_0(index, x, y, z); + end; + + // added in gl3.0 + public z_VertexAttribI3iv_adr := GetFuncAdr('glVertexAttribI3iv'); + public z_VertexAttribI3iv_ovr_0 := GetFuncOrNil&(z_VertexAttribI3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; v: array of Int32); + begin + z_VertexAttribI3iv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; var v: Int32); + begin + z_VertexAttribI3iv_ovr_0(index, v); + end; + public z_VertexAttribI3iv_ovr_2 := GetFuncOrNil&(z_VertexAttribI3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI3iv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI3ui_adr := GetFuncAdr('glVertexAttribI3ui'); + public z_VertexAttribI3ui_ovr_0 := GetFuncOrNil&(z_VertexAttribI3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3ui(index: UInt32; x: UInt32; y: UInt32; z: UInt32); + begin + z_VertexAttribI3ui_ovr_0(index, x, y, z); + end; + + // added in gl3.0 + public z_VertexAttribI3uiv_adr := GetFuncAdr('glVertexAttribI3uiv'); + public z_VertexAttribI3uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribI3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; v: array of UInt32); + begin + z_VertexAttribI3uiv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; var v: UInt32); + begin + z_VertexAttribI3uiv_ovr_0(index, v); + end; + public z_VertexAttribI3uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribI3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI3uiv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI4bv_adr := GetFuncAdr('glVertexAttribI4bv'); + public z_VertexAttribI4bv_ovr_0 := GetFuncOrNil&(z_VertexAttribI4bv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; v: array of SByte); + begin + z_VertexAttribI4bv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; var v: SByte); + begin + z_VertexAttribI4bv_ovr_0(index, v); + end; + public z_VertexAttribI4bv_ovr_2 := GetFuncOrNil&(z_VertexAttribI4bv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI4bv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI4i_adr := GetFuncAdr('glVertexAttribI4i'); + public z_VertexAttribI4i_ovr_0 := GetFuncOrNil&(z_VertexAttribI4i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4i(index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32); + begin + z_VertexAttribI4i_ovr_0(index, x, y, z, w); + end; + + // added in gl3.0 + public z_VertexAttribI4iv_adr := GetFuncAdr('glVertexAttribI4iv'); + public z_VertexAttribI4iv_ovr_0 := GetFuncOrNil&(z_VertexAttribI4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; v: array of Int32); + begin + z_VertexAttribI4iv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; var v: Int32); + begin + z_VertexAttribI4iv_ovr_0(index, v); + end; + public z_VertexAttribI4iv_ovr_2 := GetFuncOrNil&(z_VertexAttribI4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI4iv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI4sv_adr := GetFuncAdr('glVertexAttribI4sv'); + public z_VertexAttribI4sv_ovr_0 := GetFuncOrNil&(z_VertexAttribI4sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; v: array of Int16); + begin + z_VertexAttribI4sv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; var v: Int16); + begin + z_VertexAttribI4sv_ovr_0(index, v); + end; + public z_VertexAttribI4sv_ovr_2 := GetFuncOrNil&(z_VertexAttribI4sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4sv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI4sv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI4ubv_adr := GetFuncAdr('glVertexAttribI4ubv'); + public z_VertexAttribI4ubv_ovr_0 := GetFuncOrNil&(z_VertexAttribI4ubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; v: array of Byte); + begin + z_VertexAttribI4ubv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; var v: Byte); + begin + z_VertexAttribI4ubv_ovr_0(index, v); + end; + public z_VertexAttribI4ubv_ovr_2 := GetFuncOrNil&(z_VertexAttribI4ubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI4ubv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI4ui_adr := GetFuncAdr('glVertexAttribI4ui'); + public z_VertexAttribI4ui_ovr_0 := GetFuncOrNil&(z_VertexAttribI4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ui(index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32); + begin + z_VertexAttribI4ui_ovr_0(index, x, y, z, w); + end; + + // added in gl3.0 + public z_VertexAttribI4uiv_adr := GetFuncAdr('glVertexAttribI4uiv'); + public z_VertexAttribI4uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribI4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; v: array of UInt32); + begin + z_VertexAttribI4uiv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; var v: UInt32); + begin + z_VertexAttribI4uiv_ovr_0(index, v); + end; + public z_VertexAttribI4uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribI4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI4uiv_ovr_2(index, v); + end; + + // added in gl3.0 + public z_VertexAttribI4usv_adr := GetFuncAdr('glVertexAttribI4usv'); + public z_VertexAttribI4usv_ovr_0 := GetFuncOrNil&(z_VertexAttribI4usv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; v: array of UInt16); + begin + z_VertexAttribI4usv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; var v: UInt16); + begin + z_VertexAttribI4usv_ovr_0(index, v); + end; + public z_VertexAttribI4usv_ovr_2 := GetFuncOrNil&(z_VertexAttribI4usv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usv(index: UInt32; v: IntPtr); + begin + z_VertexAttribI4usv_ovr_2(index, v); + end; + + // added in gl4.3 + public z_VertexAttribIFormat_adr := GetFuncAdr('glVertexAttribIFormat'); + public z_VertexAttribIFormat_ovr_0 := GetFuncOrNil&(z_VertexAttribIFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIFormat(attribindex: UInt32; size: Int32; &type: VertexAttribIType; relativeoffset: UInt32); + begin + z_VertexAttribIFormat_ovr_0(attribindex, size, &type, relativeoffset); + end; + + // added in gl3.0 + public z_VertexAttribIPointer_adr := GetFuncAdr('glVertexAttribIPointer'); + public z_VertexAttribIPointer_ovr_0 := GetFuncOrNil&(z_VertexAttribIPointer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIPointer(index: UInt32; size: Int32; &type: VertexAttribPointerType; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribIPointer_ovr_0(index, size, &type, stride, pointer); + end; + + // added in gl4.1 + public z_VertexAttribL1d_adr := GetFuncAdr('glVertexAttribL1d'); + public z_VertexAttribL1d_ovr_0 := GetFuncOrNil&(z_VertexAttribL1d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1d(index: UInt32; x: real); + begin + z_VertexAttribL1d_ovr_0(index, x); + end; + + // added in gl4.1 + public z_VertexAttribL1dv_adr := GetFuncAdr('glVertexAttribL1dv'); + public z_VertexAttribL1dv_ovr_0 := GetFuncOrNil&(z_VertexAttribL1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; v: array of real); + begin + z_VertexAttribL1dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; var v: real); + begin + z_VertexAttribL1dv_ovr_0(index, v); + end; + public z_VertexAttribL1dv_ovr_2 := GetFuncOrNil&(z_VertexAttribL1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dv(index: UInt32; v: IntPtr); + begin + z_VertexAttribL1dv_ovr_2(index, v); + end; + + // added in gl4.1 + public z_VertexAttribL2d_adr := GetFuncAdr('glVertexAttribL2d'); + public z_VertexAttribL2d_ovr_0 := GetFuncOrNil&(z_VertexAttribL2d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2d(index: UInt32; x: real; y: real); + begin + z_VertexAttribL2d_ovr_0(index, x, y); + end; + + // added in gl4.1 + public z_VertexAttribL2dv_adr := GetFuncAdr('glVertexAttribL2dv'); + public z_VertexAttribL2dv_ovr_0 := GetFuncOrNil&(z_VertexAttribL2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; v: array of real); + begin + z_VertexAttribL2dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; var v: real); + begin + z_VertexAttribL2dv_ovr_0(index, v); + end; + public z_VertexAttribL2dv_ovr_2 := GetFuncOrNil&(z_VertexAttribL2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dv(index: UInt32; v: IntPtr); + begin + z_VertexAttribL2dv_ovr_2(index, v); + end; + + // added in gl4.1 + public z_VertexAttribL3d_adr := GetFuncAdr('glVertexAttribL3d'); + public z_VertexAttribL3d_ovr_0 := GetFuncOrNil&(z_VertexAttribL3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3d(index: UInt32; x: real; y: real; z: real); + begin + z_VertexAttribL3d_ovr_0(index, x, y, z); + end; + + // added in gl4.1 + public z_VertexAttribL3dv_adr := GetFuncAdr('glVertexAttribL3dv'); + public z_VertexAttribL3dv_ovr_0 := GetFuncOrNil&(z_VertexAttribL3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; v: array of real); + begin + z_VertexAttribL3dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; var v: real); + begin + z_VertexAttribL3dv_ovr_0(index, v); + end; + public z_VertexAttribL3dv_ovr_2 := GetFuncOrNil&(z_VertexAttribL3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dv(index: UInt32; v: IntPtr); + begin + z_VertexAttribL3dv_ovr_2(index, v); + end; + + // added in gl4.1 + public z_VertexAttribL4d_adr := GetFuncAdr('glVertexAttribL4d'); + public z_VertexAttribL4d_ovr_0 := GetFuncOrNil&(z_VertexAttribL4d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4d(index: UInt32; x: real; y: real; z: real; w: real); + begin + z_VertexAttribL4d_ovr_0(index, x, y, z, w); + end; + + // added in gl4.1 + public z_VertexAttribL4dv_adr := GetFuncAdr('glVertexAttribL4dv'); + public z_VertexAttribL4dv_ovr_0 := GetFuncOrNil&(z_VertexAttribL4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; v: array of real); + begin + z_VertexAttribL4dv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; var v: real); + begin + z_VertexAttribL4dv_ovr_0(index, v); + end; + public z_VertexAttribL4dv_ovr_2 := GetFuncOrNil&(z_VertexAttribL4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dv(index: UInt32; v: IntPtr); + begin + z_VertexAttribL4dv_ovr_2(index, v); + end; + + // added in gl4.3 + public z_VertexAttribLFormat_adr := GetFuncAdr('glVertexAttribLFormat'); + public z_VertexAttribLFormat_ovr_0 := GetFuncOrNil&(z_VertexAttribLFormat_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLFormat(attribindex: UInt32; size: Int32; &type: VertexAttribLType; relativeoffset: UInt32); + begin + z_VertexAttribLFormat_ovr_0(attribindex, size, &type, relativeoffset); + end; + + // added in gl4.1 + public z_VertexAttribLPointer_adr := GetFuncAdr('glVertexAttribLPointer'); + public z_VertexAttribLPointer_ovr_0 := GetFuncOrNil&(z_VertexAttribLPointer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointer(index: UInt32; size: Int32; &type: VertexAttribPointerType; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribLPointer_ovr_0(index, size, &type, stride, pointer); + end; + + // added in gl3.3 + public z_VertexAttribP1ui_adr := GetFuncAdr('glVertexAttribP1ui'); + public z_VertexAttribP1ui_ovr_0 := GetFuncOrNil&(z_VertexAttribP1ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1ui(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: UInt32); + begin + z_VertexAttribP1ui_ovr_0(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP1uiv_adr := GetFuncAdr('glVertexAttribP1uiv'); + public z_VertexAttribP1uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribP1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: array of UInt32); + begin + z_VertexAttribP1uiv_ovr_0(index, &type, normalized, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; var value: UInt32); + begin + z_VertexAttribP1uiv_ovr_0(index, &type, normalized, value); + end; + public z_VertexAttribP1uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribP1uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP1uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: IntPtr); + begin + z_VertexAttribP1uiv_ovr_2(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP2ui_adr := GetFuncAdr('glVertexAttribP2ui'); + public z_VertexAttribP2ui_ovr_0 := GetFuncOrNil&(z_VertexAttribP2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2ui(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: UInt32); + begin + z_VertexAttribP2ui_ovr_0(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP2uiv_adr := GetFuncAdr('glVertexAttribP2uiv'); + public z_VertexAttribP2uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: array of UInt32); + begin + z_VertexAttribP2uiv_ovr_0(index, &type, normalized, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; var value: UInt32); + begin + z_VertexAttribP2uiv_ovr_0(index, &type, normalized, value); + end; + public z_VertexAttribP2uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP2uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: IntPtr); + begin + z_VertexAttribP2uiv_ovr_2(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP3ui_adr := GetFuncAdr('glVertexAttribP3ui'); + public z_VertexAttribP3ui_ovr_0 := GetFuncOrNil&(z_VertexAttribP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3ui(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: UInt32); + begin + z_VertexAttribP3ui_ovr_0(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP3uiv_adr := GetFuncAdr('glVertexAttribP3uiv'); + public z_VertexAttribP3uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: array of UInt32); + begin + z_VertexAttribP3uiv_ovr_0(index, &type, normalized, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; var value: UInt32); + begin + z_VertexAttribP3uiv_ovr_0(index, &type, normalized, value); + end; + public z_VertexAttribP3uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP3uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: IntPtr); + begin + z_VertexAttribP3uiv_ovr_2(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP4ui_adr := GetFuncAdr('glVertexAttribP4ui'); + public z_VertexAttribP4ui_ovr_0 := GetFuncOrNil&(z_VertexAttribP4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4ui(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: UInt32); + begin + z_VertexAttribP4ui_ovr_0(index, &type, normalized, value); + end; + + // added in gl3.3 + public z_VertexAttribP4uiv_adr := GetFuncAdr('glVertexAttribP4uiv'); + public z_VertexAttribP4uiv_ovr_0 := GetFuncOrNil&(z_VertexAttribP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: array of UInt32); + begin + z_VertexAttribP4uiv_ovr_0(index, &type, normalized, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; var value: UInt32); + begin + z_VertexAttribP4uiv_ovr_0(index, &type, normalized, value); + end; + public z_VertexAttribP4uiv_ovr_2 := GetFuncOrNil&(z_VertexAttribP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribP4uiv(index: UInt32; &type: VertexAttribPointerType; normalized: boolean; value: IntPtr); + begin + z_VertexAttribP4uiv_ovr_2(index, &type, normalized, value); + end; + + // added in gl2.0 + public z_VertexAttribPointer_adr := GetFuncAdr('glVertexAttribPointer'); + public z_VertexAttribPointer_ovr_0 := GetFuncOrNil&(z_VertexAttribPointer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointer(index: UInt32; size: Int32; &type: VertexAttribPointerType; normalized: boolean; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribPointer_ovr_0(index, size, &type, normalized, stride, pointer); + end; + + // added in gl4.3 + public z_VertexBindingDivisor_adr := GetFuncAdr('glVertexBindingDivisor'); + public z_VertexBindingDivisor_ovr_0 := GetFuncOrNil&(z_VertexBindingDivisor_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBindingDivisor(bindingindex: UInt32; divisor: UInt32); + begin + z_VertexBindingDivisor_ovr_0(bindingindex, divisor); + end; + + // added in gl3.3 + public z_VertexP2ui_adr := GetFuncAdr('glVertexP2ui'); + public z_VertexP2ui_ovr_0 := GetFuncOrNil&(z_VertexP2ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2ui(&type: VertexPointerType; value: UInt32); + begin + z_VertexP2ui_ovr_0(&type, value); + end; + + // added in gl3.3 + public z_VertexP2uiv_adr := GetFuncAdr('glVertexP2uiv'); + public z_VertexP2uiv_ovr_0 := GetFuncOrNil&(z_VertexP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2uiv(&type: VertexPointerType; value: array of UInt32); + begin + z_VertexP2uiv_ovr_0(&type, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2uiv(&type: VertexPointerType; var value: UInt32); + begin + z_VertexP2uiv_ovr_0(&type, value); + end; + public z_VertexP2uiv_ovr_2 := GetFuncOrNil&(z_VertexP2uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2uiv(&type: VertexPointerType; value: IntPtr); + begin + z_VertexP2uiv_ovr_2(&type, value); + end; + + // added in gl3.3 + public z_VertexP3ui_adr := GetFuncAdr('glVertexP3ui'); + public z_VertexP3ui_ovr_0 := GetFuncOrNil&(z_VertexP3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3ui(&type: VertexPointerType; value: UInt32); + begin + z_VertexP3ui_ovr_0(&type, value); + end; + + // added in gl3.3 + public z_VertexP3uiv_adr := GetFuncAdr('glVertexP3uiv'); + public z_VertexP3uiv_ovr_0 := GetFuncOrNil&(z_VertexP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3uiv(&type: VertexPointerType; value: array of UInt32); + begin + z_VertexP3uiv_ovr_0(&type, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3uiv(&type: VertexPointerType; var value: UInt32); + begin + z_VertexP3uiv_ovr_0(&type, value); + end; + public z_VertexP3uiv_ovr_2 := GetFuncOrNil&(z_VertexP3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3uiv(&type: VertexPointerType; value: IntPtr); + begin + z_VertexP3uiv_ovr_2(&type, value); + end; + + // added in gl3.3 + public z_VertexP4ui_adr := GetFuncAdr('glVertexP4ui'); + public z_VertexP4ui_ovr_0 := GetFuncOrNil&(z_VertexP4ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4ui(&type: VertexPointerType; value: UInt32); + begin + z_VertexP4ui_ovr_0(&type, value); + end; + + // added in gl3.3 + public z_VertexP4uiv_adr := GetFuncAdr('glVertexP4uiv'); + public z_VertexP4uiv_ovr_0 := GetFuncOrNil&(z_VertexP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4uiv(&type: VertexPointerType; value: array of UInt32); + begin + z_VertexP4uiv_ovr_0(&type, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4uiv(&type: VertexPointerType; var value: UInt32); + begin + z_VertexP4uiv_ovr_0(&type, value); + end; + public z_VertexP4uiv_ovr_2 := GetFuncOrNil&(z_VertexP4uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4uiv(&type: VertexPointerType; value: IntPtr); + begin + z_VertexP4uiv_ovr_2(&type, value); + end; + + // added in gl1.0 + private static procedure _z_Viewport_ovr0(x: Int32; y: Int32; width: Int32; height: Int32); + external 'opengl32.dll' name 'glViewport'; + public static z_Viewport_ovr0 := _z_Viewport_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Viewport(x: Int32; y: Int32; width: Int32; height: Int32) := z_Viewport_ovr0(x, y, width, height); + + // added in gl4.1 + public z_ViewportArrayv_adr := GetFuncAdr('glViewportArrayv'); + public z_ViewportArrayv_ovr_0 := GetFuncOrNil&(z_ViewportArrayv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; v: array of single); + begin + z_ViewportArrayv_ovr_0(first, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; var v: single); + begin + z_ViewportArrayv_ovr_0(first, count, v); + end; + public z_ViewportArrayv_ovr_2 := GetFuncOrNil&(z_ViewportArrayv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayv(first: UInt32; count: Int32; v: IntPtr); + begin + z_ViewportArrayv_ovr_2(first, count, v); + end; + + // added in gl4.1 + public z_ViewportIndexedf_adr := GetFuncAdr('glViewportIndexedf'); + public z_ViewportIndexedf_ovr_0 := GetFuncOrNil&(z_ViewportIndexedf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedf(index: UInt32; x: single; y: single; w: single; h: single); + begin + z_ViewportIndexedf_ovr_0(index, x, y, w, h); + end; + + // added in gl4.1 + public z_ViewportIndexedfv_adr := GetFuncAdr('glViewportIndexedfv'); + public z_ViewportIndexedfv_ovr_0 := GetFuncOrNil&(z_ViewportIndexedfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; v: array of single); + begin + z_ViewportIndexedfv_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; var v: single); + begin + z_ViewportIndexedfv_ovr_0(index, v); + end; + public z_ViewportIndexedfv_ovr_2 := GetFuncOrNil&(z_ViewportIndexedfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfv(index: UInt32; v: IntPtr); + begin + z_ViewportIndexedfv_ovr_2(index, v); + end; + + // added in gl3.2 + public z_WaitSync_adr := GetFuncAdr('glWaitSync'); + public z_WaitSync_ovr_0 := GetFuncOrNil&(z_WaitSync_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSync(sync: GLsync; flags: DummyFlags; timeout: UInt64); + begin + z_WaitSync_ovr_0(sync, flags, timeout); + end; end; glD = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Accum_ovr0(op: AccumOp; value: single); + external 'opengl32.dll' name 'glAccum'; + public static z_Accum_ovr0 := _z_Accum_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Accum(op: AccumOp; value: single) := z_Accum_ovr0(op, value); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_AlphaFunc_ovr0(func: AlphaFunction; ref: single); + external 'opengl32.dll' name 'glAlphaFunc'; + public static z_AlphaFunc_ovr0 := _z_AlphaFunc_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFunc(func: AlphaFunction; ref: single) := z_AlphaFunc_ovr0(func, ref); + + // added in gl1.1, deprecated in gl3.2 + private static function _z_AreTexturesResident_ovr0(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] residences: array of boolean): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr0 := _z_AreTexturesResident_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: array of UInt32; residences: array of boolean): boolean := z_AreTexturesResident_ovr0(n, textures, residences); + private static function _z_AreTexturesResident_ovr1(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32; var residences: boolean): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr1 := _z_AreTexturesResident_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: array of UInt32; var residences: boolean): boolean := z_AreTexturesResident_ovr1(n, textures, residences); + private static function _z_AreTexturesResident_ovr2(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32; residences: IntPtr): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr2 := _z_AreTexturesResident_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: array of UInt32; residences: IntPtr): boolean := z_AreTexturesResident_ovr2(n, textures, residences); + private static function _z_AreTexturesResident_ovr3(n: Int32; var textures: UInt32; [MarshalAs(UnmanagedType.LPArray)] residences: array of boolean): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr3 := _z_AreTexturesResident_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; var textures: UInt32; residences: array of boolean): boolean := z_AreTexturesResident_ovr3(n, textures, residences); + private static function _z_AreTexturesResident_ovr4(n: Int32; var textures: UInt32; var residences: boolean): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr4 := _z_AreTexturesResident_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; var textures: UInt32; var residences: boolean): boolean := z_AreTexturesResident_ovr4(n, textures, residences); + private static function _z_AreTexturesResident_ovr5(n: Int32; var textures: UInt32; residences: IntPtr): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr5 := _z_AreTexturesResident_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; var textures: UInt32; residences: IntPtr): boolean := z_AreTexturesResident_ovr5(n, textures, residences); + private static function _z_AreTexturesResident_ovr6(n: Int32; textures: IntPtr; [MarshalAs(UnmanagedType.LPArray)] residences: array of boolean): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr6 := _z_AreTexturesResident_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: IntPtr; residences: array of boolean): boolean := z_AreTexturesResident_ovr6(n, textures, residences); + private static function _z_AreTexturesResident_ovr7(n: Int32; textures: IntPtr; var residences: boolean): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr7 := _z_AreTexturesResident_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: IntPtr; var residences: boolean): boolean := z_AreTexturesResident_ovr7(n, textures, residences); + private static function _z_AreTexturesResident_ovr8(n: Int32; textures: IntPtr; residences: IntPtr): boolean; + external 'opengl32.dll' name 'glAreTexturesResident'; + public static z_AreTexturesResident_ovr8 := _z_AreTexturesResident_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: IntPtr; residences: IntPtr): boolean := z_AreTexturesResident_ovr8(n, textures, residences); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_ArrayElement_ovr0(i: Int32); + external 'opengl32.dll' name 'glArrayElement'; + public static z_ArrayElement_ovr0 := _z_ArrayElement_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ArrayElement(i: Int32) := z_ArrayElement_ovr0(i); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Begin_ovr0(mode: PrimitiveType); + external 'opengl32.dll' name 'glBegin'; + public static z_Begin_ovr0 := _z_Begin_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure &Begin(mode: PrimitiveType) := z_Begin_ovr0(mode); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Bitmap_ovr0(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; [MarshalAs(UnmanagedType.LPArray)] bitmap: array of Byte); + external 'opengl32.dll' name 'glBitmap'; + public static z_Bitmap_ovr0 := _z_Bitmap_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; bitmap: array of Byte) := z_Bitmap_ovr0(width, height, xorig, yorig, xmove, ymove, bitmap); + private static procedure _z_Bitmap_ovr1(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; var bitmap: Byte); + external 'opengl32.dll' name 'glBitmap'; + public static z_Bitmap_ovr1 := _z_Bitmap_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; var bitmap: Byte) := z_Bitmap_ovr1(width, height, xorig, yorig, xmove, ymove, bitmap); + private static procedure _z_Bitmap_ovr2(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; bitmap: IntPtr); + external 'opengl32.dll' name 'glBitmap'; + public static z_Bitmap_ovr2 := _z_Bitmap_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; bitmap: IntPtr) := z_Bitmap_ovr2(width, height, xorig, yorig, xmove, ymove, bitmap); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_CallList_ovr0(list: UInt32); + external 'opengl32.dll' name 'glCallList'; + public static z_CallList_ovr0 := _z_CallList_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CallList(list: UInt32) := z_CallList_ovr0(list); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_CallLists_ovr0(n: Int32; &type: ListNameType; lists: IntPtr); + external 'opengl32.dll' name 'glCallLists'; + public static z_CallLists_ovr0 := _z_CallLists_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CallLists(n: Int32; &type: ListNameType; lists: IntPtr) := z_CallLists_ovr0(n, &type, lists); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_ClearAccum_ovr0(red: single; green: single; blue: single; alpha: single); + external 'opengl32.dll' name 'glClearAccum'; + public static z_ClearAccum_ovr0 := _z_ClearAccum_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearAccum(red: single; green: single; blue: single; alpha: single) := z_ClearAccum_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_ClearIndex_ovr0(c: single); + external 'opengl32.dll' name 'glClearIndex'; + public static z_ClearIndex_ovr0 := _z_ClearIndex_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearIndex(c: single) := z_ClearIndex_ovr0(c); + + // added in gl1.3, deprecated in gl3.2 + public z_ClientActiveTexture_adr := GetFuncAdr('glClientActiveTexture'); + public z_ClientActiveTexture_ovr_0 := GetFuncOrNil&(z_ClientActiveTexture_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientActiveTexture(texture: TextureUnit); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_ClientActiveTexture_ovr_0(texture); end; - public z_MultiTexCoord4svARB := GetGLFuncOrNil&('glMultiTexCoord4svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4svARB(target: DummyEnum; v: array of Int16) := MultiTexCoord4svARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4svARB(target: DummyEnum; var v: Int16) := MultiTexCoord4svARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4svARB(target: DummyEnum; v: pointer) := z_MultiTexCoord4svARB(target, v); - - public z_MultiTexCoord4sARB := GetGLFuncOrNil&('glMultiTexCoord4sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sARB(target: DummyEnum; s: Int16; t: Int16; r: Int16; q: Int16) := z_MultiTexCoord4sARB(target, s, t, r, q); - - public z_MultiTexCoord4ivARB := GetGLFuncOrNil&('glMultiTexCoord4ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4ivARB(target: DummyEnum; v: array of Int32) := MultiTexCoord4ivARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4ivARB(target: DummyEnum; var v: Int32) := MultiTexCoord4ivARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4ivARB(target: DummyEnum; v: pointer) := z_MultiTexCoord4ivARB(target, v); - - public z_MultiTexCoord4iARB := GetGLFuncOrNil&('glMultiTexCoord4iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iARB(target: DummyEnum; s: Int32; t: Int32; r: Int32; q: Int32) := z_MultiTexCoord4iARB(target, s, t, r, q); - - public z_MultiTexCoord4fvARB := GetGLFuncOrNil&('glMultiTexCoord4fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fvARB(target: DummyEnum; v: array of single) := MultiTexCoord4fvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fvARB(target: DummyEnum; var v: single) := MultiTexCoord4fvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord4fvARB(target, v); - - public z_MultiTexCoord4fARB := GetGLFuncOrNil&('glMultiTexCoord4fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fARB(target: DummyEnum; s: single; t: single; r: single; q: single) := z_MultiTexCoord4fARB(target, s, t, r, q); - - public z_MultiTexCoord4dvARB := GetGLFuncOrNil&('glMultiTexCoord4dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dvARB(target: DummyEnum; v: array of double) := MultiTexCoord4dvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dvARB(target: DummyEnum; var v: double) := MultiTexCoord4dvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord4dvARB(target, v); - - public z_MultiTexCoord4dARB := GetGLFuncOrNil&('glMultiTexCoord4dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dARB(target: DummyEnum; s: double; t: double; r: double; q: double) := z_MultiTexCoord4dARB(target, s, t, r, q); - - public z_MultiTexCoord3svARB := GetGLFuncOrNil&('glMultiTexCoord3svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3svARB(target: DummyEnum; v: array of Int16) := MultiTexCoord3svARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3svARB(target: DummyEnum; var v: Int16) := MultiTexCoord3svARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3svARB(target: DummyEnum; v: pointer) := z_MultiTexCoord3svARB(target, v); - - public z_MultiTexCoord3sARB := GetGLFuncOrNil&('glMultiTexCoord3sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sARB(target: DummyEnum; s: Int16; t: Int16; r: Int16) := z_MultiTexCoord3sARB(target, s, t, r); - - public z_MultiTexCoord3ivARB := GetGLFuncOrNil&('glMultiTexCoord3ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3ivARB(target: DummyEnum; v: array of Int32) := MultiTexCoord3ivARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3ivARB(target: DummyEnum; var v: Int32) := MultiTexCoord3ivARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3ivARB(target: DummyEnum; v: pointer) := z_MultiTexCoord3ivARB(target, v); - - public z_MultiTexCoord3iARB := GetGLFuncOrNil&('glMultiTexCoord3iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iARB(target: DummyEnum; s: Int32; t: Int32; r: Int32) := z_MultiTexCoord3iARB(target, s, t, r); - - public z_MultiTexCoord3fvARB := GetGLFuncOrNil&('glMultiTexCoord3fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fvARB(target: DummyEnum; v: array of single) := MultiTexCoord3fvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fvARB(target: DummyEnum; var v: single) := MultiTexCoord3fvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord3fvARB(target, v); - - public z_MultiTexCoord3fARB := GetGLFuncOrNil&('glMultiTexCoord3fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fARB(target: DummyEnum; s: single; t: single; r: single) := z_MultiTexCoord3fARB(target, s, t, r); - - public z_MultiTexCoord3dvARB := GetGLFuncOrNil&('glMultiTexCoord3dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dvARB(target: DummyEnum; v: array of double) := MultiTexCoord3dvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dvARB(target: DummyEnum; var v: double) := MultiTexCoord3dvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord3dvARB(target, v); - - public z_MultiTexCoord3dARB := GetGLFuncOrNil&('glMultiTexCoord3dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dARB(target: DummyEnum; s: double; t: double; r: double) := z_MultiTexCoord3dARB(target, s, t, r); - - public z_MultiTexCoord2svARB := GetGLFuncOrNil&('glMultiTexCoord2svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2svARB(target: DummyEnum; v: array of Int16) := MultiTexCoord2svARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2svARB(target: DummyEnum; var v: Int16) := MultiTexCoord2svARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2svARB(target: DummyEnum; v: pointer) := z_MultiTexCoord2svARB(target, v); - - public z_MultiTexCoord2sARB := GetGLFuncOrNil&('glMultiTexCoord2sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sARB(target: DummyEnum; s: Int16; t: Int16) := z_MultiTexCoord2sARB(target, s, t); - - public z_MultiTexCoord2ivARB := GetGLFuncOrNil&('glMultiTexCoord2ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2ivARB(target: DummyEnum; v: array of Int32) := MultiTexCoord2ivARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2ivARB(target: DummyEnum; var v: Int32) := MultiTexCoord2ivARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2ivARB(target: DummyEnum; v: pointer) := z_MultiTexCoord2ivARB(target, v); - - public z_MultiTexCoord2iARB := GetGLFuncOrNil&('glMultiTexCoord2iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iARB(target: DummyEnum; s: Int32; t: Int32) := z_MultiTexCoord2iARB(target, s, t); - - public z_MultiTexCoord2fvARB := GetGLFuncOrNil&('glMultiTexCoord2fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fvARB(target: DummyEnum; v: array of single) := MultiTexCoord2fvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fvARB(target: DummyEnum; var v: single) := MultiTexCoord2fvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord2fvARB(target, v); - - public z_MultiTexCoord2fARB := GetGLFuncOrNil&('glMultiTexCoord2fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fARB(target: DummyEnum; s: single; t: single) := z_MultiTexCoord2fARB(target, s, t); - - public z_MultiTexCoord2dvARB := GetGLFuncOrNil&('glMultiTexCoord2dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dvARB(target: DummyEnum; v: array of double) := MultiTexCoord2dvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dvARB(target: DummyEnum; var v: double) := MultiTexCoord2dvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord2dvARB(target, v); - - public z_MultiTexCoord2dARB := GetGLFuncOrNil&('glMultiTexCoord2dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dARB(target: DummyEnum; s: double; t: double) := z_MultiTexCoord2dARB(target, s, t); - - public z_MultiTexCoord1svARB := GetGLFuncOrNil&('glMultiTexCoord1svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1svARB(target: DummyEnum; v: array of Int16) := MultiTexCoord1svARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1svARB(target: DummyEnum; var v: Int16) := MultiTexCoord1svARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1svARB(target: DummyEnum; v: pointer) := z_MultiTexCoord1svARB(target, v); - - public z_MultiTexCoord1sARB := GetGLFuncOrNil&('glMultiTexCoord1sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sARB(target: DummyEnum; s: Int16) := z_MultiTexCoord1sARB(target, s); - - public z_MultiTexCoord1ivARB := GetGLFuncOrNil&('glMultiTexCoord1ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1ivARB(target: DummyEnum; v: array of Int32) := MultiTexCoord1ivARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1ivARB(target: DummyEnum; var v: Int32) := MultiTexCoord1ivARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1ivARB(target: DummyEnum; v: pointer) := z_MultiTexCoord1ivARB(target, v); - - public z_MultiTexCoord1iARB := GetGLFuncOrNil&('glMultiTexCoord1iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iARB(target: DummyEnum; s: Int32) := z_MultiTexCoord1iARB(target, s); - - public z_MultiTexCoord1fvARB := GetGLFuncOrNil&('glMultiTexCoord1fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fvARB(target: DummyEnum; v: array of single) := MultiTexCoord1fvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fvARB(target: DummyEnum; var v: single) := MultiTexCoord1fvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord1fvARB(target, v); - - public z_MultiTexCoord1fARB := GetGLFuncOrNil&('glMultiTexCoord1fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fARB(target: DummyEnum; s: single) := z_MultiTexCoord1fARB(target, s); - - public z_MultiTexCoord1dvARB := GetGLFuncOrNil&('glMultiTexCoord1dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dvARB(target: DummyEnum; v: array of double) := MultiTexCoord1dvARB(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dvARB(target: DummyEnum; var v: double) := MultiTexCoord1dvARB(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dvARB(target: DummyEnum; v: pointer) := z_MultiTexCoord1dvARB(target, v); - - public z_MultiTexCoord1dARB := GetGLFuncOrNil&('glMultiTexCoord1dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dARB(target: DummyEnum; s: double) := z_MultiTexCoord1dARB(target, s); - - public z_ClientActiveTextureARB := GetGLFuncOrNil&('glClientActiveTextureARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientActiveTextureARB(texture: DummyEnum) := z_ClientActiveTextureARB(texture); - - public z_ActiveTextureARB := GetGLFuncOrNil&('glActiveTextureARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveTextureARB(texture: DummyEnum) := z_ActiveTextureARB(texture); - - {$region 2 - OpenGL Operation} - - {$region 2.6 - Begin/End Paradigm} - - {$region 2.6.1 - Begin and End} - - private static procedure _End; external 'opengl32.dll' name 'glEnd'; - ///OpenGL 3.0 - public static z_End := _End; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure &End := z_End; - - private static procedure _Begin(mode: DummyEnum); external 'opengl32.dll' name 'glBegin'; - ///OpenGL 3.0 - public static z_Begin := _Begin; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure &Begin(mode: DummyEnum) := z_Begin(mode); - - {$endregion 2.6.1 - Begin and End} - - {$region 2.6.2 - Polygon Edges} - - private static procedure _EdgeFlagv(flag: pointer); external 'opengl32.dll' name 'glEdgeFlagv'; - ///OpenGL 3.0 - public static z_EdgeFlagv := _EdgeFlagv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagv(flag: array of boolean) := EdgeFlagv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(flag,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagv(var flag: boolean) := EdgeFlagv(@flag); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagv(flag: pointer) := z_EdgeFlagv(flag); - - private static procedure _EdgeFlag(flag: boolean); external 'opengl32.dll' name 'glEdgeFlag'; - ///OpenGL 3.0 - public static z_EdgeFlag := _EdgeFlag; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlag(flag: boolean) := z_EdgeFlag(flag); - - {$endregion 2.6.2 - Polygon Edges} - - {$endregion 2.6 - Begin/End Paradigm} - - {$region 2.7 - Vertex Specification} - - private static procedure _Vertex4sv(v: pointer); external 'opengl32.dll' name 'glVertex4sv'; - ///OpenGL 3.0 - public static z_Vertex4sv := _Vertex4sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4sv(v: array of Int16) := Vertex4sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4sv(var v: Int16) := Vertex4sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4sv(v: pointer) := z_Vertex4sv(v); - - private static procedure _Vertex4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16); external 'opengl32.dll' name 'glVertex4s'; - ///OpenGL 3.0 - public static z_Vertex4s := _Vertex4s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16) := z_Vertex4s(v1, v2, v3, v4); - - private static procedure _Vertex4iv(v: pointer); external 'opengl32.dll' name 'glVertex4iv'; - ///OpenGL 3.0 - public static z_Vertex4iv := _Vertex4iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4iv(v: array of Int32) := Vertex4iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4iv(var v: Int32) := Vertex4iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4iv(v: pointer) := z_Vertex4iv(v); - - private static procedure _Vertex4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32); external 'opengl32.dll' name 'glVertex4i'; - ///OpenGL 3.0 - public static z_Vertex4i := _Vertex4i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32) := z_Vertex4i(v1, v2, v3, v4); - - private static procedure _Vertex4fv(v: pointer); external 'opengl32.dll' name 'glVertex4fv'; - ///OpenGL 3.0 - public static z_Vertex4fv := _Vertex4fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4fv(v: array of single) := Vertex4fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4fv(var v: single) := Vertex4fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4fv(v: pointer) := z_Vertex4fv(v); - - private static procedure _Vertex4f(v1: single; v2: single; v3: single; v4: single); external 'opengl32.dll' name 'glVertex4f'; - ///OpenGL 3.0 - public static z_Vertex4f := _Vertex4f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4f(v1: single; v2: single; v3: single; v4: single) := z_Vertex4f(v1, v2, v3, v4); - - private static procedure _Vertex4dv(v: pointer); external 'opengl32.dll' name 'glVertex4dv'; - ///OpenGL 3.0 - public static z_Vertex4dv := _Vertex4dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4dv(v: array of double) := Vertex4dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4dv(var v: double) := Vertex4dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4dv(v: pointer) := z_Vertex4dv(v); - - private static procedure _Vertex4d(v1: double; v2: double; v3: double; v4: double); external 'opengl32.dll' name 'glVertex4d'; - ///OpenGL 3.0 - public static z_Vertex4d := _Vertex4d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4d(v1: double; v2: double; v3: double; v4: double) := z_Vertex4d(v1, v2, v3, v4); - - private static procedure _Vertex3sv(v: pointer); external 'opengl32.dll' name 'glVertex3sv'; - ///OpenGL 3.0 - public static z_Vertex3sv := _Vertex3sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3sv(v: array of Int16) := Vertex3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3sv(var v: Int16) := Vertex3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3sv(v: pointer) := z_Vertex3sv(v); - - private static procedure _Vertex3s(v1: Int16; v2: Int16; v3: Int16); external 'opengl32.dll' name 'glVertex3s'; - ///OpenGL 3.0 - public static z_Vertex3s := _Vertex3s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3s(v1: Int16; v2: Int16; v3: Int16) := z_Vertex3s(v1, v2, v3); - - private static procedure _Vertex3iv(v: pointer); external 'opengl32.dll' name 'glVertex3iv'; - ///OpenGL 3.0 - public static z_Vertex3iv := _Vertex3iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3iv(v: array of Int32) := Vertex3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3iv(var v: Int32) := Vertex3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3iv(v: pointer) := z_Vertex3iv(v); - - private static procedure _Vertex3i(v1: Int32; v2: Int32; v3: Int32); external 'opengl32.dll' name 'glVertex3i'; - ///OpenGL 3.0 - public static z_Vertex3i := _Vertex3i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3i(v1: Int32; v2: Int32; v3: Int32) := z_Vertex3i(v1, v2, v3); - - private static procedure _Vertex3fv(v: pointer); external 'opengl32.dll' name 'glVertex3fv'; - ///OpenGL 3.0 - public static z_Vertex3fv := _Vertex3fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3fv(v: array of single) := Vertex3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3fv(var v: single) := Vertex3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3fv(v: pointer) := z_Vertex3fv(v); - - private static procedure _Vertex3f(x: single; y: single; z: single); external 'opengl32.dll' name 'glVertex3f'; - ///OpenGL 3.0 - public static z_Vertex3f := _Vertex3f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3f(x: single; y: single; z: single) := z_Vertex3f(x, y, z); - - private static procedure _Vertex3dv(v: pointer); external 'opengl32.dll' name 'glVertex3dv'; - ///OpenGL 3.0 - public static z_Vertex3dv := _Vertex3dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3dv(v: array of double) := Vertex3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3dv(var v: double) := Vertex3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3dv(v: pointer) := z_Vertex3dv(v); - - private static procedure _Vertex3d(v1: double; v2: double; v3: double); external 'opengl32.dll' name 'glVertex3d'; - ///OpenGL 3.0 - public static z_Vertex3d := _Vertex3d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3d(v1: double; v2: double; v3: double) := z_Vertex3d(v1, v2, v3); - - private static procedure _Vertex2sv(v: pointer); external 'opengl32.dll' name 'glVertex2sv'; - ///OpenGL 3.0 - public static z_Vertex2sv := _Vertex2sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2sv(v: array of Int16) := Vertex2sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2sv(var v: Int16) := Vertex2sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2sv(v: pointer) := z_Vertex2sv(v); - - private static procedure _Vertex2s(v1: Int16; v2: Int16); external 'opengl32.dll' name 'glVertex2s'; - ///OpenGL 3.0 - public static z_Vertex2s := _Vertex2s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2s(v1: Int16; v2: Int16) := z_Vertex2s(v1, v2); - - private static procedure _Vertex2iv(v: pointer); external 'opengl32.dll' name 'glVertex2iv'; - ///OpenGL 3.0 - public static z_Vertex2iv := _Vertex2iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2iv(v: array of Int32) := Vertex2iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2iv(var v: Int32) := Vertex2iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2iv(v: pointer) := z_Vertex2iv(v); - - private static procedure _Vertex2i(v1: Int32; v2: Int32); external 'opengl32.dll' name 'glVertex2i'; - ///OpenGL 3.0 - public static z_Vertex2i := _Vertex2i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2i(v1: Int32; v2: Int32) := z_Vertex2i(v1, v2); - - private static procedure _Vertex2fv(v: pointer); external 'opengl32.dll' name 'glVertex2fv'; - ///OpenGL 3.0 - public static z_Vertex2fv := _Vertex2fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2fv(v: array of single) := Vertex2fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2fv(var v: single) := Vertex2fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2fv(v: pointer) := z_Vertex2fv(v); - - private static procedure _Vertex2f(x: single; y: single); external 'opengl32.dll' name 'glVertex2f'; - ///OpenGL 3.0 - public static z_Vertex2f := _Vertex2f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2f(x: single; y: single) := z_Vertex2f(x, y); - - private static procedure _Vertex2dv(v: pointer); external 'opengl32.dll' name 'glVertex2dv'; - ///OpenGL 3.0 - public static z_Vertex2dv := _Vertex2dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2dv(v: array of double) := Vertex2dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2dv(var v: double) := Vertex2dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2dv(v: pointer) := z_Vertex2dv(v); - - private static procedure _Vertex2d(v1: double; v2: double); external 'opengl32.dll' name 'glVertex2d'; - ///OpenGL 3.0 - public static z_Vertex2d := _Vertex2d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2d(v1: double; v2: double) := z_Vertex2d(v1, v2); - - private static procedure _TexCoord4sv(v: pointer); external 'opengl32.dll' name 'glTexCoord4sv'; - ///OpenGL 3.0 - public static z_TexCoord4sv := _TexCoord4sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4sv(v: array of Int16) := TexCoord4sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4sv(var v: Int16) := TexCoord4sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4sv(v: pointer) := z_TexCoord4sv(v); - - private static procedure _TexCoord4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16); external 'opengl32.dll' name 'glTexCoord4s'; - ///OpenGL 3.0 - public static z_TexCoord4s := _TexCoord4s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16) := z_TexCoord4s(v1, v2, v3, v4); - - private static procedure _TexCoord4iv(v: pointer); external 'opengl32.dll' name 'glTexCoord4iv'; - ///OpenGL 3.0 - public static z_TexCoord4iv := _TexCoord4iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4iv(v: array of Int32) := TexCoord4iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4iv(var v: Int32) := TexCoord4iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4iv(v: pointer) := z_TexCoord4iv(v); - - private static procedure _TexCoord4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32); external 'opengl32.dll' name 'glTexCoord4i'; - ///OpenGL 3.0 - public static z_TexCoord4i := _TexCoord4i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32) := z_TexCoord4i(v1, v2, v3, v4); - - private static procedure _TexCoord4fv(v: pointer); external 'opengl32.dll' name 'glTexCoord4fv'; - ///OpenGL 3.0 - public static z_TexCoord4fv := _TexCoord4fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fv(v: array of single) := TexCoord4fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fv(var v: single) := TexCoord4fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fv(v: pointer) := z_TexCoord4fv(v); - - private static procedure _TexCoord4f(v1: single; v2: single; v3: single; v4: single); external 'opengl32.dll' name 'glTexCoord4f'; - ///OpenGL 3.0 - public static z_TexCoord4f := _TexCoord4f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4f(v1: single; v2: single; v3: single; v4: single) := z_TexCoord4f(v1, v2, v3, v4); - - private static procedure _TexCoord4dv(v: pointer); external 'opengl32.dll' name 'glTexCoord4dv'; - ///OpenGL 3.0 - public static z_TexCoord4dv := _TexCoord4dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4dv(v: array of double) := TexCoord4dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4dv(var v: double) := TexCoord4dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4dv(v: pointer) := z_TexCoord4dv(v); - - private static procedure _TexCoord4d(v1: double; v2: double; v3: double; v4: double); external 'opengl32.dll' name 'glTexCoord4d'; - ///OpenGL 3.0 - public static z_TexCoord4d := _TexCoord4d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4d(v1: double; v2: double; v3: double; v4: double) := z_TexCoord4d(v1, v2, v3, v4); - - private static procedure _TexCoord3sv(v: pointer); external 'opengl32.dll' name 'glTexCoord3sv'; - ///OpenGL 3.0 - public static z_TexCoord3sv := _TexCoord3sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3sv(v: array of Int16) := TexCoord3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3sv(var v: Int16) := TexCoord3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3sv(v: pointer) := z_TexCoord3sv(v); - - private static procedure _TexCoord3s(v1: Int16; v2: Int16; v3: Int16); external 'opengl32.dll' name 'glTexCoord3s'; - ///OpenGL 3.0 - public static z_TexCoord3s := _TexCoord3s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3s(v1: Int16; v2: Int16; v3: Int16) := z_TexCoord3s(v1, v2, v3); - - private static procedure _TexCoord3iv(v: pointer); external 'opengl32.dll' name 'glTexCoord3iv'; - ///OpenGL 3.0 - public static z_TexCoord3iv := _TexCoord3iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3iv(v: array of Int32) := TexCoord3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3iv(var v: Int32) := TexCoord3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3iv(v: pointer) := z_TexCoord3iv(v); - - private static procedure _TexCoord3i(v1: Int32; v2: Int32; v3: Int32); external 'opengl32.dll' name 'glTexCoord3i'; - ///OpenGL 3.0 - public static z_TexCoord3i := _TexCoord3i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3i(v1: Int32; v2: Int32; v3: Int32) := z_TexCoord3i(v1, v2, v3); - - private static procedure _TexCoord3fv(v: pointer); external 'opengl32.dll' name 'glTexCoord3fv'; - ///OpenGL 3.0 - public static z_TexCoord3fv := _TexCoord3fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3fv(v: array of single) := TexCoord3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3fv(var v: single) := TexCoord3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3fv(v: pointer) := z_TexCoord3fv(v); - - private static procedure _TexCoord3f(v1: single; v2: single; v3: single); external 'opengl32.dll' name 'glTexCoord3f'; - ///OpenGL 3.0 - public static z_TexCoord3f := _TexCoord3f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3f(v1: single; v2: single; v3: single) := z_TexCoord3f(v1, v2, v3); - - private static procedure _TexCoord3dv(v: pointer); external 'opengl32.dll' name 'glTexCoord3dv'; - ///OpenGL 3.0 - public static z_TexCoord3dv := _TexCoord3dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3dv(v: array of double) := TexCoord3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3dv(var v: double) := TexCoord3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3dv(v: pointer) := z_TexCoord3dv(v); - - private static procedure _TexCoord3d(v1: double; v2: double; v3: double); external 'opengl32.dll' name 'glTexCoord3d'; - ///OpenGL 3.0 - public static z_TexCoord3d := _TexCoord3d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3d(v1: double; v2: double; v3: double) := z_TexCoord3d(v1, v2, v3); - - private static procedure _TexCoord2sv(v: pointer); external 'opengl32.dll' name 'glTexCoord2sv'; - ///OpenGL 3.0 - public static z_TexCoord2sv := _TexCoord2sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2sv(v: array of Int16) := TexCoord2sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2sv(var v: Int16) := TexCoord2sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2sv(v: pointer) := z_TexCoord2sv(v); - - private static procedure _TexCoord2s(v1: Int16; v2: Int16); external 'opengl32.dll' name 'glTexCoord2s'; - ///OpenGL 3.0 - public static z_TexCoord2s := _TexCoord2s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2s(v1: Int16; v2: Int16) := z_TexCoord2s(v1, v2); - - private static procedure _TexCoord2iv(v: pointer); external 'opengl32.dll' name 'glTexCoord2iv'; - ///OpenGL 3.0 - public static z_TexCoord2iv := _TexCoord2iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2iv(v: array of Int32) := TexCoord2iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2iv(var v: Int32) := TexCoord2iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2iv(v: pointer) := z_TexCoord2iv(v); - - private static procedure _TexCoord2i(v1: Int32; v2: Int32); external 'opengl32.dll' name 'glTexCoord2i'; - ///OpenGL 3.0 - public static z_TexCoord2i := _TexCoord2i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2i(v1: Int32; v2: Int32) := z_TexCoord2i(v1, v2); - - private static procedure _TexCoord2fv(v: pointer); external 'opengl32.dll' name 'glTexCoord2fv'; - ///OpenGL 3.0 - public static z_TexCoord2fv := _TexCoord2fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fv(v: array of single) := TexCoord2fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fv(var v: single) := TexCoord2fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fv(v: pointer) := z_TexCoord2fv(v); - - private static procedure _TexCoord2f(v1: single; v2: single); external 'opengl32.dll' name 'glTexCoord2f'; - ///OpenGL 3.0 - public static z_TexCoord2f := _TexCoord2f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2f(v1: single; v2: single) := z_TexCoord2f(v1, v2); - - private static procedure _TexCoord2dv(v: pointer); external 'opengl32.dll' name 'glTexCoord2dv'; - ///OpenGL 3.0 - public static z_TexCoord2dv := _TexCoord2dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2dv(v: array of double) := TexCoord2dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2dv(var v: double) := TexCoord2dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2dv(v: pointer) := z_TexCoord2dv(v); - - private static procedure _TexCoord2d(v1: double; v2: double); external 'opengl32.dll' name 'glTexCoord2d'; - ///OpenGL 3.0 - public static z_TexCoord2d := _TexCoord2d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2d(v1: double; v2: double) := z_TexCoord2d(v1, v2); - - private static procedure _TexCoord1sv(v: pointer); external 'opengl32.dll' name 'glTexCoord1sv'; - ///OpenGL 3.0 - public static z_TexCoord1sv := _TexCoord1sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1sv(v: array of Int16) := TexCoord1sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1sv(var v: Int16) := TexCoord1sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1sv(v: pointer) := z_TexCoord1sv(v); - - private static procedure _TexCoord1s(v1: Int16); external 'opengl32.dll' name 'glTexCoord1s'; - ///OpenGL 3.0 - public static z_TexCoord1s := _TexCoord1s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1s(v1: Int16) := z_TexCoord1s(v1); - - private static procedure _TexCoord1iv(v: pointer); external 'opengl32.dll' name 'glTexCoord1iv'; - ///OpenGL 3.0 - public static z_TexCoord1iv := _TexCoord1iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1iv(v: array of Int32) := TexCoord1iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1iv(var v: Int32) := TexCoord1iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1iv(v: pointer) := z_TexCoord1iv(v); - - private static procedure _TexCoord1i(v1: Int32); external 'opengl32.dll' name 'glTexCoord1i'; - ///OpenGL 3.0 - public static z_TexCoord1i := _TexCoord1i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1i(v1: Int32) := z_TexCoord1i(v1); - - private static procedure _TexCoord1fv(v: pointer); external 'opengl32.dll' name 'glTexCoord1fv'; - ///OpenGL 3.0 - public static z_TexCoord1fv := _TexCoord1fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1fv(v: array of single) := TexCoord1fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1fv(var v: single) := TexCoord1fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1fv(v: pointer) := z_TexCoord1fv(v); - - private static procedure _TexCoord1f(v1: single); external 'opengl32.dll' name 'glTexCoord1f'; - ///OpenGL 3.0 - public static z_TexCoord1f := _TexCoord1f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1f(v1: single) := z_TexCoord1f(v1); - - private static procedure _TexCoord1dv(v: pointer); external 'opengl32.dll' name 'glTexCoord1dv'; - ///OpenGL 3.0 - public static z_TexCoord1dv := _TexCoord1dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1dv(v: array of double) := TexCoord1dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1dv(var v: double) := TexCoord1dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1dv(v: pointer) := z_TexCoord1dv(v); - - private static procedure _TexCoord1d(v1: double); external 'opengl32.dll' name 'glTexCoord1d'; - ///OpenGL 3.0 - public static z_TexCoord1d := _TexCoord1d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1d(v1: double) := z_TexCoord1d(v1); - - ///OpenGL 3.0 - public z_SecondaryColor3usv := GetGLFuncOrNil&('glSecondaryColor3usv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usv(v: array of UInt16) := SecondaryColor3usv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usv(var v: UInt16) := SecondaryColor3usv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usv(v: pointer) := z_SecondaryColor3usv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3us := GetGLFuncOrNil&('glSecondaryColor3us'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3us(red: UInt16; green: UInt16; blue: UInt16) := z_SecondaryColor3us(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3uiv := GetGLFuncOrNil&('glSecondaryColor3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiv(v: array of UInt32) := SecondaryColor3uiv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiv(var v: UInt32) := SecondaryColor3uiv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiv(v: pointer) := z_SecondaryColor3uiv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3ui := GetGLFuncOrNil&('glSecondaryColor3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ui(red: UInt32; green: UInt32; blue: UInt32) := z_SecondaryColor3ui(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3ubv := GetGLFuncOrNil&('glSecondaryColor3ubv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubv(v: array of Byte) := SecondaryColor3ubv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubv(var v: Byte) := SecondaryColor3ubv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubv(v: pointer) := z_SecondaryColor3ubv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3ub := GetGLFuncOrNil&('glSecondaryColor3ub'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ub(red: Byte; green: Byte; blue: Byte) := z_SecondaryColor3ub(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3sv := GetGLFuncOrNil&('glSecondaryColor3sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sv(v: array of Int16) := SecondaryColor3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sv(var v: Int16) := SecondaryColor3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sv(v: pointer) := z_SecondaryColor3sv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3s := GetGLFuncOrNil&('glSecondaryColor3s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3s(red: Int16; green: Int16; blue: Int16) := z_SecondaryColor3s(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3iv := GetGLFuncOrNil&('glSecondaryColor3iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iv(v: array of Int32) := SecondaryColor3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iv(var v: Int32) := SecondaryColor3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iv(v: pointer) := z_SecondaryColor3iv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3i := GetGLFuncOrNil&('glSecondaryColor3i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3i(red: Int32; green: Int32; blue: Int32) := z_SecondaryColor3i(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3fv := GetGLFuncOrNil&('glSecondaryColor3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fv(v: array of single) := SecondaryColor3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fv(var v: single) := SecondaryColor3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fv(v: pointer) := z_SecondaryColor3fv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3f := GetGLFuncOrNil&('glSecondaryColor3f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3f(red: single; green: single; blue: single) := z_SecondaryColor3f(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3dv := GetGLFuncOrNil&('glSecondaryColor3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dv(v: array of double) := SecondaryColor3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dv(var v: double) := SecondaryColor3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dv(v: pointer) := z_SecondaryColor3dv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3d := GetGLFuncOrNil&('glSecondaryColor3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3d(red: double; green: double; blue: double) := z_SecondaryColor3d(red, green, blue); - - ///OpenGL 3.0 - public z_SecondaryColor3bv := GetGLFuncOrNil&('glSecondaryColor3bv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bv(v: array of SByte) := SecondaryColor3bv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bv(var v: SByte) := SecondaryColor3bv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bv(v: pointer) := z_SecondaryColor3bv(v); - - ///OpenGL 3.0 - public z_SecondaryColor3b := GetGLFuncOrNil&('glSecondaryColor3b'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3b(red: SByte; green: SByte; blue: SByte) := z_SecondaryColor3b(red, green, blue); - - private static procedure _Normal3sv(v: pointer); external 'opengl32.dll' name 'glNormal3sv'; - ///OpenGL 3.0 - public static z_Normal3sv := _Normal3sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3sv(v: array of Int16) := Normal3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3sv(var v: Int16) := Normal3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3sv(v: pointer) := z_Normal3sv(v); - - private static procedure _Normal3s(v1: Int16; v2: Int16; v3: Int16); external 'opengl32.dll' name 'glNormal3s'; - ///OpenGL 3.0 - public static z_Normal3s := _Normal3s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3s(v1: Int16; v2: Int16; v3: Int16) := z_Normal3s(v1, v2, v3); - - private static procedure _Normal3iv(v: pointer); external 'opengl32.dll' name 'glNormal3iv'; - ///OpenGL 3.0 - public static z_Normal3iv := _Normal3iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3iv(v: array of Int32) := Normal3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3iv(var v: Int32) := Normal3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3iv(v: pointer) := z_Normal3iv(v); - - private static procedure _Normal3i(v1: Int32; v2: Int32; v3: Int32); external 'opengl32.dll' name 'glNormal3i'; - ///OpenGL 3.0 - public static z_Normal3i := _Normal3i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3i(v1: Int32; v2: Int32; v3: Int32) := z_Normal3i(v1, v2, v3); - - private static procedure _Normal3fv(v: pointer); external 'opengl32.dll' name 'glNormal3fv'; - ///OpenGL 3.0 - public static z_Normal3fv := _Normal3fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fv(v: array of single) := Normal3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fv(var v: single) := Normal3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fv(v: pointer) := z_Normal3fv(v); - - private static procedure _Normal3f(nx: single; ny: single; nz: single); external 'opengl32.dll' name 'glNormal3f'; - ///OpenGL 3.0 - public static z_Normal3f := _Normal3f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3f(nx: single; ny: single; nz: single) := z_Normal3f(nx, ny, nz); - - private static procedure _Normal3dv(v: pointer); external 'opengl32.dll' name 'glNormal3dv'; - ///OpenGL 3.0 - public static z_Normal3dv := _Normal3dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3dv(v: array of double) := Normal3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3dv(var v: double) := Normal3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3dv(v: pointer) := z_Normal3dv(v); - - private static procedure _Normal3d(v1: double; v2: double; v3: double); external 'opengl32.dll' name 'glNormal3d'; - ///OpenGL 3.0 - public static z_Normal3d := _Normal3d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3d(v1: double; v2: double; v3: double) := z_Normal3d(v1, v2, v3); - - private static procedure _Normal3bv(v: pointer); external 'opengl32.dll' name 'glNormal3bv'; - ///OpenGL 3.0 - public static z_Normal3bv := _Normal3bv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3bv(v: array of SByte) := Normal3bv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3bv(var v: SByte) := Normal3bv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3bv(v: pointer) := z_Normal3bv(v); - - private static procedure _Normal3b(v1: SByte; v2: SByte; v3: SByte); external 'opengl32.dll' name 'glNormal3b'; - ///OpenGL 3.0 - public static z_Normal3b := _Normal3b; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3b(v1: SByte; v2: SByte; v3: SByte) := z_Normal3b(v1, v2, v3); - - ///OpenGL 3.0 - public z_MultiTexCoord4sv := GetGLFuncOrNil&('glMultiTexCoord4sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sv(target: DummyEnum; v: array of Int16) := MultiTexCoord4sv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sv(target: DummyEnum; var v: Int16) := MultiTexCoord4sv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sv(target: DummyEnum; v: pointer) := z_MultiTexCoord4sv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord4s := GetGLFuncOrNil&('glMultiTexCoord4s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4s(target: DummyEnum; s: Int16; t: Int16; r: Int16; q: Int16) := z_MultiTexCoord4s(target, s, t, r, q); - - ///OpenGL 3.0 - public z_MultiTexCoord4iv := GetGLFuncOrNil&('glMultiTexCoord4iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iv(target: DummyEnum; v: array of Int32) := MultiTexCoord4iv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iv(target: DummyEnum; var v: Int32) := MultiTexCoord4iv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iv(target: DummyEnum; v: pointer) := z_MultiTexCoord4iv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord4i := GetGLFuncOrNil&('glMultiTexCoord4i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4i(target: DummyEnum; s: Int32; t: Int32; r: Int32; q: Int32) := z_MultiTexCoord4i(target, s, t, r, q); - - ///OpenGL 3.0 - public z_MultiTexCoord4fv := GetGLFuncOrNil&('glMultiTexCoord4fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fv(target: DummyEnum; v: array of single) := MultiTexCoord4fv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fv(target: DummyEnum; var v: single) := MultiTexCoord4fv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fv(target: DummyEnum; v: pointer) := z_MultiTexCoord4fv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord4f := GetGLFuncOrNil&('glMultiTexCoord4f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4f(target: DummyEnum; s: single; t: single; r: single; q: single) := z_MultiTexCoord4f(target, s, t, r, q); - - ///OpenGL 3.0 - public z_MultiTexCoord4dv := GetGLFuncOrNil&('glMultiTexCoord4dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dv(target: DummyEnum; v: array of double) := MultiTexCoord4dv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dv(target: DummyEnum; var v: double) := MultiTexCoord4dv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dv(target: DummyEnum; v: pointer) := z_MultiTexCoord4dv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord4d := GetGLFuncOrNil&('glMultiTexCoord4d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4d(target: DummyEnum; s: double; t: double; r: double; q: double) := z_MultiTexCoord4d(target, s, t, r, q); - - ///OpenGL 3.0 - public z_MultiTexCoord3sv := GetGLFuncOrNil&('glMultiTexCoord3sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sv(target: DummyEnum; v: array of Int16) := MultiTexCoord3sv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sv(target: DummyEnum; var v: Int16) := MultiTexCoord3sv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sv(target: DummyEnum; v: pointer) := z_MultiTexCoord3sv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord3s := GetGLFuncOrNil&('glMultiTexCoord3s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3s(target: DummyEnum; s: Int16; t: Int16; r: Int16) := z_MultiTexCoord3s(target, s, t, r); - - ///OpenGL 3.0 - public z_MultiTexCoord3iv := GetGLFuncOrNil&('glMultiTexCoord3iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iv(target: DummyEnum; v: array of Int32) := MultiTexCoord3iv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iv(target: DummyEnum; var v: Int32) := MultiTexCoord3iv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iv(target: DummyEnum; v: pointer) := z_MultiTexCoord3iv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord3i := GetGLFuncOrNil&('glMultiTexCoord3i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3i(target: DummyEnum; s: Int32; t: Int32; r: Int32) := z_MultiTexCoord3i(target, s, t, r); - - ///OpenGL 3.0 - public z_MultiTexCoord3fv := GetGLFuncOrNil&('glMultiTexCoord3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fv(target: DummyEnum; v: array of single) := MultiTexCoord3fv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fv(target: DummyEnum; var v: single) := MultiTexCoord3fv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fv(target: DummyEnum; v: pointer) := z_MultiTexCoord3fv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord3f := GetGLFuncOrNil&('glMultiTexCoord3f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3f(target: DummyEnum; s: single; t: single; r: single) := z_MultiTexCoord3f(target, s, t, r); - - ///OpenGL 3.0 - public z_MultiTexCoord3dv := GetGLFuncOrNil&('glMultiTexCoord3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dv(target: DummyEnum; v: array of double) := MultiTexCoord3dv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dv(target: DummyEnum; var v: double) := MultiTexCoord3dv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dv(target: DummyEnum; v: pointer) := z_MultiTexCoord3dv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord3d := GetGLFuncOrNil&('glMultiTexCoord3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3d(target: DummyEnum; s: double; t: double; r: double) := z_MultiTexCoord3d(target, s, t, r); - - ///OpenGL 3.0 - public z_MultiTexCoord2sv := GetGLFuncOrNil&('glMultiTexCoord2sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sv(target: DummyEnum; v: array of Int16) := MultiTexCoord2sv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sv(target: DummyEnum; var v: Int16) := MultiTexCoord2sv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sv(target: DummyEnum; v: pointer) := z_MultiTexCoord2sv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord2s := GetGLFuncOrNil&('glMultiTexCoord2s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2s(target: DummyEnum; s: Int16; t: Int16) := z_MultiTexCoord2s(target, s, t); - - ///OpenGL 3.0 - public z_MultiTexCoord2iv := GetGLFuncOrNil&('glMultiTexCoord2iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iv(target: DummyEnum; v: array of Int32) := MultiTexCoord2iv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iv(target: DummyEnum; var v: Int32) := MultiTexCoord2iv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iv(target: DummyEnum; v: pointer) := z_MultiTexCoord2iv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord2i := GetGLFuncOrNil&('glMultiTexCoord2i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2i(target: DummyEnum; s: Int32; t: Int32) := z_MultiTexCoord2i(target, s, t); - - ///OpenGL 3.0 - public z_MultiTexCoord2fv := GetGLFuncOrNil&('glMultiTexCoord2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fv(target: DummyEnum; v: array of single) := MultiTexCoord2fv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fv(target: DummyEnum; var v: single) := MultiTexCoord2fv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fv(target: DummyEnum; v: pointer) := z_MultiTexCoord2fv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord2f := GetGLFuncOrNil&('glMultiTexCoord2f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2f(target: DummyEnum; s: single; t: single) := z_MultiTexCoord2f(target, s, t); - - ///OpenGL 3.0 - public z_MultiTexCoord2dv := GetGLFuncOrNil&('glMultiTexCoord2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dv(target: DummyEnum; v: array of double) := MultiTexCoord2dv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dv(target: DummyEnum; var v: double) := MultiTexCoord2dv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dv(target: DummyEnum; v: pointer) := z_MultiTexCoord2dv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord2d := GetGLFuncOrNil&('glMultiTexCoord2d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2d(target: DummyEnum; s: double; t: double) := z_MultiTexCoord2d(target, s, t); - - ///OpenGL 3.0 - public z_MultiTexCoord1sv := GetGLFuncOrNil&('glMultiTexCoord1sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sv(target: DummyEnum; v: array of Int16) := MultiTexCoord1sv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sv(target: DummyEnum; var v: Int16) := MultiTexCoord1sv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sv(target: DummyEnum; v: pointer) := z_MultiTexCoord1sv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord1s := GetGLFuncOrNil&('glMultiTexCoord1s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1s(target: DummyEnum; s: Int16) := z_MultiTexCoord1s(target, s); - - ///OpenGL 3.0 - public z_MultiTexCoord1iv := GetGLFuncOrNil&('glMultiTexCoord1iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iv(target: DummyEnum; v: array of Int32) := MultiTexCoord1iv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iv(target: DummyEnum; var v: Int32) := MultiTexCoord1iv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iv(target: DummyEnum; v: pointer) := z_MultiTexCoord1iv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord1i := GetGLFuncOrNil&('glMultiTexCoord1i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1i(target: DummyEnum; s: Int32) := z_MultiTexCoord1i(target, s); - - ///OpenGL 3.0 - public z_MultiTexCoord1fv := GetGLFuncOrNil&('glMultiTexCoord1fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fv(target: DummyEnum; v: array of single) := MultiTexCoord1fv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fv(target: DummyEnum; var v: single) := MultiTexCoord1fv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fv(target: DummyEnum; v: pointer) := z_MultiTexCoord1fv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord1f := GetGLFuncOrNil&('glMultiTexCoord1f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1f(target: DummyEnum; s: single) := z_MultiTexCoord1f(target, s); - - ///OpenGL 3.0 - public z_MultiTexCoord1dv := GetGLFuncOrNil&('glMultiTexCoord1dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dv(target: DummyEnum; v: array of double) := MultiTexCoord1dv(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dv(target: DummyEnum; var v: double) := MultiTexCoord1dv(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dv(target: DummyEnum; v: pointer) := z_MultiTexCoord1dv(target, v); - - ///OpenGL 3.0 - public z_MultiTexCoord1d := GetGLFuncOrNil&('glMultiTexCoord1d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1d(target: DummyEnum; s: double) := z_MultiTexCoord1d(target, s); - - private static procedure _Indexubv(v: pointer); external 'opengl32.dll' name 'glIndexubv'; - ///OpenGL 3.0 - public static z_Indexubv := _Indexubv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexubv(v: array of Byte) := Indexubv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexubv(var v: Byte) := Indexubv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexubv(v: pointer) := z_Indexubv(v); - - private static procedure _Indexub(v1: Byte); external 'opengl32.dll' name 'glIndexub'; - ///OpenGL 3.0 - public static z_Indexub := _Indexub; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexub(v1: Byte) := z_Indexub(v1); - - private static procedure _Indexsv(v: pointer); external 'opengl32.dll' name 'glIndexsv'; - ///OpenGL 3.0 - public static z_Indexsv := _Indexsv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexsv(v: array of Int16) := Indexsv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexsv(var v: Int16) := Indexsv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexsv(v: pointer) := z_Indexsv(v); - - private static procedure _Indexs(v1: Int16); external 'opengl32.dll' name 'glIndexs'; - ///OpenGL 3.0 - public static z_Indexs := _Indexs; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexs(v1: Int16) := z_Indexs(v1); - - private static procedure _Indexiv(v: pointer); external 'opengl32.dll' name 'glIndexiv'; - ///OpenGL 3.0 - public static z_Indexiv := _Indexiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexiv(v: array of Int32) := Indexiv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexiv(var v: Int32) := Indexiv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexiv(v: pointer) := z_Indexiv(v); - - private static procedure _Indexi(v1: Int32); external 'opengl32.dll' name 'glIndexi'; - ///OpenGL 3.0 - public static z_Indexi := _Indexi; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexi(v1: Int32) := z_Indexi(v1); - - private static procedure _Indexfv(v: pointer); external 'opengl32.dll' name 'glIndexfv'; - ///OpenGL 3.0 - public static z_Indexfv := _Indexfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexfv(v: array of single) := Indexfv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexfv(var v: single) := Indexfv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexfv(v: pointer) := z_Indexfv(v); - - private static procedure _Indexf(v1: single); external 'opengl32.dll' name 'glIndexf'; - ///OpenGL 3.0 - public static z_Indexf := _Indexf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexf(v1: single) := z_Indexf(v1); - - private static procedure _Indexdv(v: pointer); external 'opengl32.dll' name 'glIndexdv'; - ///OpenGL 3.0 - public static z_Indexdv := _Indexdv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexdv(v: array of double) := Indexdv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexdv(var v: double) := Indexdv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexdv(v: pointer) := z_Indexdv(v); - - private static procedure _Indexd(v1: double); external 'opengl32.dll' name 'glIndexd'; - ///OpenGL 3.0 - public static z_Indexd := _Indexd; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexd(v1: double) := z_Indexd(v1); - - ///OpenGL 3.0 - public z_FogCoordfv := GetGLFuncOrNil&('glFogCoordfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfv(coord: array of single) := FogCoordfv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coord,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfv(var coord: single) := FogCoordfv(@coord); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfv(coord: pointer) := z_FogCoordfv(coord); - - ///OpenGL 3.0 - public z_FogCoordf := GetGLFuncOrNil&('glFogCoordf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordf(coord: single) := z_FogCoordf(coord); - - ///OpenGL 3.0 - public z_FogCoorddv := GetGLFuncOrNil&('glFogCoorddv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddv(coord: array of double) := FogCoorddv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coord,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddv(var coord: double) := FogCoorddv(@coord); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddv(coord: pointer) := z_FogCoorddv(coord); - - ///OpenGL 3.0 - public z_FogCoordd := GetGLFuncOrNil&('glFogCoordd'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordd(coord: double) := z_FogCoordd(coord); - - private static procedure _Color4usv(v: pointer); external 'opengl32.dll' name 'glColor4usv'; - ///OpenGL 3.0 - public static z_Color4usv := _Color4usv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4usv(v: array of UInt16) := Color4usv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4usv(var v: UInt16) := Color4usv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4usv(v: pointer) := z_Color4usv(v); - - private static procedure _Color4us(v1: UInt16; v2: UInt16; v3: UInt16; v4: UInt16); external 'opengl32.dll' name 'glColor4us'; - ///OpenGL 3.0 - public static z_Color4us := _Color4us; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4us(v1: UInt16; v2: UInt16; v3: UInt16; v4: UInt16) := z_Color4us(v1, v2, v3, v4); - - private static procedure _Color4uiv(v: pointer); external 'opengl32.dll' name 'glColor4uiv'; - ///OpenGL 3.0 - public static z_Color4uiv := _Color4uiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4uiv(v: array of UInt32) := Color4uiv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4uiv(var v: UInt32) := Color4uiv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4uiv(v: pointer) := z_Color4uiv(v); - - private static procedure _Color4ui(v1: UInt32; v2: UInt32; v3: UInt32; v4: UInt32); external 'opengl32.dll' name 'glColor4ui'; - ///OpenGL 3.0 - public static z_Color4ui := _Color4ui; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ui(v1: UInt32; v2: UInt32; v3: UInt32; v4: UInt32) := z_Color4ui(v1, v2, v3, v4); - - private static procedure _Color4ubv(v: pointer); external 'opengl32.dll' name 'glColor4ubv'; - ///OpenGL 3.0 - public static z_Color4ubv := _Color4ubv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubv(v: array of Byte) := Color4ubv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubv(var v: Byte) := Color4ubv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubv(v: pointer) := z_Color4ubv(v); - - private static procedure _Color4ub(red: Byte; green: Byte; blue: Byte; alpha: Byte); external 'opengl32.dll' name 'glColor4ub'; - ///OpenGL 3.0 - public static z_Color4ub := _Color4ub; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ub(red: Byte; green: Byte; blue: Byte; alpha: Byte) := z_Color4ub(red, green, blue, alpha); - - private static procedure _Color4sv(v: pointer); external 'opengl32.dll' name 'glColor4sv'; - ///OpenGL 3.0 - public static z_Color4sv := _Color4sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4sv(v: array of Int16) := Color4sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4sv(var v: Int16) := Color4sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4sv(v: pointer) := z_Color4sv(v); - - private static procedure _Color4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16); external 'opengl32.dll' name 'glColor4s'; - ///OpenGL 3.0 - public static z_Color4s := _Color4s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16) := z_Color4s(v1, v2, v3, v4); - - private static procedure _Color4iv(v: pointer); external 'opengl32.dll' name 'glColor4iv'; - ///OpenGL 3.0 - public static z_Color4iv := _Color4iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4iv(v: array of Int32) := Color4iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4iv(var v: Int32) := Color4iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4iv(v: pointer) := z_Color4iv(v); - - private static procedure _Color4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32); external 'opengl32.dll' name 'glColor4i'; - ///OpenGL 3.0 - public static z_Color4i := _Color4i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32) := z_Color4i(v1, v2, v3, v4); - - private static procedure _Color4fv(v: pointer); external 'opengl32.dll' name 'glColor4fv'; - ///OpenGL 3.0 - public static z_Color4fv := _Color4fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fv(v: array of single) := Color4fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fv(var v: single) := Color4fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fv(v: pointer) := z_Color4fv(v); - - private static procedure _Color4f(red: single; green: single; blue: single; alpha: single); external 'opengl32.dll' name 'glColor4f'; - ///OpenGL 3.0 - public static z_Color4f := _Color4f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4f(red: single; green: single; blue: single; alpha: single) := z_Color4f(red, green, blue, alpha); - - private static procedure _Color4dv(v: pointer); external 'opengl32.dll' name 'glColor4dv'; - ///OpenGL 3.0 - public static z_Color4dv := _Color4dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4dv(v: array of double) := Color4dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4dv(var v: double) := Color4dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4dv(v: pointer) := z_Color4dv(v); - - private static procedure _Color4d(v1: double; v2: double; v3: double; v4: double); external 'opengl32.dll' name 'glColor4d'; - ///OpenGL 3.0 - public static z_Color4d := _Color4d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4d(v1: double; v2: double; v3: double; v4: double) := z_Color4d(v1, v2, v3, v4); - - private static procedure _Color4bv(v: pointer); external 'opengl32.dll' name 'glColor4bv'; - ///OpenGL 3.0 - public static z_Color4bv := _Color4bv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4bv(v: array of SByte) := Color4bv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4bv(var v: SByte) := Color4bv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4bv(v: pointer) := z_Color4bv(v); - - private static procedure _Color4b(v1: SByte; v2: SByte; v3: SByte; v4: SByte); external 'opengl32.dll' name 'glColor4b'; - ///OpenGL 3.0 - public static z_Color4b := _Color4b; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4b(v1: SByte; v2: SByte; v3: SByte; v4: SByte) := z_Color4b(v1, v2, v3, v4); - - private static procedure _Color3usv(v: pointer); external 'opengl32.dll' name 'glColor3usv'; - ///OpenGL 3.0 - public static z_Color3usv := _Color3usv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3usv(v: array of UInt16) := Color3usv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3usv(var v: UInt16) := Color3usv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3usv(v: pointer) := z_Color3usv(v); - - private static procedure _Color3us(v1: UInt16; v2: UInt16; v3: UInt16); external 'opengl32.dll' name 'glColor3us'; - ///OpenGL 3.0 - public static z_Color3us := _Color3us; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3us(v1: UInt16; v2: UInt16; v3: UInt16) := z_Color3us(v1, v2, v3); - - private static procedure _Color3uiv(v: pointer); external 'opengl32.dll' name 'glColor3uiv'; - ///OpenGL 3.0 - public static z_Color3uiv := _Color3uiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3uiv(v: array of UInt32) := Color3uiv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3uiv(var v: UInt32) := Color3uiv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3uiv(v: pointer) := z_Color3uiv(v); - - private static procedure _Color3ui(v1: UInt32; v2: UInt32; v3: UInt32); external 'opengl32.dll' name 'glColor3ui'; - ///OpenGL 3.0 - public static z_Color3ui := _Color3ui; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ui(v1: UInt32; v2: UInt32; v3: UInt32) := z_Color3ui(v1, v2, v3); - - private static procedure _Color3ubv(v: pointer); external 'opengl32.dll' name 'glColor3ubv'; - ///OpenGL 3.0 - public static z_Color3ubv := _Color3ubv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ubv(v: array of Byte) := Color3ubv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ubv(var v: Byte) := Color3ubv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ubv(v: pointer) := z_Color3ubv(v); - - private static procedure _Color3ub(v1: Byte; v2: Byte; v3: Byte); external 'opengl32.dll' name 'glColor3ub'; - ///OpenGL 3.0 - public static z_Color3ub := _Color3ub; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ub(v1: Byte; v2: Byte; v3: Byte) := z_Color3ub(v1, v2, v3); - - private static procedure _Color3sv(v: pointer); external 'opengl32.dll' name 'glColor3sv'; - ///OpenGL 3.0 - public static z_Color3sv := _Color3sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3sv(v: array of Int16) := Color3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3sv(var v: Int16) := Color3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3sv(v: pointer) := z_Color3sv(v); - - private static procedure _Color3s(v1: Int16; v2: Int16; v3: Int16); external 'opengl32.dll' name 'glColor3s'; - ///OpenGL 3.0 - public static z_Color3s := _Color3s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3s(v1: Int16; v2: Int16; v3: Int16) := z_Color3s(v1, v2, v3); - - private static procedure _Color3iv(v: pointer); external 'opengl32.dll' name 'glColor3iv'; - ///OpenGL 3.0 - public static z_Color3iv := _Color3iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3iv(v: array of Int32) := Color3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3iv(var v: Int32) := Color3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3iv(v: pointer) := z_Color3iv(v); - - private static procedure _Color3i(v1: Int32; v2: Int32; v3: Int32); external 'opengl32.dll' name 'glColor3i'; - ///OpenGL 3.0 - public static z_Color3i := _Color3i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3i(v1: Int32; v2: Int32; v3: Int32) := z_Color3i(v1, v2, v3); - - private static procedure _Color3fv(v: pointer); external 'opengl32.dll' name 'glColor3fv'; - ///OpenGL 3.0 - public static z_Color3fv := _Color3fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fv(v: array of single) := Color3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fv(var v: single) := Color3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fv(v: pointer) := z_Color3fv(v); - - private static procedure _Color3f(v1: single; v2: single; v3: single); external 'opengl32.dll' name 'glColor3f'; - ///OpenGL 3.0 - public static z_Color3f := _Color3f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3f(v1: single; v2: single; v3: single) := z_Color3f(v1, v2, v3); - - private static procedure _Color3dv(v: pointer); external 'opengl32.dll' name 'glColor3dv'; - ///OpenGL 3.0 - public static z_Color3dv := _Color3dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3dv(v: array of double) := Color3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3dv(var v: double) := Color3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3dv(v: pointer) := z_Color3dv(v); - - private static procedure _Color3d(v1: double; v2: double; v3: double); external 'opengl32.dll' name 'glColor3d'; - ///OpenGL 3.0 - public static z_Color3d := _Color3d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3d(v1: double; v2: double; v3: double) := z_Color3d(v1, v2, v3); - - private static procedure _Color3bv(v: pointer); external 'opengl32.dll' name 'glColor3bv'; - ///OpenGL 3.0 - public static z_Color3bv := _Color3bv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3bv(v: array of SByte) := Color3bv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3bv(var v: SByte) := Color3bv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3bv(v: pointer) := z_Color3bv(v); - - private static procedure _Color3b(v1: SByte; v2: SByte; v3: SByte); external 'opengl32.dll' name 'glColor3b'; - ///OpenGL 3.0 - public static z_Color3b := _Color3b; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3b(v1: SByte; v2: SByte; v3: SByte) := z_Color3b(v1, v2, v3); - - {$endregion 2.7 - Vertex Specification} - - {$region 2.8 - Vertex Arrays} - - private static procedure _VertexPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glVertexPointer'; - ///OpenGL 3.0 - public static z_VertexPointer := _VertexPointer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_VertexPointer(size, &type, stride, _pointer); - - private static procedure _TexCoordPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glTexCoordPointer'; - ///OpenGL 3.0 - public static z_TexCoordPointer := _TexCoordPointer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_TexCoordPointer(size, &type, stride, _pointer); - - ///OpenGL 3.0 - public z_SecondaryColorPointer := GetGLFuncOrNil&('glSecondaryColorPointer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_SecondaryColorPointer(size, &type, stride, _pointer); - - private static procedure _NormalPointer(&type: DummyEnum; stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glNormalPointer'; - ///OpenGL 3.0 - public static z_NormalPointer := _NormalPointer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointer(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_NormalPointer(&type, stride, _pointer); - - private static procedure _InterleavedArrays(format: DummyEnum; stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glInterleavedArrays'; - ///OpenGL 3.0 - public static z_InterleavedArrays := _InterleavedArrays; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InterleavedArrays(format: DummyEnum; stride: Int32; _pointer: pointer) := z_InterleavedArrays(format, stride, _pointer); - - private static procedure _IndexPointer(&type: DummyEnum; stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glIndexPointer'; - ///OpenGL 3.0 - public static z_IndexPointer := _IndexPointer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointer(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_IndexPointer(&type, stride, _pointer); - - ///OpenGL 3.0 - public z_FogCoordPointer := GetGLFuncOrNil&('glFogCoordPointer'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointer(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_FogCoordPointer(&type, stride, _pointer); - - private static procedure _EnableClientState(&array: DummyEnum); external 'opengl32.dll' name 'glEnableClientState'; - ///OpenGL 3.0 - public static z_EnableClientState := _EnableClientState; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableClientState(&array: DummyEnum) := z_EnableClientState(&array); - - private static procedure _EdgeFlagPointer(stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glEdgeFlagPointer'; - ///OpenGL 3.0 - public static z_EdgeFlagPointer := _EdgeFlagPointer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointer(stride: Int32; _pointer: pointer) := z_EdgeFlagPointer(stride, _pointer); - - private static procedure _DisableClientState(&array: DummyEnum); external 'opengl32.dll' name 'glDisableClientState'; - ///OpenGL 3.0 - public static z_DisableClientState := _DisableClientState; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableClientState(&array: DummyEnum) := z_DisableClientState(&array); - - private static procedure _ColorPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer); external 'opengl32.dll' name 'glColorPointer'; - ///OpenGL 3.0 - public static z_ColorPointer := _ColorPointer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointer(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_ColorPointer(size, &type, stride, _pointer); - - ///OpenGL 3.0 - public z_ClientActiveTexture := GetGLFuncOrNil&('glClientActiveTexture'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientActiveTexture(texture: DummyEnum) := z_ClientActiveTexture(texture); - - private static procedure _ArrayElement(i: Int32); external 'opengl32.dll' name 'glArrayElement'; - ///OpenGL 3.0 - public static z_ArrayElement := _ArrayElement; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ArrayElement(i: Int32) := z_ArrayElement(i); - - {$endregion 2.8 - Vertex Arrays} - - {$region 2.11 - Rectangles} - - private static procedure _Rectsv(v: pointer); external 'opengl32.dll' name 'glRectsv'; - ///OpenGL 3.0 - public static z_Rectsv := _Rectsv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v: array of Int16) := Rectsv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(var v: Int16) := Rectsv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v: pointer) := z_Rectsv(v); - - private static procedure _Rects(v1: Int16); external 'opengl32.dll' name 'glRects'; - ///OpenGL 3.0 - public static z_Rects := _Rects; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rects(v1: Int16) := z_Rects(v1); - - private static procedure _Rectiv(v: pointer); external 'opengl32.dll' name 'glRectiv'; - ///OpenGL 3.0 - public static z_Rectiv := _Rectiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v: array of Int32) := Rectiv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(var v: Int32) := Rectiv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v: pointer) := z_Rectiv(v); - - private static procedure _Recti(v1: Int32); external 'opengl32.dll' name 'glRecti'; - ///OpenGL 3.0 - public static z_Recti := _Recti; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Recti(v1: Int32) := z_Recti(v1); - - private static procedure _Rectfv(v: pointer); external 'opengl32.dll' name 'glRectfv'; - ///OpenGL 3.0 - public static z_Rectfv := _Rectfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v: array of single) := Rectfv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(var v: single) := Rectfv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v: pointer) := z_Rectfv(v); - - private static procedure _Rectf(v1: single); external 'opengl32.dll' name 'glRectf'; - ///OpenGL 3.0 - public static z_Rectf := _Rectf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectf(v1: single) := z_Rectf(v1); - - private static procedure _Rectdv(v: pointer); external 'opengl32.dll' name 'glRectdv'; - ///OpenGL 3.0 - public static z_Rectdv := _Rectdv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v: array of double) := Rectdv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(var v: double) := Rectdv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v: pointer) := z_Rectdv(v); - - private static procedure _Rectd(v1: double); external 'opengl32.dll' name 'glRectd'; - ///OpenGL 3.0 - public static z_Rectd := _Rectd; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectd(v1: double) := z_Rectd(v1); - - {$endregion 2.11 - Rectangles} - - {$region 2.12 - Coordinate Transformations} - - {$region 2.12.2 - Matrices} - - private static procedure _Translatef(x: single; y: single; z: single); external 'opengl32.dll' name 'glTranslatef'; - ///OpenGL 3.0 - public static z_Translatef := _Translatef; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Translatef(x: single; y: single; z: single) := z_Translatef(x, y, z); - - private static procedure _Translated(x: double; y: double; z: double); external 'opengl32.dll' name 'glTranslated'; - ///OpenGL 3.0 - public static z_Translated := _Translated; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Translated(x: double; y: double; z: double) := z_Translated(x, y, z); - - private static procedure _Scalef(x: single; y: single; z: single); external 'opengl32.dll' name 'glScalef'; - ///OpenGL 3.0 - public static z_Scalef := _Scalef; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Scalef(x: single; y: single; z: single) := z_Scalef(x, y, z); - - private static procedure _Scaled(x: double; y: double; z: double); external 'opengl32.dll' name 'glScaled'; - ///OpenGL 3.0 - public static z_Scaled := _Scaled; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Scaled(x: double; y: double; z: double) := z_Scaled(x, y, z); - - private static procedure _Rotatef(angle: single; x: single; y: single; z: single); external 'opengl32.dll' name 'glRotatef'; - ///OpenGL 3.0 - public static z_Rotatef := _Rotatef; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rotatef(angle: single; x: single; y: single; z: single) := z_Rotatef(angle, x, y, z); - - private static procedure _Rotated(angle: double; x: double; y: double; z: double); external 'opengl32.dll' name 'glRotated'; - ///OpenGL 3.0 - public static z_Rotated := _Rotated; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rotated(angle: double; x: double; y: double; z: double) := z_Rotated(angle, x, y, z); - - private static procedure _PushMatrix; external 'opengl32.dll' name 'glPushMatrix'; - ///OpenGL 3.0 - public static z_PushMatrix := _PushMatrix; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushMatrix := z_PushMatrix; - - private static procedure _PopMatrix; external 'opengl32.dll' name 'glPopMatrix'; - ///OpenGL 3.0 - public static z_PopMatrix := _PopMatrix; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopMatrix := z_PopMatrix; - - private static procedure _Ortho(left: double; right: double; bottom: double; top: double; nearVal: double; farVal: double); external 'opengl32.dll' name 'glOrtho'; - ///OpenGL 3.0 - public static z_Ortho := _Ortho; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Ortho(left: double; right: double; bottom: double; top: double; nearVal: double; farVal: double) := z_Ortho(left, right, bottom, top, nearVal, farVal); - - ///OpenGL 3.0 - public z_MultTransposeMatrixf := GetGLFuncOrNil&('glMultTransposeMatrixf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixf(m: array of single) := MultTransposeMatrixf(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixf(var m: single) := MultTransposeMatrixf(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixf(m: pointer) := z_MultTransposeMatrixf(m); - - ///OpenGL 3.0 - public z_MultTransposeMatrixd := GetGLFuncOrNil&('glMultTransposeMatrixd'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixd(m: array of double) := MultTransposeMatrixd(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixd(var m: double) := MultTransposeMatrixd(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixd(m: pointer) := z_MultTransposeMatrixd(m); - - private static procedure _MultMatrixf(m: pointer); external 'opengl32.dll' name 'glMultMatrixf'; - ///OpenGL 3.0 - public static z_MultMatrixf := _MultMatrixf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixf(m: array of single) := MultMatrixf(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixf(var m: single) := MultMatrixf(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixf(m: pointer) := z_MultMatrixf(m); - - private static procedure _MultMatrixd(m: pointer); external 'opengl32.dll' name 'glMultMatrixd'; - ///OpenGL 3.0 - public static z_MultMatrixd := _MultMatrixd; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixd(m: array of double) := MultMatrixd(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixd(var m: double) := MultMatrixd(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixd(m: pointer) := z_MultMatrixd(m); - - private static procedure _MatrixMode(mode: DummyEnum); external 'opengl32.dll' name 'glMatrixMode'; - ///OpenGL 3.0 - public static z_MatrixMode := _MatrixMode; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMode(mode: DummyEnum) := z_MatrixMode(mode); - - ///OpenGL 3.0 - public z_LoadTransposeMatrixf := GetGLFuncOrNil&('glLoadTransposeMatrixf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixf(m: array of single) := LoadTransposeMatrixf(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixf(var m: single) := LoadTransposeMatrixf(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixf(m: pointer) := z_LoadTransposeMatrixf(m); - - ///OpenGL 3.0 - public z_LoadTransposeMatrixd := GetGLFuncOrNil&('glLoadTransposeMatrixd'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixd(m: array of double) := LoadTransposeMatrixd(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixd(var m: double) := LoadTransposeMatrixd(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixd(m: pointer) := z_LoadTransposeMatrixd(m); - - private static procedure _LoadMatrixf(m: pointer); external 'opengl32.dll' name 'glLoadMatrixf'; - ///OpenGL 3.0 - public static z_LoadMatrixf := _LoadMatrixf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixf(m: array of single) := LoadMatrixf(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixf(var m: single) := LoadMatrixf(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixf(m: pointer) := z_LoadMatrixf(m); - - private static procedure _LoadMatrixd(m: pointer); external 'opengl32.dll' name 'glLoadMatrixd'; - ///OpenGL 3.0 - public static z_LoadMatrixd := _LoadMatrixd; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixd(m: array of double) := LoadMatrixd(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixd(var m: double) := LoadMatrixd(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixd(m: pointer) := z_LoadMatrixd(m); - - private static procedure _LoadIdentity; external 'opengl32.dll' name 'glLoadIdentity'; - ///OpenGL 3.0 - public static z_LoadIdentity := _LoadIdentity; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadIdentity := z_LoadIdentity; - - private static procedure _Frustum(left: double; right: double; bottom: double; top: double; nearVal: double; farVal: double); external 'opengl32.dll' name 'glFrustum'; - ///OpenGL 3.0 - public static z_Frustum := _Frustum; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Frustum(left: double; right: double; bottom: double; top: double; nearVal: double; farVal: double) := z_Frustum(left, right, bottom, top, nearVal, farVal); - - {$endregion 2.12.2 - Matrices} - - {$region 2.12.4 - Generating Texture Coordinates} - - private static procedure _TexGeniv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glTexGeniv'; - ///OpenGL 3.0 - public static z_TexGeniv := _TexGeniv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniv(coord: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TexGeniv(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniv(coord: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TexGeniv(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexGeniv(coord, pname, ¶ms); - - private static procedure _TexGeni(coord: DummyEnum; pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glTexGeni'; - ///OpenGL 3.0 - public static z_TexGeni := _TexGeni; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeni(coord: DummyEnum; pname: DummyEnum; param: Int32) := z_TexGeni(coord, pname, param); - - private static procedure _TexGenfv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glTexGenfv'; - ///OpenGL 3.0 - public static z_TexGenfv := _TexGenfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfv(coord: DummyEnum; pname: DummyEnum; ¶ms: array of single) := TexGenfv(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfv(coord: DummyEnum; pname: DummyEnum; var ¶ms: single) := TexGenfv(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexGenfv(coord, pname, ¶ms); - - private static procedure _TexGenf(coord: DummyEnum; pname: DummyEnum; param: single); external 'opengl32.dll' name 'glTexGenf'; - ///OpenGL 3.0 - public static z_TexGenf := _TexGenf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenf(coord: DummyEnum; pname: DummyEnum; param: single) := z_TexGenf(coord, pname, param); - - private static procedure _TexGendv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glTexGendv'; - ///OpenGL 3.0 - public static z_TexGendv := _TexGendv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGendv(coord: DummyEnum; pname: DummyEnum; ¶ms: array of double) := TexGendv(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGendv(coord: DummyEnum; pname: DummyEnum; var ¶ms: double) := TexGendv(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGendv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexGendv(coord, pname, ¶ms); - - private static procedure _TexGend(coord: DummyEnum; pname: DummyEnum; param: double); external 'opengl32.dll' name 'glTexGend'; - ///OpenGL 3.0 - public static z_TexGend := _TexGend; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGend(coord: DummyEnum; pname: DummyEnum; param: double) := z_TexGend(coord, pname, param); - - {$endregion 2.12.4 - Generating Texture Coordinates} - - {$endregion 2.12 - Coordinate Transformations} - - {$region 2.17 - Clipping} - - private static procedure _ClipPlane(plane: DummyEnum; equation: pointer); external 'opengl32.dll' name 'glClipPlane'; - ///OpenGL 3.0 - public static z_ClipPlane := _ClipPlane; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlane(plane: DummyEnum; equation: array of double) := ClipPlane(plane, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlane(plane: DummyEnum; var equation: double) := ClipPlane(plane, @equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlane(plane: DummyEnum; equation: pointer) := z_ClipPlane(plane, equation); - - {$endregion 2.17 - Clipping} - - {$region 2.18 - Current Raster Position} - - ///OpenGL 3.0 - public z_WindowPos3sv := GetGLFuncOrNil&('glWindowPos3sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sv(v: array of Int16) := WindowPos3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sv(var v: Int16) := WindowPos3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sv(v: pointer) := z_WindowPos3sv(v); - - ///OpenGL 3.0 - public z_WindowPos3s := GetGLFuncOrNil&('glWindowPos3s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3s(x: Int16; y: Int16; z: Int16) := z_WindowPos3s(x, y, z); - - ///OpenGL 3.0 - public z_WindowPos3iv := GetGLFuncOrNil&('glWindowPos3iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iv(v: array of Int32) := WindowPos3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iv(var v: Int32) := WindowPos3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iv(v: pointer) := z_WindowPos3iv(v); - - ///OpenGL 3.0 - public z_WindowPos3i := GetGLFuncOrNil&('glWindowPos3i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3i(x: Int32; y: Int32; z: Int32) := z_WindowPos3i(x, y, z); - - ///OpenGL 3.0 - public z_WindowPos3fv := GetGLFuncOrNil&('glWindowPos3fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fv(v: array of single) := WindowPos3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fv(var v: single) := WindowPos3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fv(v: pointer) := z_WindowPos3fv(v); - - ///OpenGL 3.0 - public z_WindowPos3f := GetGLFuncOrNil&('glWindowPos3f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3f(x: single; y: single; z: single) := z_WindowPos3f(x, y, z); - - ///OpenGL 3.0 - public z_WindowPos3dv := GetGLFuncOrNil&('glWindowPos3dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dv(v: array of double) := WindowPos3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dv(var v: double) := WindowPos3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dv(v: pointer) := z_WindowPos3dv(v); - - ///OpenGL 3.0 - public z_WindowPos3d := GetGLFuncOrNil&('glWindowPos3d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3d(x: double; y: double; z: double) := z_WindowPos3d(x, y, z); - - ///OpenGL 3.0 - public z_WindowPos2sv := GetGLFuncOrNil&('glWindowPos2sv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sv(v: array of Int16) := WindowPos2sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sv(var v: Int16) := WindowPos2sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sv(v: pointer) := z_WindowPos2sv(v); - - ///OpenGL 3.0 - public z_WindowPos2s := GetGLFuncOrNil&('glWindowPos2s'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2s(x: Int16; y: Int16) := z_WindowPos2s(x, y); - - ///OpenGL 3.0 - public z_WindowPos2iv := GetGLFuncOrNil&('glWindowPos2iv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iv(v: array of Int32) := WindowPos2iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iv(var v: Int32) := WindowPos2iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iv(v: pointer) := z_WindowPos2iv(v); - - ///OpenGL 3.0 - public z_WindowPos2i := GetGLFuncOrNil&('glWindowPos2i'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2i(x: Int32; y: Int32) := z_WindowPos2i(x, y); - - ///OpenGL 3.0 - public z_WindowPos2fv := GetGLFuncOrNil&('glWindowPos2fv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fv(v: array of single) := WindowPos2fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fv(var v: single) := WindowPos2fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fv(v: pointer) := z_WindowPos2fv(v); - - ///OpenGL 3.0 - public z_WindowPos2f := GetGLFuncOrNil&('glWindowPos2f'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2f(x: single; y: single) := z_WindowPos2f(x, y); - - ///OpenGL 3.0 - public z_WindowPos2dv := GetGLFuncOrNil&('glWindowPos2dv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dv(v: array of double) := WindowPos2dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dv(var v: double) := WindowPos2dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dv(v: pointer) := z_WindowPos2dv(v); - - ///OpenGL 3.0 - public z_WindowPos2d := GetGLFuncOrNil&('glWindowPos2d'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2d(x: double; y: double) := z_WindowPos2d(x, y); - - private static procedure _RasterPos4sv(v: pointer); external 'opengl32.dll' name 'glRasterPos4sv'; - ///OpenGL 3.0 - public static z_RasterPos4sv := _RasterPos4sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4sv(v: array of Int16) := RasterPos4sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4sv(var v: Int16) := RasterPos4sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4sv(v: pointer) := z_RasterPos4sv(v); - - private static procedure _RasterPos4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16); external 'opengl32.dll' name 'glRasterPos4s'; - ///OpenGL 3.0 - public static z_RasterPos4s := _RasterPos4s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4s(v1: Int16; v2: Int16; v3: Int16; v4: Int16) := z_RasterPos4s(v1, v2, v3, v4); - - private static procedure _RasterPos4iv(v: pointer); external 'opengl32.dll' name 'glRasterPos4iv'; - ///OpenGL 3.0 - public static z_RasterPos4iv := _RasterPos4iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4iv(v: array of Int32) := RasterPos4iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4iv(var v: Int32) := RasterPos4iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4iv(v: pointer) := z_RasterPos4iv(v); - - private static procedure _RasterPos4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32); external 'opengl32.dll' name 'glRasterPos4i'; - ///OpenGL 3.0 - public static z_RasterPos4i := _RasterPos4i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4i(v1: Int32; v2: Int32; v3: Int32; v4: Int32) := z_RasterPos4i(v1, v2, v3, v4); - - private static procedure _RasterPos4fv(v: pointer); external 'opengl32.dll' name 'glRasterPos4fv'; - ///OpenGL 3.0 - public static z_RasterPos4fv := _RasterPos4fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4fv(v: array of single) := RasterPos4fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4fv(var v: single) := RasterPos4fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4fv(v: pointer) := z_RasterPos4fv(v); - - private static procedure _RasterPos4f(v1: single; v2: single; v3: single; v4: single); external 'opengl32.dll' name 'glRasterPos4f'; - ///OpenGL 3.0 - public static z_RasterPos4f := _RasterPos4f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4f(v1: single; v2: single; v3: single; v4: single) := z_RasterPos4f(v1, v2, v3, v4); - - private static procedure _RasterPos4dv(v: pointer); external 'opengl32.dll' name 'glRasterPos4dv'; - ///OpenGL 3.0 - public static z_RasterPos4dv := _RasterPos4dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4dv(v: array of double) := RasterPos4dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4dv(var v: double) := RasterPos4dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4dv(v: pointer) := z_RasterPos4dv(v); - - private static procedure _RasterPos4d(v1: double; v2: double; v3: double; v4: double); external 'opengl32.dll' name 'glRasterPos4d'; - ///OpenGL 3.0 - public static z_RasterPos4d := _RasterPos4d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4d(v1: double; v2: double; v3: double; v4: double) := z_RasterPos4d(v1, v2, v3, v4); - - private static procedure _RasterPos3sv(v: pointer); external 'opengl32.dll' name 'glRasterPos3sv'; - ///OpenGL 3.0 - public static z_RasterPos3sv := _RasterPos3sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3sv(v: array of Int16) := RasterPos3sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3sv(var v: Int16) := RasterPos3sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3sv(v: pointer) := z_RasterPos3sv(v); - - private static procedure _RasterPos3s(v1: Int16; v2: Int16; v3: Int16); external 'opengl32.dll' name 'glRasterPos3s'; - ///OpenGL 3.0 - public static z_RasterPos3s := _RasterPos3s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3s(v1: Int16; v2: Int16; v3: Int16) := z_RasterPos3s(v1, v2, v3); - - private static procedure _RasterPos3iv(v: pointer); external 'opengl32.dll' name 'glRasterPos3iv'; - ///OpenGL 3.0 - public static z_RasterPos3iv := _RasterPos3iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3iv(v: array of Int32) := RasterPos3iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3iv(var v: Int32) := RasterPos3iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3iv(v: pointer) := z_RasterPos3iv(v); - - private static procedure _RasterPos3i(v1: Int32; v2: Int32; v3: Int32); external 'opengl32.dll' name 'glRasterPos3i'; - ///OpenGL 3.0 - public static z_RasterPos3i := _RasterPos3i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3i(v1: Int32; v2: Int32; v3: Int32) := z_RasterPos3i(v1, v2, v3); - - private static procedure _RasterPos3fv(v: pointer); external 'opengl32.dll' name 'glRasterPos3fv'; - ///OpenGL 3.0 - public static z_RasterPos3fv := _RasterPos3fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3fv(v: array of single) := RasterPos3fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3fv(var v: single) := RasterPos3fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3fv(v: pointer) := z_RasterPos3fv(v); - - private static procedure _RasterPos3f(x: single; y: single; z: single); external 'opengl32.dll' name 'glRasterPos3f'; - ///OpenGL 3.0 - public static z_RasterPos3f := _RasterPos3f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3f(x: single; y: single; z: single) := z_RasterPos3f(x, y, z); - - private static procedure _RasterPos3dv(v: pointer); external 'opengl32.dll' name 'glRasterPos3dv'; - ///OpenGL 3.0 - public static z_RasterPos3dv := _RasterPos3dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3dv(v: array of double) := RasterPos3dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3dv(var v: double) := RasterPos3dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3dv(v: pointer) := z_RasterPos3dv(v); - - private static procedure _RasterPos3d(v1: double; v2: double; v3: double); external 'opengl32.dll' name 'glRasterPos3d'; - ///OpenGL 3.0 - public static z_RasterPos3d := _RasterPos3d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3d(v1: double; v2: double; v3: double) := z_RasterPos3d(v1, v2, v3); - - private static procedure _RasterPos2sv(v: pointer); external 'opengl32.dll' name 'glRasterPos2sv'; - ///OpenGL 3.0 - public static z_RasterPos2sv := _RasterPos2sv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2sv(v: array of Int16) := RasterPos2sv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2sv(var v: Int16) := RasterPos2sv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2sv(v: pointer) := z_RasterPos2sv(v); - - private static procedure _RasterPos2s(v1: Int16; v2: Int16); external 'opengl32.dll' name 'glRasterPos2s'; - ///OpenGL 3.0 - public static z_RasterPos2s := _RasterPos2s; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2s(v1: Int16; v2: Int16) := z_RasterPos2s(v1, v2); - - private static procedure _RasterPos2iv(v: pointer); external 'opengl32.dll' name 'glRasterPos2iv'; - ///OpenGL 3.0 - public static z_RasterPos2iv := _RasterPos2iv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2iv(v: array of Int32) := RasterPos2iv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2iv(var v: Int32) := RasterPos2iv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2iv(v: pointer) := z_RasterPos2iv(v); - - private static procedure _RasterPos2i(v1: Int32; v2: Int32); external 'opengl32.dll' name 'glRasterPos2i'; - ///OpenGL 3.0 - public static z_RasterPos2i := _RasterPos2i; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2i(v1: Int32; v2: Int32) := z_RasterPos2i(v1, v2); - - private static procedure _RasterPos2fv(v: pointer); external 'opengl32.dll' name 'glRasterPos2fv'; - ///OpenGL 3.0 - public static z_RasterPos2fv := _RasterPos2fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2fv(v: array of single) := RasterPos2fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2fv(var v: single) := RasterPos2fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2fv(v: pointer) := z_RasterPos2fv(v); - - private static procedure _RasterPos2f(v1: single; v2: single); external 'opengl32.dll' name 'glRasterPos2f'; - ///OpenGL 3.0 - public static z_RasterPos2f := _RasterPos2f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2f(v1: single; v2: single) := z_RasterPos2f(v1, v2); - - private static procedure _RasterPos2dv(v: pointer); external 'opengl32.dll' name 'glRasterPos2dv'; - ///OpenGL 3.0 - public static z_RasterPos2dv := _RasterPos2dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2dv(v: array of double) := RasterPos2dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2dv(var v: double) := RasterPos2dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2dv(v: pointer) := z_RasterPos2dv(v); - - private static procedure _RasterPos2d(v1: double; v2: double); external 'opengl32.dll' name 'glRasterPos2d'; - ///OpenGL 3.0 - public static z_RasterPos2d := _RasterPos2d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2d(v1: double; v2: double) := z_RasterPos2d(v1, v2); - - {$endregion 2.18 - Current Raster Position} - - {$region 2.19 - Colors and Coloring} - - {$region 2.19.2 - Lighting Parameter Specification} - - private static procedure _Materialiv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glMaterialiv'; - ///OpenGL 3.0 - public static z_Materialiv := _Materialiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialiv(face: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := Materialiv(face, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialiv(face: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := Materialiv(face, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialiv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_Materialiv(face, pname, ¶ms); - - private static procedure _Materiali(face: DummyEnum; pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glMateriali'; - ///OpenGL 3.0 - public static z_Materiali := _Materiali; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materiali(face: DummyEnum; pname: DummyEnum; param: Int32) := z_Materiali(face, pname, param); - - private static procedure _Materialfv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glMaterialfv'; - ///OpenGL 3.0 - public static z_Materialfv := _Materialfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialfv(face: DummyEnum; pname: DummyEnum; ¶ms: array of single) := Materialfv(face, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialfv(face: DummyEnum; pname: DummyEnum; var ¶ms: single) := Materialfv(face, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialfv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_Materialfv(face, pname, ¶ms); - - private static procedure _Materialf(face: DummyEnum; pname: DummyEnum; param: single); external 'opengl32.dll' name 'glMaterialf'; - ///OpenGL 3.0 - public static z_Materialf := _Materialf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialf(face: DummyEnum; pname: DummyEnum; param: single) := z_Materialf(face, pname, param); - - private static procedure _LightModeliv(pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glLightModeliv'; - ///OpenGL 3.0 - public static z_LightModeliv := _LightModeliv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeliv(pname: DummyEnum; ¶ms: array of Int32) := LightModeliv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeliv(pname: DummyEnum; var ¶ms: Int32) := LightModeliv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeliv(pname: DummyEnum; ¶ms: pointer) := z_LightModeliv(pname, ¶ms); - - private static procedure _LightModeli(pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glLightModeli'; - ///OpenGL 3.0 - public static z_LightModeli := _LightModeli; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeli(pname: DummyEnum; param: Int32) := z_LightModeli(pname, param); - - private static procedure _LightModelfv(pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glLightModelfv'; - ///OpenGL 3.0 - public static z_LightModelfv := _LightModelfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelfv(pname: DummyEnum; ¶ms: array of single) := LightModelfv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelfv(pname: DummyEnum; var ¶ms: single) := LightModelfv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelfv(pname: DummyEnum; ¶ms: pointer) := z_LightModelfv(pname, ¶ms); - - private static procedure _LightModelf(pname: DummyEnum; param: single); external 'opengl32.dll' name 'glLightModelf'; - ///OpenGL 3.0 - public static z_LightModelf := _LightModelf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelf(pname: DummyEnum; param: single) := z_LightModelf(pname, param); - - private static procedure _Lightiv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glLightiv'; - ///OpenGL 3.0 - public static z_Lightiv := _Lightiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightiv(light: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := Lightiv(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightiv(light: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := Lightiv(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightiv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_Lightiv(light, pname, ¶ms); - - private static procedure _Lighti(light: DummyEnum; pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glLighti'; - ///OpenGL 3.0 - public static z_Lighti := _Lighti; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lighti(light: DummyEnum; pname: DummyEnum; param: Int32) := z_Lighti(light, pname, param); - - private static procedure _Lightfv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glLightfv'; - ///OpenGL 3.0 - public static z_Lightfv := _Lightfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightfv(light: DummyEnum; pname: DummyEnum; ¶ms: array of single) := Lightfv(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightfv(light: DummyEnum; pname: DummyEnum; var ¶ms: single) := Lightfv(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightfv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_Lightfv(light, pname, ¶ms); - - private static procedure _Lightf(light: DummyEnum; pname: DummyEnum; param: single); external 'opengl32.dll' name 'glLightf'; - ///OpenGL 3.0 - public static z_Lightf := _Lightf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightf(light: DummyEnum; pname: DummyEnum; param: single) := z_Lightf(light, pname, param); - - {$endregion 2.19.2 - Lighting Parameter Specification} - - {$region 2.19.3 - ColorMaterial} - - private static procedure _ColorMaterial(face: DummyEnum; mode: DummyEnum); external 'opengl32.dll' name 'glColorMaterial'; - ///OpenGL 3.0 - public static z_ColorMaterial := _ColorMaterial; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaterial(face: DummyEnum; mode: DummyEnum) := z_ColorMaterial(face, mode); - - {$endregion 2.19.3 - ColorMaterial} - - {$region 2.19.7 - Flatshading} - - private static procedure _ShadeModel(mode: DummyEnum); external 'opengl32.dll' name 'glShadeModel'; - ///OpenGL 3.0 - public static z_ShadeModel := _ShadeModel; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadeModel(mode: DummyEnum) := z_ShadeModel(mode); - - {$endregion 2.19.7 - Flatshading} - - {$endregion 2.19 - Colors and Coloring} - - {$endregion 2 - OpenGL Operation} - - {$region 3 - Rasterization} - - {$region 3.5 - Line Segments} - - {$region 3.5.2 - Other Line Segment Features} - - private static procedure _LineStipple(factor: Int32; pattern: UInt16); external 'opengl32.dll' name 'glLineStipple'; - ///OpenGL 3.0 - public static z_LineStipple := _LineStipple; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LineStipple(factor: Int32; pattern: UInt16) := z_LineStipple(factor, pattern); - - {$endregion 3.5.2 - Other Line Segment Features} - - {$endregion 3.5 - Line Segments} - - {$region 3.6 - Polygons} - - {$region 3.6.2 - Stippling} - - private static procedure _PolygonStipple(mask: pointer); external 'opengl32.dll' name 'glPolygonStipple'; - ///OpenGL 3.0 - public static z_PolygonStipple := _PolygonStipple; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonStipple(mask: array of Byte) := PolygonStipple(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mask,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonStipple(var mask: Byte) := PolygonStipple(@mask); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonStipple(mask: pointer) := z_PolygonStipple(mask); - - {$endregion 3.6.2 - Stippling} - - {$endregion 3.6 - Polygons} - - {$region 3.7 - Pixel Rectangles} - - {$region 3.7.3 - Pixel Transfer Modes} - - ///OpenGL 3.0 - public z_SeparableFilter2D := GetGLFuncOrNil&('glSeparableFilter2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SeparableFilter2D(target: DummyEnum; internalformat: DummyEnum; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; row: pointer; column: pointer) := z_SeparableFilter2D(target, internalformat, width, height, format, &type, row, column); - - private static procedure _PixelTransferi(pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glPixelTransferi'; - ///OpenGL 3.0 - public static z_PixelTransferi := _PixelTransferi; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransferi(pname: DummyEnum; param: Int32) := z_PixelTransferi(pname, param); - - private static procedure _PixelTransferf(pname: DummyEnum; param: single); external 'opengl32.dll' name 'glPixelTransferf'; - ///OpenGL 3.0 - public static z_PixelTransferf := _PixelTransferf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransferf(pname: DummyEnum; param: single) := z_PixelTransferf(pname, param); - - private static procedure _PixelMapusv(map: DummyEnum; mapsize: Int32; values: pointer); external 'opengl32.dll' name 'glPixelMapusv'; - ///OpenGL 3.0 - public static z_PixelMapusv := _PixelMapusv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapusv(map: DummyEnum; mapsize: Int32; values: array of UInt16) := PixelMapusv(map, mapsize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapusv(map: DummyEnum; mapsize: Int32; var values: UInt16) := PixelMapusv(map, mapsize, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapusv(map: DummyEnum; mapsize: Int32; values: pointer) := z_PixelMapusv(map, mapsize, values); - - private static procedure _PixelMapuiv(map: DummyEnum; mapsize: Int32; values: pointer); external 'opengl32.dll' name 'glPixelMapuiv'; - ///OpenGL 3.0 - public static z_PixelMapuiv := _PixelMapuiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapuiv(map: DummyEnum; mapsize: Int32; values: array of UInt32) := PixelMapuiv(map, mapsize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapuiv(map: DummyEnum; mapsize: Int32; var values: UInt32) := PixelMapuiv(map, mapsize, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapuiv(map: DummyEnum; mapsize: Int32; values: pointer) := z_PixelMapuiv(map, mapsize, values); - - private static procedure _PixelMapfv(map: DummyEnum; mapsize: Int32; values: pointer); external 'opengl32.dll' name 'glPixelMapfv'; - ///OpenGL 3.0 - public static z_PixelMapfv := _PixelMapfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapfv(map: DummyEnum; mapsize: Int32; values: array of single) := PixelMapfv(map, mapsize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapfv(map: DummyEnum; mapsize: Int32; var values: single) := PixelMapfv(map, mapsize, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapfv(map: DummyEnum; mapsize: Int32; values: pointer) := z_PixelMapfv(map, mapsize, values); - - ///OpenGL 3.0 - public z_Minmax := GetGLFuncOrNil&('glMinmax'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Minmax(target: DummyEnum; internalformat: DummyEnum; sink: boolean) := z_Minmax(target, internalformat, sink); - - ///OpenGL 3.0 - public z_Histogram := GetGLFuncOrNil&('glHistogram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Histogram(target: DummyEnum; width: Int32; internalformat: DummyEnum; sink: boolean) := z_Histogram(target, width, internalformat, sink); - - ///OpenGL 3.0 - public z_CopyConvolutionFilter2D := GetGLFuncOrNil&('glCopyConvolutionFilter2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyConvolutionFilter2D(target: DummyEnum; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyConvolutionFilter2D(target, internalformat, x, y, width, height); - - ///OpenGL 3.0 - public z_CopyConvolutionFilter1D := GetGLFuncOrNil&('glCopyConvolutionFilter1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyConvolutionFilter1D(target: DummyEnum; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32) := z_CopyConvolutionFilter1D(target, internalformat, x, y, width); - - ///OpenGL 3.0 - public z_CopyColorTable := GetGLFuncOrNil&('glCopyColorTable'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyColorTable(target: DummyEnum; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32) := z_CopyColorTable(target, internalformat, x, y, width); - - ///OpenGL 3.0 - public z_CopyColorSubTable := GetGLFuncOrNil&('glCopyColorSubTable'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyColorSubTable(target: DummyEnum; start: Int32; x: Int32; y: Int32; width: Int32) := z_CopyColorSubTable(target, start, x, y, width); - - ///OpenGL 3.0 - public z_ConvolutionParameteriv := GetGLFuncOrNil&('glConvolutionParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := ConvolutionParameteriv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameteriv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := ConvolutionParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ConvolutionParameteriv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_ConvolutionParameterfv := GetGLFuncOrNil&('glConvolutionParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := ConvolutionParameterfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := ConvolutionParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ConvolutionParameterfv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_ConvolutionFilter2D := GetGLFuncOrNil&('glConvolutionFilter2D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionFilter2D(target: DummyEnum; internalformat: DummyEnum; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; image: pointer) := z_ConvolutionFilter2D(target, internalformat, width, height, format, &type, image); - - ///OpenGL 3.0 - public z_ConvolutionFilter1D := GetGLFuncOrNil&('glConvolutionFilter1D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionFilter1D(target: DummyEnum; internalformat: DummyEnum; width: Int32; format: DummyEnum; &type: DummyEnum; image: pointer) := z_ConvolutionFilter1D(target, internalformat, width, format, &type, image); - - ///OpenGL 3.0 - public z_ColorTableParameteriv := GetGLFuncOrNil&('glColorTableParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := ColorTableParameteriv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameteriv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := ColorTableParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ColorTableParameteriv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_ColorTableParameterfv := GetGLFuncOrNil&('glColorTableParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := ColorTableParameterfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := ColorTableParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ColorTableParameterfv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_ColorTable := GetGLFuncOrNil&('glColorTable'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTable(target: DummyEnum; internalformat: DummyEnum; width: Int32; format: DummyEnum; &type: DummyEnum; table: pointer) := z_ColorTable(target, internalformat, width, format, &type, table); - - ///OpenGL 3.0 - public z_ColorSubTable := GetGLFuncOrNil&('glColorSubTable'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorSubTable(target: DummyEnum; start: Int32; count: Int32; format: DummyEnum; &type: DummyEnum; data: pointer) := z_ColorSubTable(target, start, count, format, &type, data); - - {$endregion 3.7.3 - Pixel Transfer Modes} - - {$region 3.7.4 - Rasterization of Pixel Rectangles} - - private static procedure _PixelZoom(xfactor: single; yfactor: single); external 'opengl32.dll' name 'glPixelZoom'; - ///OpenGL 3.0 - public static z_PixelZoom := _PixelZoom; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelZoom(xfactor: single; yfactor: single) := z_PixelZoom(xfactor, yfactor); - - private static procedure _DrawPixels(width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer); external 'opengl32.dll' name 'glDrawPixels'; - ///OpenGL 3.0 - public static z_DrawPixels := _DrawPixels; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawPixels(width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_DrawPixels(width, height, format, &type, pixels); - - {$endregion 3.7.4 - Rasterization of Pixel Rectangles} - - {$region 3.7.5 - Pixel Transfer Operations} - - ///OpenGL 3.0 - public z_ConvolutionParameteri := GetGLFuncOrNil&('glConvolutionParameteri'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameteri(target: DummyEnum; pname: DummyEnum; ¶ms: Int32) := z_ConvolutionParameteri(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_ConvolutionParameterf := GetGLFuncOrNil&('glConvolutionParameterf'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterf(target: DummyEnum; pname: DummyEnum; ¶ms: single) := z_ConvolutionParameterf(target, pname, ¶ms); - - {$endregion 3.7.5 - Pixel Transfer Operations} - - {$endregion 3.7 - Pixel Rectangles} - - {$region 3.8 - Bitmaps} - - private static procedure _Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; _bitmap: pointer); external 'opengl32.dll' name 'glBitmap'; - ///OpenGL 3.0 - public static z_Bitmap := _Bitmap; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; _bitmap: array of Byte) := Bitmap(width, height, xorig, yorig, xmove, ymove, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_bitmap,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; var _bitmap: Byte) := Bitmap(width, height, xorig, yorig, xmove, ymove, @_bitmap); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Bitmap(width: Int32; height: Int32; xorig: single; yorig: single; xmove: single; ymove: single; _bitmap: pointer) := z_Bitmap(width, height, xorig, yorig, xmove, ymove, _bitmap); - - {$endregion 3.8 - Bitmaps} - - {$region 3.9 - Texturing} - - {$region 3.9.12 - Texture Objects} - - private static procedure _PrioritizeTextures(n: Int32; textures: pointer; priorities: pointer); external 'opengl32.dll' name 'glPrioritizeTextures'; - ///OpenGL 3.0 - public static z_PrioritizeTextures := _PrioritizeTextures; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: array of UInt32; priorities: array of single) := PrioritizeTextures(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: array of UInt32; var priorities: single) := PrioritizeTextures(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: array of UInt32; priorities: pointer) := PrioritizeTextures(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; var textures: UInt32; priorities: array of single) := PrioritizeTextures(n, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; var textures: UInt32; var priorities: single) := PrioritizeTextures(n, @textures, @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; var textures: UInt32; priorities: pointer) := PrioritizeTextures(n, @textures, priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: pointer; priorities: array of single) := PrioritizeTextures(n, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: pointer; var priorities: single) := PrioritizeTextures(n, textures, @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: pointer; priorities: pointer) := z_PrioritizeTextures(n, textures, priorities); - - private static function _AreTexturesResident(n: Int32; textures: pointer; residences: pointer): boolean; external 'opengl32.dll' name 'glAreTexturesResident'; - ///OpenGL 3.0 - public static z_AreTexturesResident := _AreTexturesResident; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: array of UInt32; residences: array of boolean): boolean := AreTexturesResident(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: array of UInt32; var residences: boolean): boolean := AreTexturesResident(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: array of UInt32; residences: pointer): boolean := AreTexturesResident(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; var textures: UInt32; residences: array of boolean): boolean := AreTexturesResident(n, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; var textures: UInt32; var residences: boolean): boolean := AreTexturesResident(n, @textures, @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; var textures: UInt32; residences: pointer): boolean := AreTexturesResident(n, @textures, residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: pointer; residences: array of boolean): boolean := AreTexturesResident(n, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: pointer; var residences: boolean): boolean := AreTexturesResident(n, textures, @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResident(n: Int32; textures: pointer; residences: pointer): boolean := z_AreTexturesResident(n, textures, residences); - - {$endregion 3.9.12 - Texture Objects} - - {$region 3.9.13 - Texture Environments and Texture Functions} - - private static procedure _TexEnviv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glTexEnviv'; - ///OpenGL 3.0 - public static z_TexEnviv := _TexEnviv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnviv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TexEnviv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnviv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TexEnviv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnviv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexEnviv(target, pname, ¶ms); - - private static procedure _TexEnvi(target: DummyEnum; pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glTexEnvi'; - ///OpenGL 3.0 - public static z_TexEnvi := _TexEnvi; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvi(target: DummyEnum; pname: DummyEnum; param: Int32) := z_TexEnvi(target, pname, param); - - private static procedure _TexEnvfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glTexEnvfv'; - ///OpenGL 3.0 - public static z_TexEnvfv := _TexEnvfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := TexEnvfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := TexEnvfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexEnvfv(target, pname, ¶ms); - - private static procedure _TexEnvf(target: DummyEnum; pname: DummyEnum; param: single); external 'opengl32.dll' name 'glTexEnvf'; - ///OpenGL 3.0 - public static z_TexEnvf := _TexEnvf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvf(target: DummyEnum; pname: DummyEnum; param: single) := z_TexEnvf(target, pname, param); - - {$endregion 3.9.13 - Texture Environments and Texture Functions} - - {$endregion 3.9 - Texturing} - - {$region 3.11 - Fog} - - private static procedure _Fogiv(pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glFogiv'; - ///OpenGL 3.0 - public static z_Fogiv := _Fogiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogiv(pname: DummyEnum; ¶ms: array of Int32) := Fogiv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogiv(pname: DummyEnum; var ¶ms: Int32) := Fogiv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogiv(pname: DummyEnum; ¶ms: pointer) := z_Fogiv(pname, ¶ms); - - private static procedure _Fogi(pname: DummyEnum; param: Int32); external 'opengl32.dll' name 'glFogi'; - ///OpenGL 3.0 - public static z_Fogi := _Fogi; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogi(pname: DummyEnum; param: Int32) := z_Fogi(pname, param); - - private static procedure _Fogfv(pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glFogfv'; - ///OpenGL 3.0 - public static z_Fogfv := _Fogfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogfv(pname: DummyEnum; ¶ms: array of single) := Fogfv(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogfv(pname: DummyEnum; var ¶ms: single) := Fogfv(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogfv(pname: DummyEnum; ¶ms: pointer) := z_Fogfv(pname, ¶ms); - - private static procedure _Fogf(pname: DummyEnum; param: single); external 'opengl32.dll' name 'glFogf'; - ///OpenGL 3.0 - public static z_Fogf := _Fogf; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogf(pname: DummyEnum; param: single) := z_Fogf(pname, param); - - {$endregion 3.11 - Fog} - - {$endregion 3 - Rasterization} - - {$region 4 - Per-Fragment Operations and the Framebuffer} - - {$region 4.1 - Per-Fragment Operations} - - {$region 4.1.4 - Alpha Test} - - private static procedure _AlphaFunc(func: DummyEnum; ref: single); external 'opengl32.dll' name 'glAlphaFunc'; - ///OpenGL 3.0 - public static z_AlphaFunc := _AlphaFunc; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFunc(func: DummyEnum; ref: single) := z_AlphaFunc(func, ref); - - {$endregion 4.1.4 - Alpha Test} - - {$endregion 4.1 - Per-Fragment Operations} - - {$region 4.2 - Whole Framebuffer Operations} - - {$region 4.2.2 - Fine Control of Buffer Updates} - - private static procedure _IndexMask(mask: UInt32); external 'opengl32.dll' name 'glIndexMask'; - ///OpenGL 3.0 - public static z_IndexMask := _IndexMask; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexMask(mask: UInt32) := z_IndexMask(mask); - - {$endregion 4.2.2 - Fine Control of Buffer Updates} - - {$region 4.2.3 - Clearing the Buffers} - - private static procedure _ClearIndex(c: single); external 'opengl32.dll' name 'glClearIndex'; - ///OpenGL 3.0 - public static z_ClearIndex := _ClearIndex; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearIndex(c: single) := z_ClearIndex(c); - - private static procedure _ClearAccum(red: single; green: single; blue: single; alpha: single); external 'opengl32.dll' name 'glClearAccum'; - ///OpenGL 3.0 - public static z_ClearAccum := _ClearAccum; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearAccum(red: single; green: single; blue: single; alpha: single) := z_ClearAccum(red, green, blue, alpha); - - {$endregion 4.2.3 - Clearing the Buffers} - - {$region 4.2.4 - The Accumulation Buffer} - - private static procedure _Accum(op: DummyEnum; value: single); external 'opengl32.dll' name 'glAccum'; - ///OpenGL 3.0 - public static z_Accum := _Accum; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Accum(op: DummyEnum; value: single) := z_Accum(op, value); - - {$endregion 4.2.4 - The Accumulation Buffer} - - {$endregion 4.2 - Whole Framebuffer Operations} - - {$region 4.3 - Drawing, Reading, and Copying Pixels} - - {$region 4.3.3 - Copying Pixels} - - private static procedure _CopyPixels(x: Int32; y: Int32; width: Int32; height: Int32; &type: DummyEnum); external 'opengl32.dll' name 'glCopyPixels'; - ///OpenGL 3.0 - public static z_CopyPixels := _CopyPixels; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyPixels(x: Int32; y: Int32; width: Int32; height: Int32; &type: DummyEnum) := z_CopyPixels(x, y, width, height, &type); - - {$endregion 4.3.3 - Copying Pixels} - - {$endregion 4.3 - Drawing, Reading, and Copying Pixels} - - {$endregion 4 - Per-Fragment Operations and the Framebuffer} - - {$region 5 - Special Functions} - - {$region 5.1 - Evaluators} - - private static procedure _MapGrid2f(un: Int32; u1: single; u2: single; vn: Int32; v1: single; v2: single); external 'opengl32.dll' name 'glMapGrid2f'; - ///OpenGL 3.0 - public static z_MapGrid2f := _MapGrid2f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid2f(un: Int32; u1: single; u2: single; vn: Int32; v1: single; v2: single) := z_MapGrid2f(un, u1, u2, vn, v1, v2); - - private static procedure _MapGrid2d(un: Int32; u1: double; u2: double; vn: Int32; v1: double; v2: double); external 'opengl32.dll' name 'glMapGrid2d'; - ///OpenGL 3.0 - public static z_MapGrid2d := _MapGrid2d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid2d(un: Int32; u1: double; u2: double; vn: Int32; v1: double; v2: double) := z_MapGrid2d(un, u1, u2, vn, v1, v2); - - private static procedure _MapGrid1f(un: Int32; u1: single; u2: single); external 'opengl32.dll' name 'glMapGrid1f'; - ///OpenGL 3.0 - public static z_MapGrid1f := _MapGrid1f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid1f(un: Int32; u1: single; u2: single) := z_MapGrid1f(un, u1, u2); - - private static procedure _MapGrid1d(un: Int32; u1: double; u2: double); external 'opengl32.dll' name 'glMapGrid1d'; - ///OpenGL 3.0 - public static z_MapGrid1d := _MapGrid1d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid1d(un: Int32; u1: double; u2: double) := z_MapGrid1d(un, u1, u2); - - private static procedure _Map2f(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: pointer); external 'opengl32.dll' name 'glMap2f'; - ///OpenGL 3.0 - public static z_Map2f := _Map2f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2f(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: array of single) := Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2f(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; var points: single) := Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2f(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: pointer) := z_Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); - - private static procedure _Map2d(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; points: pointer); external 'opengl32.dll' name 'glMap2d'; - ///OpenGL 3.0 - public static z_Map2d := _Map2d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2d(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; points: array of double) := Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2d(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; var points: double) := Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2d(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; points: pointer) := z_Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); - - private static procedure _Map1f(target: DummyEnum; u1: single; u2: single; stride: Int32; order: Int32; points: pointer); external 'opengl32.dll' name 'glMap1f'; - ///OpenGL 3.0 - public static z_Map1f := _Map1f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1f(target: DummyEnum; u1: single; u2: single; stride: Int32; order: Int32; points: array of single) := Map1f(target, u1, u2, stride, order, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1f(target: DummyEnum; u1: single; u2: single; stride: Int32; order: Int32; var points: single) := Map1f(target, u1, u2, stride, order, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1f(target: DummyEnum; u1: single; u2: single; stride: Int32; order: Int32; points: pointer) := z_Map1f(target, u1, u2, stride, order, points); - - private static procedure _Map1d(target: DummyEnum; u1: double; u2: double; stride: Int32; order: Int32; points: pointer); external 'opengl32.dll' name 'glMap1d'; - ///OpenGL 3.0 - public static z_Map1d := _Map1d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1d(target: DummyEnum; u1: double; u2: double; stride: Int32; order: Int32; points: array of double) := Map1d(target, u1, u2, stride, order, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1d(target: DummyEnum; u1: double; u2: double; stride: Int32; order: Int32; var points: double) := Map1d(target, u1, u2, stride, order, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1d(target: DummyEnum; u1: double; u2: double; stride: Int32; order: Int32; points: pointer) := z_Map1d(target, u1, u2, stride, order, points); - - private static procedure _EvalPoint2(i: Int32; j: Int32); external 'opengl32.dll' name 'glEvalPoint2'; - ///OpenGL 3.0 - public static z_EvalPoint2 := _EvalPoint2; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalPoint2(i: Int32; j: Int32) := z_EvalPoint2(i, j); - - private static procedure _EvalPoint1(i: Int32); external 'opengl32.dll' name 'glEvalPoint1'; - ///OpenGL 3.0 - public static z_EvalPoint1 := _EvalPoint1; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalPoint1(i: Int32) := z_EvalPoint1(i); - - private static procedure _EvalMesh2(mode: DummyEnum; i1: Int32; i2: Int32; j1: Int32; j2: Int32); external 'opengl32.dll' name 'glEvalMesh2'; - ///OpenGL 3.0 - public static z_EvalMesh2 := _EvalMesh2; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalMesh2(mode: DummyEnum; i1: Int32; i2: Int32; j1: Int32; j2: Int32) := z_EvalMesh2(mode, i1, i2, j1, j2); - - private static procedure _EvalMesh1(mode: DummyEnum; i1: Int32; i2: Int32); external 'opengl32.dll' name 'glEvalMesh1'; - ///OpenGL 3.0 - public static z_EvalMesh1 := _EvalMesh1; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalMesh1(mode: DummyEnum; i1: Int32; i2: Int32) := z_EvalMesh1(mode, i1, i2); - - private static procedure _EvalCoord2fv(v: pointer); external 'opengl32.dll' name 'glEvalCoord2fv'; - ///OpenGL 3.0 - public static z_EvalCoord2fv := _EvalCoord2fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2fv(v: array of single) := EvalCoord2fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2fv(var v: single) := EvalCoord2fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2fv(v: pointer) := z_EvalCoord2fv(v); - - private static procedure _EvalCoord2f(v1: single; v2: single); external 'opengl32.dll' name 'glEvalCoord2f'; - ///OpenGL 3.0 - public static z_EvalCoord2f := _EvalCoord2f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2f(v1: single; v2: single) := z_EvalCoord2f(v1, v2); - - private static procedure _EvalCoord2dv(v: pointer); external 'opengl32.dll' name 'glEvalCoord2dv'; - ///OpenGL 3.0 - public static z_EvalCoord2dv := _EvalCoord2dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2dv(v: array of double) := EvalCoord2dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2dv(var v: double) := EvalCoord2dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2dv(v: pointer) := z_EvalCoord2dv(v); - - private static procedure _EvalCoord2d(v1: double; v2: double); external 'opengl32.dll' name 'glEvalCoord2d'; - ///OpenGL 3.0 - public static z_EvalCoord2d := _EvalCoord2d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2d(v1: double; v2: double) := z_EvalCoord2d(v1, v2); - - private static procedure _EvalCoord1fv(v: pointer); external 'opengl32.dll' name 'glEvalCoord1fv'; - ///OpenGL 3.0 - public static z_EvalCoord1fv := _EvalCoord1fv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1fv(v: array of single) := EvalCoord1fv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1fv(var v: single) := EvalCoord1fv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1fv(v: pointer) := z_EvalCoord1fv(v); - - private static procedure _EvalCoord1f(v1: single); external 'opengl32.dll' name 'glEvalCoord1f'; - ///OpenGL 3.0 - public static z_EvalCoord1f := _EvalCoord1f; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1f(v1: single) := z_EvalCoord1f(v1); - - private static procedure _EvalCoord1dv(v: pointer); external 'opengl32.dll' name 'glEvalCoord1dv'; - ///OpenGL 3.0 - public static z_EvalCoord1dv := _EvalCoord1dv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1dv(v: array of double) := EvalCoord1dv(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1dv(var v: double) := EvalCoord1dv(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1dv(v: pointer) := z_EvalCoord1dv(v); - - private static procedure _EvalCoord1d(v1: double); external 'opengl32.dll' name 'glEvalCoord1d'; - ///OpenGL 3.0 - public static z_EvalCoord1d := _EvalCoord1d; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1d(v1: double) := z_EvalCoord1d(v1); - - {$endregion 5.1 - Evaluators} - - {$region 5.2 - Selection} - - private static procedure _SelectBuffer(size: Int32; buffer: pointer); external 'opengl32.dll' name 'glSelectBuffer'; - ///OpenGL 3.0 - public static z_SelectBuffer := _SelectBuffer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectBuffer(size: Int32; buffer: array of UInt32) := SelectBuffer(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectBuffer(size: Int32; var buffer: UInt32) := SelectBuffer(size, @buffer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectBuffer(size: Int32; buffer: pointer) := z_SelectBuffer(size, buffer); - - private static function _RenderMode(mode: DummyEnum): Int32; external 'opengl32.dll' name 'glRenderMode'; - ///OpenGL 3.0 - public static z_RenderMode := _RenderMode; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function RenderMode(mode: DummyEnum): Int32 := z_RenderMode(mode); - - private static procedure _PushName(name: UInt32); external 'opengl32.dll' name 'glPushName'; - ///OpenGL 3.0 - public static z_PushName := _PushName; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushName(name: UInt32) := z_PushName(name); - - private static procedure _PopName; external 'opengl32.dll' name 'glPopName'; - ///OpenGL 3.0 - public static z_PopName := _PopName; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopName := z_PopName; - - private static procedure _LoadName(name: UInt32); external 'opengl32.dll' name 'glLoadName'; - ///OpenGL 3.0 - public static z_LoadName := _LoadName; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadName(name: UInt32) := z_LoadName(name); - - private static procedure _InitNames; external 'opengl32.dll' name 'glInitNames'; - ///OpenGL 3.0 - public static z_InitNames := _InitNames; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InitNames := z_InitNames; - - {$endregion 5.2 - Selection} - - {$region 5.3 - Feedback} - - private static procedure _PassThrough(token: single); external 'opengl32.dll' name 'glPassThrough'; - ///OpenGL 3.0 - public static z_PassThrough := _PassThrough; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PassThrough(token: single) := z_PassThrough(token); - - private static procedure _FeedbackBuffer(size: Int32; &type: DummyEnum; buffer: pointer); external 'opengl32.dll' name 'glFeedbackBuffer'; - ///OpenGL 3.0 - public static z_FeedbackBuffer := _FeedbackBuffer; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBuffer(size: Int32; &type: DummyEnum; buffer: array of single) := FeedbackBuffer(size, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBuffer(size: Int32; &type: DummyEnum; var buffer: single) := FeedbackBuffer(size, &type, @buffer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBuffer(size: Int32; &type: DummyEnum; buffer: pointer) := z_FeedbackBuffer(size, &type, buffer); - - {$endregion 5.3 - Feedback} - - {$region 5.4 - Display Lists} - - private static procedure _NewList(list: UInt32; mode: DummyEnum); external 'opengl32.dll' name 'glNewList'; - ///OpenGL 3.0 - public static z_NewList := _NewList; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NewList(list: UInt32; mode: DummyEnum) := z_NewList(list, mode); - - private static procedure _ListBase(base: UInt32); external 'opengl32.dll' name 'glListBase'; - ///OpenGL 3.0 - public static z_ListBase := _ListBase; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListBase(base: UInt32) := z_ListBase(base); - - private static function _IsList(list: UInt32): boolean; external 'opengl32.dll' name 'glIsList'; - ///OpenGL 3.0 - public static z_IsList := _IsList; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsList(list: UInt32): boolean := z_IsList(list); - - private static function _GenLists(range: Int32): UInt32; external 'opengl32.dll' name 'glGenLists'; - ///OpenGL 3.0 - public static z_GenLists := _GenLists; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenLists(range: Int32): UInt32 := z_GenLists(range); - - private static procedure _EndList; external 'opengl32.dll' name 'glEndList'; - ///OpenGL 3.0 - public static z_EndList := _EndList; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndList := z_EndList; - - private static procedure _DeleteLists(list: UInt32; range: Int32); external 'opengl32.dll' name 'glDeleteLists'; - ///OpenGL 3.0 - public static z_DeleteLists := _DeleteLists; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteLists(list: UInt32; range: Int32) := z_DeleteLists(list, range); - - private static procedure _CallLists(n: Int32; &type: DummyEnum; lists: pointer); external 'opengl32.dll' name 'glCallLists'; - ///OpenGL 3.0 - public static z_CallLists := _CallLists; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CallLists(n: Int32; &type: DummyEnum; lists: pointer) := z_CallLists(n, &type, lists); - - private static procedure _CallList(list: UInt32); external 'opengl32.dll' name 'glCallList'; - ///OpenGL 3.0 - public static z_CallList := _CallList; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CallList(list: UInt32) := z_CallList(list); - - {$endregion 5.4 - Display Lists} - - {$endregion 5 - Special Functions} - - {$region 6 - State and State Requests} - - {$region 6.1 - Querying GL State} - - {$region 6.1.3 - Enumerated Queries} - - private static procedure _GetTexGeniv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexGeniv'; - ///OpenGL 3.0 - public static z_GetTexGeniv := _GetTexGeniv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGeniv(coord: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTexGeniv(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGeniv(coord: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTexGeniv(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGeniv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexGeniv(coord, pname, ¶ms); - - private static procedure _GetTexGenfv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexGenfv'; - ///OpenGL 3.0 - public static z_GetTexGenfv := _GetTexGenfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfv(coord: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetTexGenfv(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfv(coord: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetTexGenfv(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexGenfv(coord, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetTexGendv := GetGLFuncOrNil&('glGetTexGendv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGendv(coord: DummyEnum; pname: DummyEnum; ¶ms: array of double) := GetTexGendv(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGendv(coord: DummyEnum; pname: DummyEnum; var ¶ms: double) := GetTexGendv(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGendv(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexGendv(coord, pname, ¶ms); - - private static procedure _GetTexEnviv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexEnviv'; - ///OpenGL 3.0 - public static z_GetTexEnviv := _GetTexEnviv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnviv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTexEnviv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnviv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTexEnviv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnviv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexEnviv(target, pname, ¶ms); - - private static procedure _GetTexEnvfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetTexEnvfv'; - ///OpenGL 3.0 - public static z_GetTexEnvfv := _GetTexEnvfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetTexEnvfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetTexEnvfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexEnvfv(target, pname, ¶ms); - - private static procedure _GetPixelMapusv(map: DummyEnum; data: pointer); external 'opengl32.dll' name 'glGetPixelMapusv'; - ///OpenGL 3.0 - public static z_GetPixelMapusv := _GetPixelMapusv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapusv(map: DummyEnum; data: array of UInt16) := GetPixelMapusv(map, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapusv(map: DummyEnum; var data: UInt16) := GetPixelMapusv(map, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapusv(map: DummyEnum; data: pointer) := z_GetPixelMapusv(map, data); - - private static procedure _GetPixelMapuiv(map: DummyEnum; data: pointer); external 'opengl32.dll' name 'glGetPixelMapuiv'; - ///OpenGL 3.0 - public static z_GetPixelMapuiv := _GetPixelMapuiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapuiv(map: DummyEnum; data: array of UInt32) := GetPixelMapuiv(map, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapuiv(map: DummyEnum; var data: UInt32) := GetPixelMapuiv(map, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapuiv(map: DummyEnum; data: pointer) := z_GetPixelMapuiv(map, data); - - private static procedure _GetPixelMapfv(map: DummyEnum; data: pointer); external 'opengl32.dll' name 'glGetPixelMapfv'; - ///OpenGL 3.0 - public static z_GetPixelMapfv := _GetPixelMapfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapfv(map: DummyEnum; data: array of single) := GetPixelMapfv(map, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapfv(map: DummyEnum; var data: single) := GetPixelMapfv(map, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapfv(map: DummyEnum; data: pointer) := z_GetPixelMapfv(map, data); - - private static procedure _GetMaterialiv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetMaterialiv'; - ///OpenGL 3.0 - public static z_GetMaterialiv := _GetMaterialiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialiv(face: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMaterialiv(face, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialiv(face: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMaterialiv(face, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialiv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMaterialiv(face, pname, ¶ms); - - private static procedure _GetMaterialfv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetMaterialfv'; - ///OpenGL 3.0 - public static z_GetMaterialfv := _GetMaterialfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialfv(face: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMaterialfv(face, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialfv(face: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMaterialfv(face, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialfv(face: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMaterialfv(face, pname, ¶ms); - - private static procedure _GetMapiv(target: DummyEnum; query: DummyEnum; v: pointer); external 'opengl32.dll' name 'glGetMapiv'; - ///OpenGL 3.0 - public static z_GetMapiv := _GetMapiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapiv(target: DummyEnum; query: DummyEnum; v: array of Int32) := GetMapiv(target, query, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapiv(target: DummyEnum; query: DummyEnum; var v: Int32) := GetMapiv(target, query, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapiv(target: DummyEnum; query: DummyEnum; v: pointer) := z_GetMapiv(target, query, v); - - private static procedure _GetMapfv(target: DummyEnum; query: DummyEnum; v: pointer); external 'opengl32.dll' name 'glGetMapfv'; - ///OpenGL 3.0 - public static z_GetMapfv := _GetMapfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapfv(target: DummyEnum; query: DummyEnum; v: array of single) := GetMapfv(target, query, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapfv(target: DummyEnum; query: DummyEnum; var v: single) := GetMapfv(target, query, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapfv(target: DummyEnum; query: DummyEnum; v: pointer) := z_GetMapfv(target, query, v); - - private static procedure _GetMapdv(target: DummyEnum; query: DummyEnum; v: pointer); external 'opengl32.dll' name 'glGetMapdv'; - ///OpenGL 3.0 - public static z_GetMapdv := _GetMapdv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapdv(target: DummyEnum; query: DummyEnum; v: array of double) := GetMapdv(target, query, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapdv(target: DummyEnum; query: DummyEnum; var v: double) := GetMapdv(target, query, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapdv(target: DummyEnum; query: DummyEnum; v: pointer) := z_GetMapdv(target, query, v); - - private static procedure _GetLightiv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetLightiv'; - ///OpenGL 3.0 - public static z_GetLightiv := _GetLightiv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightiv(light: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetLightiv(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightiv(light: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetLightiv(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightiv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetLightiv(light, pname, ¶ms); - - private static procedure _GetLightfv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer); external 'opengl32.dll' name 'glGetLightfv'; - ///OpenGL 3.0 - public static z_GetLightfv := _GetLightfv; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightfv(light: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetLightfv(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightfv(light: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetLightfv(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightfv(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetLightfv(light, pname, ¶ms); - - private static procedure _GetClipPlane(plane: DummyEnum; equation: pointer); external 'opengl32.dll' name 'glGetClipPlane'; - ///OpenGL 3.0 - public static z_GetClipPlane := _GetClipPlane; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlane(plane: DummyEnum; equation: array of double) := GetClipPlane(plane, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlane(plane: DummyEnum; var equation: double) := GetClipPlane(plane, @equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlane(plane: DummyEnum; equation: pointer) := z_GetClipPlane(plane, equation); - - {$endregion 6.1.3 - Enumerated Queries} - - {$region 6.1.5 - Stipple Query} - - private static procedure _GetPolygonStipple(mask: pointer); external 'opengl32.dll' name 'glGetPolygonStipple'; - ///OpenGL 3.0 - public static z_GetPolygonStipple := _GetPolygonStipple; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPolygonStipple(mask: array of Byte) := GetPolygonStipple(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mask,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPolygonStipple(var mask: Byte) := GetPolygonStipple(@mask); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPolygonStipple(mask: pointer) := z_GetPolygonStipple(mask); - - {$endregion 6.1.5 - Stipple Query} - - {$region 6.1.7 - Color Table Query} - - ///OpenGL 3.0 - public z_GetColorTableParameteriv := GetGLFuncOrNil&('glGetColorTableParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetColorTableParameteriv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameteriv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetColorTableParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetColorTableParameteriv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetColorTableParameterfv := GetGLFuncOrNil&('glGetColorTableParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetColorTableParameterfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetColorTableParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetColorTableParameterfv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetColorTable := GetGLFuncOrNil&('glGetColorTable'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTable(target: DummyEnum; format: DummyEnum; &type: DummyEnum; table: pointer) := z_GetColorTable(target, format, &type, table); - - {$endregion 6.1.7 - Color Table Query} - - {$region 6.1.8 - Convolution Query} - - ///OpenGL 3.0 - public z_GetSeparableFilter := GetGLFuncOrNil&('glGetSeparableFilter'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSeparableFilter(target: DummyEnum; format: DummyEnum; &type: DummyEnum; row: pointer; column: pointer; span: pointer) := z_GetSeparableFilter(target, format, &type, row, column, span); - - ///OpenGL 3.0 - public z_GetConvolutionParameteriv := GetGLFuncOrNil&('glGetConvolutionParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetConvolutionParameteriv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameteriv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetConvolutionParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetConvolutionParameteriv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetConvolutionParameterfv := GetGLFuncOrNil&('glGetConvolutionParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetConvolutionParameterfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetConvolutionParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetConvolutionParameterfv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetConvolutionFilter := GetGLFuncOrNil&('glGetConvolutionFilter'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionFilter(target: DummyEnum; format: DummyEnum; &type: DummyEnum; image: pointer) := z_GetConvolutionFilter(target, format, &type, image); - - {$endregion 6.1.8 - Convolution Query} - - {$region 6.1.9 - Histogram Query} - - ///OpenGL 3.0 - public z_ResetHistogram := GetGLFuncOrNil&('glResetHistogram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetHistogram(target: DummyEnum) := z_ResetHistogram(target); - - ///OpenGL 3.0 - public z_GetHistogramParameteriv := GetGLFuncOrNil&('glGetHistogramParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetHistogramParameteriv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameteriv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetHistogramParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetHistogramParameteriv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetHistogramParameterfv := GetGLFuncOrNil&('glGetHistogramParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetHistogramParameterfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetHistogramParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetHistogramParameterfv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetHistogram := GetGLFuncOrNil&('glGetHistogram'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogram(target: DummyEnum; reset: boolean; format: DummyEnum; &type: DummyEnum; values: pointer) := z_GetHistogram(target, reset, format, &type, values); - - {$endregion 6.1.9 - Histogram Query} - - {$region 6.1.10 - Minmax Query} - - ///OpenGL 3.0 - public z_ResetMinmax := GetGLFuncOrNil&('glResetMinmax'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetMinmax(target: DummyEnum) := z_ResetMinmax(target); - - ///OpenGL 3.0 - public z_GetMinmaxParameteriv := GetGLFuncOrNil&('glGetMinmaxParameteriv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMinmaxParameteriv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameteriv(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMinmaxParameteriv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameteriv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMinmaxParameteriv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetMinmaxParameterfv := GetGLFuncOrNil&('glGetMinmaxParameterfv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMinmaxParameterfv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfv(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMinmaxParameterfv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMinmaxParameterfv(target, pname, ¶ms); - - ///OpenGL 3.0 - public z_GetMinmax := GetGLFuncOrNil&('glGetMinmax'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmax(target: DummyEnum; reset: boolean; format: DummyEnum; &type: DummyEnum; values: pointer) := z_GetMinmax(target, reset, format, &type, values); - - {$endregion 6.1.10 - Minmax Query} - - {$region 6.1.18 - Saving and Restoring State} - - private static procedure _PushClientAttrib(mask: DummyFlags); external 'opengl32.dll' name 'glPushClientAttrib'; - ///OpenGL 3.0 - public static z_PushClientAttrib := _PushClientAttrib; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushClientAttrib(mask: DummyFlags) := z_PushClientAttrib(mask); - - private static procedure _PushAttrib(mask: DummyFlags); external 'opengl32.dll' name 'glPushAttrib'; - ///OpenGL 3.0 - public static z_PushAttrib := _PushAttrib; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushAttrib(mask: DummyFlags) := z_PushAttrib(mask); - - private static procedure _PopClientAttrib; external 'opengl32.dll' name 'glPopClientAttrib'; - ///OpenGL 3.0 - public static z_PopClientAttrib := _PopClientAttrib; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopClientAttrib := z_PopClientAttrib; - - private static procedure _PopAttrib; external 'opengl32.dll' name 'glPopAttrib'; - ///OpenGL 3.0 - public static z_PopAttrib := _PopAttrib; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopAttrib := z_PopAttrib; - - {$endregion 6.1.18 - Saving and Restoring State} - - {$endregion 6.1 - Querying GL State} - - {$endregion 6 - State and State Requests} + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_ClipPlane_ovr0(plane: ClipPlaneName; [MarshalAs(UnmanagedType.LPArray)] equation: array of real); + external 'opengl32.dll' name 'glClipPlane'; + public static z_ClipPlane_ovr0 := _z_ClipPlane_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlane(plane: ClipPlaneName; equation: array of real) := z_ClipPlane_ovr0(plane, equation); + private static procedure _z_ClipPlane_ovr1(plane: ClipPlaneName; var equation: real); + external 'opengl32.dll' name 'glClipPlane'; + public static z_ClipPlane_ovr1 := _z_ClipPlane_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlane(plane: ClipPlaneName; var equation: real) := z_ClipPlane_ovr1(plane, equation); + private static procedure _z_ClipPlane_ovr2(plane: ClipPlaneName; equation: IntPtr); + external 'opengl32.dll' name 'glClipPlane'; + public static z_ClipPlane_ovr2 := _z_ClipPlane_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlane(plane: ClipPlaneName; equation: IntPtr) := z_ClipPlane_ovr2(plane, equation); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3b_ovr0(red: SByte; green: SByte; blue: SByte); + external 'opengl32.dll' name 'glColor3b'; + public static z_Color3b_ovr0 := _z_Color3b_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3b(red: SByte; green: SByte; blue: SByte) := z_Color3b_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3bv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of SByte); + external 'opengl32.dll' name 'glColor3bv'; + public static z_Color3bv_ovr0 := _z_Color3bv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3bv(v: array of SByte) := z_Color3bv_ovr0(v); + private static procedure _z_Color3bv_ovr1(var v: SByte); + external 'opengl32.dll' name 'glColor3bv'; + public static z_Color3bv_ovr1 := _z_Color3bv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3bv(var v: SByte) := z_Color3bv_ovr1(v); + private static procedure _z_Color3bv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3bv'; + public static z_Color3bv_ovr2 := _z_Color3bv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3bv(v: IntPtr) := z_Color3bv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3d_ovr0(red: real; green: real; blue: real); + external 'opengl32.dll' name 'glColor3d'; + public static z_Color3d_ovr0 := _z_Color3d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3d(red: real; green: real; blue: real) := z_Color3d_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glColor3dv'; + public static z_Color3dv_ovr0 := _z_Color3dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3dv(v: array of real) := z_Color3dv_ovr0(v); + private static procedure _z_Color3dv_ovr1(var v: real); + external 'opengl32.dll' name 'glColor3dv'; + public static z_Color3dv_ovr1 := _z_Color3dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3dv(var v: real) := z_Color3dv_ovr1(v); + private static procedure _z_Color3dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3dv'; + public static z_Color3dv_ovr2 := _z_Color3dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3dv(v: IntPtr) := z_Color3dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3f_ovr0(red: single; green: single; blue: single); + external 'opengl32.dll' name 'glColor3f'; + public static z_Color3f_ovr0 := _z_Color3f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3f(red: single; green: single; blue: single) := z_Color3f_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glColor3fv'; + public static z_Color3fv_ovr0 := _z_Color3fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fv(v: array of single) := z_Color3fv_ovr0(v); + private static procedure _z_Color3fv_ovr1(var v: single); + external 'opengl32.dll' name 'glColor3fv'; + public static z_Color3fv_ovr1 := _z_Color3fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fv(var v: single) := z_Color3fv_ovr1(v); + private static procedure _z_Color3fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3fv'; + public static z_Color3fv_ovr2 := _z_Color3fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fv(v: IntPtr) := z_Color3fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3i_ovr0(red: Int32; green: Int32; blue: Int32); + external 'opengl32.dll' name 'glColor3i'; + public static z_Color3i_ovr0 := _z_Color3i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3i(red: Int32; green: Int32; blue: Int32) := z_Color3i_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glColor3iv'; + public static z_Color3iv_ovr0 := _z_Color3iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3iv(v: array of Int32) := z_Color3iv_ovr0(v); + private static procedure _z_Color3iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glColor3iv'; + public static z_Color3iv_ovr1 := _z_Color3iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3iv(var v: Int32) := z_Color3iv_ovr1(v); + private static procedure _z_Color3iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3iv'; + public static z_Color3iv_ovr2 := _z_Color3iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3iv(v: IntPtr) := z_Color3iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3s_ovr0(red: Int16; green: Int16; blue: Int16); + external 'opengl32.dll' name 'glColor3s'; + public static z_Color3s_ovr0 := _z_Color3s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3s(red: Int16; green: Int16; blue: Int16) := z_Color3s_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glColor3sv'; + public static z_Color3sv_ovr0 := _z_Color3sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3sv(v: array of Int16) := z_Color3sv_ovr0(v); + private static procedure _z_Color3sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glColor3sv'; + public static z_Color3sv_ovr1 := _z_Color3sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3sv(var v: Int16) := z_Color3sv_ovr1(v); + private static procedure _z_Color3sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3sv'; + public static z_Color3sv_ovr2 := _z_Color3sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3sv(v: IntPtr) := z_Color3sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3ub_ovr0(red: Byte; green: Byte; blue: Byte); + external 'opengl32.dll' name 'glColor3ub'; + public static z_Color3ub_ovr0 := _z_Color3ub_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ub(red: Byte; green: Byte; blue: Byte) := z_Color3ub_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3ubv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Byte); + external 'opengl32.dll' name 'glColor3ubv'; + public static z_Color3ubv_ovr0 := _z_Color3ubv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ubv(v: array of Byte) := z_Color3ubv_ovr0(v); + private static procedure _z_Color3ubv_ovr1(var v: Byte); + external 'opengl32.dll' name 'glColor3ubv'; + public static z_Color3ubv_ovr1 := _z_Color3ubv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ubv(var v: Byte) := z_Color3ubv_ovr1(v); + private static procedure _z_Color3ubv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3ubv'; + public static z_Color3ubv_ovr2 := _z_Color3ubv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ubv(v: IntPtr) := z_Color3ubv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3ui_ovr0(red: UInt32; green: UInt32; blue: UInt32); + external 'opengl32.dll' name 'glColor3ui'; + public static z_Color3ui_ovr0 := _z_Color3ui_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3ui(red: UInt32; green: UInt32; blue: UInt32) := z_Color3ui_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3uiv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of UInt32); + external 'opengl32.dll' name 'glColor3uiv'; + public static z_Color3uiv_ovr0 := _z_Color3uiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3uiv(v: array of UInt32) := z_Color3uiv_ovr0(v); + private static procedure _z_Color3uiv_ovr1(var v: UInt32); + external 'opengl32.dll' name 'glColor3uiv'; + public static z_Color3uiv_ovr1 := _z_Color3uiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3uiv(var v: UInt32) := z_Color3uiv_ovr1(v); + private static procedure _z_Color3uiv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3uiv'; + public static z_Color3uiv_ovr2 := _z_Color3uiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3uiv(v: IntPtr) := z_Color3uiv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3us_ovr0(red: UInt16; green: UInt16; blue: UInt16); + external 'opengl32.dll' name 'glColor3us'; + public static z_Color3us_ovr0 := _z_Color3us_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3us(red: UInt16; green: UInt16; blue: UInt16) := z_Color3us_ovr0(red, green, blue); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color3usv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of UInt16); + external 'opengl32.dll' name 'glColor3usv'; + public static z_Color3usv_ovr0 := _z_Color3usv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3usv(v: array of UInt16) := z_Color3usv_ovr0(v); + private static procedure _z_Color3usv_ovr1(var v: UInt16); + external 'opengl32.dll' name 'glColor3usv'; + public static z_Color3usv_ovr1 := _z_Color3usv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3usv(var v: UInt16) := z_Color3usv_ovr1(v); + private static procedure _z_Color3usv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor3usv'; + public static z_Color3usv_ovr2 := _z_Color3usv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3usv(v: IntPtr) := z_Color3usv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4b_ovr0(red: SByte; green: SByte; blue: SByte; alpha: SByte); + external 'opengl32.dll' name 'glColor4b'; + public static z_Color4b_ovr0 := _z_Color4b_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4b(red: SByte; green: SByte; blue: SByte; alpha: SByte) := z_Color4b_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4bv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of SByte); + external 'opengl32.dll' name 'glColor4bv'; + public static z_Color4bv_ovr0 := _z_Color4bv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4bv(v: array of SByte) := z_Color4bv_ovr0(v); + private static procedure _z_Color4bv_ovr1(var v: SByte); + external 'opengl32.dll' name 'glColor4bv'; + public static z_Color4bv_ovr1 := _z_Color4bv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4bv(var v: SByte) := z_Color4bv_ovr1(v); + private static procedure _z_Color4bv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4bv'; + public static z_Color4bv_ovr2 := _z_Color4bv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4bv(v: IntPtr) := z_Color4bv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4d_ovr0(red: real; green: real; blue: real; alpha: real); + external 'opengl32.dll' name 'glColor4d'; + public static z_Color4d_ovr0 := _z_Color4d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4d(red: real; green: real; blue: real; alpha: real) := z_Color4d_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glColor4dv'; + public static z_Color4dv_ovr0 := _z_Color4dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4dv(v: array of real) := z_Color4dv_ovr0(v); + private static procedure _z_Color4dv_ovr1(var v: real); + external 'opengl32.dll' name 'glColor4dv'; + public static z_Color4dv_ovr1 := _z_Color4dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4dv(var v: real) := z_Color4dv_ovr1(v); + private static procedure _z_Color4dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4dv'; + public static z_Color4dv_ovr2 := _z_Color4dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4dv(v: IntPtr) := z_Color4dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4f_ovr0(red: single; green: single; blue: single; alpha: single); + external 'opengl32.dll' name 'glColor4f'; + public static z_Color4f_ovr0 := _z_Color4f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4f(red: single; green: single; blue: single; alpha: single) := z_Color4f_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glColor4fv'; + public static z_Color4fv_ovr0 := _z_Color4fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fv(v: array of single) := z_Color4fv_ovr0(v); + private static procedure _z_Color4fv_ovr1(var v: single); + external 'opengl32.dll' name 'glColor4fv'; + public static z_Color4fv_ovr1 := _z_Color4fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fv(var v: single) := z_Color4fv_ovr1(v); + private static procedure _z_Color4fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4fv'; + public static z_Color4fv_ovr2 := _z_Color4fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fv(v: IntPtr) := z_Color4fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4i_ovr0(red: Int32; green: Int32; blue: Int32; alpha: Int32); + external 'opengl32.dll' name 'glColor4i'; + public static z_Color4i_ovr0 := _z_Color4i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4i(red: Int32; green: Int32; blue: Int32; alpha: Int32) := z_Color4i_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glColor4iv'; + public static z_Color4iv_ovr0 := _z_Color4iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4iv(v: array of Int32) := z_Color4iv_ovr0(v); + private static procedure _z_Color4iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glColor4iv'; + public static z_Color4iv_ovr1 := _z_Color4iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4iv(var v: Int32) := z_Color4iv_ovr1(v); + private static procedure _z_Color4iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4iv'; + public static z_Color4iv_ovr2 := _z_Color4iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4iv(v: IntPtr) := z_Color4iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4s_ovr0(red: Int16; green: Int16; blue: Int16; alpha: Int16); + external 'opengl32.dll' name 'glColor4s'; + public static z_Color4s_ovr0 := _z_Color4s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4s(red: Int16; green: Int16; blue: Int16; alpha: Int16) := z_Color4s_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glColor4sv'; + public static z_Color4sv_ovr0 := _z_Color4sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4sv(v: array of Int16) := z_Color4sv_ovr0(v); + private static procedure _z_Color4sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glColor4sv'; + public static z_Color4sv_ovr1 := _z_Color4sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4sv(var v: Int16) := z_Color4sv_ovr1(v); + private static procedure _z_Color4sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4sv'; + public static z_Color4sv_ovr2 := _z_Color4sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4sv(v: IntPtr) := z_Color4sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4ub_ovr0(red: Byte; green: Byte; blue: Byte; alpha: Byte); + external 'opengl32.dll' name 'glColor4ub'; + public static z_Color4ub_ovr0 := _z_Color4ub_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ub(red: Byte; green: Byte; blue: Byte; alpha: Byte) := z_Color4ub_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4ubv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Byte); + external 'opengl32.dll' name 'glColor4ubv'; + public static z_Color4ubv_ovr0 := _z_Color4ubv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubv(v: array of Byte) := z_Color4ubv_ovr0(v); + private static procedure _z_Color4ubv_ovr1(var v: Byte); + external 'opengl32.dll' name 'glColor4ubv'; + public static z_Color4ubv_ovr1 := _z_Color4ubv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubv(var v: Byte) := z_Color4ubv_ovr1(v); + private static procedure _z_Color4ubv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4ubv'; + public static z_Color4ubv_ovr2 := _z_Color4ubv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubv(v: IntPtr) := z_Color4ubv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4ui_ovr0(red: UInt32; green: UInt32; blue: UInt32; alpha: UInt32); + external 'opengl32.dll' name 'glColor4ui'; + public static z_Color4ui_ovr0 := _z_Color4ui_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ui(red: UInt32; green: UInt32; blue: UInt32; alpha: UInt32) := z_Color4ui_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4uiv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of UInt32); + external 'opengl32.dll' name 'glColor4uiv'; + public static z_Color4uiv_ovr0 := _z_Color4uiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4uiv(v: array of UInt32) := z_Color4uiv_ovr0(v); + private static procedure _z_Color4uiv_ovr1(var v: UInt32); + external 'opengl32.dll' name 'glColor4uiv'; + public static z_Color4uiv_ovr1 := _z_Color4uiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4uiv(var v: UInt32) := z_Color4uiv_ovr1(v); + private static procedure _z_Color4uiv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4uiv'; + public static z_Color4uiv_ovr2 := _z_Color4uiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4uiv(v: IntPtr) := z_Color4uiv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4us_ovr0(red: UInt16; green: UInt16; blue: UInt16; alpha: UInt16); + external 'opengl32.dll' name 'glColor4us'; + public static z_Color4us_ovr0 := _z_Color4us_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4us(red: UInt16; green: UInt16; blue: UInt16; alpha: UInt16) := z_Color4us_ovr0(red, green, blue, alpha); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Color4usv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of UInt16); + external 'opengl32.dll' name 'glColor4usv'; + public static z_Color4usv_ovr0 := _z_Color4usv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4usv(v: array of UInt16) := z_Color4usv_ovr0(v); + private static procedure _z_Color4usv_ovr1(var v: UInt16); + external 'opengl32.dll' name 'glColor4usv'; + public static z_Color4usv_ovr1 := _z_Color4usv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4usv(var v: UInt16) := z_Color4usv_ovr1(v); + private static procedure _z_Color4usv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glColor4usv'; + public static z_Color4usv_ovr2 := _z_Color4usv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4usv(v: IntPtr) := z_Color4usv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_ColorMaterial_ovr0(face: DummyEnum; mode: ColorMaterialParameter); + external 'opengl32.dll' name 'glColorMaterial'; + public static z_ColorMaterial_ovr0 := _z_ColorMaterial_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaterial(face: DummyEnum; mode: ColorMaterialParameter) := z_ColorMaterial_ovr0(face, mode); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_ColorPointer_ovr0(size: Int32; &type: ColorPointerType; stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glColorPointer'; + public static z_ColorPointer_ovr0 := _z_ColorPointer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointer(size: Int32; &type: ColorPointerType; stride: Int32; pointer: IntPtr) := z_ColorPointer_ovr0(size, &type, stride, pointer); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_CopyPixels_ovr0(x: Int32; y: Int32; width: Int32; height: Int32; &type: PixelCopyType); + external 'opengl32.dll' name 'glCopyPixels'; + public static z_CopyPixels_ovr0 := _z_CopyPixels_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyPixels(x: Int32; y: Int32; width: Int32; height: Int32; &type: PixelCopyType) := z_CopyPixels_ovr0(x, y, width, height, &type); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_DeleteLists_ovr0(list: UInt32; range: Int32); + external 'opengl32.dll' name 'glDeleteLists'; + public static z_DeleteLists_ovr0 := _z_DeleteLists_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteLists(list: UInt32; range: Int32) := z_DeleteLists_ovr0(list, range); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_DisableClientState_ovr0(&array: EnableCap); + external 'opengl32.dll' name 'glDisableClientState'; + public static z_DisableClientState_ovr0 := _z_DisableClientState_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableClientState(&array: EnableCap) := z_DisableClientState_ovr0(&array); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_DrawPixels_ovr0(width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + external 'opengl32.dll' name 'glDrawPixels'; + public static z_DrawPixels_ovr0 := _z_DrawPixels_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawPixels(width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr) := z_DrawPixels_ovr0(width, height, format, &type, pixels); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EdgeFlag_ovr0(flag: boolean); + external 'opengl32.dll' name 'glEdgeFlag'; + public static z_EdgeFlag_ovr0 := _z_EdgeFlag_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlag(flag: boolean) := z_EdgeFlag_ovr0(flag); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_EdgeFlagPointer_ovr0(stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glEdgeFlagPointer'; + public static z_EdgeFlagPointer_ovr0 := _z_EdgeFlagPointer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointer(stride: Int32; pointer: IntPtr) := z_EdgeFlagPointer_ovr0(stride, pointer); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EdgeFlagv_ovr0([MarshalAs(UnmanagedType.LPArray)] flag: array of boolean); + external 'opengl32.dll' name 'glEdgeFlagv'; + public static z_EdgeFlagv_ovr0 := _z_EdgeFlagv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagv(flag: array of boolean) := z_EdgeFlagv_ovr0(flag); + private static procedure _z_EdgeFlagv_ovr1(var flag: boolean); + external 'opengl32.dll' name 'glEdgeFlagv'; + public static z_EdgeFlagv_ovr1 := _z_EdgeFlagv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagv(var flag: boolean) := z_EdgeFlagv_ovr1(flag); + private static procedure _z_EdgeFlagv_ovr2(flag: IntPtr); + external 'opengl32.dll' name 'glEdgeFlagv'; + public static z_EdgeFlagv_ovr2 := _z_EdgeFlagv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagv(flag: IntPtr) := z_EdgeFlagv_ovr2(flag); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_EnableClientState_ovr0(&array: EnableCap); + external 'opengl32.dll' name 'glEnableClientState'; + public static z_EnableClientState_ovr0 := _z_EnableClientState_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableClientState(&array: EnableCap) := z_EnableClientState_ovr0(&array); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_End_ovr0; + external 'opengl32.dll' name 'glEnd'; + public static z_End_ovr0 := _z_End_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure &End := z_End_ovr0; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EndList_ovr0; + external 'opengl32.dll' name 'glEndList'; + public static z_EndList_ovr0 := _z_EndList_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndList := z_EndList_ovr0; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord1d_ovr0(u: real); + external 'opengl32.dll' name 'glEvalCoord1d'; + public static z_EvalCoord1d_ovr0 := _z_EvalCoord1d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1d(u: real) := z_EvalCoord1d_ovr0(u); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord1dv_ovr0([MarshalAs(UnmanagedType.LPArray)] u: array of real); + external 'opengl32.dll' name 'glEvalCoord1dv'; + public static z_EvalCoord1dv_ovr0 := _z_EvalCoord1dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1dv(u: array of real) := z_EvalCoord1dv_ovr0(u); + private static procedure _z_EvalCoord1dv_ovr1(var u: real); + external 'opengl32.dll' name 'glEvalCoord1dv'; + public static z_EvalCoord1dv_ovr1 := _z_EvalCoord1dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1dv(var u: real) := z_EvalCoord1dv_ovr1(u); + private static procedure _z_EvalCoord1dv_ovr2(u: IntPtr); + external 'opengl32.dll' name 'glEvalCoord1dv'; + public static z_EvalCoord1dv_ovr2 := _z_EvalCoord1dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1dv(u: IntPtr) := z_EvalCoord1dv_ovr2(u); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord1f_ovr0(u: single); + external 'opengl32.dll' name 'glEvalCoord1f'; + public static z_EvalCoord1f_ovr0 := _z_EvalCoord1f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1f(u: single) := z_EvalCoord1f_ovr0(u); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord1fv_ovr0([MarshalAs(UnmanagedType.LPArray)] u: array of single); + external 'opengl32.dll' name 'glEvalCoord1fv'; + public static z_EvalCoord1fv_ovr0 := _z_EvalCoord1fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1fv(u: array of single) := z_EvalCoord1fv_ovr0(u); + private static procedure _z_EvalCoord1fv_ovr1(var u: single); + external 'opengl32.dll' name 'glEvalCoord1fv'; + public static z_EvalCoord1fv_ovr1 := _z_EvalCoord1fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1fv(var u: single) := z_EvalCoord1fv_ovr1(u); + private static procedure _z_EvalCoord1fv_ovr2(u: IntPtr); + external 'opengl32.dll' name 'glEvalCoord1fv'; + public static z_EvalCoord1fv_ovr2 := _z_EvalCoord1fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1fv(u: IntPtr) := z_EvalCoord1fv_ovr2(u); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord2d_ovr0(u: real; v: real); + external 'opengl32.dll' name 'glEvalCoord2d'; + public static z_EvalCoord2d_ovr0 := _z_EvalCoord2d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2d(u: real; v: real) := z_EvalCoord2d_ovr0(u, v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord2dv_ovr0([MarshalAs(UnmanagedType.LPArray)] u: array of real); + external 'opengl32.dll' name 'glEvalCoord2dv'; + public static z_EvalCoord2dv_ovr0 := _z_EvalCoord2dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2dv(u: array of real) := z_EvalCoord2dv_ovr0(u); + private static procedure _z_EvalCoord2dv_ovr1(var u: real); + external 'opengl32.dll' name 'glEvalCoord2dv'; + public static z_EvalCoord2dv_ovr1 := _z_EvalCoord2dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2dv(var u: real) := z_EvalCoord2dv_ovr1(u); + private static procedure _z_EvalCoord2dv_ovr2(u: IntPtr); + external 'opengl32.dll' name 'glEvalCoord2dv'; + public static z_EvalCoord2dv_ovr2 := _z_EvalCoord2dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2dv(u: IntPtr) := z_EvalCoord2dv_ovr2(u); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord2f_ovr0(u: single; v: single); + external 'opengl32.dll' name 'glEvalCoord2f'; + public static z_EvalCoord2f_ovr0 := _z_EvalCoord2f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2f(u: single; v: single) := z_EvalCoord2f_ovr0(u, v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalCoord2fv_ovr0([MarshalAs(UnmanagedType.LPArray)] u: array of single); + external 'opengl32.dll' name 'glEvalCoord2fv'; + public static z_EvalCoord2fv_ovr0 := _z_EvalCoord2fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2fv(u: array of single) := z_EvalCoord2fv_ovr0(u); + private static procedure _z_EvalCoord2fv_ovr1(var u: single); + external 'opengl32.dll' name 'glEvalCoord2fv'; + public static z_EvalCoord2fv_ovr1 := _z_EvalCoord2fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2fv(var u: single) := z_EvalCoord2fv_ovr1(u); + private static procedure _z_EvalCoord2fv_ovr2(u: IntPtr); + external 'opengl32.dll' name 'glEvalCoord2fv'; + public static z_EvalCoord2fv_ovr2 := _z_EvalCoord2fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2fv(u: IntPtr) := z_EvalCoord2fv_ovr2(u); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalMesh1_ovr0(mode: MeshMode1; i1: Int32; i2: Int32); + external 'opengl32.dll' name 'glEvalMesh1'; + public static z_EvalMesh1_ovr0 := _z_EvalMesh1_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalMesh1(mode: MeshMode1; i1: Int32; i2: Int32) := z_EvalMesh1_ovr0(mode, i1, i2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalMesh2_ovr0(mode: MeshMode2; i1: Int32; i2: Int32; j1: Int32; j2: Int32); + external 'opengl32.dll' name 'glEvalMesh2'; + public static z_EvalMesh2_ovr0 := _z_EvalMesh2_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalMesh2(mode: MeshMode2; i1: Int32; i2: Int32; j1: Int32; j2: Int32) := z_EvalMesh2_ovr0(mode, i1, i2, j1, j2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalPoint1_ovr0(i: Int32); + external 'opengl32.dll' name 'glEvalPoint1'; + public static z_EvalPoint1_ovr0 := _z_EvalPoint1_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalPoint1(i: Int32) := z_EvalPoint1_ovr0(i); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_EvalPoint2_ovr0(i: Int32; j: Int32); + external 'opengl32.dll' name 'glEvalPoint2'; + public static z_EvalPoint2_ovr0 := _z_EvalPoint2_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalPoint2(i: Int32; j: Int32) := z_EvalPoint2_ovr0(i, j); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_FeedbackBuffer_ovr0(size: Int32; &type: FeedbackType; [MarshalAs(UnmanagedType.LPArray)] buffer: array of single); + external 'opengl32.dll' name 'glFeedbackBuffer'; + public static z_FeedbackBuffer_ovr0 := _z_FeedbackBuffer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBuffer(size: Int32; &type: FeedbackType; buffer: array of single) := z_FeedbackBuffer_ovr0(size, &type, buffer); + private static procedure _z_FeedbackBuffer_ovr1(size: Int32; &type: FeedbackType; var buffer: single); + external 'opengl32.dll' name 'glFeedbackBuffer'; + public static z_FeedbackBuffer_ovr1 := _z_FeedbackBuffer_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBuffer(size: Int32; &type: FeedbackType; var buffer: single) := z_FeedbackBuffer_ovr1(size, &type, buffer); + private static procedure _z_FeedbackBuffer_ovr2(size: Int32; &type: FeedbackType; buffer: IntPtr); + external 'opengl32.dll' name 'glFeedbackBuffer'; + public static z_FeedbackBuffer_ovr2 := _z_FeedbackBuffer_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBuffer(size: Int32; &type: FeedbackType; buffer: IntPtr) := z_FeedbackBuffer_ovr2(size, &type, buffer); + + // added in gl1.4, deprecated in gl3.2 + public z_FogCoordd_adr := GetFuncAdr('glFogCoordd'); + public z_FogCoordd_ovr_0 := GetFuncOrNil&(z_FogCoordd_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordd(coord: real); + begin + z_FogCoordd_ovr_0(coord); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_FogCoorddv_adr := GetFuncAdr('glFogCoorddv'); + public z_FogCoorddv_ovr_0 := GetFuncOrNil&(z_FogCoorddv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddv(coord: array of real); + begin + z_FogCoorddv_ovr_0(coord[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddv(var coord: real); + begin + z_FogCoorddv_ovr_0(coord); + end; + public z_FogCoorddv_ovr_2 := GetFuncOrNil&(z_FogCoorddv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddv(coord: IntPtr); + begin + z_FogCoorddv_ovr_2(coord); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_FogCoordf_adr := GetFuncAdr('glFogCoordf'); + public z_FogCoordf_ovr_0 := GetFuncOrNil&(z_FogCoordf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordf(coord: single); + begin + z_FogCoordf_ovr_0(coord); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_FogCoordfv_adr := GetFuncAdr('glFogCoordfv'); + public z_FogCoordfv_ovr_0 := GetFuncOrNil&(z_FogCoordfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfv(coord: array of single); + begin + z_FogCoordfv_ovr_0(coord[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfv(var coord: single); + begin + z_FogCoordfv_ovr_0(coord); + end; + public z_FogCoordfv_ovr_2 := GetFuncOrNil&(z_FogCoordfv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfv(coord: IntPtr); + begin + z_FogCoordfv_ovr_2(coord); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_FogCoordPointer_adr := GetFuncAdr('glFogCoordPointer'); + public z_FogCoordPointer_ovr_0 := GetFuncOrNil&(z_FogCoordPointer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointer(&type: FogPointerTypeEXT; stride: Int32; pointer: IntPtr); + begin + z_FogCoordPointer_ovr_0(&type, stride, pointer); + end; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Fogf_ovr0(pname: FogParameter; param: single); + external 'opengl32.dll' name 'glFogf'; + public static z_Fogf_ovr0 := _z_Fogf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogf(pname: FogParameter; param: single) := z_Fogf_ovr0(pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Fogfv_ovr0(pname: FogParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glFogfv'; + public static z_Fogfv_ovr0 := _z_Fogfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogfv(pname: FogParameter; ¶ms: array of single) := z_Fogfv_ovr0(pname, ¶ms); + private static procedure _z_Fogfv_ovr1(pname: FogParameter; var ¶ms: single); + external 'opengl32.dll' name 'glFogfv'; + public static z_Fogfv_ovr1 := _z_Fogfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogfv(pname: FogParameter; var ¶ms: single) := z_Fogfv_ovr1(pname, ¶ms); + private static procedure _z_Fogfv_ovr2(pname: FogParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glFogfv'; + public static z_Fogfv_ovr2 := _z_Fogfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogfv(pname: FogParameter; ¶ms: IntPtr) := z_Fogfv_ovr2(pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Fogi_ovr0(pname: FogParameter; param: Int32); + external 'opengl32.dll' name 'glFogi'; + public static z_Fogi_ovr0 := _z_Fogi_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogi(pname: FogParameter; param: Int32) := z_Fogi_ovr0(pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Fogiv_ovr0(pname: FogParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glFogiv'; + public static z_Fogiv_ovr0 := _z_Fogiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogiv(pname: FogParameter; ¶ms: array of Int32) := z_Fogiv_ovr0(pname, ¶ms); + private static procedure _z_Fogiv_ovr1(pname: FogParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glFogiv'; + public static z_Fogiv_ovr1 := _z_Fogiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogiv(pname: FogParameter; var ¶ms: Int32) := z_Fogiv_ovr1(pname, ¶ms); + private static procedure _z_Fogiv_ovr2(pname: FogParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glFogiv'; + public static z_Fogiv_ovr2 := _z_Fogiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Fogiv(pname: FogParameter; ¶ms: IntPtr) := z_Fogiv_ovr2(pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Frustum_ovr0(left: real; right: real; bottom: real; top: real; zNear: real; zFar: real); + external 'opengl32.dll' name 'glFrustum'; + public static z_Frustum_ovr0 := _z_Frustum_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Frustum(left: real; right: real; bottom: real; top: real; zNear: real; zFar: real) := z_Frustum_ovr0(left, right, bottom, top, zNear, zFar); + + // added in gl1.0, deprecated in gl3.2 + private static function _z_GenLists_ovr0(range: Int32): UInt32; + external 'opengl32.dll' name 'glGenLists'; + public static z_GenLists_ovr0 := _z_GenLists_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenLists(range: Int32): UInt32 := z_GenLists_ovr0(range); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetClipPlane_ovr0(plane: ClipPlaneName; [MarshalAs(UnmanagedType.LPArray)] equation: array of real); + external 'opengl32.dll' name 'glGetClipPlane'; + public static z_GetClipPlane_ovr0 := _z_GetClipPlane_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlane(plane: ClipPlaneName; equation: array of real) := z_GetClipPlane_ovr0(plane, equation); + private static procedure _z_GetClipPlane_ovr1(plane: ClipPlaneName; var equation: real); + external 'opengl32.dll' name 'glGetClipPlane'; + public static z_GetClipPlane_ovr1 := _z_GetClipPlane_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlane(plane: ClipPlaneName; var equation: real) := z_GetClipPlane_ovr1(plane, equation); + private static procedure _z_GetClipPlane_ovr2(plane: ClipPlaneName; equation: IntPtr); + external 'opengl32.dll' name 'glGetClipPlane'; + public static z_GetClipPlane_ovr2 := _z_GetClipPlane_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlane(plane: ClipPlaneName; equation: IntPtr) := z_GetClipPlane_ovr2(plane, equation); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetLightfv_ovr0(light: LightName; pname: LightParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glGetLightfv'; + public static z_GetLightfv_ovr0 := _z_GetLightfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightfv(light: LightName; pname: LightParameter; ¶ms: array of single) := z_GetLightfv_ovr0(light, pname, ¶ms); + private static procedure _z_GetLightfv_ovr1(light: LightName; pname: LightParameter; var ¶ms: single); + external 'opengl32.dll' name 'glGetLightfv'; + public static z_GetLightfv_ovr1 := _z_GetLightfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightfv(light: LightName; pname: LightParameter; var ¶ms: single) := z_GetLightfv_ovr1(light, pname, ¶ms); + private static procedure _z_GetLightfv_ovr2(light: LightName; pname: LightParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetLightfv'; + public static z_GetLightfv_ovr2 := _z_GetLightfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightfv(light: LightName; pname: LightParameter; ¶ms: IntPtr) := z_GetLightfv_ovr2(light, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetLightiv_ovr0(light: LightName; pname: LightParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glGetLightiv'; + public static z_GetLightiv_ovr0 := _z_GetLightiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightiv(light: LightName; pname: LightParameter; ¶ms: array of Int32) := z_GetLightiv_ovr0(light, pname, ¶ms); + private static procedure _z_GetLightiv_ovr1(light: LightName; pname: LightParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glGetLightiv'; + public static z_GetLightiv_ovr1 := _z_GetLightiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightiv(light: LightName; pname: LightParameter; var ¶ms: Int32) := z_GetLightiv_ovr1(light, pname, ¶ms); + private static procedure _z_GetLightiv_ovr2(light: LightName; pname: LightParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetLightiv'; + public static z_GetLightiv_ovr2 := _z_GetLightiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightiv(light: LightName; pname: LightParameter; ¶ms: IntPtr) := z_GetLightiv_ovr2(light, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetMapdv_ovr0(target: MapTarget; query: GetMapQuery; [MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glGetMapdv'; + public static z_GetMapdv_ovr0 := _z_GetMapdv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapdv(target: MapTarget; query: GetMapQuery; v: array of real) := z_GetMapdv_ovr0(target, query, v); + private static procedure _z_GetMapdv_ovr1(target: MapTarget; query: GetMapQuery; var v: real); + external 'opengl32.dll' name 'glGetMapdv'; + public static z_GetMapdv_ovr1 := _z_GetMapdv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapdv(target: MapTarget; query: GetMapQuery; var v: real) := z_GetMapdv_ovr1(target, query, v); + private static procedure _z_GetMapdv_ovr2(target: MapTarget; query: GetMapQuery; v: IntPtr); + external 'opengl32.dll' name 'glGetMapdv'; + public static z_GetMapdv_ovr2 := _z_GetMapdv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapdv(target: MapTarget; query: GetMapQuery; v: IntPtr) := z_GetMapdv_ovr2(target, query, v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetMapfv_ovr0(target: MapTarget; query: GetMapQuery; [MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glGetMapfv'; + public static z_GetMapfv_ovr0 := _z_GetMapfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapfv(target: MapTarget; query: GetMapQuery; v: array of single) := z_GetMapfv_ovr0(target, query, v); + private static procedure _z_GetMapfv_ovr1(target: MapTarget; query: GetMapQuery; var v: single); + external 'opengl32.dll' name 'glGetMapfv'; + public static z_GetMapfv_ovr1 := _z_GetMapfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapfv(target: MapTarget; query: GetMapQuery; var v: single) := z_GetMapfv_ovr1(target, query, v); + private static procedure _z_GetMapfv_ovr2(target: MapTarget; query: GetMapQuery; v: IntPtr); + external 'opengl32.dll' name 'glGetMapfv'; + public static z_GetMapfv_ovr2 := _z_GetMapfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapfv(target: MapTarget; query: GetMapQuery; v: IntPtr) := z_GetMapfv_ovr2(target, query, v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetMapiv_ovr0(target: MapTarget; query: GetMapQuery; [MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glGetMapiv'; + public static z_GetMapiv_ovr0 := _z_GetMapiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapiv(target: MapTarget; query: GetMapQuery; v: array of Int32) := z_GetMapiv_ovr0(target, query, v); + private static procedure _z_GetMapiv_ovr1(target: MapTarget; query: GetMapQuery; var v: Int32); + external 'opengl32.dll' name 'glGetMapiv'; + public static z_GetMapiv_ovr1 := _z_GetMapiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapiv(target: MapTarget; query: GetMapQuery; var v: Int32) := z_GetMapiv_ovr1(target, query, v); + private static procedure _z_GetMapiv_ovr2(target: MapTarget; query: GetMapQuery; v: IntPtr); + external 'opengl32.dll' name 'glGetMapiv'; + public static z_GetMapiv_ovr2 := _z_GetMapiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapiv(target: MapTarget; query: GetMapQuery; v: IntPtr) := z_GetMapiv_ovr2(target, query, v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetMaterialfv_ovr0(face: DummyEnum; pname: MaterialParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glGetMaterialfv'; + public static z_GetMaterialfv_ovr0 := _z_GetMaterialfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialfv(face: DummyEnum; pname: MaterialParameter; ¶ms: array of single) := z_GetMaterialfv_ovr0(face, pname, ¶ms); + private static procedure _z_GetMaterialfv_ovr1(face: DummyEnum; pname: MaterialParameter; var ¶ms: single); + external 'opengl32.dll' name 'glGetMaterialfv'; + public static z_GetMaterialfv_ovr1 := _z_GetMaterialfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialfv(face: DummyEnum; pname: MaterialParameter; var ¶ms: single) := z_GetMaterialfv_ovr1(face, pname, ¶ms); + private static procedure _z_GetMaterialfv_ovr2(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetMaterialfv'; + public static z_GetMaterialfv_ovr2 := _z_GetMaterialfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialfv(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr) := z_GetMaterialfv_ovr2(face, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetMaterialiv_ovr0(face: DummyEnum; pname: MaterialParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glGetMaterialiv'; + public static z_GetMaterialiv_ovr0 := _z_GetMaterialiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialiv(face: DummyEnum; pname: MaterialParameter; ¶ms: array of Int32) := z_GetMaterialiv_ovr0(face, pname, ¶ms); + private static procedure _z_GetMaterialiv_ovr1(face: DummyEnum; pname: MaterialParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glGetMaterialiv'; + public static z_GetMaterialiv_ovr1 := _z_GetMaterialiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialiv(face: DummyEnum; pname: MaterialParameter; var ¶ms: Int32) := z_GetMaterialiv_ovr1(face, pname, ¶ms); + private static procedure _z_GetMaterialiv_ovr2(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetMaterialiv'; + public static z_GetMaterialiv_ovr2 := _z_GetMaterialiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialiv(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr) := z_GetMaterialiv_ovr2(face, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetPixelMapfv_ovr0(map: PixelMap; [MarshalAs(UnmanagedType.LPArray)] values: array of single); + external 'opengl32.dll' name 'glGetPixelMapfv'; + public static z_GetPixelMapfv_ovr0 := _z_GetPixelMapfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapfv(map: PixelMap; values: array of single) := z_GetPixelMapfv_ovr0(map, values); + private static procedure _z_GetPixelMapfv_ovr1(map: PixelMap; var values: single); + external 'opengl32.dll' name 'glGetPixelMapfv'; + public static z_GetPixelMapfv_ovr1 := _z_GetPixelMapfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapfv(map: PixelMap; var values: single) := z_GetPixelMapfv_ovr1(map, values); + private static procedure _z_GetPixelMapfv_ovr2(map: PixelMap; values: IntPtr); + external 'opengl32.dll' name 'glGetPixelMapfv'; + public static z_GetPixelMapfv_ovr2 := _z_GetPixelMapfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapfv(map: PixelMap; values: IntPtr) := z_GetPixelMapfv_ovr2(map, values); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetPixelMapuiv_ovr0(map: PixelMap; [MarshalAs(UnmanagedType.LPArray)] values: array of UInt32); + external 'opengl32.dll' name 'glGetPixelMapuiv'; + public static z_GetPixelMapuiv_ovr0 := _z_GetPixelMapuiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapuiv(map: PixelMap; values: array of UInt32) := z_GetPixelMapuiv_ovr0(map, values); + private static procedure _z_GetPixelMapuiv_ovr1(map: PixelMap; var values: UInt32); + external 'opengl32.dll' name 'glGetPixelMapuiv'; + public static z_GetPixelMapuiv_ovr1 := _z_GetPixelMapuiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapuiv(map: PixelMap; var values: UInt32) := z_GetPixelMapuiv_ovr1(map, values); + private static procedure _z_GetPixelMapuiv_ovr2(map: PixelMap; values: IntPtr); + external 'opengl32.dll' name 'glGetPixelMapuiv'; + public static z_GetPixelMapuiv_ovr2 := _z_GetPixelMapuiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapuiv(map: PixelMap; values: IntPtr) := z_GetPixelMapuiv_ovr2(map, values); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetPixelMapusv_ovr0(map: PixelMap; [MarshalAs(UnmanagedType.LPArray)] values: array of UInt16); + external 'opengl32.dll' name 'glGetPixelMapusv'; + public static z_GetPixelMapusv_ovr0 := _z_GetPixelMapusv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapusv(map: PixelMap; values: array of UInt16) := z_GetPixelMapusv_ovr0(map, values); + private static procedure _z_GetPixelMapusv_ovr1(map: PixelMap; var values: UInt16); + external 'opengl32.dll' name 'glGetPixelMapusv'; + public static z_GetPixelMapusv_ovr1 := _z_GetPixelMapusv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapusv(map: PixelMap; var values: UInt16) := z_GetPixelMapusv_ovr1(map, values); + private static procedure _z_GetPixelMapusv_ovr2(map: PixelMap; values: IntPtr); + external 'opengl32.dll' name 'glGetPixelMapusv'; + public static z_GetPixelMapusv_ovr2 := _z_GetPixelMapusv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelMapusv(map: PixelMap; values: IntPtr) := z_GetPixelMapusv_ovr2(map, values); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetPolygonStipple_ovr0([MarshalAs(UnmanagedType.LPArray)] mask: array of Byte); + external 'opengl32.dll' name 'glGetPolygonStipple'; + public static z_GetPolygonStipple_ovr0 := _z_GetPolygonStipple_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPolygonStipple(mask: array of Byte) := z_GetPolygonStipple_ovr0(mask); + private static procedure _z_GetPolygonStipple_ovr1(var mask: Byte); + external 'opengl32.dll' name 'glGetPolygonStipple'; + public static z_GetPolygonStipple_ovr1 := _z_GetPolygonStipple_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPolygonStipple(var mask: Byte) := z_GetPolygonStipple_ovr1(mask); + private static procedure _z_GetPolygonStipple_ovr2(mask: IntPtr); + external 'opengl32.dll' name 'glGetPolygonStipple'; + public static z_GetPolygonStipple_ovr2 := _z_GetPolygonStipple_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPolygonStipple(mask: IntPtr) := z_GetPolygonStipple_ovr2(mask); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetTexEnvfv_ovr0(target: TextureEnvTarget; pname: TextureEnvParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glGetTexEnvfv'; + public static z_GetTexEnvfv_ovr0 := _z_GetTexEnvfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvfv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of single) := z_GetTexEnvfv_ovr0(target, pname, ¶ms); + private static procedure _z_GetTexEnvfv_ovr1(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: single); + external 'opengl32.dll' name 'glGetTexEnvfv'; + public static z_GetTexEnvfv_ovr1 := _z_GetTexEnvfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvfv(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: single) := z_GetTexEnvfv_ovr1(target, pname, ¶ms); + private static procedure _z_GetTexEnvfv_ovr2(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexEnvfv'; + public static z_GetTexEnvfv_ovr2 := _z_GetTexEnvfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvfv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr) := z_GetTexEnvfv_ovr2(target, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetTexEnviv_ovr0(target: TextureEnvTarget; pname: TextureEnvParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glGetTexEnviv'; + public static z_GetTexEnviv_ovr0 := _z_GetTexEnviv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnviv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of Int32) := z_GetTexEnviv_ovr0(target, pname, ¶ms); + private static procedure _z_GetTexEnviv_ovr1(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glGetTexEnviv'; + public static z_GetTexEnviv_ovr1 := _z_GetTexEnviv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnviv(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Int32) := z_GetTexEnviv_ovr1(target, pname, ¶ms); + private static procedure _z_GetTexEnviv_ovr2(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexEnviv'; + public static z_GetTexEnviv_ovr2 := _z_GetTexEnviv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnviv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr) := z_GetTexEnviv_ovr2(target, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetTexGendv_ovr0(coord: TextureCoordName; pname: TextureGenParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of real); + external 'opengl32.dll' name 'glGetTexGendv'; + public static z_GetTexGendv_ovr0 := _z_GetTexGendv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGendv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of real) := z_GetTexGendv_ovr0(coord, pname, ¶ms); + private static procedure _z_GetTexGendv_ovr1(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: real); + external 'opengl32.dll' name 'glGetTexGendv'; + public static z_GetTexGendv_ovr1 := _z_GetTexGendv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGendv(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: real) := z_GetTexGendv_ovr1(coord, pname, ¶ms); + private static procedure _z_GetTexGendv_ovr2(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexGendv'; + public static z_GetTexGendv_ovr2 := _z_GetTexGendv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGendv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr) := z_GetTexGendv_ovr2(coord, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetTexGenfv_ovr0(coord: TextureCoordName; pname: TextureGenParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glGetTexGenfv'; + public static z_GetTexGenfv_ovr0 := _z_GetTexGenfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of single) := z_GetTexGenfv_ovr0(coord, pname, ¶ms); + private static procedure _z_GetTexGenfv_ovr1(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: single); + external 'opengl32.dll' name 'glGetTexGenfv'; + public static z_GetTexGenfv_ovr1 := _z_GetTexGenfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfv(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: single) := z_GetTexGenfv_ovr1(coord, pname, ¶ms); + private static procedure _z_GetTexGenfv_ovr2(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexGenfv'; + public static z_GetTexGenfv_ovr2 := _z_GetTexGenfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr) := z_GetTexGenfv_ovr2(coord, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_GetTexGeniv_ovr0(coord: TextureCoordName; pname: TextureGenParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glGetTexGeniv'; + public static z_GetTexGeniv_ovr0 := _z_GetTexGeniv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGeniv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of Int32) := z_GetTexGeniv_ovr0(coord, pname, ¶ms); + private static procedure _z_GetTexGeniv_ovr1(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glGetTexGeniv'; + public static z_GetTexGeniv_ovr1 := _z_GetTexGeniv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGeniv(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Int32) := z_GetTexGeniv_ovr1(coord, pname, ¶ms); + private static procedure _z_GetTexGeniv_ovr2(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glGetTexGeniv'; + public static z_GetTexGeniv_ovr2 := _z_GetTexGeniv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGeniv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr) := z_GetTexGeniv_ovr2(coord, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexd_ovr0(c: real); + external 'opengl32.dll' name 'glIndexd'; + public static z_Indexd_ovr0 := _z_Indexd_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexd(c: real) := z_Indexd_ovr0(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexdv_ovr0([MarshalAs(UnmanagedType.LPArray)] c: array of real); + external 'opengl32.dll' name 'glIndexdv'; + public static z_Indexdv_ovr0 := _z_Indexdv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexdv(c: array of real) := z_Indexdv_ovr0(c); + private static procedure _z_Indexdv_ovr1(var c: real); + external 'opengl32.dll' name 'glIndexdv'; + public static z_Indexdv_ovr1 := _z_Indexdv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexdv(var c: real) := z_Indexdv_ovr1(c); + private static procedure _z_Indexdv_ovr2(c: IntPtr); + external 'opengl32.dll' name 'glIndexdv'; + public static z_Indexdv_ovr2 := _z_Indexdv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexdv(c: IntPtr) := z_Indexdv_ovr2(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexf_ovr0(c: single); + external 'opengl32.dll' name 'glIndexf'; + public static z_Indexf_ovr0 := _z_Indexf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexf(c: single) := z_Indexf_ovr0(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexfv_ovr0([MarshalAs(UnmanagedType.LPArray)] c: array of single); + external 'opengl32.dll' name 'glIndexfv'; + public static z_Indexfv_ovr0 := _z_Indexfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexfv(c: array of single) := z_Indexfv_ovr0(c); + private static procedure _z_Indexfv_ovr1(var c: single); + external 'opengl32.dll' name 'glIndexfv'; + public static z_Indexfv_ovr1 := _z_Indexfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexfv(var c: single) := z_Indexfv_ovr1(c); + private static procedure _z_Indexfv_ovr2(c: IntPtr); + external 'opengl32.dll' name 'glIndexfv'; + public static z_Indexfv_ovr2 := _z_Indexfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexfv(c: IntPtr) := z_Indexfv_ovr2(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexi_ovr0(c: Int32); + external 'opengl32.dll' name 'glIndexi'; + public static z_Indexi_ovr0 := _z_Indexi_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexi(c: Int32) := z_Indexi_ovr0(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexiv_ovr0([MarshalAs(UnmanagedType.LPArray)] c: array of Int32); + external 'opengl32.dll' name 'glIndexiv'; + public static z_Indexiv_ovr0 := _z_Indexiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexiv(c: array of Int32) := z_Indexiv_ovr0(c); + private static procedure _z_Indexiv_ovr1(var c: Int32); + external 'opengl32.dll' name 'glIndexiv'; + public static z_Indexiv_ovr1 := _z_Indexiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexiv(var c: Int32) := z_Indexiv_ovr1(c); + private static procedure _z_Indexiv_ovr2(c: IntPtr); + external 'opengl32.dll' name 'glIndexiv'; + public static z_Indexiv_ovr2 := _z_Indexiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexiv(c: IntPtr) := z_Indexiv_ovr2(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_IndexMask_ovr0(mask: UInt32); + external 'opengl32.dll' name 'glIndexMask'; + public static z_IndexMask_ovr0 := _z_IndexMask_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexMask(mask: UInt32) := z_IndexMask_ovr0(mask); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_IndexPointer_ovr0(&type: IndexPointerType; stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glIndexPointer'; + public static z_IndexPointer_ovr0 := _z_IndexPointer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointer(&type: IndexPointerType; stride: Int32; pointer: IntPtr) := z_IndexPointer_ovr0(&type, stride, pointer); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexs_ovr0(c: Int16); + external 'opengl32.dll' name 'glIndexs'; + public static z_Indexs_ovr0 := _z_Indexs_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexs(c: Int16) := z_Indexs_ovr0(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Indexsv_ovr0([MarshalAs(UnmanagedType.LPArray)] c: array of Int16); + external 'opengl32.dll' name 'glIndexsv'; + public static z_Indexsv_ovr0 := _z_Indexsv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexsv(c: array of Int16) := z_Indexsv_ovr0(c); + private static procedure _z_Indexsv_ovr1(var c: Int16); + external 'opengl32.dll' name 'glIndexsv'; + public static z_Indexsv_ovr1 := _z_Indexsv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexsv(var c: Int16) := z_Indexsv_ovr1(c); + private static procedure _z_Indexsv_ovr2(c: IntPtr); + external 'opengl32.dll' name 'glIndexsv'; + public static z_Indexsv_ovr2 := _z_Indexsv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexsv(c: IntPtr) := z_Indexsv_ovr2(c); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_Indexub_ovr0(c: Byte); + external 'opengl32.dll' name 'glIndexub'; + public static z_Indexub_ovr0 := _z_Indexub_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexub(c: Byte) := z_Indexub_ovr0(c); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_Indexubv_ovr0([MarshalAs(UnmanagedType.LPArray)] c: array of Byte); + external 'opengl32.dll' name 'glIndexubv'; + public static z_Indexubv_ovr0 := _z_Indexubv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexubv(c: array of Byte) := z_Indexubv_ovr0(c); + private static procedure _z_Indexubv_ovr1(var c: Byte); + external 'opengl32.dll' name 'glIndexubv'; + public static z_Indexubv_ovr1 := _z_Indexubv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexubv(var c: Byte) := z_Indexubv_ovr1(c); + private static procedure _z_Indexubv_ovr2(c: IntPtr); + external 'opengl32.dll' name 'glIndexubv'; + public static z_Indexubv_ovr2 := _z_Indexubv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Indexubv(c: IntPtr) := z_Indexubv_ovr2(c); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_InitNames_ovr0; + external 'opengl32.dll' name 'glInitNames'; + public static z_InitNames_ovr0 := _z_InitNames_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InitNames := z_InitNames_ovr0; + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_InterleavedArrays_ovr0(format: InterleavedArrayFormat; stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glInterleavedArrays'; + public static z_InterleavedArrays_ovr0 := _z_InterleavedArrays_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InterleavedArrays(format: InterleavedArrayFormat; stride: Int32; pointer: IntPtr) := z_InterleavedArrays_ovr0(format, stride, pointer); + + // added in gl1.0, deprecated in gl3.2 + private static function _z_IsList_ovr0(list: UInt32): boolean; + external 'opengl32.dll' name 'glIsList'; + public static z_IsList_ovr0 := _z_IsList_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsList(list: UInt32): boolean := z_IsList_ovr0(list); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Lightf_ovr0(light: LightName; pname: LightParameter; param: single); + external 'opengl32.dll' name 'glLightf'; + public static z_Lightf_ovr0 := _z_Lightf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightf(light: LightName; pname: LightParameter; param: single) := z_Lightf_ovr0(light, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Lightfv_ovr0(light: LightName; pname: LightParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glLightfv'; + public static z_Lightfv_ovr0 := _z_Lightfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightfv(light: LightName; pname: LightParameter; ¶ms: array of single) := z_Lightfv_ovr0(light, pname, ¶ms); + private static procedure _z_Lightfv_ovr1(light: LightName; pname: LightParameter; var ¶ms: single); + external 'opengl32.dll' name 'glLightfv'; + public static z_Lightfv_ovr1 := _z_Lightfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightfv(light: LightName; pname: LightParameter; var ¶ms: single) := z_Lightfv_ovr1(light, pname, ¶ms); + private static procedure _z_Lightfv_ovr2(light: LightName; pname: LightParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glLightfv'; + public static z_Lightfv_ovr2 := _z_Lightfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightfv(light: LightName; pname: LightParameter; ¶ms: IntPtr) := z_Lightfv_ovr2(light, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Lighti_ovr0(light: LightName; pname: LightParameter; param: Int32); + external 'opengl32.dll' name 'glLighti'; + public static z_Lighti_ovr0 := _z_Lighti_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lighti(light: LightName; pname: LightParameter; param: Int32) := z_Lighti_ovr0(light, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Lightiv_ovr0(light: LightName; pname: LightParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glLightiv'; + public static z_Lightiv_ovr0 := _z_Lightiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightiv(light: LightName; pname: LightParameter; ¶ms: array of Int32) := z_Lightiv_ovr0(light, pname, ¶ms); + private static procedure _z_Lightiv_ovr1(light: LightName; pname: LightParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glLightiv'; + public static z_Lightiv_ovr1 := _z_Lightiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightiv(light: LightName; pname: LightParameter; var ¶ms: Int32) := z_Lightiv_ovr1(light, pname, ¶ms); + private static procedure _z_Lightiv_ovr2(light: LightName; pname: LightParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glLightiv'; + public static z_Lightiv_ovr2 := _z_Lightiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Lightiv(light: LightName; pname: LightParameter; ¶ms: IntPtr) := z_Lightiv_ovr2(light, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LightModelf_ovr0(pname: LightModelParameter; param: single); + external 'opengl32.dll' name 'glLightModelf'; + public static z_LightModelf_ovr0 := _z_LightModelf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelf(pname: LightModelParameter; param: single) := z_LightModelf_ovr0(pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LightModelfv_ovr0(pname: LightModelParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glLightModelfv'; + public static z_LightModelfv_ovr0 := _z_LightModelfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelfv(pname: LightModelParameter; ¶ms: array of single) := z_LightModelfv_ovr0(pname, ¶ms); + private static procedure _z_LightModelfv_ovr1(pname: LightModelParameter; var ¶ms: single); + external 'opengl32.dll' name 'glLightModelfv'; + public static z_LightModelfv_ovr1 := _z_LightModelfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelfv(pname: LightModelParameter; var ¶ms: single) := z_LightModelfv_ovr1(pname, ¶ms); + private static procedure _z_LightModelfv_ovr2(pname: LightModelParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glLightModelfv'; + public static z_LightModelfv_ovr2 := _z_LightModelfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelfv(pname: LightModelParameter; ¶ms: IntPtr) := z_LightModelfv_ovr2(pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LightModeli_ovr0(pname: LightModelParameter; param: Int32); + external 'opengl32.dll' name 'glLightModeli'; + public static z_LightModeli_ovr0 := _z_LightModeli_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeli(pname: LightModelParameter; param: Int32) := z_LightModeli_ovr0(pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LightModeliv_ovr0(pname: LightModelParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glLightModeliv'; + public static z_LightModeliv_ovr0 := _z_LightModeliv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeliv(pname: LightModelParameter; ¶ms: array of Int32) := z_LightModeliv_ovr0(pname, ¶ms); + private static procedure _z_LightModeliv_ovr1(pname: LightModelParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glLightModeliv'; + public static z_LightModeliv_ovr1 := _z_LightModeliv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeliv(pname: LightModelParameter; var ¶ms: Int32) := z_LightModeliv_ovr1(pname, ¶ms); + private static procedure _z_LightModeliv_ovr2(pname: LightModelParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glLightModeliv'; + public static z_LightModeliv_ovr2 := _z_LightModeliv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModeliv(pname: LightModelParameter; ¶ms: IntPtr) := z_LightModeliv_ovr2(pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LineStipple_ovr0(factor: Int32; pattern: UInt16); + external 'opengl32.dll' name 'glLineStipple'; + public static z_LineStipple_ovr0 := _z_LineStipple_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LineStipple(factor: Int32; pattern: UInt16) := z_LineStipple_ovr0(factor, pattern); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_ListBase_ovr0(base: UInt32); + external 'opengl32.dll' name 'glListBase'; + public static z_ListBase_ovr0 := _z_ListBase_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListBase(base: UInt32) := z_ListBase_ovr0(base); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LoadIdentity_ovr0; + external 'opengl32.dll' name 'glLoadIdentity'; + public static z_LoadIdentity_ovr0 := _z_LoadIdentity_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadIdentity := z_LoadIdentity_ovr0; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LoadMatrixd_ovr0([MarshalAs(UnmanagedType.LPArray)] m: array of real); + external 'opengl32.dll' name 'glLoadMatrixd'; + public static z_LoadMatrixd_ovr0 := _z_LoadMatrixd_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixd(m: array of real) := z_LoadMatrixd_ovr0(m); + private static procedure _z_LoadMatrixd_ovr1(var m: real); + external 'opengl32.dll' name 'glLoadMatrixd'; + public static z_LoadMatrixd_ovr1 := _z_LoadMatrixd_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixd(var m: real) := z_LoadMatrixd_ovr1(m); + private static procedure _z_LoadMatrixd_ovr2(m: IntPtr); + external 'opengl32.dll' name 'glLoadMatrixd'; + public static z_LoadMatrixd_ovr2 := _z_LoadMatrixd_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixd(m: IntPtr) := z_LoadMatrixd_ovr2(m); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LoadMatrixf_ovr0([MarshalAs(UnmanagedType.LPArray)] m: array of single); + external 'opengl32.dll' name 'glLoadMatrixf'; + public static z_LoadMatrixf_ovr0 := _z_LoadMatrixf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixf(m: array of single) := z_LoadMatrixf_ovr0(m); + private static procedure _z_LoadMatrixf_ovr1(var m: single); + external 'opengl32.dll' name 'glLoadMatrixf'; + public static z_LoadMatrixf_ovr1 := _z_LoadMatrixf_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixf(var m: single) := z_LoadMatrixf_ovr1(m); + private static procedure _z_LoadMatrixf_ovr2(m: IntPtr); + external 'opengl32.dll' name 'glLoadMatrixf'; + public static z_LoadMatrixf_ovr2 := _z_LoadMatrixf_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixf(m: IntPtr) := z_LoadMatrixf_ovr2(m); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_LoadName_ovr0(name: UInt32); + external 'opengl32.dll' name 'glLoadName'; + public static z_LoadName_ovr0 := _z_LoadName_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadName(name: UInt32) := z_LoadName_ovr0(name); + + // added in gl1.3, deprecated in gl3.2 + public z_LoadTransposeMatrixd_adr := GetFuncAdr('glLoadTransposeMatrixd'); + public z_LoadTransposeMatrixd_ovr_0 := GetFuncOrNil&(z_LoadTransposeMatrixd_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixd(m: array of real); + begin + z_LoadTransposeMatrixd_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixd(var m: real); + begin + z_LoadTransposeMatrixd_ovr_0(m); + end; + public z_LoadTransposeMatrixd_ovr_2 := GetFuncOrNil&(z_LoadTransposeMatrixd_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixd(m: IntPtr); + begin + z_LoadTransposeMatrixd_ovr_2(m); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_LoadTransposeMatrixf_adr := GetFuncAdr('glLoadTransposeMatrixf'); + public z_LoadTransposeMatrixf_ovr_0 := GetFuncOrNil&(z_LoadTransposeMatrixf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixf(m: array of single); + begin + z_LoadTransposeMatrixf_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixf(var m: single); + begin + z_LoadTransposeMatrixf_ovr_0(m); + end; + public z_LoadTransposeMatrixf_ovr_2 := GetFuncOrNil&(z_LoadTransposeMatrixf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixf(m: IntPtr); + begin + z_LoadTransposeMatrixf_ovr_2(m); + end; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Map1d_ovr0(target: MapTarget; u1: real; u2: real; stride: Int32; order: Int32; [MarshalAs(UnmanagedType.LPArray)] points: array of real); + external 'opengl32.dll' name 'glMap1d'; + public static z_Map1d_ovr0 := _z_Map1d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1d(target: MapTarget; u1: real; u2: real; stride: Int32; order: Int32; points: array of real) := z_Map1d_ovr0(target, u1, u2, stride, order, points); + private static procedure _z_Map1d_ovr1(target: MapTarget; u1: real; u2: real; stride: Int32; order: Int32; var points: real); + external 'opengl32.dll' name 'glMap1d'; + public static z_Map1d_ovr1 := _z_Map1d_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1d(target: MapTarget; u1: real; u2: real; stride: Int32; order: Int32; var points: real) := z_Map1d_ovr1(target, u1, u2, stride, order, points); + private static procedure _z_Map1d_ovr2(target: MapTarget; u1: real; u2: real; stride: Int32; order: Int32; points: IntPtr); + external 'opengl32.dll' name 'glMap1d'; + public static z_Map1d_ovr2 := _z_Map1d_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1d(target: MapTarget; u1: real; u2: real; stride: Int32; order: Int32; points: IntPtr) := z_Map1d_ovr2(target, u1, u2, stride, order, points); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Map1f_ovr0(target: MapTarget; u1: single; u2: single; stride: Int32; order: Int32; [MarshalAs(UnmanagedType.LPArray)] points: array of single); + external 'opengl32.dll' name 'glMap1f'; + public static z_Map1f_ovr0 := _z_Map1f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1f(target: MapTarget; u1: single; u2: single; stride: Int32; order: Int32; points: array of single) := z_Map1f_ovr0(target, u1, u2, stride, order, points); + private static procedure _z_Map1f_ovr1(target: MapTarget; u1: single; u2: single; stride: Int32; order: Int32; var points: single); + external 'opengl32.dll' name 'glMap1f'; + public static z_Map1f_ovr1 := _z_Map1f_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1f(target: MapTarget; u1: single; u2: single; stride: Int32; order: Int32; var points: single) := z_Map1f_ovr1(target, u1, u2, stride, order, points); + private static procedure _z_Map1f_ovr2(target: MapTarget; u1: single; u2: single; stride: Int32; order: Int32; points: IntPtr); + external 'opengl32.dll' name 'glMap1f'; + public static z_Map1f_ovr2 := _z_Map1f_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1f(target: MapTarget; u1: single; u2: single; stride: Int32; order: Int32; points: IntPtr) := z_Map1f_ovr2(target, u1, u2, stride, order, points); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Map2d_ovr0(target: MapTarget; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; [MarshalAs(UnmanagedType.LPArray)] points: array of real); + external 'opengl32.dll' name 'glMap2d'; + public static z_Map2d_ovr0 := _z_Map2d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2d(target: MapTarget; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; points: array of real) := z_Map2d_ovr0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + private static procedure _z_Map2d_ovr1(target: MapTarget; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; var points: real); + external 'opengl32.dll' name 'glMap2d'; + public static z_Map2d_ovr1 := _z_Map2d_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2d(target: MapTarget; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; var points: real) := z_Map2d_ovr1(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + private static procedure _z_Map2d_ovr2(target: MapTarget; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; points: IntPtr); + external 'opengl32.dll' name 'glMap2d'; + public static z_Map2d_ovr2 := _z_Map2d_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2d(target: MapTarget; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; points: IntPtr) := z_Map2d_ovr2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Map2f_ovr0(target: MapTarget; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; [MarshalAs(UnmanagedType.LPArray)] points: array of single); + external 'opengl32.dll' name 'glMap2f'; + public static z_Map2f_ovr0 := _z_Map2f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2f(target: MapTarget; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: array of single) := z_Map2f_ovr0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + private static procedure _z_Map2f_ovr1(target: MapTarget; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; var points: single); + external 'opengl32.dll' name 'glMap2f'; + public static z_Map2f_ovr1 := _z_Map2f_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2f(target: MapTarget; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; var points: single) := z_Map2f_ovr1(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + private static procedure _z_Map2f_ovr2(target: MapTarget; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: IntPtr); + external 'opengl32.dll' name 'glMap2f'; + public static z_Map2f_ovr2 := _z_Map2f_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2f(target: MapTarget; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: IntPtr) := z_Map2f_ovr2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MapGrid1d_ovr0(un: Int32; u1: real; u2: real); + external 'opengl32.dll' name 'glMapGrid1d'; + public static z_MapGrid1d_ovr0 := _z_MapGrid1d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid1d(un: Int32; u1: real; u2: real) := z_MapGrid1d_ovr0(un, u1, u2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MapGrid1f_ovr0(un: Int32; u1: single; u2: single); + external 'opengl32.dll' name 'glMapGrid1f'; + public static z_MapGrid1f_ovr0 := _z_MapGrid1f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid1f(un: Int32; u1: single; u2: single) := z_MapGrid1f_ovr0(un, u1, u2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MapGrid2d_ovr0(un: Int32; u1: real; u2: real; vn: Int32; v1: real; v2: real); + external 'opengl32.dll' name 'glMapGrid2d'; + public static z_MapGrid2d_ovr0 := _z_MapGrid2d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid2d(un: Int32; u1: real; u2: real; vn: Int32; v1: real; v2: real) := z_MapGrid2d_ovr0(un, u1, u2, vn, v1, v2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MapGrid2f_ovr0(un: Int32; u1: single; u2: single; vn: Int32; v1: single; v2: single); + external 'opengl32.dll' name 'glMapGrid2f'; + public static z_MapGrid2f_ovr0 := _z_MapGrid2f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid2f(un: Int32; u1: single; u2: single; vn: Int32; v1: single; v2: single) := z_MapGrid2f_ovr0(un, u1, u2, vn, v1, v2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Materialf_ovr0(face: DummyEnum; pname: MaterialParameter; param: single); + external 'opengl32.dll' name 'glMaterialf'; + public static z_Materialf_ovr0 := _z_Materialf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialf(face: DummyEnum; pname: MaterialParameter; param: single) := z_Materialf_ovr0(face, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Materialfv_ovr0(face: DummyEnum; pname: MaterialParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glMaterialfv'; + public static z_Materialfv_ovr0 := _z_Materialfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialfv(face: DummyEnum; pname: MaterialParameter; ¶ms: array of single) := z_Materialfv_ovr0(face, pname, ¶ms); + private static procedure _z_Materialfv_ovr1(face: DummyEnum; pname: MaterialParameter; var ¶ms: single); + external 'opengl32.dll' name 'glMaterialfv'; + public static z_Materialfv_ovr1 := _z_Materialfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialfv(face: DummyEnum; pname: MaterialParameter; var ¶ms: single) := z_Materialfv_ovr1(face, pname, ¶ms); + private static procedure _z_Materialfv_ovr2(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glMaterialfv'; + public static z_Materialfv_ovr2 := _z_Materialfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialfv(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr) := z_Materialfv_ovr2(face, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Materiali_ovr0(face: DummyEnum; pname: MaterialParameter; param: Int32); + external 'opengl32.dll' name 'glMateriali'; + public static z_Materiali_ovr0 := _z_Materiali_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materiali(face: DummyEnum; pname: MaterialParameter; param: Int32) := z_Materiali_ovr0(face, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Materialiv_ovr0(face: DummyEnum; pname: MaterialParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glMaterialiv'; + public static z_Materialiv_ovr0 := _z_Materialiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialiv(face: DummyEnum; pname: MaterialParameter; ¶ms: array of Int32) := z_Materialiv_ovr0(face, pname, ¶ms); + private static procedure _z_Materialiv_ovr1(face: DummyEnum; pname: MaterialParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glMaterialiv'; + public static z_Materialiv_ovr1 := _z_Materialiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialiv(face: DummyEnum; pname: MaterialParameter; var ¶ms: Int32) := z_Materialiv_ovr1(face, pname, ¶ms); + private static procedure _z_Materialiv_ovr2(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glMaterialiv'; + public static z_Materialiv_ovr2 := _z_Materialiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Materialiv(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr) := z_Materialiv_ovr2(face, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MatrixMode_ovr0(mode: OpenGL.MatrixMode); + external 'opengl32.dll' name 'glMatrixMode'; + public static z_MatrixMode_ovr0 := _z_MatrixMode_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMode(mode: OpenGL.MatrixMode) := z_MatrixMode_ovr0(mode); + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1d_adr := GetFuncAdr('glMultiTexCoord1d'); + public z_MultiTexCoord1d_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1d(target: TextureUnit; s: real); + begin + z_MultiTexCoord1d_ovr_0(target, s); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1dv_adr := GetFuncAdr('glMultiTexCoord1dv'); + public z_MultiTexCoord1dv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dv(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord1dv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dv(target: TextureUnit; var v: real); + begin + z_MultiTexCoord1dv_ovr_0(target, v); + end; + public z_MultiTexCoord1dv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1dv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1f_adr := GetFuncAdr('glMultiTexCoord1f'); + public z_MultiTexCoord1f_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1f(target: TextureUnit; s: single); + begin + z_MultiTexCoord1f_ovr_0(target, s); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1fv_adr := GetFuncAdr('glMultiTexCoord1fv'); + public z_MultiTexCoord1fv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fv(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord1fv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fv(target: TextureUnit; var v: single); + begin + z_MultiTexCoord1fv_ovr_0(target, v); + end; + public z_MultiTexCoord1fv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1fv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1i_adr := GetFuncAdr('glMultiTexCoord1i'); + public z_MultiTexCoord1i_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1i(target: TextureUnit; s: Int32); + begin + z_MultiTexCoord1i_ovr_0(target, s); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1iv_adr := GetFuncAdr('glMultiTexCoord1iv'); + public z_MultiTexCoord1iv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iv(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord1iv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iv(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord1iv_ovr_0(target, v); + end; + public z_MultiTexCoord1iv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1iv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1s_adr := GetFuncAdr('glMultiTexCoord1s'); + public z_MultiTexCoord1s_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1s(target: TextureUnit; s: Int16); + begin + z_MultiTexCoord1s_ovr_0(target, s); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord1sv_adr := GetFuncAdr('glMultiTexCoord1sv'); + public z_MultiTexCoord1sv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sv(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord1sv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sv(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord1sv_ovr_0(target, v); + end; + public z_MultiTexCoord1sv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1sv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2d_adr := GetFuncAdr('glMultiTexCoord2d'); + public z_MultiTexCoord2d_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2d(target: TextureUnit; s: real; t: real); + begin + z_MultiTexCoord2d_ovr_0(target, s, t); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2dv_adr := GetFuncAdr('glMultiTexCoord2dv'); + public z_MultiTexCoord2dv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dv(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord2dv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dv(target: TextureUnit; var v: real); + begin + z_MultiTexCoord2dv_ovr_0(target, v); + end; + public z_MultiTexCoord2dv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2dv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2f_adr := GetFuncAdr('glMultiTexCoord2f'); + public z_MultiTexCoord2f_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2f(target: TextureUnit; s: single; t: single); + begin + z_MultiTexCoord2f_ovr_0(target, s, t); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2fv_adr := GetFuncAdr('glMultiTexCoord2fv'); + public z_MultiTexCoord2fv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fv(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord2fv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fv(target: TextureUnit; var v: single); + begin + z_MultiTexCoord2fv_ovr_0(target, v); + end; + public z_MultiTexCoord2fv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2fv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2i_adr := GetFuncAdr('glMultiTexCoord2i'); + public z_MultiTexCoord2i_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2i(target: TextureUnit; s: Int32; t: Int32); + begin + z_MultiTexCoord2i_ovr_0(target, s, t); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2iv_adr := GetFuncAdr('glMultiTexCoord2iv'); + public z_MultiTexCoord2iv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iv(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord2iv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iv(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord2iv_ovr_0(target, v); + end; + public z_MultiTexCoord2iv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2iv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2s_adr := GetFuncAdr('glMultiTexCoord2s'); + public z_MultiTexCoord2s_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2s(target: TextureUnit; s: Int16; t: Int16); + begin + z_MultiTexCoord2s_ovr_0(target, s, t); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord2sv_adr := GetFuncAdr('glMultiTexCoord2sv'); + public z_MultiTexCoord2sv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sv(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord2sv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sv(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord2sv_ovr_0(target, v); + end; + public z_MultiTexCoord2sv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2sv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3d_adr := GetFuncAdr('glMultiTexCoord3d'); + public z_MultiTexCoord3d_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3d(target: TextureUnit; s: real; t: real; r: real); + begin + z_MultiTexCoord3d_ovr_0(target, s, t, r); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3dv_adr := GetFuncAdr('glMultiTexCoord3dv'); + public z_MultiTexCoord3dv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dv(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord3dv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dv(target: TextureUnit; var v: real); + begin + z_MultiTexCoord3dv_ovr_0(target, v); + end; + public z_MultiTexCoord3dv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3dv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3f_adr := GetFuncAdr('glMultiTexCoord3f'); + public z_MultiTexCoord3f_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3f(target: TextureUnit; s: single; t: single; r: single); + begin + z_MultiTexCoord3f_ovr_0(target, s, t, r); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3fv_adr := GetFuncAdr('glMultiTexCoord3fv'); + public z_MultiTexCoord3fv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fv(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord3fv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fv(target: TextureUnit; var v: single); + begin + z_MultiTexCoord3fv_ovr_0(target, v); + end; + public z_MultiTexCoord3fv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3fv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3i_adr := GetFuncAdr('glMultiTexCoord3i'); + public z_MultiTexCoord3i_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3i(target: TextureUnit; s: Int32; t: Int32; r: Int32); + begin + z_MultiTexCoord3i_ovr_0(target, s, t, r); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3iv_adr := GetFuncAdr('glMultiTexCoord3iv'); + public z_MultiTexCoord3iv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iv(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord3iv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iv(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord3iv_ovr_0(target, v); + end; + public z_MultiTexCoord3iv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3iv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3s_adr := GetFuncAdr('glMultiTexCoord3s'); + public z_MultiTexCoord3s_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3s(target: TextureUnit; s: Int16; t: Int16; r: Int16); + begin + z_MultiTexCoord3s_ovr_0(target, s, t, r); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord3sv_adr := GetFuncAdr('glMultiTexCoord3sv'); + public z_MultiTexCoord3sv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sv(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord3sv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sv(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord3sv_ovr_0(target, v); + end; + public z_MultiTexCoord3sv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3sv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4d_adr := GetFuncAdr('glMultiTexCoord4d'); + public z_MultiTexCoord4d_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4d(target: TextureUnit; s: real; t: real; r: real; q: real); + begin + z_MultiTexCoord4d_ovr_0(target, s, t, r, q); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4dv_adr := GetFuncAdr('glMultiTexCoord4dv'); + public z_MultiTexCoord4dv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dv(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord4dv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dv(target: TextureUnit; var v: real); + begin + z_MultiTexCoord4dv_ovr_0(target, v); + end; + public z_MultiTexCoord4dv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4dv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4f_adr := GetFuncAdr('glMultiTexCoord4f'); + public z_MultiTexCoord4f_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4f(target: TextureUnit; s: single; t: single; r: single; q: single); + begin + z_MultiTexCoord4f_ovr_0(target, s, t, r, q); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4fv_adr := GetFuncAdr('glMultiTexCoord4fv'); + public z_MultiTexCoord4fv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fv(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord4fv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fv(target: TextureUnit; var v: single); + begin + z_MultiTexCoord4fv_ovr_0(target, v); + end; + public z_MultiTexCoord4fv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4fv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4i_adr := GetFuncAdr('glMultiTexCoord4i'); + public z_MultiTexCoord4i_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4i(target: TextureUnit; s: Int32; t: Int32; r: Int32; q: Int32); + begin + z_MultiTexCoord4i_ovr_0(target, s, t, r, q); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4iv_adr := GetFuncAdr('glMultiTexCoord4iv'); + public z_MultiTexCoord4iv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iv(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord4iv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iv(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord4iv_ovr_0(target, v); + end; + public z_MultiTexCoord4iv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4iv_ovr_2(target, v); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4s_adr := GetFuncAdr('glMultiTexCoord4s'); + public z_MultiTexCoord4s_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4s(target: TextureUnit; s: Int16; t: Int16; r: Int16; q: Int16); + begin + z_MultiTexCoord4s_ovr_0(target, s, t, r, q); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultiTexCoord4sv_adr := GetFuncAdr('glMultiTexCoord4sv'); + public z_MultiTexCoord4sv_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sv(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord4sv_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sv(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord4sv_ovr_0(target, v); + end; + public z_MultiTexCoord4sv_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sv(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4sv_ovr_2(target, v); + end; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MultMatrixd_ovr0([MarshalAs(UnmanagedType.LPArray)] m: array of real); + external 'opengl32.dll' name 'glMultMatrixd'; + public static z_MultMatrixd_ovr0 := _z_MultMatrixd_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixd(m: array of real) := z_MultMatrixd_ovr0(m); + private static procedure _z_MultMatrixd_ovr1(var m: real); + external 'opengl32.dll' name 'glMultMatrixd'; + public static z_MultMatrixd_ovr1 := _z_MultMatrixd_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixd(var m: real) := z_MultMatrixd_ovr1(m); + private static procedure _z_MultMatrixd_ovr2(m: IntPtr); + external 'opengl32.dll' name 'glMultMatrixd'; + public static z_MultMatrixd_ovr2 := _z_MultMatrixd_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixd(m: IntPtr) := z_MultMatrixd_ovr2(m); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_MultMatrixf_ovr0([MarshalAs(UnmanagedType.LPArray)] m: array of single); + external 'opengl32.dll' name 'glMultMatrixf'; + public static z_MultMatrixf_ovr0 := _z_MultMatrixf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixf(m: array of single) := z_MultMatrixf_ovr0(m); + private static procedure _z_MultMatrixf_ovr1(var m: single); + external 'opengl32.dll' name 'glMultMatrixf'; + public static z_MultMatrixf_ovr1 := _z_MultMatrixf_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixf(var m: single) := z_MultMatrixf_ovr1(m); + private static procedure _z_MultMatrixf_ovr2(m: IntPtr); + external 'opengl32.dll' name 'glMultMatrixf'; + public static z_MultMatrixf_ovr2 := _z_MultMatrixf_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixf(m: IntPtr) := z_MultMatrixf_ovr2(m); + + // added in gl1.3, deprecated in gl3.2 + public z_MultTransposeMatrixd_adr := GetFuncAdr('glMultTransposeMatrixd'); + public z_MultTransposeMatrixd_ovr_0 := GetFuncOrNil&(z_MultTransposeMatrixd_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixd(m: array of real); + begin + z_MultTransposeMatrixd_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixd(var m: real); + begin + z_MultTransposeMatrixd_ovr_0(m); + end; + public z_MultTransposeMatrixd_ovr_2 := GetFuncOrNil&(z_MultTransposeMatrixd_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixd(m: IntPtr); + begin + z_MultTransposeMatrixd_ovr_2(m); + end; + + // added in gl1.3, deprecated in gl3.2 + public z_MultTransposeMatrixf_adr := GetFuncAdr('glMultTransposeMatrixf'); + public z_MultTransposeMatrixf_ovr_0 := GetFuncOrNil&(z_MultTransposeMatrixf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixf(m: array of single); + begin + z_MultTransposeMatrixf_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixf(var m: single); + begin + z_MultTransposeMatrixf_ovr_0(m); + end; + public z_MultTransposeMatrixf_ovr_2 := GetFuncOrNil&(z_MultTransposeMatrixf_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixf(m: IntPtr); + begin + z_MultTransposeMatrixf_ovr_2(m); + end; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_NewList_ovr0(list: UInt32; mode: ListMode); + external 'opengl32.dll' name 'glNewList'; + public static z_NewList_ovr0 := _z_NewList_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NewList(list: UInt32; mode: ListMode) := z_NewList_ovr0(list, mode); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3b_ovr0(nx: SByte; ny: SByte; nz: SByte); + external 'opengl32.dll' name 'glNormal3b'; + public static z_Normal3b_ovr0 := _z_Normal3b_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3b(nx: SByte; ny: SByte; nz: SByte) := z_Normal3b_ovr0(nx, ny, nz); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3bv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of SByte); + external 'opengl32.dll' name 'glNormal3bv'; + public static z_Normal3bv_ovr0 := _z_Normal3bv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3bv(v: array of SByte) := z_Normal3bv_ovr0(v); + private static procedure _z_Normal3bv_ovr1(var v: SByte); + external 'opengl32.dll' name 'glNormal3bv'; + public static z_Normal3bv_ovr1 := _z_Normal3bv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3bv(var v: SByte) := z_Normal3bv_ovr1(v); + private static procedure _z_Normal3bv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glNormal3bv'; + public static z_Normal3bv_ovr2 := _z_Normal3bv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3bv(v: IntPtr) := z_Normal3bv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3d_ovr0(nx: real; ny: real; nz: real); + external 'opengl32.dll' name 'glNormal3d'; + public static z_Normal3d_ovr0 := _z_Normal3d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3d(nx: real; ny: real; nz: real) := z_Normal3d_ovr0(nx, ny, nz); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glNormal3dv'; + public static z_Normal3dv_ovr0 := _z_Normal3dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3dv(v: array of real) := z_Normal3dv_ovr0(v); + private static procedure _z_Normal3dv_ovr1(var v: real); + external 'opengl32.dll' name 'glNormal3dv'; + public static z_Normal3dv_ovr1 := _z_Normal3dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3dv(var v: real) := z_Normal3dv_ovr1(v); + private static procedure _z_Normal3dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glNormal3dv'; + public static z_Normal3dv_ovr2 := _z_Normal3dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3dv(v: IntPtr) := z_Normal3dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3f_ovr0(nx: single; ny: single; nz: single); + external 'opengl32.dll' name 'glNormal3f'; + public static z_Normal3f_ovr0 := _z_Normal3f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3f(nx: single; ny: single; nz: single) := z_Normal3f_ovr0(nx, ny, nz); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glNormal3fv'; + public static z_Normal3fv_ovr0 := _z_Normal3fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fv(v: array of single) := z_Normal3fv_ovr0(v); + private static procedure _z_Normal3fv_ovr1(var v: single); + external 'opengl32.dll' name 'glNormal3fv'; + public static z_Normal3fv_ovr1 := _z_Normal3fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fv(var v: single) := z_Normal3fv_ovr1(v); + private static procedure _z_Normal3fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glNormal3fv'; + public static z_Normal3fv_ovr2 := _z_Normal3fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fv(v: IntPtr) := z_Normal3fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3i_ovr0(nx: Int32; ny: Int32; nz: Int32); + external 'opengl32.dll' name 'glNormal3i'; + public static z_Normal3i_ovr0 := _z_Normal3i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3i(nx: Int32; ny: Int32; nz: Int32) := z_Normal3i_ovr0(nx, ny, nz); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glNormal3iv'; + public static z_Normal3iv_ovr0 := _z_Normal3iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3iv(v: array of Int32) := z_Normal3iv_ovr0(v); + private static procedure _z_Normal3iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glNormal3iv'; + public static z_Normal3iv_ovr1 := _z_Normal3iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3iv(var v: Int32) := z_Normal3iv_ovr1(v); + private static procedure _z_Normal3iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glNormal3iv'; + public static z_Normal3iv_ovr2 := _z_Normal3iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3iv(v: IntPtr) := z_Normal3iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3s_ovr0(nx: Int16; ny: Int16; nz: Int16); + external 'opengl32.dll' name 'glNormal3s'; + public static z_Normal3s_ovr0 := _z_Normal3s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3s(nx: Int16; ny: Int16; nz: Int16) := z_Normal3s_ovr0(nx, ny, nz); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Normal3sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glNormal3sv'; + public static z_Normal3sv_ovr0 := _z_Normal3sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3sv(v: array of Int16) := z_Normal3sv_ovr0(v); + private static procedure _z_Normal3sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glNormal3sv'; + public static z_Normal3sv_ovr1 := _z_Normal3sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3sv(var v: Int16) := z_Normal3sv_ovr1(v); + private static procedure _z_Normal3sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glNormal3sv'; + public static z_Normal3sv_ovr2 := _z_Normal3sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3sv(v: IntPtr) := z_Normal3sv_ovr2(v); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_NormalPointer_ovr0(&type: NormalPointerType; stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glNormalPointer'; + public static z_NormalPointer_ovr0 := _z_NormalPointer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointer(&type: NormalPointerType; stride: Int32; pointer: IntPtr) := z_NormalPointer_ovr0(&type, stride, pointer); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Ortho_ovr0(left: real; right: real; bottom: real; top: real; zNear: real; zFar: real); + external 'opengl32.dll' name 'glOrtho'; + public static z_Ortho_ovr0 := _z_Ortho_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Ortho(left: real; right: real; bottom: real; top: real; zNear: real; zFar: real) := z_Ortho_ovr0(left, right, bottom, top, zNear, zFar); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PassThrough_ovr0(token: single); + external 'opengl32.dll' name 'glPassThrough'; + public static z_PassThrough_ovr0 := _z_PassThrough_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PassThrough(token: single) := z_PassThrough_ovr0(token); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PixelMapfv_ovr0(map: PixelMap; mapsize: Int32; [MarshalAs(UnmanagedType.LPArray)] values: array of single); + external 'opengl32.dll' name 'glPixelMapfv'; + public static z_PixelMapfv_ovr0 := _z_PixelMapfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapfv(map: PixelMap; mapsize: Int32; values: array of single) := z_PixelMapfv_ovr0(map, mapsize, values); + private static procedure _z_PixelMapfv_ovr1(map: PixelMap; mapsize: Int32; var values: single); + external 'opengl32.dll' name 'glPixelMapfv'; + public static z_PixelMapfv_ovr1 := _z_PixelMapfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapfv(map: PixelMap; mapsize: Int32; var values: single) := z_PixelMapfv_ovr1(map, mapsize, values); + private static procedure _z_PixelMapfv_ovr2(map: PixelMap; mapsize: Int32; values: IntPtr); + external 'opengl32.dll' name 'glPixelMapfv'; + public static z_PixelMapfv_ovr2 := _z_PixelMapfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapfv(map: PixelMap; mapsize: Int32; values: IntPtr) := z_PixelMapfv_ovr2(map, mapsize, values); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PixelMapuiv_ovr0(map: PixelMap; mapsize: Int32; [MarshalAs(UnmanagedType.LPArray)] values: array of UInt32); + external 'opengl32.dll' name 'glPixelMapuiv'; + public static z_PixelMapuiv_ovr0 := _z_PixelMapuiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapuiv(map: PixelMap; mapsize: Int32; values: array of UInt32) := z_PixelMapuiv_ovr0(map, mapsize, values); + private static procedure _z_PixelMapuiv_ovr1(map: PixelMap; mapsize: Int32; var values: UInt32); + external 'opengl32.dll' name 'glPixelMapuiv'; + public static z_PixelMapuiv_ovr1 := _z_PixelMapuiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapuiv(map: PixelMap; mapsize: Int32; var values: UInt32) := z_PixelMapuiv_ovr1(map, mapsize, values); + private static procedure _z_PixelMapuiv_ovr2(map: PixelMap; mapsize: Int32; values: IntPtr); + external 'opengl32.dll' name 'glPixelMapuiv'; + public static z_PixelMapuiv_ovr2 := _z_PixelMapuiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapuiv(map: PixelMap; mapsize: Int32; values: IntPtr) := z_PixelMapuiv_ovr2(map, mapsize, values); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PixelMapusv_ovr0(map: PixelMap; mapsize: Int32; [MarshalAs(UnmanagedType.LPArray)] values: array of UInt16); + external 'opengl32.dll' name 'glPixelMapusv'; + public static z_PixelMapusv_ovr0 := _z_PixelMapusv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapusv(map: PixelMap; mapsize: Int32; values: array of UInt16) := z_PixelMapusv_ovr0(map, mapsize, values); + private static procedure _z_PixelMapusv_ovr1(map: PixelMap; mapsize: Int32; var values: UInt16); + external 'opengl32.dll' name 'glPixelMapusv'; + public static z_PixelMapusv_ovr1 := _z_PixelMapusv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapusv(map: PixelMap; mapsize: Int32; var values: UInt16) := z_PixelMapusv_ovr1(map, mapsize, values); + private static procedure _z_PixelMapusv_ovr2(map: PixelMap; mapsize: Int32; values: IntPtr); + external 'opengl32.dll' name 'glPixelMapusv'; + public static z_PixelMapusv_ovr2 := _z_PixelMapusv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelMapusv(map: PixelMap; mapsize: Int32; values: IntPtr) := z_PixelMapusv_ovr2(map, mapsize, values); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PixelTransferf_ovr0(pname: PixelTransferParameter; param: single); + external 'opengl32.dll' name 'glPixelTransferf'; + public static z_PixelTransferf_ovr0 := _z_PixelTransferf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransferf(pname: PixelTransferParameter; param: single) := z_PixelTransferf_ovr0(pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PixelTransferi_ovr0(pname: PixelTransferParameter; param: Int32); + external 'opengl32.dll' name 'glPixelTransferi'; + public static z_PixelTransferi_ovr0 := _z_PixelTransferi_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransferi(pname: PixelTransferParameter; param: Int32) := z_PixelTransferi_ovr0(pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PixelZoom_ovr0(xfactor: single; yfactor: single); + external 'opengl32.dll' name 'glPixelZoom'; + public static z_PixelZoom_ovr0 := _z_PixelZoom_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelZoom(xfactor: single; yfactor: single) := z_PixelZoom_ovr0(xfactor, yfactor); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PolygonStipple_ovr0([MarshalAs(UnmanagedType.LPArray)] mask: array of Byte); + external 'opengl32.dll' name 'glPolygonStipple'; + public static z_PolygonStipple_ovr0 := _z_PolygonStipple_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonStipple(mask: array of Byte) := z_PolygonStipple_ovr0(mask); + private static procedure _z_PolygonStipple_ovr1(var mask: Byte); + external 'opengl32.dll' name 'glPolygonStipple'; + public static z_PolygonStipple_ovr1 := _z_PolygonStipple_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonStipple(var mask: Byte) := z_PolygonStipple_ovr1(mask); + private static procedure _z_PolygonStipple_ovr2(mask: IntPtr); + external 'opengl32.dll' name 'glPolygonStipple'; + public static z_PolygonStipple_ovr2 := _z_PolygonStipple_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonStipple(mask: IntPtr) := z_PolygonStipple_ovr2(mask); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PopAttrib_ovr0; + external 'opengl32.dll' name 'glPopAttrib'; + public static z_PopAttrib_ovr0 := _z_PopAttrib_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopAttrib := z_PopAttrib_ovr0; + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_PopClientAttrib_ovr0; + external 'opengl32.dll' name 'glPopClientAttrib'; + public static z_PopClientAttrib_ovr0 := _z_PopClientAttrib_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopClientAttrib := z_PopClientAttrib_ovr0; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PopMatrix_ovr0; + external 'opengl32.dll' name 'glPopMatrix'; + public static z_PopMatrix_ovr0 := _z_PopMatrix_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopMatrix := z_PopMatrix_ovr0; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PopName_ovr0; + external 'opengl32.dll' name 'glPopName'; + public static z_PopName_ovr0 := _z_PopName_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopName := z_PopName_ovr0; + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_PrioritizeTextures_ovr0(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] priorities: array of single); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr0 := _z_PrioritizeTextures_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: array of UInt32; priorities: array of single) := z_PrioritizeTextures_ovr0(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr1(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32; var priorities: single); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr1 := _z_PrioritizeTextures_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: array of UInt32; var priorities: single) := z_PrioritizeTextures_ovr1(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr2(n: Int32; [MarshalAs(UnmanagedType.LPArray)] textures: array of UInt32; priorities: IntPtr); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr2 := _z_PrioritizeTextures_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: array of UInt32; priorities: IntPtr) := z_PrioritizeTextures_ovr2(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr3(n: Int32; var textures: UInt32; [MarshalAs(UnmanagedType.LPArray)] priorities: array of single); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr3 := _z_PrioritizeTextures_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; var textures: UInt32; priorities: array of single) := z_PrioritizeTextures_ovr3(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr4(n: Int32; var textures: UInt32; var priorities: single); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr4 := _z_PrioritizeTextures_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; var textures: UInt32; var priorities: single) := z_PrioritizeTextures_ovr4(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr5(n: Int32; var textures: UInt32; priorities: IntPtr); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr5 := _z_PrioritizeTextures_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; var textures: UInt32; priorities: IntPtr) := z_PrioritizeTextures_ovr5(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr6(n: Int32; textures: IntPtr; [MarshalAs(UnmanagedType.LPArray)] priorities: array of single); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr6 := _z_PrioritizeTextures_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: IntPtr; priorities: array of single) := z_PrioritizeTextures_ovr6(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr7(n: Int32; textures: IntPtr; var priorities: single); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr7 := _z_PrioritizeTextures_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: IntPtr; var priorities: single) := z_PrioritizeTextures_ovr7(n, textures, priorities); + private static procedure _z_PrioritizeTextures_ovr8(n: Int32; textures: IntPtr; priorities: IntPtr); + external 'opengl32.dll' name 'glPrioritizeTextures'; + public static z_PrioritizeTextures_ovr8 := _z_PrioritizeTextures_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTextures(n: Int32; textures: IntPtr; priorities: IntPtr) := z_PrioritizeTextures_ovr8(n, textures, priorities); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PushAttrib_ovr0(mask: AttribMask); + external 'opengl32.dll' name 'glPushAttrib'; + public static z_PushAttrib_ovr0 := _z_PushAttrib_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushAttrib(mask: AttribMask) := z_PushAttrib_ovr0(mask); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_PushClientAttrib_ovr0(mask: ClientAttribMask); + external 'opengl32.dll' name 'glPushClientAttrib'; + public static z_PushClientAttrib_ovr0 := _z_PushClientAttrib_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushClientAttrib(mask: ClientAttribMask) := z_PushClientAttrib_ovr0(mask); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PushMatrix_ovr0; + external 'opengl32.dll' name 'glPushMatrix'; + public static z_PushMatrix_ovr0 := _z_PushMatrix_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushMatrix := z_PushMatrix_ovr0; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_PushName_ovr0(name: UInt32); + external 'opengl32.dll' name 'glPushName'; + public static z_PushName_ovr0 := _z_PushName_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushName(name: UInt32) := z_PushName_ovr0(name); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2d_ovr0(x: real; y: real); + external 'opengl32.dll' name 'glRasterPos2d'; + public static z_RasterPos2d_ovr0 := _z_RasterPos2d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2d(x: real; y: real) := z_RasterPos2d_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glRasterPos2dv'; + public static z_RasterPos2dv_ovr0 := _z_RasterPos2dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2dv(v: array of real) := z_RasterPos2dv_ovr0(v); + private static procedure _z_RasterPos2dv_ovr1(var v: real); + external 'opengl32.dll' name 'glRasterPos2dv'; + public static z_RasterPos2dv_ovr1 := _z_RasterPos2dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2dv(var v: real) := z_RasterPos2dv_ovr1(v); + private static procedure _z_RasterPos2dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos2dv'; + public static z_RasterPos2dv_ovr2 := _z_RasterPos2dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2dv(v: IntPtr) := z_RasterPos2dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2f_ovr0(x: single; y: single); + external 'opengl32.dll' name 'glRasterPos2f'; + public static z_RasterPos2f_ovr0 := _z_RasterPos2f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2f(x: single; y: single) := z_RasterPos2f_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glRasterPos2fv'; + public static z_RasterPos2fv_ovr0 := _z_RasterPos2fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2fv(v: array of single) := z_RasterPos2fv_ovr0(v); + private static procedure _z_RasterPos2fv_ovr1(var v: single); + external 'opengl32.dll' name 'glRasterPos2fv'; + public static z_RasterPos2fv_ovr1 := _z_RasterPos2fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2fv(var v: single) := z_RasterPos2fv_ovr1(v); + private static procedure _z_RasterPos2fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos2fv'; + public static z_RasterPos2fv_ovr2 := _z_RasterPos2fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2fv(v: IntPtr) := z_RasterPos2fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2i_ovr0(x: Int32; y: Int32); + external 'opengl32.dll' name 'glRasterPos2i'; + public static z_RasterPos2i_ovr0 := _z_RasterPos2i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2i(x: Int32; y: Int32) := z_RasterPos2i_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glRasterPos2iv'; + public static z_RasterPos2iv_ovr0 := _z_RasterPos2iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2iv(v: array of Int32) := z_RasterPos2iv_ovr0(v); + private static procedure _z_RasterPos2iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glRasterPos2iv'; + public static z_RasterPos2iv_ovr1 := _z_RasterPos2iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2iv(var v: Int32) := z_RasterPos2iv_ovr1(v); + private static procedure _z_RasterPos2iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos2iv'; + public static z_RasterPos2iv_ovr2 := _z_RasterPos2iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2iv(v: IntPtr) := z_RasterPos2iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2s_ovr0(x: Int16; y: Int16); + external 'opengl32.dll' name 'glRasterPos2s'; + public static z_RasterPos2s_ovr0 := _z_RasterPos2s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2s(x: Int16; y: Int16) := z_RasterPos2s_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos2sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glRasterPos2sv'; + public static z_RasterPos2sv_ovr0 := _z_RasterPos2sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2sv(v: array of Int16) := z_RasterPos2sv_ovr0(v); + private static procedure _z_RasterPos2sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glRasterPos2sv'; + public static z_RasterPos2sv_ovr1 := _z_RasterPos2sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2sv(var v: Int16) := z_RasterPos2sv_ovr1(v); + private static procedure _z_RasterPos2sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos2sv'; + public static z_RasterPos2sv_ovr2 := _z_RasterPos2sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2sv(v: IntPtr) := z_RasterPos2sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3d_ovr0(x: real; y: real; z: real); + external 'opengl32.dll' name 'glRasterPos3d'; + public static z_RasterPos3d_ovr0 := _z_RasterPos3d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3d(x: real; y: real; z: real) := z_RasterPos3d_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glRasterPos3dv'; + public static z_RasterPos3dv_ovr0 := _z_RasterPos3dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3dv(v: array of real) := z_RasterPos3dv_ovr0(v); + private static procedure _z_RasterPos3dv_ovr1(var v: real); + external 'opengl32.dll' name 'glRasterPos3dv'; + public static z_RasterPos3dv_ovr1 := _z_RasterPos3dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3dv(var v: real) := z_RasterPos3dv_ovr1(v); + private static procedure _z_RasterPos3dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos3dv'; + public static z_RasterPos3dv_ovr2 := _z_RasterPos3dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3dv(v: IntPtr) := z_RasterPos3dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3f_ovr0(x: single; y: single; z: single); + external 'opengl32.dll' name 'glRasterPos3f'; + public static z_RasterPos3f_ovr0 := _z_RasterPos3f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3f(x: single; y: single; z: single) := z_RasterPos3f_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glRasterPos3fv'; + public static z_RasterPos3fv_ovr0 := _z_RasterPos3fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3fv(v: array of single) := z_RasterPos3fv_ovr0(v); + private static procedure _z_RasterPos3fv_ovr1(var v: single); + external 'opengl32.dll' name 'glRasterPos3fv'; + public static z_RasterPos3fv_ovr1 := _z_RasterPos3fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3fv(var v: single) := z_RasterPos3fv_ovr1(v); + private static procedure _z_RasterPos3fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos3fv'; + public static z_RasterPos3fv_ovr2 := _z_RasterPos3fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3fv(v: IntPtr) := z_RasterPos3fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3i_ovr0(x: Int32; y: Int32; z: Int32); + external 'opengl32.dll' name 'glRasterPos3i'; + public static z_RasterPos3i_ovr0 := _z_RasterPos3i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3i(x: Int32; y: Int32; z: Int32) := z_RasterPos3i_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glRasterPos3iv'; + public static z_RasterPos3iv_ovr0 := _z_RasterPos3iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3iv(v: array of Int32) := z_RasterPos3iv_ovr0(v); + private static procedure _z_RasterPos3iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glRasterPos3iv'; + public static z_RasterPos3iv_ovr1 := _z_RasterPos3iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3iv(var v: Int32) := z_RasterPos3iv_ovr1(v); + private static procedure _z_RasterPos3iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos3iv'; + public static z_RasterPos3iv_ovr2 := _z_RasterPos3iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3iv(v: IntPtr) := z_RasterPos3iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3s_ovr0(x: Int16; y: Int16; z: Int16); + external 'opengl32.dll' name 'glRasterPos3s'; + public static z_RasterPos3s_ovr0 := _z_RasterPos3s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3s(x: Int16; y: Int16; z: Int16) := z_RasterPos3s_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos3sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glRasterPos3sv'; + public static z_RasterPos3sv_ovr0 := _z_RasterPos3sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3sv(v: array of Int16) := z_RasterPos3sv_ovr0(v); + private static procedure _z_RasterPos3sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glRasterPos3sv'; + public static z_RasterPos3sv_ovr1 := _z_RasterPos3sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3sv(var v: Int16) := z_RasterPos3sv_ovr1(v); + private static procedure _z_RasterPos3sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos3sv'; + public static z_RasterPos3sv_ovr2 := _z_RasterPos3sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3sv(v: IntPtr) := z_RasterPos3sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4d_ovr0(x: real; y: real; z: real; w: real); + external 'opengl32.dll' name 'glRasterPos4d'; + public static z_RasterPos4d_ovr0 := _z_RasterPos4d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4d(x: real; y: real; z: real; w: real) := z_RasterPos4d_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glRasterPos4dv'; + public static z_RasterPos4dv_ovr0 := _z_RasterPos4dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4dv(v: array of real) := z_RasterPos4dv_ovr0(v); + private static procedure _z_RasterPos4dv_ovr1(var v: real); + external 'opengl32.dll' name 'glRasterPos4dv'; + public static z_RasterPos4dv_ovr1 := _z_RasterPos4dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4dv(var v: real) := z_RasterPos4dv_ovr1(v); + private static procedure _z_RasterPos4dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos4dv'; + public static z_RasterPos4dv_ovr2 := _z_RasterPos4dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4dv(v: IntPtr) := z_RasterPos4dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4f_ovr0(x: single; y: single; z: single; w: single); + external 'opengl32.dll' name 'glRasterPos4f'; + public static z_RasterPos4f_ovr0 := _z_RasterPos4f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4f(x: single; y: single; z: single; w: single) := z_RasterPos4f_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glRasterPos4fv'; + public static z_RasterPos4fv_ovr0 := _z_RasterPos4fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4fv(v: array of single) := z_RasterPos4fv_ovr0(v); + private static procedure _z_RasterPos4fv_ovr1(var v: single); + external 'opengl32.dll' name 'glRasterPos4fv'; + public static z_RasterPos4fv_ovr1 := _z_RasterPos4fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4fv(var v: single) := z_RasterPos4fv_ovr1(v); + private static procedure _z_RasterPos4fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos4fv'; + public static z_RasterPos4fv_ovr2 := _z_RasterPos4fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4fv(v: IntPtr) := z_RasterPos4fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4i_ovr0(x: Int32; y: Int32; z: Int32; w: Int32); + external 'opengl32.dll' name 'glRasterPos4i'; + public static z_RasterPos4i_ovr0 := _z_RasterPos4i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4i(x: Int32; y: Int32; z: Int32; w: Int32) := z_RasterPos4i_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glRasterPos4iv'; + public static z_RasterPos4iv_ovr0 := _z_RasterPos4iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4iv(v: array of Int32) := z_RasterPos4iv_ovr0(v); + private static procedure _z_RasterPos4iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glRasterPos4iv'; + public static z_RasterPos4iv_ovr1 := _z_RasterPos4iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4iv(var v: Int32) := z_RasterPos4iv_ovr1(v); + private static procedure _z_RasterPos4iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos4iv'; + public static z_RasterPos4iv_ovr2 := _z_RasterPos4iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4iv(v: IntPtr) := z_RasterPos4iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4s_ovr0(x: Int16; y: Int16; z: Int16; w: Int16); + external 'opengl32.dll' name 'glRasterPos4s'; + public static z_RasterPos4s_ovr0 := _z_RasterPos4s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4s(x: Int16; y: Int16; z: Int16; w: Int16) := z_RasterPos4s_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_RasterPos4sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glRasterPos4sv'; + public static z_RasterPos4sv_ovr0 := _z_RasterPos4sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4sv(v: array of Int16) := z_RasterPos4sv_ovr0(v); + private static procedure _z_RasterPos4sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glRasterPos4sv'; + public static z_RasterPos4sv_ovr1 := _z_RasterPos4sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4sv(var v: Int16) := z_RasterPos4sv_ovr1(v); + private static procedure _z_RasterPos4sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glRasterPos4sv'; + public static z_RasterPos4sv_ovr2 := _z_RasterPos4sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4sv(v: IntPtr) := z_RasterPos4sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rectd_ovr0(x1: real; y1: real; x2: real; y2: real); + external 'opengl32.dll' name 'glRectd'; + public static z_Rectd_ovr0 := _z_Rectd_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectd(x1: real; y1: real; x2: real; y2: real) := z_Rectd_ovr0(x1, y1, x2, y2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rectdv_ovr0([MarshalAs(UnmanagedType.LPArray)] v1: array of real; [MarshalAs(UnmanagedType.LPArray)] v2: array of real); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr0 := _z_Rectdv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v1: array of real; v2: array of real) := z_Rectdv_ovr0(v1, v2); + private static procedure _z_Rectdv_ovr1([MarshalAs(UnmanagedType.LPArray)] v1: array of real; var v2: real); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr1 := _z_Rectdv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v1: array of real; var v2: real) := z_Rectdv_ovr1(v1, v2); + private static procedure _z_Rectdv_ovr2([MarshalAs(UnmanagedType.LPArray)] v1: array of real; v2: IntPtr); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr2 := _z_Rectdv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v1: array of real; v2: IntPtr) := z_Rectdv_ovr2(v1, v2); + private static procedure _z_Rectdv_ovr3(var v1: real; [MarshalAs(UnmanagedType.LPArray)] v2: array of real); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr3 := _z_Rectdv_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(var v1: real; v2: array of real) := z_Rectdv_ovr3(v1, v2); + private static procedure _z_Rectdv_ovr4(var v1: real; var v2: real); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr4 := _z_Rectdv_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(var v1: real; var v2: real) := z_Rectdv_ovr4(v1, v2); + private static procedure _z_Rectdv_ovr5(var v1: real; v2: IntPtr); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr5 := _z_Rectdv_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(var v1: real; v2: IntPtr) := z_Rectdv_ovr5(v1, v2); + private static procedure _z_Rectdv_ovr6(v1: IntPtr; [MarshalAs(UnmanagedType.LPArray)] v2: array of real); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr6 := _z_Rectdv_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v1: IntPtr; v2: array of real) := z_Rectdv_ovr6(v1, v2); + private static procedure _z_Rectdv_ovr7(v1: IntPtr; var v2: real); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr7 := _z_Rectdv_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v1: IntPtr; var v2: real) := z_Rectdv_ovr7(v1, v2); + private static procedure _z_Rectdv_ovr8(v1: IntPtr; v2: IntPtr); + external 'opengl32.dll' name 'glRectdv'; + public static z_Rectdv_ovr8 := _z_Rectdv_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectdv(v1: IntPtr; v2: IntPtr) := z_Rectdv_ovr8(v1, v2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rectf_ovr0(x1: single; y1: single; x2: single; y2: single); + external 'opengl32.dll' name 'glRectf'; + public static z_Rectf_ovr0 := _z_Rectf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectf(x1: single; y1: single; x2: single; y2: single) := z_Rectf_ovr0(x1, y1, x2, y2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rectfv_ovr0([MarshalAs(UnmanagedType.LPArray)] v1: array of single; [MarshalAs(UnmanagedType.LPArray)] v2: array of single); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr0 := _z_Rectfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v1: array of single; v2: array of single) := z_Rectfv_ovr0(v1, v2); + private static procedure _z_Rectfv_ovr1([MarshalAs(UnmanagedType.LPArray)] v1: array of single; var v2: single); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr1 := _z_Rectfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v1: array of single; var v2: single) := z_Rectfv_ovr1(v1, v2); + private static procedure _z_Rectfv_ovr2([MarshalAs(UnmanagedType.LPArray)] v1: array of single; v2: IntPtr); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr2 := _z_Rectfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v1: array of single; v2: IntPtr) := z_Rectfv_ovr2(v1, v2); + private static procedure _z_Rectfv_ovr3(var v1: single; [MarshalAs(UnmanagedType.LPArray)] v2: array of single); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr3 := _z_Rectfv_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(var v1: single; v2: array of single) := z_Rectfv_ovr3(v1, v2); + private static procedure _z_Rectfv_ovr4(var v1: single; var v2: single); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr4 := _z_Rectfv_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(var v1: single; var v2: single) := z_Rectfv_ovr4(v1, v2); + private static procedure _z_Rectfv_ovr5(var v1: single; v2: IntPtr); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr5 := _z_Rectfv_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(var v1: single; v2: IntPtr) := z_Rectfv_ovr5(v1, v2); + private static procedure _z_Rectfv_ovr6(v1: IntPtr; [MarshalAs(UnmanagedType.LPArray)] v2: array of single); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr6 := _z_Rectfv_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v1: IntPtr; v2: array of single) := z_Rectfv_ovr6(v1, v2); + private static procedure _z_Rectfv_ovr7(v1: IntPtr; var v2: single); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr7 := _z_Rectfv_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v1: IntPtr; var v2: single) := z_Rectfv_ovr7(v1, v2); + private static procedure _z_Rectfv_ovr8(v1: IntPtr; v2: IntPtr); + external 'opengl32.dll' name 'glRectfv'; + public static z_Rectfv_ovr8 := _z_Rectfv_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectfv(v1: IntPtr; v2: IntPtr) := z_Rectfv_ovr8(v1, v2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Recti_ovr0(x1: Int32; y1: Int32; x2: Int32; y2: Int32); + external 'opengl32.dll' name 'glRecti'; + public static z_Recti_ovr0 := _z_Recti_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Recti(x1: Int32; y1: Int32; x2: Int32; y2: Int32) := z_Recti_ovr0(x1, y1, x2, y2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rectiv_ovr0([MarshalAs(UnmanagedType.LPArray)] v1: array of Int32; [MarshalAs(UnmanagedType.LPArray)] v2: array of Int32); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr0 := _z_Rectiv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v1: array of Int32; v2: array of Int32) := z_Rectiv_ovr0(v1, v2); + private static procedure _z_Rectiv_ovr1([MarshalAs(UnmanagedType.LPArray)] v1: array of Int32; var v2: Int32); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr1 := _z_Rectiv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v1: array of Int32; var v2: Int32) := z_Rectiv_ovr1(v1, v2); + private static procedure _z_Rectiv_ovr2([MarshalAs(UnmanagedType.LPArray)] v1: array of Int32; v2: IntPtr); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr2 := _z_Rectiv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v1: array of Int32; v2: IntPtr) := z_Rectiv_ovr2(v1, v2); + private static procedure _z_Rectiv_ovr3(var v1: Int32; [MarshalAs(UnmanagedType.LPArray)] v2: array of Int32); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr3 := _z_Rectiv_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(var v1: Int32; v2: array of Int32) := z_Rectiv_ovr3(v1, v2); + private static procedure _z_Rectiv_ovr4(var v1: Int32; var v2: Int32); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr4 := _z_Rectiv_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(var v1: Int32; var v2: Int32) := z_Rectiv_ovr4(v1, v2); + private static procedure _z_Rectiv_ovr5(var v1: Int32; v2: IntPtr); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr5 := _z_Rectiv_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(var v1: Int32; v2: IntPtr) := z_Rectiv_ovr5(v1, v2); + private static procedure _z_Rectiv_ovr6(v1: IntPtr; [MarshalAs(UnmanagedType.LPArray)] v2: array of Int32); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr6 := _z_Rectiv_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v1: IntPtr; v2: array of Int32) := z_Rectiv_ovr6(v1, v2); + private static procedure _z_Rectiv_ovr7(v1: IntPtr; var v2: Int32); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr7 := _z_Rectiv_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v1: IntPtr; var v2: Int32) := z_Rectiv_ovr7(v1, v2); + private static procedure _z_Rectiv_ovr8(v1: IntPtr; v2: IntPtr); + external 'opengl32.dll' name 'glRectiv'; + public static z_Rectiv_ovr8 := _z_Rectiv_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectiv(v1: IntPtr; v2: IntPtr) := z_Rectiv_ovr8(v1, v2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rects_ovr0(x1: Int16; y1: Int16; x2: Int16; y2: Int16); + external 'opengl32.dll' name 'glRects'; + public static z_Rects_ovr0 := _z_Rects_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rects(x1: Int16; y1: Int16; x2: Int16; y2: Int16) := z_Rects_ovr0(x1, y1, x2, y2); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rectsv_ovr0([MarshalAs(UnmanagedType.LPArray)] v1: array of Int16; [MarshalAs(UnmanagedType.LPArray)] v2: array of Int16); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr0 := _z_Rectsv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v1: array of Int16; v2: array of Int16) := z_Rectsv_ovr0(v1, v2); + private static procedure _z_Rectsv_ovr1([MarshalAs(UnmanagedType.LPArray)] v1: array of Int16; var v2: Int16); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr1 := _z_Rectsv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v1: array of Int16; var v2: Int16) := z_Rectsv_ovr1(v1, v2); + private static procedure _z_Rectsv_ovr2([MarshalAs(UnmanagedType.LPArray)] v1: array of Int16; v2: IntPtr); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr2 := _z_Rectsv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v1: array of Int16; v2: IntPtr) := z_Rectsv_ovr2(v1, v2); + private static procedure _z_Rectsv_ovr3(var v1: Int16; [MarshalAs(UnmanagedType.LPArray)] v2: array of Int16); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr3 := _z_Rectsv_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(var v1: Int16; v2: array of Int16) := z_Rectsv_ovr3(v1, v2); + private static procedure _z_Rectsv_ovr4(var v1: Int16; var v2: Int16); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr4 := _z_Rectsv_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(var v1: Int16; var v2: Int16) := z_Rectsv_ovr4(v1, v2); + private static procedure _z_Rectsv_ovr5(var v1: Int16; v2: IntPtr); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr5 := _z_Rectsv_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(var v1: Int16; v2: IntPtr) := z_Rectsv_ovr5(v1, v2); + private static procedure _z_Rectsv_ovr6(v1: IntPtr; [MarshalAs(UnmanagedType.LPArray)] v2: array of Int16); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr6 := _z_Rectsv_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v1: IntPtr; v2: array of Int16) := z_Rectsv_ovr6(v1, v2); + private static procedure _z_Rectsv_ovr7(v1: IntPtr; var v2: Int16); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr7 := _z_Rectsv_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v1: IntPtr; var v2: Int16) := z_Rectsv_ovr7(v1, v2); + private static procedure _z_Rectsv_ovr8(v1: IntPtr; v2: IntPtr); + external 'opengl32.dll' name 'glRectsv'; + public static z_Rectsv_ovr8 := _z_Rectsv_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rectsv(v1: IntPtr; v2: IntPtr) := z_Rectsv_ovr8(v1, v2); + + // added in gl1.0, deprecated in gl3.2 + private static function _z_RenderMode_ovr0(mode: RenderingMode): Int32; + external 'opengl32.dll' name 'glRenderMode'; + public static z_RenderMode_ovr0 := _z_RenderMode_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function RenderMode(mode: RenderingMode): Int32 := z_RenderMode_ovr0(mode); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rotated_ovr0(angle: real; x: real; y: real; z: real); + external 'opengl32.dll' name 'glRotated'; + public static z_Rotated_ovr0 := _z_Rotated_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rotated(angle: real; x: real; y: real; z: real) := z_Rotated_ovr0(angle, x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Rotatef_ovr0(angle: single; x: single; y: single; z: single); + external 'opengl32.dll' name 'glRotatef'; + public static z_Rotatef_ovr0 := _z_Rotatef_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Rotatef(angle: single; x: single; y: single; z: single) := z_Rotatef_ovr0(angle, x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Scaled_ovr0(x: real; y: real; z: real); + external 'opengl32.dll' name 'glScaled'; + public static z_Scaled_ovr0 := _z_Scaled_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Scaled(x: real; y: real; z: real) := z_Scaled_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Scalef_ovr0(x: single; y: single; z: single); + external 'opengl32.dll' name 'glScalef'; + public static z_Scalef_ovr0 := _z_Scalef_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Scalef(x: single; y: single; z: single) := z_Scalef_ovr0(x, y, z); + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3b_adr := GetFuncAdr('glSecondaryColor3b'); + public z_SecondaryColor3b_ovr_0 := GetFuncOrNil&(z_SecondaryColor3b_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3b(red: SByte; green: SByte; blue: SByte); + begin + z_SecondaryColor3b_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3bv_adr := GetFuncAdr('glSecondaryColor3bv'); + public z_SecondaryColor3bv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3bv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bv(v: array of SByte); + begin + z_SecondaryColor3bv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bv(var v: SByte); + begin + z_SecondaryColor3bv_ovr_0(v); + end; + public z_SecondaryColor3bv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3bv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bv(v: IntPtr); + begin + z_SecondaryColor3bv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3d_adr := GetFuncAdr('glSecondaryColor3d'); + public z_SecondaryColor3d_ovr_0 := GetFuncOrNil&(z_SecondaryColor3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3d(red: real; green: real; blue: real); + begin + z_SecondaryColor3d_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3dv_adr := GetFuncAdr('glSecondaryColor3dv'); + public z_SecondaryColor3dv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dv(v: array of real); + begin + z_SecondaryColor3dv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dv(var v: real); + begin + z_SecondaryColor3dv_ovr_0(v); + end; + public z_SecondaryColor3dv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dv(v: IntPtr); + begin + z_SecondaryColor3dv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3f_adr := GetFuncAdr('glSecondaryColor3f'); + public z_SecondaryColor3f_ovr_0 := GetFuncOrNil&(z_SecondaryColor3f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3f(red: single; green: single; blue: single); + begin + z_SecondaryColor3f_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3fv_adr := GetFuncAdr('glSecondaryColor3fv'); + public z_SecondaryColor3fv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fv(v: array of single); + begin + z_SecondaryColor3fv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fv(var v: single); + begin + z_SecondaryColor3fv_ovr_0(v); + end; + public z_SecondaryColor3fv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fv(v: IntPtr); + begin + z_SecondaryColor3fv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3i_adr := GetFuncAdr('glSecondaryColor3i'); + public z_SecondaryColor3i_ovr_0 := GetFuncOrNil&(z_SecondaryColor3i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3i(red: Int32; green: Int32; blue: Int32); + begin + z_SecondaryColor3i_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3iv_adr := GetFuncAdr('glSecondaryColor3iv'); + public z_SecondaryColor3iv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iv(v: array of Int32); + begin + z_SecondaryColor3iv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iv(var v: Int32); + begin + z_SecondaryColor3iv_ovr_0(v); + end; + public z_SecondaryColor3iv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iv(v: IntPtr); + begin + z_SecondaryColor3iv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3s_adr := GetFuncAdr('glSecondaryColor3s'); + public z_SecondaryColor3s_ovr_0 := GetFuncOrNil&(z_SecondaryColor3s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3s(red: Int16; green: Int16; blue: Int16); + begin + z_SecondaryColor3s_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3sv_adr := GetFuncAdr('glSecondaryColor3sv'); + public z_SecondaryColor3sv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sv(v: array of Int16); + begin + z_SecondaryColor3sv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sv(var v: Int16); + begin + z_SecondaryColor3sv_ovr_0(v); + end; + public z_SecondaryColor3sv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sv(v: IntPtr); + begin + z_SecondaryColor3sv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3ub_adr := GetFuncAdr('glSecondaryColor3ub'); + public z_SecondaryColor3ub_ovr_0 := GetFuncOrNil&(z_SecondaryColor3ub_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ub(red: Byte; green: Byte; blue: Byte); + begin + z_SecondaryColor3ub_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3ubv_adr := GetFuncAdr('glSecondaryColor3ubv'); + public z_SecondaryColor3ubv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3ubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubv(v: array of Byte); + begin + z_SecondaryColor3ubv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubv(var v: Byte); + begin + z_SecondaryColor3ubv_ovr_0(v); + end; + public z_SecondaryColor3ubv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3ubv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubv(v: IntPtr); + begin + z_SecondaryColor3ubv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3ui_adr := GetFuncAdr('glSecondaryColor3ui'); + public z_SecondaryColor3ui_ovr_0 := GetFuncOrNil&(z_SecondaryColor3ui_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ui(red: UInt32; green: UInt32; blue: UInt32); + begin + z_SecondaryColor3ui_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3uiv_adr := GetFuncAdr('glSecondaryColor3uiv'); + public z_SecondaryColor3uiv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiv(v: array of UInt32); + begin + z_SecondaryColor3uiv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiv(var v: UInt32); + begin + z_SecondaryColor3uiv_ovr_0(v); + end; + public z_SecondaryColor3uiv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3uiv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiv(v: IntPtr); + begin + z_SecondaryColor3uiv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3us_adr := GetFuncAdr('glSecondaryColor3us'); + public z_SecondaryColor3us_ovr_0 := GetFuncOrNil&(z_SecondaryColor3us_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3us(red: UInt16; green: UInt16; blue: UInt16); + begin + z_SecondaryColor3us_ovr_0(red, green, blue); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColor3usv_adr := GetFuncAdr('glSecondaryColor3usv'); + public z_SecondaryColor3usv_ovr_0 := GetFuncOrNil&(z_SecondaryColor3usv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usv(v: array of UInt16); + begin + z_SecondaryColor3usv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usv(var v: UInt16); + begin + z_SecondaryColor3usv_ovr_0(v); + end; + public z_SecondaryColor3usv_ovr_2 := GetFuncOrNil&(z_SecondaryColor3usv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usv(v: IntPtr); + begin + z_SecondaryColor3usv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_SecondaryColorPointer_adr := GetFuncAdr('glSecondaryColorPointer'); + public z_SecondaryColorPointer_ovr_0 := GetFuncOrNil&(z_SecondaryColorPointer_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointer(size: Int32; &type: ColorPointerType; stride: Int32; pointer: IntPtr); + begin + z_SecondaryColorPointer_ovr_0(size, &type, stride, pointer); + end; + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_SelectBuffer_ovr0(size: Int32; [MarshalAs(UnmanagedType.LPArray)] buffer: array of UInt32); + external 'opengl32.dll' name 'glSelectBuffer'; + public static z_SelectBuffer_ovr0 := _z_SelectBuffer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectBuffer(size: Int32; buffer: array of UInt32) := z_SelectBuffer_ovr0(size, buffer); + private static procedure _z_SelectBuffer_ovr1(size: Int32; var buffer: UInt32); + external 'opengl32.dll' name 'glSelectBuffer'; + public static z_SelectBuffer_ovr1 := _z_SelectBuffer_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectBuffer(size: Int32; var buffer: UInt32) := z_SelectBuffer_ovr1(size, buffer); + private static procedure _z_SelectBuffer_ovr2(size: Int32; buffer: IntPtr); + external 'opengl32.dll' name 'glSelectBuffer'; + public static z_SelectBuffer_ovr2 := _z_SelectBuffer_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectBuffer(size: Int32; buffer: IntPtr) := z_SelectBuffer_ovr2(size, buffer); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_ShadeModel_ovr0(mode: ShadingModel); + external 'opengl32.dll' name 'glShadeModel'; + public static z_ShadeModel_ovr0 := _z_ShadeModel_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadeModel(mode: ShadingModel) := z_ShadeModel_ovr0(mode); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1d_ovr0(s: real); + external 'opengl32.dll' name 'glTexCoord1d'; + public static z_TexCoord1d_ovr0 := _z_TexCoord1d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1d(s: real) := z_TexCoord1d_ovr0(s); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glTexCoord1dv'; + public static z_TexCoord1dv_ovr0 := _z_TexCoord1dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1dv(v: array of real) := z_TexCoord1dv_ovr0(v); + private static procedure _z_TexCoord1dv_ovr1(var v: real); + external 'opengl32.dll' name 'glTexCoord1dv'; + public static z_TexCoord1dv_ovr1 := _z_TexCoord1dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1dv(var v: real) := z_TexCoord1dv_ovr1(v); + private static procedure _z_TexCoord1dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord1dv'; + public static z_TexCoord1dv_ovr2 := _z_TexCoord1dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1dv(v: IntPtr) := z_TexCoord1dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1f_ovr0(s: single); + external 'opengl32.dll' name 'glTexCoord1f'; + public static z_TexCoord1f_ovr0 := _z_TexCoord1f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1f(s: single) := z_TexCoord1f_ovr0(s); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glTexCoord1fv'; + public static z_TexCoord1fv_ovr0 := _z_TexCoord1fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1fv(v: array of single) := z_TexCoord1fv_ovr0(v); + private static procedure _z_TexCoord1fv_ovr1(var v: single); + external 'opengl32.dll' name 'glTexCoord1fv'; + public static z_TexCoord1fv_ovr1 := _z_TexCoord1fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1fv(var v: single) := z_TexCoord1fv_ovr1(v); + private static procedure _z_TexCoord1fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord1fv'; + public static z_TexCoord1fv_ovr2 := _z_TexCoord1fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1fv(v: IntPtr) := z_TexCoord1fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1i_ovr0(s: Int32); + external 'opengl32.dll' name 'glTexCoord1i'; + public static z_TexCoord1i_ovr0 := _z_TexCoord1i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1i(s: Int32) := z_TexCoord1i_ovr0(s); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glTexCoord1iv'; + public static z_TexCoord1iv_ovr0 := _z_TexCoord1iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1iv(v: array of Int32) := z_TexCoord1iv_ovr0(v); + private static procedure _z_TexCoord1iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glTexCoord1iv'; + public static z_TexCoord1iv_ovr1 := _z_TexCoord1iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1iv(var v: Int32) := z_TexCoord1iv_ovr1(v); + private static procedure _z_TexCoord1iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord1iv'; + public static z_TexCoord1iv_ovr2 := _z_TexCoord1iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1iv(v: IntPtr) := z_TexCoord1iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1s_ovr0(s: Int16); + external 'opengl32.dll' name 'glTexCoord1s'; + public static z_TexCoord1s_ovr0 := _z_TexCoord1s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1s(s: Int16) := z_TexCoord1s_ovr0(s); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord1sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glTexCoord1sv'; + public static z_TexCoord1sv_ovr0 := _z_TexCoord1sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1sv(v: array of Int16) := z_TexCoord1sv_ovr0(v); + private static procedure _z_TexCoord1sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glTexCoord1sv'; + public static z_TexCoord1sv_ovr1 := _z_TexCoord1sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1sv(var v: Int16) := z_TexCoord1sv_ovr1(v); + private static procedure _z_TexCoord1sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord1sv'; + public static z_TexCoord1sv_ovr2 := _z_TexCoord1sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1sv(v: IntPtr) := z_TexCoord1sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2d_ovr0(s: real; t: real); + external 'opengl32.dll' name 'glTexCoord2d'; + public static z_TexCoord2d_ovr0 := _z_TexCoord2d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2d(s: real; t: real) := z_TexCoord2d_ovr0(s, t); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glTexCoord2dv'; + public static z_TexCoord2dv_ovr0 := _z_TexCoord2dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2dv(v: array of real) := z_TexCoord2dv_ovr0(v); + private static procedure _z_TexCoord2dv_ovr1(var v: real); + external 'opengl32.dll' name 'glTexCoord2dv'; + public static z_TexCoord2dv_ovr1 := _z_TexCoord2dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2dv(var v: real) := z_TexCoord2dv_ovr1(v); + private static procedure _z_TexCoord2dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord2dv'; + public static z_TexCoord2dv_ovr2 := _z_TexCoord2dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2dv(v: IntPtr) := z_TexCoord2dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2f_ovr0(s: single; t: single); + external 'opengl32.dll' name 'glTexCoord2f'; + public static z_TexCoord2f_ovr0 := _z_TexCoord2f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2f(s: single; t: single) := z_TexCoord2f_ovr0(s, t); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glTexCoord2fv'; + public static z_TexCoord2fv_ovr0 := _z_TexCoord2fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fv(v: array of single) := z_TexCoord2fv_ovr0(v); + private static procedure _z_TexCoord2fv_ovr1(var v: single); + external 'opengl32.dll' name 'glTexCoord2fv'; + public static z_TexCoord2fv_ovr1 := _z_TexCoord2fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fv(var v: single) := z_TexCoord2fv_ovr1(v); + private static procedure _z_TexCoord2fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord2fv'; + public static z_TexCoord2fv_ovr2 := _z_TexCoord2fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fv(v: IntPtr) := z_TexCoord2fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2i_ovr0(s: Int32; t: Int32); + external 'opengl32.dll' name 'glTexCoord2i'; + public static z_TexCoord2i_ovr0 := _z_TexCoord2i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2i(s: Int32; t: Int32) := z_TexCoord2i_ovr0(s, t); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glTexCoord2iv'; + public static z_TexCoord2iv_ovr0 := _z_TexCoord2iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2iv(v: array of Int32) := z_TexCoord2iv_ovr0(v); + private static procedure _z_TexCoord2iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glTexCoord2iv'; + public static z_TexCoord2iv_ovr1 := _z_TexCoord2iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2iv(var v: Int32) := z_TexCoord2iv_ovr1(v); + private static procedure _z_TexCoord2iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord2iv'; + public static z_TexCoord2iv_ovr2 := _z_TexCoord2iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2iv(v: IntPtr) := z_TexCoord2iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2s_ovr0(s: Int16; t: Int16); + external 'opengl32.dll' name 'glTexCoord2s'; + public static z_TexCoord2s_ovr0 := _z_TexCoord2s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2s(s: Int16; t: Int16) := z_TexCoord2s_ovr0(s, t); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord2sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glTexCoord2sv'; + public static z_TexCoord2sv_ovr0 := _z_TexCoord2sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2sv(v: array of Int16) := z_TexCoord2sv_ovr0(v); + private static procedure _z_TexCoord2sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glTexCoord2sv'; + public static z_TexCoord2sv_ovr1 := _z_TexCoord2sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2sv(var v: Int16) := z_TexCoord2sv_ovr1(v); + private static procedure _z_TexCoord2sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord2sv'; + public static z_TexCoord2sv_ovr2 := _z_TexCoord2sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2sv(v: IntPtr) := z_TexCoord2sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3d_ovr0(s: real; t: real; r: real); + external 'opengl32.dll' name 'glTexCoord3d'; + public static z_TexCoord3d_ovr0 := _z_TexCoord3d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3d(s: real; t: real; r: real) := z_TexCoord3d_ovr0(s, t, r); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glTexCoord3dv'; + public static z_TexCoord3dv_ovr0 := _z_TexCoord3dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3dv(v: array of real) := z_TexCoord3dv_ovr0(v); + private static procedure _z_TexCoord3dv_ovr1(var v: real); + external 'opengl32.dll' name 'glTexCoord3dv'; + public static z_TexCoord3dv_ovr1 := _z_TexCoord3dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3dv(var v: real) := z_TexCoord3dv_ovr1(v); + private static procedure _z_TexCoord3dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord3dv'; + public static z_TexCoord3dv_ovr2 := _z_TexCoord3dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3dv(v: IntPtr) := z_TexCoord3dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3f_ovr0(s: single; t: single; r: single); + external 'opengl32.dll' name 'glTexCoord3f'; + public static z_TexCoord3f_ovr0 := _z_TexCoord3f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3f(s: single; t: single; r: single) := z_TexCoord3f_ovr0(s, t, r); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glTexCoord3fv'; + public static z_TexCoord3fv_ovr0 := _z_TexCoord3fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3fv(v: array of single) := z_TexCoord3fv_ovr0(v); + private static procedure _z_TexCoord3fv_ovr1(var v: single); + external 'opengl32.dll' name 'glTexCoord3fv'; + public static z_TexCoord3fv_ovr1 := _z_TexCoord3fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3fv(var v: single) := z_TexCoord3fv_ovr1(v); + private static procedure _z_TexCoord3fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord3fv'; + public static z_TexCoord3fv_ovr2 := _z_TexCoord3fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3fv(v: IntPtr) := z_TexCoord3fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3i_ovr0(s: Int32; t: Int32; r: Int32); + external 'opengl32.dll' name 'glTexCoord3i'; + public static z_TexCoord3i_ovr0 := _z_TexCoord3i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3i(s: Int32; t: Int32; r: Int32) := z_TexCoord3i_ovr0(s, t, r); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glTexCoord3iv'; + public static z_TexCoord3iv_ovr0 := _z_TexCoord3iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3iv(v: array of Int32) := z_TexCoord3iv_ovr0(v); + private static procedure _z_TexCoord3iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glTexCoord3iv'; + public static z_TexCoord3iv_ovr1 := _z_TexCoord3iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3iv(var v: Int32) := z_TexCoord3iv_ovr1(v); + private static procedure _z_TexCoord3iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord3iv'; + public static z_TexCoord3iv_ovr2 := _z_TexCoord3iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3iv(v: IntPtr) := z_TexCoord3iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3s_ovr0(s: Int16; t: Int16; r: Int16); + external 'opengl32.dll' name 'glTexCoord3s'; + public static z_TexCoord3s_ovr0 := _z_TexCoord3s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3s(s: Int16; t: Int16; r: Int16) := z_TexCoord3s_ovr0(s, t, r); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord3sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glTexCoord3sv'; + public static z_TexCoord3sv_ovr0 := _z_TexCoord3sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3sv(v: array of Int16) := z_TexCoord3sv_ovr0(v); + private static procedure _z_TexCoord3sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glTexCoord3sv'; + public static z_TexCoord3sv_ovr1 := _z_TexCoord3sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3sv(var v: Int16) := z_TexCoord3sv_ovr1(v); + private static procedure _z_TexCoord3sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord3sv'; + public static z_TexCoord3sv_ovr2 := _z_TexCoord3sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3sv(v: IntPtr) := z_TexCoord3sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4d_ovr0(s: real; t: real; r: real; q: real); + external 'opengl32.dll' name 'glTexCoord4d'; + public static z_TexCoord4d_ovr0 := _z_TexCoord4d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4d(s: real; t: real; r: real; q: real) := z_TexCoord4d_ovr0(s, t, r, q); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glTexCoord4dv'; + public static z_TexCoord4dv_ovr0 := _z_TexCoord4dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4dv(v: array of real) := z_TexCoord4dv_ovr0(v); + private static procedure _z_TexCoord4dv_ovr1(var v: real); + external 'opengl32.dll' name 'glTexCoord4dv'; + public static z_TexCoord4dv_ovr1 := _z_TexCoord4dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4dv(var v: real) := z_TexCoord4dv_ovr1(v); + private static procedure _z_TexCoord4dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord4dv'; + public static z_TexCoord4dv_ovr2 := _z_TexCoord4dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4dv(v: IntPtr) := z_TexCoord4dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4f_ovr0(s: single; t: single; r: single; q: single); + external 'opengl32.dll' name 'glTexCoord4f'; + public static z_TexCoord4f_ovr0 := _z_TexCoord4f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4f(s: single; t: single; r: single; q: single) := z_TexCoord4f_ovr0(s, t, r, q); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glTexCoord4fv'; + public static z_TexCoord4fv_ovr0 := _z_TexCoord4fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fv(v: array of single) := z_TexCoord4fv_ovr0(v); + private static procedure _z_TexCoord4fv_ovr1(var v: single); + external 'opengl32.dll' name 'glTexCoord4fv'; + public static z_TexCoord4fv_ovr1 := _z_TexCoord4fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fv(var v: single) := z_TexCoord4fv_ovr1(v); + private static procedure _z_TexCoord4fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord4fv'; + public static z_TexCoord4fv_ovr2 := _z_TexCoord4fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fv(v: IntPtr) := z_TexCoord4fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4i_ovr0(s: Int32; t: Int32; r: Int32; q: Int32); + external 'opengl32.dll' name 'glTexCoord4i'; + public static z_TexCoord4i_ovr0 := _z_TexCoord4i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4i(s: Int32; t: Int32; r: Int32; q: Int32) := z_TexCoord4i_ovr0(s, t, r, q); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glTexCoord4iv'; + public static z_TexCoord4iv_ovr0 := _z_TexCoord4iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4iv(v: array of Int32) := z_TexCoord4iv_ovr0(v); + private static procedure _z_TexCoord4iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glTexCoord4iv'; + public static z_TexCoord4iv_ovr1 := _z_TexCoord4iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4iv(var v: Int32) := z_TexCoord4iv_ovr1(v); + private static procedure _z_TexCoord4iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord4iv'; + public static z_TexCoord4iv_ovr2 := _z_TexCoord4iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4iv(v: IntPtr) := z_TexCoord4iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4s_ovr0(s: Int16; t: Int16; r: Int16; q: Int16); + external 'opengl32.dll' name 'glTexCoord4s'; + public static z_TexCoord4s_ovr0 := _z_TexCoord4s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4s(s: Int16; t: Int16; r: Int16; q: Int16) := z_TexCoord4s_ovr0(s, t, r, q); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexCoord4sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glTexCoord4sv'; + public static z_TexCoord4sv_ovr0 := _z_TexCoord4sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4sv(v: array of Int16) := z_TexCoord4sv_ovr0(v); + private static procedure _z_TexCoord4sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glTexCoord4sv'; + public static z_TexCoord4sv_ovr1 := _z_TexCoord4sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4sv(var v: Int16) := z_TexCoord4sv_ovr1(v); + private static procedure _z_TexCoord4sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glTexCoord4sv'; + public static z_TexCoord4sv_ovr2 := _z_TexCoord4sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4sv(v: IntPtr) := z_TexCoord4sv_ovr2(v); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_TexCoordPointer_ovr0(size: Int32; &type: TexCoordPointerType; stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glTexCoordPointer'; + public static z_TexCoordPointer_ovr0 := _z_TexCoordPointer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointer(size: Int32; &type: TexCoordPointerType; stride: Int32; pointer: IntPtr) := z_TexCoordPointer_ovr0(size, &type, stride, pointer); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexEnvf_ovr0(target: TextureEnvTarget; pname: TextureEnvParameter; param: single); + external 'opengl32.dll' name 'glTexEnvf'; + public static z_TexEnvf_ovr0 := _z_TexEnvf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvf(target: TextureEnvTarget; pname: TextureEnvParameter; param: single) := z_TexEnvf_ovr0(target, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexEnvfv_ovr0(target: TextureEnvTarget; pname: TextureEnvParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glTexEnvfv'; + public static z_TexEnvfv_ovr0 := _z_TexEnvfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvfv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of single) := z_TexEnvfv_ovr0(target, pname, ¶ms); + private static procedure _z_TexEnvfv_ovr1(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: single); + external 'opengl32.dll' name 'glTexEnvfv'; + public static z_TexEnvfv_ovr1 := _z_TexEnvfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvfv(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: single) := z_TexEnvfv_ovr1(target, pname, ¶ms); + private static procedure _z_TexEnvfv_ovr2(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexEnvfv'; + public static z_TexEnvfv_ovr2 := _z_TexEnvfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvfv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr) := z_TexEnvfv_ovr2(target, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexEnvi_ovr0(target: TextureEnvTarget; pname: TextureEnvParameter; param: Int32); + external 'opengl32.dll' name 'glTexEnvi'; + public static z_TexEnvi_ovr0 := _z_TexEnvi_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvi(target: TextureEnvTarget; pname: TextureEnvParameter; param: Int32) := z_TexEnvi_ovr0(target, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexEnviv_ovr0(target: TextureEnvTarget; pname: TextureEnvParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glTexEnviv'; + public static z_TexEnviv_ovr0 := _z_TexEnviv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnviv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of Int32) := z_TexEnviv_ovr0(target, pname, ¶ms); + private static procedure _z_TexEnviv_ovr1(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glTexEnviv'; + public static z_TexEnviv_ovr1 := _z_TexEnviv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnviv(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Int32) := z_TexEnviv_ovr1(target, pname, ¶ms); + private static procedure _z_TexEnviv_ovr2(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexEnviv'; + public static z_TexEnviv_ovr2 := _z_TexEnviv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnviv(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr) := z_TexEnviv_ovr2(target, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexGend_ovr0(coord: TextureCoordName; pname: TextureGenParameter; param: real); + external 'opengl32.dll' name 'glTexGend'; + public static z_TexGend_ovr0 := _z_TexGend_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGend(coord: TextureCoordName; pname: TextureGenParameter; param: real) := z_TexGend_ovr0(coord, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexGendv_ovr0(coord: TextureCoordName; pname: TextureGenParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of real); + external 'opengl32.dll' name 'glTexGendv'; + public static z_TexGendv_ovr0 := _z_TexGendv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGendv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of real) := z_TexGendv_ovr0(coord, pname, ¶ms); + private static procedure _z_TexGendv_ovr1(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: real); + external 'opengl32.dll' name 'glTexGendv'; + public static z_TexGendv_ovr1 := _z_TexGendv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGendv(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: real) := z_TexGendv_ovr1(coord, pname, ¶ms); + private static procedure _z_TexGendv_ovr2(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexGendv'; + public static z_TexGendv_ovr2 := _z_TexGendv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGendv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr) := z_TexGendv_ovr2(coord, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexGenf_ovr0(coord: TextureCoordName; pname: TextureGenParameter; param: single); + external 'opengl32.dll' name 'glTexGenf'; + public static z_TexGenf_ovr0 := _z_TexGenf_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenf(coord: TextureCoordName; pname: TextureGenParameter; param: single) := z_TexGenf_ovr0(coord, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexGenfv_ovr0(coord: TextureCoordName; pname: TextureGenParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of single); + external 'opengl32.dll' name 'glTexGenfv'; + public static z_TexGenfv_ovr0 := _z_TexGenfv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of single) := z_TexGenfv_ovr0(coord, pname, ¶ms); + private static procedure _z_TexGenfv_ovr1(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: single); + external 'opengl32.dll' name 'glTexGenfv'; + public static z_TexGenfv_ovr1 := _z_TexGenfv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfv(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: single) := z_TexGenfv_ovr1(coord, pname, ¶ms); + private static procedure _z_TexGenfv_ovr2(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexGenfv'; + public static z_TexGenfv_ovr2 := _z_TexGenfv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr) := z_TexGenfv_ovr2(coord, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexGeni_ovr0(coord: TextureCoordName; pname: TextureGenParameter; param: Int32); + external 'opengl32.dll' name 'glTexGeni'; + public static z_TexGeni_ovr0 := _z_TexGeni_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeni(coord: TextureCoordName; pname: TextureGenParameter; param: Int32) := z_TexGeni_ovr0(coord, pname, param); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_TexGeniv_ovr0(coord: TextureCoordName; pname: TextureGenParameter; [MarshalAs(UnmanagedType.LPArray)] ¶ms: array of Int32); + external 'opengl32.dll' name 'glTexGeniv'; + public static z_TexGeniv_ovr0 := _z_TexGeniv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of Int32) := z_TexGeniv_ovr0(coord, pname, ¶ms); + private static procedure _z_TexGeniv_ovr1(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Int32); + external 'opengl32.dll' name 'glTexGeniv'; + public static z_TexGeniv_ovr1 := _z_TexGeniv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniv(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Int32) := z_TexGeniv_ovr1(coord, pname, ¶ms); + private static procedure _z_TexGeniv_ovr2(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + external 'opengl32.dll' name 'glTexGeniv'; + public static z_TexGeniv_ovr2 := _z_TexGeniv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniv(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr) := z_TexGeniv_ovr2(coord, pname, ¶ms); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Translated_ovr0(x: real; y: real; z: real); + external 'opengl32.dll' name 'glTranslated'; + public static z_Translated_ovr0 := _z_Translated_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Translated(x: real; y: real; z: real) := z_Translated_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Translatef_ovr0(x: single; y: single; z: single); + external 'opengl32.dll' name 'glTranslatef'; + public static z_Translatef_ovr0 := _z_Translatef_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Translatef(x: single; y: single; z: single) := z_Translatef_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2d_ovr0(x: real; y: real); + external 'opengl32.dll' name 'glVertex2d'; + public static z_Vertex2d_ovr0 := _z_Vertex2d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2d(x: real; y: real) := z_Vertex2d_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glVertex2dv'; + public static z_Vertex2dv_ovr0 := _z_Vertex2dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2dv(v: array of real) := z_Vertex2dv_ovr0(v); + private static procedure _z_Vertex2dv_ovr1(var v: real); + external 'opengl32.dll' name 'glVertex2dv'; + public static z_Vertex2dv_ovr1 := _z_Vertex2dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2dv(var v: real) := z_Vertex2dv_ovr1(v); + private static procedure _z_Vertex2dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex2dv'; + public static z_Vertex2dv_ovr2 := _z_Vertex2dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2dv(v: IntPtr) := z_Vertex2dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2f_ovr0(x: single; y: single); + external 'opengl32.dll' name 'glVertex2f'; + public static z_Vertex2f_ovr0 := _z_Vertex2f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2f(x: single; y: single) := z_Vertex2f_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glVertex2fv'; + public static z_Vertex2fv_ovr0 := _z_Vertex2fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2fv(v: array of single) := z_Vertex2fv_ovr0(v); + private static procedure _z_Vertex2fv_ovr1(var v: single); + external 'opengl32.dll' name 'glVertex2fv'; + public static z_Vertex2fv_ovr1 := _z_Vertex2fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2fv(var v: single) := z_Vertex2fv_ovr1(v); + private static procedure _z_Vertex2fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex2fv'; + public static z_Vertex2fv_ovr2 := _z_Vertex2fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2fv(v: IntPtr) := z_Vertex2fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2i_ovr0(x: Int32; y: Int32); + external 'opengl32.dll' name 'glVertex2i'; + public static z_Vertex2i_ovr0 := _z_Vertex2i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2i(x: Int32; y: Int32) := z_Vertex2i_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glVertex2iv'; + public static z_Vertex2iv_ovr0 := _z_Vertex2iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2iv(v: array of Int32) := z_Vertex2iv_ovr0(v); + private static procedure _z_Vertex2iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glVertex2iv'; + public static z_Vertex2iv_ovr1 := _z_Vertex2iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2iv(var v: Int32) := z_Vertex2iv_ovr1(v); + private static procedure _z_Vertex2iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex2iv'; + public static z_Vertex2iv_ovr2 := _z_Vertex2iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2iv(v: IntPtr) := z_Vertex2iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2s_ovr0(x: Int16; y: Int16); + external 'opengl32.dll' name 'glVertex2s'; + public static z_Vertex2s_ovr0 := _z_Vertex2s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2s(x: Int16; y: Int16) := z_Vertex2s_ovr0(x, y); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex2sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glVertex2sv'; + public static z_Vertex2sv_ovr0 := _z_Vertex2sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2sv(v: array of Int16) := z_Vertex2sv_ovr0(v); + private static procedure _z_Vertex2sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glVertex2sv'; + public static z_Vertex2sv_ovr1 := _z_Vertex2sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2sv(var v: Int16) := z_Vertex2sv_ovr1(v); + private static procedure _z_Vertex2sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex2sv'; + public static z_Vertex2sv_ovr2 := _z_Vertex2sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2sv(v: IntPtr) := z_Vertex2sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3d_ovr0(x: real; y: real; z: real); + external 'opengl32.dll' name 'glVertex3d'; + public static z_Vertex3d_ovr0 := _z_Vertex3d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3d(x: real; y: real; z: real) := z_Vertex3d_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glVertex3dv'; + public static z_Vertex3dv_ovr0 := _z_Vertex3dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3dv(v: array of real) := z_Vertex3dv_ovr0(v); + private static procedure _z_Vertex3dv_ovr1(var v: real); + external 'opengl32.dll' name 'glVertex3dv'; + public static z_Vertex3dv_ovr1 := _z_Vertex3dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3dv(var v: real) := z_Vertex3dv_ovr1(v); + private static procedure _z_Vertex3dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex3dv'; + public static z_Vertex3dv_ovr2 := _z_Vertex3dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3dv(v: IntPtr) := z_Vertex3dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3f_ovr0(x: single; y: single; z: single); + external 'opengl32.dll' name 'glVertex3f'; + public static z_Vertex3f_ovr0 := _z_Vertex3f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3f(x: single; y: single; z: single) := z_Vertex3f_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glVertex3fv'; + public static z_Vertex3fv_ovr0 := _z_Vertex3fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3fv(v: array of single) := z_Vertex3fv_ovr0(v); + private static procedure _z_Vertex3fv_ovr1(var v: single); + external 'opengl32.dll' name 'glVertex3fv'; + public static z_Vertex3fv_ovr1 := _z_Vertex3fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3fv(var v: single) := z_Vertex3fv_ovr1(v); + private static procedure _z_Vertex3fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex3fv'; + public static z_Vertex3fv_ovr2 := _z_Vertex3fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3fv(v: IntPtr) := z_Vertex3fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3i_ovr0(x: Int32; y: Int32; z: Int32); + external 'opengl32.dll' name 'glVertex3i'; + public static z_Vertex3i_ovr0 := _z_Vertex3i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3i(x: Int32; y: Int32; z: Int32) := z_Vertex3i_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glVertex3iv'; + public static z_Vertex3iv_ovr0 := _z_Vertex3iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3iv(v: array of Int32) := z_Vertex3iv_ovr0(v); + private static procedure _z_Vertex3iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glVertex3iv'; + public static z_Vertex3iv_ovr1 := _z_Vertex3iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3iv(var v: Int32) := z_Vertex3iv_ovr1(v); + private static procedure _z_Vertex3iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex3iv'; + public static z_Vertex3iv_ovr2 := _z_Vertex3iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3iv(v: IntPtr) := z_Vertex3iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3s_ovr0(x: Int16; y: Int16; z: Int16); + external 'opengl32.dll' name 'glVertex3s'; + public static z_Vertex3s_ovr0 := _z_Vertex3s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3s(x: Int16; y: Int16; z: Int16) := z_Vertex3s_ovr0(x, y, z); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex3sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glVertex3sv'; + public static z_Vertex3sv_ovr0 := _z_Vertex3sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3sv(v: array of Int16) := z_Vertex3sv_ovr0(v); + private static procedure _z_Vertex3sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glVertex3sv'; + public static z_Vertex3sv_ovr1 := _z_Vertex3sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3sv(var v: Int16) := z_Vertex3sv_ovr1(v); + private static procedure _z_Vertex3sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex3sv'; + public static z_Vertex3sv_ovr2 := _z_Vertex3sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3sv(v: IntPtr) := z_Vertex3sv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4d_ovr0(x: real; y: real; z: real; w: real); + external 'opengl32.dll' name 'glVertex4d'; + public static z_Vertex4d_ovr0 := _z_Vertex4d_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4d(x: real; y: real; z: real; w: real) := z_Vertex4d_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4dv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of real); + external 'opengl32.dll' name 'glVertex4dv'; + public static z_Vertex4dv_ovr0 := _z_Vertex4dv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4dv(v: array of real) := z_Vertex4dv_ovr0(v); + private static procedure _z_Vertex4dv_ovr1(var v: real); + external 'opengl32.dll' name 'glVertex4dv'; + public static z_Vertex4dv_ovr1 := _z_Vertex4dv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4dv(var v: real) := z_Vertex4dv_ovr1(v); + private static procedure _z_Vertex4dv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex4dv'; + public static z_Vertex4dv_ovr2 := _z_Vertex4dv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4dv(v: IntPtr) := z_Vertex4dv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4f_ovr0(x: single; y: single; z: single; w: single); + external 'opengl32.dll' name 'glVertex4f'; + public static z_Vertex4f_ovr0 := _z_Vertex4f_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4f(x: single; y: single; z: single; w: single) := z_Vertex4f_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4fv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of single); + external 'opengl32.dll' name 'glVertex4fv'; + public static z_Vertex4fv_ovr0 := _z_Vertex4fv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4fv(v: array of single) := z_Vertex4fv_ovr0(v); + private static procedure _z_Vertex4fv_ovr1(var v: single); + external 'opengl32.dll' name 'glVertex4fv'; + public static z_Vertex4fv_ovr1 := _z_Vertex4fv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4fv(var v: single) := z_Vertex4fv_ovr1(v); + private static procedure _z_Vertex4fv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex4fv'; + public static z_Vertex4fv_ovr2 := _z_Vertex4fv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4fv(v: IntPtr) := z_Vertex4fv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4i_ovr0(x: Int32; y: Int32; z: Int32; w: Int32); + external 'opengl32.dll' name 'glVertex4i'; + public static z_Vertex4i_ovr0 := _z_Vertex4i_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4i(x: Int32; y: Int32; z: Int32; w: Int32) := z_Vertex4i_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4iv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int32); + external 'opengl32.dll' name 'glVertex4iv'; + public static z_Vertex4iv_ovr0 := _z_Vertex4iv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4iv(v: array of Int32) := z_Vertex4iv_ovr0(v); + private static procedure _z_Vertex4iv_ovr1(var v: Int32); + external 'opengl32.dll' name 'glVertex4iv'; + public static z_Vertex4iv_ovr1 := _z_Vertex4iv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4iv(var v: Int32) := z_Vertex4iv_ovr1(v); + private static procedure _z_Vertex4iv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex4iv'; + public static z_Vertex4iv_ovr2 := _z_Vertex4iv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4iv(v: IntPtr) := z_Vertex4iv_ovr2(v); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4s_ovr0(x: Int16; y: Int16; z: Int16; w: Int16); + external 'opengl32.dll' name 'glVertex4s'; + public static z_Vertex4s_ovr0 := _z_Vertex4s_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4s(x: Int16; y: Int16; z: Int16; w: Int16) := z_Vertex4s_ovr0(x, y, z, w); + + // added in gl1.0, deprecated in gl3.2 + private static procedure _z_Vertex4sv_ovr0([MarshalAs(UnmanagedType.LPArray)] v: array of Int16); + external 'opengl32.dll' name 'glVertex4sv'; + public static z_Vertex4sv_ovr0 := _z_Vertex4sv_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4sv(v: array of Int16) := z_Vertex4sv_ovr0(v); + private static procedure _z_Vertex4sv_ovr1(var v: Int16); + external 'opengl32.dll' name 'glVertex4sv'; + public static z_Vertex4sv_ovr1 := _z_Vertex4sv_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4sv(var v: Int16) := z_Vertex4sv_ovr1(v); + private static procedure _z_Vertex4sv_ovr2(v: IntPtr); + external 'opengl32.dll' name 'glVertex4sv'; + public static z_Vertex4sv_ovr2 := _z_Vertex4sv_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4sv(v: IntPtr) := z_Vertex4sv_ovr2(v); + + // added in gl1.1, deprecated in gl3.2 + private static procedure _z_VertexPointer_ovr0(size: Int32; &type: VertexPointerType; stride: Int32; pointer: IntPtr); + external 'opengl32.dll' name 'glVertexPointer'; + public static z_VertexPointer_ovr0 := _z_VertexPointer_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointer(size: Int32; &type: VertexPointerType; stride: Int32; pointer: IntPtr) := z_VertexPointer_ovr0(size, &type, stride, pointer); + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2d_adr := GetFuncAdr('glWindowPos2d'); + public z_WindowPos2d_ovr_0 := GetFuncOrNil&(z_WindowPos2d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2d(x: real; y: real); + begin + z_WindowPos2d_ovr_0(x, y); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2dv_adr := GetFuncAdr('glWindowPos2dv'); + public z_WindowPos2dv_ovr_0 := GetFuncOrNil&(z_WindowPos2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dv(v: array of real); + begin + z_WindowPos2dv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dv(var v: real); + begin + z_WindowPos2dv_ovr_0(v); + end; + public z_WindowPos2dv_ovr_2 := GetFuncOrNil&(z_WindowPos2dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dv(v: IntPtr); + begin + z_WindowPos2dv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2f_adr := GetFuncAdr('glWindowPos2f'); + public z_WindowPos2f_ovr_0 := GetFuncOrNil&(z_WindowPos2f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2f(x: single; y: single); + begin + z_WindowPos2f_ovr_0(x, y); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2fv_adr := GetFuncAdr('glWindowPos2fv'); + public z_WindowPos2fv_ovr_0 := GetFuncOrNil&(z_WindowPos2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fv(v: array of single); + begin + z_WindowPos2fv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fv(var v: single); + begin + z_WindowPos2fv_ovr_0(v); + end; + public z_WindowPos2fv_ovr_2 := GetFuncOrNil&(z_WindowPos2fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fv(v: IntPtr); + begin + z_WindowPos2fv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2i_adr := GetFuncAdr('glWindowPos2i'); + public z_WindowPos2i_ovr_0 := GetFuncOrNil&(z_WindowPos2i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2i(x: Int32; y: Int32); + begin + z_WindowPos2i_ovr_0(x, y); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2iv_adr := GetFuncAdr('glWindowPos2iv'); + public z_WindowPos2iv_ovr_0 := GetFuncOrNil&(z_WindowPos2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iv(v: array of Int32); + begin + z_WindowPos2iv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iv(var v: Int32); + begin + z_WindowPos2iv_ovr_0(v); + end; + public z_WindowPos2iv_ovr_2 := GetFuncOrNil&(z_WindowPos2iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iv(v: IntPtr); + begin + z_WindowPos2iv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2s_adr := GetFuncAdr('glWindowPos2s'); + public z_WindowPos2s_ovr_0 := GetFuncOrNil&(z_WindowPos2s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2s(x: Int16; y: Int16); + begin + z_WindowPos2s_ovr_0(x, y); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos2sv_adr := GetFuncAdr('glWindowPos2sv'); + public z_WindowPos2sv_ovr_0 := GetFuncOrNil&(z_WindowPos2sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sv(v: array of Int16); + begin + z_WindowPos2sv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sv(var v: Int16); + begin + z_WindowPos2sv_ovr_0(v); + end; + public z_WindowPos2sv_ovr_2 := GetFuncOrNil&(z_WindowPos2sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sv(v: IntPtr); + begin + z_WindowPos2sv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3d_adr := GetFuncAdr('glWindowPos3d'); + public z_WindowPos3d_ovr_0 := GetFuncOrNil&(z_WindowPos3d_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3d(x: real; y: real; z: real); + begin + z_WindowPos3d_ovr_0(x, y, z); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3dv_adr := GetFuncAdr('glWindowPos3dv'); + public z_WindowPos3dv_ovr_0 := GetFuncOrNil&(z_WindowPos3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dv(v: array of real); + begin + z_WindowPos3dv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dv(var v: real); + begin + z_WindowPos3dv_ovr_0(v); + end; + public z_WindowPos3dv_ovr_2 := GetFuncOrNil&(z_WindowPos3dv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dv(v: IntPtr); + begin + z_WindowPos3dv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3f_adr := GetFuncAdr('glWindowPos3f'); + public z_WindowPos3f_ovr_0 := GetFuncOrNil&(z_WindowPos3f_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3f(x: single; y: single; z: single); + begin + z_WindowPos3f_ovr_0(x, y, z); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3fv_adr := GetFuncAdr('glWindowPos3fv'); + public z_WindowPos3fv_ovr_0 := GetFuncOrNil&(z_WindowPos3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fv(v: array of single); + begin + z_WindowPos3fv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fv(var v: single); + begin + z_WindowPos3fv_ovr_0(v); + end; + public z_WindowPos3fv_ovr_2 := GetFuncOrNil&(z_WindowPos3fv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fv(v: IntPtr); + begin + z_WindowPos3fv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3i_adr := GetFuncAdr('glWindowPos3i'); + public z_WindowPos3i_ovr_0 := GetFuncOrNil&(z_WindowPos3i_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3i(x: Int32; y: Int32; z: Int32); + begin + z_WindowPos3i_ovr_0(x, y, z); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3iv_adr := GetFuncAdr('glWindowPos3iv'); + public z_WindowPos3iv_ovr_0 := GetFuncOrNil&(z_WindowPos3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iv(v: array of Int32); + begin + z_WindowPos3iv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iv(var v: Int32); + begin + z_WindowPos3iv_ovr_0(v); + end; + public z_WindowPos3iv_ovr_2 := GetFuncOrNil&(z_WindowPos3iv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iv(v: IntPtr); + begin + z_WindowPos3iv_ovr_2(v); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3s_adr := GetFuncAdr('glWindowPos3s'); + public z_WindowPos3s_ovr_0 := GetFuncOrNil&(z_WindowPos3s_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3s(x: Int16; y: Int16; z: Int16); + begin + z_WindowPos3s_ovr_0(x, y, z); + end; + + // added in gl1.4, deprecated in gl3.2 + public z_WindowPos3sv_adr := GetFuncAdr('glWindowPos3sv'); + public z_WindowPos3sv_ovr_0 := GetFuncOrNil&(z_WindowPos3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sv(v: array of Int16); + begin + z_WindowPos3sv_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sv(var v: Int16); + begin + z_WindowPos3sv_ovr_0(v); + end; + public z_WindowPos3sv_ovr_2 := GetFuncOrNil&(z_WindowPos3sv_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sv(v: IntPtr); + begin + z_WindowPos3sv_ovr_2(v); + end; end; - wgl = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + wgl = static class + + // added in wgl1.0 + private static function _z_CopyContext_ovr0(hglrcSrc: GLContext; hglrcDst: GLContext; mask: UInt32): UInt32; + external 'opengl32.dll' name 'wglCopyContext'; + public static z_CopyContext_ovr0 := _z_CopyContext_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CopyContext(hglrcSrc: GLContext; hglrcDst: GLContext; mask: UInt32): UInt32 := z_CopyContext_ovr0(hglrcSrc, hglrcDst, mask); + + // added in wgl1.0 + private static function _z_CreateContext_ovr0(hDc: GDI_DC): GLContext; + external 'opengl32.dll' name 'wglCreateContext'; + public static z_CreateContext_ovr0 := _z_CreateContext_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateContext(hDc: GDI_DC): GLContext := z_CreateContext_ovr0(hDc); + + // added in wgl1.0 + private static function _z_CreateLayerContext_ovr0(hDc: GDI_DC; level: Int32): GLContext; + external 'opengl32.dll' name 'wglCreateLayerContext'; + public static z_CreateLayerContext_ovr0 := _z_CreateLayerContext_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateLayerContext(hDc: GDI_DC; level: Int32): GLContext := z_CreateLayerContext_ovr0(hDc, level); + + // added in wgl1.0 + private static function _z_DeleteContext_ovr0(oldContext: GLContext): UInt32; + external 'opengl32.dll' name 'wglDeleteContext'; + public static z_DeleteContext_ovr0 := _z_DeleteContext_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DeleteContext(oldContext: GLContext): UInt32 := z_DeleteContext_ovr0(oldContext); + + // added in wgl1.0 + private static function _z_DescribeLayerPlane_ovr0(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; [MarshalAs(UnmanagedType.LPArray)] plpd: array of GDI_LayerPlaneDescriptor): UInt32; + external 'opengl32.dll' name 'wglDescribeLayerPlane'; + public static z_DescribeLayerPlane_ovr0 := _z_DescribeLayerPlane_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribeLayerPlane(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; plpd: array of GDI_LayerPlaneDescriptor): UInt32 := z_DescribeLayerPlane_ovr0(hDc, pixelFormat, layerPlane, nBytes, plpd); + private static function _z_DescribeLayerPlane_ovr1(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; var plpd: GDI_LayerPlaneDescriptor): UInt32; + external 'opengl32.dll' name 'wglDescribeLayerPlane'; + public static z_DescribeLayerPlane_ovr1 := _z_DescribeLayerPlane_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribeLayerPlane(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; var plpd: GDI_LayerPlaneDescriptor): UInt32 := z_DescribeLayerPlane_ovr1(hDc, pixelFormat, layerPlane, nBytes, plpd); + private static function _z_DescribeLayerPlane_ovr2(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; plpd: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDescribeLayerPlane'; + public static z_DescribeLayerPlane_ovr2 := _z_DescribeLayerPlane_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribeLayerPlane(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; plpd: IntPtr): UInt32 := z_DescribeLayerPlane_ovr2(hDc, pixelFormat, layerPlane, nBytes, plpd); + + // added in wgl1.0 + private static function _z_GetCurrentContext_ovr0: GLContext; + external 'opengl32.dll' name 'wglGetCurrentContext'; + public static z_GetCurrentContext_ovr0: function: GLContext := _z_GetCurrentContext_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetCurrentContext: GLContext := z_GetCurrentContext_ovr0; + + // added in wgl1.0 + private static function _z_GetCurrentDC_ovr0: GDI_DC; + external 'opengl32.dll' name 'wglGetCurrentDC'; + public static z_GetCurrentDC_ovr0: function: GDI_DC := _z_GetCurrentDC_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetCurrentDC: GDI_DC := z_GetCurrentDC_ovr0; + + // added in wgl1.0 + private static function _z_GetLayerPaletteEntries_ovr0(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] pcr: array of GDI_COLORREF): Int32; + external 'opengl32.dll' name 'wglGetLayerPaletteEntries'; + public static z_GetLayerPaletteEntries_ovr0 := _z_GetLayerPaletteEntries_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: array of GDI_COLORREF): Int32 := z_GetLayerPaletteEntries_ovr0(hdc, iLayerPlane, iStart, cEntries, pcr); + private static function _z_GetLayerPaletteEntries_ovr1(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; var pcr: GDI_COLORREF): Int32; + external 'opengl32.dll' name 'wglGetLayerPaletteEntries'; + public static z_GetLayerPaletteEntries_ovr1 := _z_GetLayerPaletteEntries_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; var pcr: GDI_COLORREF): Int32 := z_GetLayerPaletteEntries_ovr1(hdc, iLayerPlane, iStart, cEntries, pcr); + private static function _z_GetLayerPaletteEntries_ovr2(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: IntPtr): Int32; + external 'opengl32.dll' name 'wglGetLayerPaletteEntries'; + public static z_GetLayerPaletteEntries_ovr2 := _z_GetLayerPaletteEntries_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: IntPtr): Int32 := z_GetLayerPaletteEntries_ovr2(hdc, iLayerPlane, iStart, cEntries, pcr); + + // added in wgl1.0 + private static function _z_GetProcAddress_ovr0(lpszProc: IntPtr): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; - - public z_CopyContext := GetGLFuncOrNil&('wglCopyContext'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CopyContext(hglrcSrc: GLContext; hglrcDst: GLContext; mask: UInt32): UInt32 := z_CopyContext(hglrcSrc, hglrcDst, mask); - - public z_CopyImageSubDataNV := GetGLFuncOrNil&('wglCopyImageSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CopyImageSubDataNV(hSrcRC: GLContext; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; hDstRC: GLContext; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32): UInt32 := z_CopyImageSubDataNV(hSrcRC, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, hDstRC, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); - - private static function _CreateContext(hDc: GDI_DC): GLContext; external 'opengl32.dll' name 'wglCreateContext'; - public static z_CreateContext := _CreateContext; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContext(hDc: GDI_DC): GLContext := z_CreateContext(hDc); - - public z_CreateLayerContext := GetGLFuncOrNil&('wglCreateLayerContext'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateLayerContext(hDc: GDI_DC; level: Int32): GLContext := z_CreateLayerContext(hDc, level); - - public z_DeleteContext := GetGLFuncOrNil&('wglDeleteContext'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DeleteContext(oldContext: GLContext): UInt32 := z_DeleteContext(oldContext); - - public z_DescribeLayerPlane := GetGLFuncOrNil&('wglDescribeLayerPlane'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DescribeLayerPlane(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; plpd: array of GDI_LayerPlaneDescriptor): UInt32 := DescribeLayerPlane(hDc, pixelFormat, layerPlane, nBytes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(plpd,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DescribeLayerPlane(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; var plpd: GDI_LayerPlaneDescriptor): UInt32 := DescribeLayerPlane(hDc, pixelFormat, layerPlane, nBytes, @plpd); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DescribeLayerPlane(hDc: GDI_DC; pixelFormat: Int32; layerPlane: Int32; nBytes: UInt32; plpd: pointer): UInt32 := z_DescribeLayerPlane(hDc, pixelFormat, layerPlane, nBytes, plpd); - - public z_GetCurrentContext := GetGLFuncOrNil&('wglGetCurrentContext'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentContext: GLContext := z_GetCurrentContext; - - public z_GetCurrentDC := GetGLFuncOrNil&('wglGetCurrentDC'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentDC: GDI_DC := z_GetCurrentDC; - - public z_GetLayerPaletteEntries := GetGLFuncOrNil&('wglGetLayerPaletteEntries'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: array of GDI_COLORREF): Int32 := GetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pcr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; var pcr: GDI_COLORREF): Int32 := GetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, @pcr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: pointer): Int32 := z_GetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr); - - public z_GetProcAddress := GetGLFuncOrNil&('wglGetProcAddress'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProcAddress(lpszProc: string): IntPtr; begin var ptr_1 := Marshal.StringToHGlobalAnsi(lpszProc); Result := GetProcAddress(ptr_1); Marshal.FreeHGlobal(ptr_1); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProcAddress(lpszProc: IntPtr): IntPtr := z_GetProcAddress(lpszProc); - - private static function _MakeCurrent(hDc: GDI_DC; newContext: GLContext): UInt32; external 'opengl32.dll' name 'wglMakeCurrent'; - public static z_MakeCurrent := _MakeCurrent; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MakeCurrent(hDc: GDI_DC; newContext: GLContext): UInt32 := z_MakeCurrent(hDc, newContext); - - public z_RealizeLayerPalette := GetGLFuncOrNil&('wglRealizeLayerPalette'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function RealizeLayerPalette(hdc: GDI_DC; iLayerPlane: Int32; bRealize: UInt32): UInt32 := z_RealizeLayerPalette(hdc, iLayerPlane, bRealize); - - public z_SetLayerPaletteEntries := GetGLFuncOrNil&('wglSetLayerPaletteEntries'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: array of GDI_COLORREF): Int32 := SetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pcr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; var pcr: GDI_COLORREF): Int32 := SetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, @pcr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: pointer): Int32 := z_SetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr); - - public z_ShareLists := GetGLFuncOrNil&('wglShareLists'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ShareLists(hrcSrvShare: GLContext; hrcSrvSource: GLContext): UInt32 := z_ShareLists(hrcSrvShare, hrcSrvSource); - - public z_SwapLayerBuffers := GetGLFuncOrNil&('wglSwapLayerBuffers'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapLayerBuffers(hdc: GDI_DC; fuFlags: UInt32): UInt32 := z_SwapLayerBuffers(hdc, fuFlags); - - public z_UseFontBitmaps := GetGLFuncOrNil&('wglUseFontBitmaps'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontBitmaps(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32 := z_UseFontBitmaps(hDC, first, count, listBase); - - public z_UseFontBitmapsA := GetGLFuncOrNil&('wglUseFontBitmapsA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontBitmapsA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32 := z_UseFontBitmapsA(hDC, first, count, listBase); - - public z_UseFontBitmapsW := GetGLFuncOrNil&('wglUseFontBitmapsW'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontBitmapsW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32 := z_UseFontBitmapsW(hDC, first, count, listBase); - - public z_UseFontOutlines := GetGLFuncOrNil&('wglUseFontOutlines'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlines(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: array of GDI_GlyphmetricsFloat): UInt32 := UseFontOutlines(hDC, first, count, listBase, deviation, extrusion, format, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lpgmf,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlines(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32 := UseFontOutlines(hDC, first, count, listBase, deviation, extrusion, format, @lpgmf); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlines(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: pointer): UInt32 := z_UseFontOutlines(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); - - public z_UseFontOutlinesA := GetGLFuncOrNil&('wglUseFontOutlinesA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlinesA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: array of GDI_GlyphmetricsFloat): UInt32 := UseFontOutlinesA(hDC, first, count, listBase, deviation, extrusion, format, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lpgmf,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlinesA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32 := UseFontOutlinesA(hDC, first, count, listBase, deviation, extrusion, format, @lpgmf); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlinesA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: pointer): UInt32 := z_UseFontOutlinesA(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); - - public z_UseFontOutlinesW := GetGLFuncOrNil&('wglUseFontOutlinesW'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlinesW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: array of GDI_GlyphmetricsFloat): UInt32 := UseFontOutlinesW(hDC, first, count, listBase, deviation, extrusion, format, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lpgmf,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlinesW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32 := UseFontOutlinesW(hDC, first, count, listBase, deviation, extrusion, format, @lpgmf); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UseFontOutlinesW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: pointer): UInt32 := z_UseFontOutlinesW(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); - - {$region NV_vertex_array_range} - - public z_VertexArrayRangeNV := GetGLFuncOrNil&('glVertexArrayRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayRangeNV(length: Int32; _pointer: pointer) := z_VertexArrayRangeNV(length, _pointer); - - public z_FlushVertexArrayRangeNV := GetGLFuncOrNil&('glFlushVertexArrayRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushVertexArrayRangeNV := z_FlushVertexArrayRangeNV; - - public z_AllocateMemoryNV := GetGLFuncOrNil&('wglAllocateMemoryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AllocateMemoryNV(size: Int32; readfreq: single; writefreq: single; priority: single): pointer := z_AllocateMemoryNV(size, readfreq, writefreq, priority); - - public z_FreeMemoryNV := GetGLFuncOrNil&('wglFreeMemoryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FreeMemoryNV(_pointer: pointer) := z_FreeMemoryNV(_pointer); - - {$endregion NV_vertex_array_range} - - {$region WGL_I3D_image_buffer} - - public z_CreateImageBufferI3D := GetGLFuncOrNil&('wglCreateImageBufferI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateImageBufferI3D(hDC: GDI_DC; dwSize: UInt32; uFlags: UInt32): IntPtr := z_CreateImageBufferI3D(hDC, dwSize, uFlags); - - public z_DestroyImageBufferI3D := GetGLFuncOrNil&('wglDestroyImageBufferI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DestroyImageBufferI3D(hDC: GDI_DC; pAddress: IntPtr): UInt32 := z_DestroyImageBufferI3D(hDC, pAddress); - - public z_AssociateImageBufferEventsI3D := GetGLFuncOrNil&('wglAssociateImageBufferEventsI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: array of IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: array of IntPtr; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; var pAddress: IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), @pAddress, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), @pAddress, @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; var pAddress: IntPtr; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), @pAddress, pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: pointer; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), pAddress, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), pAddress, @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: pointer; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pEvent,0)), pAddress, pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: array of IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: array of IntPtr; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, @pAddress, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, @pAddress, @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, @pAddress, pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, pAddress, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, pAddress, @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, @pEvent, pAddress, pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: array of IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: array of IntPtr; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, @pAddress, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, @pAddress, @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; pSize: pointer; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, @pAddress, pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; pSize: array of UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, pAddress, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pSize,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32 := AssociateImageBufferEventsI3D(hDC, pEvent, pAddress, @pSize, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; pSize: pointer; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D(hDC, pEvent, pAddress, pSize, count); - - public z_ReleaseImageBufferEventsI3D := GetGLFuncOrNil&('wglReleaseImageBufferEventsI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseImageBufferEventsI3D(hDC: GDI_DC; pAddress: array of IntPtr; count: UInt32): UInt32 := ReleaseImageBufferEventsI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pAddress,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseImageBufferEventsI3D(hDC: GDI_DC; var pAddress: IntPtr; count: UInt32): UInt32 := ReleaseImageBufferEventsI3D(hDC, @pAddress, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseImageBufferEventsI3D(hDC: GDI_DC; pAddress: pointer; count: UInt32): UInt32 := z_ReleaseImageBufferEventsI3D(hDC, pAddress, count); - - {$endregion WGL_I3D_image_buffer} - - {$region WGL_I3D_swap_frame_usage} - - public z_GetFrameUsageI3D := GetGLFuncOrNil&('wglGetFrameUsageI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFrameUsageI3D(pUsage: array of single): UInt32 := GetFrameUsageI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFrameUsageI3D(var pUsage: single): UInt32 := GetFrameUsageI3D(@pUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFrameUsageI3D(pUsage: pointer): UInt32 := z_GetFrameUsageI3D(pUsage); - - public z_BeginFrameTrackingI3D := GetGLFuncOrNil&('wglBeginFrameTrackingI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BeginFrameTrackingI3D: UInt32 := z_BeginFrameTrackingI3D; - - public z_EndFrameTrackingI3D := GetGLFuncOrNil&('wglEndFrameTrackingI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EndFrameTrackingI3D: UInt32 := z_EndFrameTrackingI3D; - - public z_QueryFrameTrackingI3D := GetGLFuncOrNil&('wglQueryFrameTrackingI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; var pMissedFrames: UInt32; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), @pMissedFrames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), @pMissedFrames, @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; var pMissedFrames: UInt32; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), @pMissedFrames, pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: pointer; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), pMissedFrames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: pointer; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), pMissedFrames, @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: pointer; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFrameCount,0)), pMissedFrames, pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(@pFrameCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(@pFrameCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(@pFrameCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; var pMissedFrames: UInt32; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(@pFrameCount, @pMissedFrames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(@pFrameCount, @pMissedFrames, @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; var pMissedFrames: UInt32; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(@pFrameCount, @pMissedFrames, pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: pointer; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(@pFrameCount, pMissedFrames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: pointer; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(@pFrameCount, pMissedFrames, @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: pointer; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(@pFrameCount, pMissedFrames, pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; pMissedFrames: array of UInt32; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(pFrameCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(pFrameCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; pMissedFrames: array of UInt32; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(pFrameCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pMissedFrames,0)), pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; var pMissedFrames: UInt32; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(pFrameCount, @pMissedFrames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(pFrameCount, @pMissedFrames, @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; var pMissedFrames: UInt32; pLastMissedUsage: pointer): UInt32 := QueryFrameTrackingI3D(pFrameCount, @pMissedFrames, pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; pMissedFrames: pointer; pLastMissedUsage: array of single): UInt32 := QueryFrameTrackingI3D(pFrameCount, pMissedFrames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pLastMissedUsage,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; pMissedFrames: pointer; var pLastMissedUsage: single): UInt32 := QueryFrameTrackingI3D(pFrameCount, pMissedFrames, @pLastMissedUsage); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameTrackingI3D(pFrameCount: pointer; pMissedFrames: pointer; pLastMissedUsage: pointer): UInt32 := z_QueryFrameTrackingI3D(pFrameCount, pMissedFrames, pLastMissedUsage); - - {$endregion WGL_I3D_swap_frame_usage} - - {$region NV_video_capture} - - public z_BeginVideoCaptureNV := GetGLFuncOrNil&('glBeginVideoCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginVideoCaptureNV(video_capture_slot: UInt32) := z_BeginVideoCaptureNV(video_capture_slot); - - public z_BindVideoCaptureStreamBufferNV := GetGLFuncOrNil&('glBindVideoCaptureStreamBufferNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVideoCaptureStreamBufferNV(video_capture_slot: UInt32; stream: UInt32; frame_region: DummyEnum; offset: IntPtr) := z_BindVideoCaptureStreamBufferNV(video_capture_slot, stream, frame_region, offset); - - public z_BindVideoCaptureStreamTextureNV := GetGLFuncOrNil&('glBindVideoCaptureStreamTextureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVideoCaptureStreamTextureNV(video_capture_slot: UInt32; stream: UInt32; frame_region: DummyEnum; target: DummyEnum; texture: UInt32) := z_BindVideoCaptureStreamTextureNV(video_capture_slot, stream, frame_region, target, texture); - - public z_EndVideoCaptureNV := GetGLFuncOrNil&('glEndVideoCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndVideoCaptureNV(video_capture_slot: UInt32) := z_EndVideoCaptureNV(video_capture_slot); - - public z_GetVideoCaptureivNV := GetGLFuncOrNil&('glGetVideoCaptureivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVideoCaptureivNV(video_capture_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVideoCaptureivNV(video_capture_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureivNV(video_capture_slot, pname, ¶ms); - - public z_GetVideoCaptureStreamivNV := GetGLFuncOrNil&('glGetVideoCaptureStreamivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVideoCaptureStreamivNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVideoCaptureStreamivNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureStreamivNV(video_capture_slot, stream, pname, ¶ms); - - public z_GetVideoCaptureStreamfvNV := GetGLFuncOrNil&('glGetVideoCaptureStreamfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of single) := GetVideoCaptureStreamfvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: single) := GetVideoCaptureStreamfvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureStreamfvNV(video_capture_slot, stream, pname, ¶ms); - - public z_GetVideoCaptureStreamdvNV := GetGLFuncOrNil&('glGetVideoCaptureStreamdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of double) := GetVideoCaptureStreamdvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: double) := GetVideoCaptureStreamdvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureStreamdvNV(video_capture_slot, stream, pname, ¶ms); - - public z_VideoCaptureNV := GetGLFuncOrNil&('glVideoCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; capture_time: array of UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sequence_num,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(capture_time,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; var capture_time: UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sequence_num,0)), @capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; capture_time: pointer): DummyEnum := VideoCaptureNV(video_capture_slot, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sequence_num,0)), capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; capture_time: array of UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, @sequence_num, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(capture_time,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; var capture_time: UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, @sequence_num, @capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; capture_time: pointer): DummyEnum := VideoCaptureNV(video_capture_slot, @sequence_num, capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: pointer; capture_time: array of UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, sequence_num, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(capture_time,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: pointer; var capture_time: UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, sequence_num, @capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: pointer; capture_time: pointer): DummyEnum := z_VideoCaptureNV(video_capture_slot, sequence_num, capture_time); - - public z_VideoCaptureStreamParameterivNV := GetGLFuncOrNil&('glVideoCaptureStreamParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of Int32) := VideoCaptureStreamParameterivNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: Int32) := VideoCaptureStreamParameterivNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_VideoCaptureStreamParameterivNV(video_capture_slot, stream, pname, ¶ms); - - public z_VideoCaptureStreamParameterfvNV := GetGLFuncOrNil&('glVideoCaptureStreamParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of single) := VideoCaptureStreamParameterfvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: single) := VideoCaptureStreamParameterfvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_VideoCaptureStreamParameterfvNV(video_capture_slot, stream, pname, ¶ms); - - public z_VideoCaptureStreamParameterdvNV := GetGLFuncOrNil&('glVideoCaptureStreamParameterdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of double) := VideoCaptureStreamParameterdvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: double) := VideoCaptureStreamParameterdvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_VideoCaptureStreamParameterdvNV(video_capture_slot, stream, pname, ¶ms); - - public z_BindVideoCaptureDeviceNV := GetGLFuncOrNil&('wglBindVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoCaptureDeviceNV(uVideoSlot: UInt32; hDevice: VideoInputDeviceHandleNV): UInt32 := z_BindVideoCaptureDeviceNV(uVideoSlot, hDevice); - - public z_EnumerateVideoCaptureDevicesNV := GetGLFuncOrNil&('wglEnumerateVideoCaptureDevicesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoCaptureDevicesNV(hDc: GDI_DC; phDeviceList: array of VideoInputDeviceHandleNV): UInt32 := EnumerateVideoCaptureDevicesNV(hDc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(phDeviceList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoCaptureDevicesNV(hDc: GDI_DC; var phDeviceList: VideoInputDeviceHandleNV): UInt32 := EnumerateVideoCaptureDevicesNV(hDc, @phDeviceList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoCaptureDevicesNV(hDc: GDI_DC; phDeviceList: pointer): UInt32 := z_EnumerateVideoCaptureDevicesNV(hDc, phDeviceList); - - public z_LockVideoCaptureDeviceNV := GetGLFuncOrNil&('wglLockVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function LockVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: VideoInputDeviceHandleNV): UInt32 := z_LockVideoCaptureDeviceNV(hDc, hDevice); - - public z_QueryVideoCaptureDeviceNV := GetGLFuncOrNil&('wglQueryVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: VideoInputDeviceHandleNV; iAttribute: Int32; piValue: array of Int32): UInt32 := QueryVideoCaptureDeviceNV(hDc, hDevice, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: VideoInputDeviceHandleNV; iAttribute: Int32; var piValue: Int32): UInt32 := QueryVideoCaptureDeviceNV(hDc, hDevice, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: VideoInputDeviceHandleNV; iAttribute: Int32; piValue: pointer): UInt32 := z_QueryVideoCaptureDeviceNV(hDc, hDevice, iAttribute, piValue); - - public z_ReleaseVideoCaptureDeviceNV := GetGLFuncOrNil&('wglReleaseVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: VideoInputDeviceHandleNV): UInt32 := z_ReleaseVideoCaptureDeviceNV(hDc, hDevice); - - {$endregion NV_video_capture} - - {$region NV_swap_group} - - public z_JoinSwapGroupNV := GetGLFuncOrNil&('wglJoinSwapGroupNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function JoinSwapGroupNV(hDC: GDI_DC; group: UInt32): UInt32 := z_JoinSwapGroupNV(hDC, group); - - public z_BindSwapBarrierNV := GetGLFuncOrNil&('wglBindSwapBarrierNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindSwapBarrierNV(group: UInt32; barrier: UInt32): UInt32 := z_BindSwapBarrierNV(group, barrier); - - public z_QuerySwapGroupNV := GetGLFuncOrNil&('wglQuerySwapGroupNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; group: array of UInt32; barrier: array of UInt32): UInt32 := QuerySwapGroupNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(group,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(barrier,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; group: array of UInt32; var barrier: UInt32): UInt32 := QuerySwapGroupNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(group,0)), @barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; group: array of UInt32; barrier: pointer): UInt32 := QuerySwapGroupNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(group,0)), barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; var group: UInt32; barrier: array of UInt32): UInt32 := QuerySwapGroupNV(hDC, @group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(barrier,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; var group: UInt32; var barrier: UInt32): UInt32 := QuerySwapGroupNV(hDC, @group, @barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; var group: UInt32; barrier: pointer): UInt32 := QuerySwapGroupNV(hDC, @group, barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; group: pointer; barrier: array of UInt32): UInt32 := QuerySwapGroupNV(hDC, group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(barrier,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; group: pointer; var barrier: UInt32): UInt32 := QuerySwapGroupNV(hDC, group, @barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(hDC: GDI_DC; group: pointer; barrier: pointer): UInt32 := z_QuerySwapGroupNV(hDC, group, barrier); - - public z_QueryMaxSwapGroupsNV := GetGLFuncOrNil&('wglQueryMaxSwapGroupsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: array of UInt32; maxBarriers: array of UInt32): UInt32 := QueryMaxSwapGroupsNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxGroups,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxBarriers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: array of UInt32; var maxBarriers: UInt32): UInt32 := QueryMaxSwapGroupsNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxGroups,0)), @maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: array of UInt32; maxBarriers: pointer): UInt32 := QueryMaxSwapGroupsNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxGroups,0)), maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; var maxGroups: UInt32; maxBarriers: array of UInt32): UInt32 := QueryMaxSwapGroupsNV(hDC, @maxGroups, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxBarriers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; var maxGroups: UInt32; var maxBarriers: UInt32): UInt32 := QueryMaxSwapGroupsNV(hDC, @maxGroups, @maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; var maxGroups: UInt32; maxBarriers: pointer): UInt32 := QueryMaxSwapGroupsNV(hDC, @maxGroups, maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: pointer; maxBarriers: array of UInt32): UInt32 := QueryMaxSwapGroupsNV(hDC, maxGroups, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxBarriers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: pointer; var maxBarriers: UInt32): UInt32 := QueryMaxSwapGroupsNV(hDC, maxGroups, @maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: pointer; maxBarriers: pointer): UInt32 := z_QueryMaxSwapGroupsNV(hDC, maxGroups, maxBarriers); - - public z_QueryFrameCountNV := GetGLFuncOrNil&('wglQueryFrameCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameCountNV(hDC: GDI_DC; count: array of UInt32): UInt32 := QueryFrameCountNV(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameCountNV(hDC: GDI_DC; var count: UInt32): UInt32 := QueryFrameCountNV(hDC, @count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameCountNV(hDC: GDI_DC; count: pointer): UInt32 := z_QueryFrameCountNV(hDC, count); - - public z_ResetFrameCountNV := GetGLFuncOrNil&('wglResetFrameCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ResetFrameCountNV(hDC: GDI_DC): UInt32 := z_ResetFrameCountNV(hDC); - - {$endregion NV_swap_group} - - {$region ARB_render_texture} - - public z_BindTexImageARB := GetGLFuncOrNil&('wglBindTexImageARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindTexImageARB(hPbuffer: PBufferName; iBuffer: Int32): UInt32 := z_BindTexImageARB(hPbuffer, iBuffer); - - public z_ReleaseTexImageARB := GetGLFuncOrNil&('wglReleaseTexImageARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseTexImageARB(hPbuffer: PBufferName; iBuffer: Int32): UInt32 := z_ReleaseTexImageARB(hPbuffer, iBuffer); - - public z_SetPbufferAttribARB := GetGLFuncOrNil&('wglSetPbufferAttribARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetPbufferAttribARB(hPbuffer: PBufferName; piAttribList: array of Int32): UInt32 := SetPbufferAttribARB(hPbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetPbufferAttribARB(hPbuffer: PBufferName; var piAttribList: Int32): UInt32 := SetPbufferAttribARB(hPbuffer, @piAttribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetPbufferAttribARB(hPbuffer: PBufferName; piAttribList: pointer): UInt32 := z_SetPbufferAttribARB(hPbuffer, piAttribList); - - {$endregion ARB_render_texture} - - {$region NV_present_video} - - public z_PresentFrameKeyedNV := GetGLFuncOrNil&('glPresentFrameKeyedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PresentFrameKeyedNV(video_slot: UInt32; minPresentTime: UInt64; beginPresentTimeId: UInt32; presentDurationId: UInt32; &type: DummyEnum; target0: DummyEnum; fill0: UInt32; key0: UInt32; target1: DummyEnum; fill1: UInt32; key1: UInt32) := z_PresentFrameKeyedNV(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, &type, target0, fill0, key0, target1, fill1, key1); - - public z_PresentFrameDualFillNV := GetGLFuncOrNil&('glPresentFrameDualFillNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PresentFrameDualFillNV(video_slot: UInt32; minPresentTime: UInt64; beginPresentTimeId: UInt32; presentDurationId: UInt32; &type: DummyEnum; target0: DummyEnum; fill0: UInt32; target1: DummyEnum; fill1: UInt32; target2: DummyEnum; fill2: UInt32; target3: DummyEnum; fill3: UInt32) := z_PresentFrameDualFillNV(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, &type, target0, fill0, target1, fill1, target2, fill2, target3, fill3); - - public z_GetVideoivNV := GetGLFuncOrNil&('glGetVideoivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVideoivNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVideoivNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoivNV(video_slot, pname, ¶ms); - - public z_GetVideouivNV := GetGLFuncOrNil&('glGetVideouivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetVideouivNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetVideouivNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideouivNV(video_slot, pname, ¶ms); - - public z_GetVideoi64vNV := GetGLFuncOrNil&('glGetVideoi64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of Int64) := GetVideoi64vNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: Int64) := GetVideoi64vNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoi64vNV(video_slot, pname, ¶ms); - - public z_GetVideoui64vNV := GetGLFuncOrNil&('glGetVideoui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetVideoui64vNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetVideoui64vNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoui64vNV(video_slot, pname, ¶ms); - - public z_EnumerateVideoDevicesNV := GetGLFuncOrNil&('wglEnumerateVideoDevicesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoDevicesNV(hDc: GDI_DC; phDeviceList: array of VideoOutputDeviceHandleNV): Int32 := EnumerateVideoDevicesNV(hDc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(phDeviceList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoDevicesNV(hDc: GDI_DC; var phDeviceList: VideoOutputDeviceHandleNV): Int32 := EnumerateVideoDevicesNV(hDc, @phDeviceList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoDevicesNV(hDc: GDI_DC; phDeviceList: pointer): Int32 := z_EnumerateVideoDevicesNV(hDc, phDeviceList); - - public z_BindVideoDeviceNV := GetGLFuncOrNil&('wglBindVideoDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoDeviceNV(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: VideoOutputDeviceHandleNV; piAttribList: array of Int32): UInt32 := BindVideoDeviceNV(hDc, uVideoSlot, hVideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoDeviceNV(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: VideoOutputDeviceHandleNV; var piAttribList: Int32): UInt32 := BindVideoDeviceNV(hDc, uVideoSlot, hVideoDevice, @piAttribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoDeviceNV(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: VideoOutputDeviceHandleNV; piAttribList: pointer): UInt32 := z_BindVideoDeviceNV(hDc, uVideoSlot, hVideoDevice, piAttribList); - - public z_QueryCurrentContextNV := GetGLFuncOrNil&('wglQueryCurrentContextNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentContextNV(iAttribute: Int32; piValue: array of Int32): UInt32 := QueryCurrentContextNV(iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentContextNV(iAttribute: Int32; var piValue: Int32): UInt32 := QueryCurrentContextNV(iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentContextNV(iAttribute: Int32; piValue: pointer): UInt32 := z_QueryCurrentContextNV(iAttribute, piValue); - - {$endregion NV_present_video} - - {$region NV_video_output} - - public z_GetVideoDeviceNV := GetGLFuncOrNil&('wglGetVideoDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoDeviceNV(hDC: GDI_DC; numDevices: Int32; hVideoDevice: array of VideoDeviceHandleNV): UInt32 := GetVideoDeviceNV(hDC, numDevices, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hVideoDevice,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoDeviceNV(hDC: GDI_DC; numDevices: Int32; var hVideoDevice: VideoDeviceHandleNV): UInt32 := GetVideoDeviceNV(hDC, numDevices, @hVideoDevice); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoDeviceNV(hDC: GDI_DC; numDevices: Int32; hVideoDevice: pointer): UInt32 := z_GetVideoDeviceNV(hDC, numDevices, hVideoDevice); - - public z_ReleaseVideoDeviceNV := GetGLFuncOrNil&('wglReleaseVideoDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseVideoDeviceNV(hVideoDevice: VideoDeviceHandleNV): UInt32 := z_ReleaseVideoDeviceNV(hVideoDevice); - - public z_BindVideoImageNV := GetGLFuncOrNil&('wglBindVideoImageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoImageNV(hVideoDevice: VideoDeviceHandleNV; hPbuffer: PBufferName; iVideoBuffer: Int32): UInt32 := z_BindVideoImageNV(hVideoDevice, hPbuffer, iVideoBuffer); - - public z_ReleaseVideoImageNV := GetGLFuncOrNil&('wglReleaseVideoImageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseVideoImageNV(hPbuffer: PBufferName; iVideoBuffer: Int32): UInt32 := z_ReleaseVideoImageNV(hPbuffer, iVideoBuffer); - - public z_SendPbufferToVideoNV := GetGLFuncOrNil&('wglSendPbufferToVideoNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SendPbufferToVideoNV(hPbuffer: PBufferName; iBufferType: Int32; pulCounterPbuffer: array of UInt64; bBlock: UInt32): UInt32 := SendPbufferToVideoNV(hPbuffer, iBufferType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterPbuffer,0)), bBlock); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SendPbufferToVideoNV(hPbuffer: PBufferName; iBufferType: Int32; var pulCounterPbuffer: UInt64; bBlock: UInt32): UInt32 := SendPbufferToVideoNV(hPbuffer, iBufferType, @pulCounterPbuffer, bBlock); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SendPbufferToVideoNV(hPbuffer: PBufferName; iBufferType: Int32; pulCounterPbuffer: pointer; bBlock: UInt32): UInt32 := z_SendPbufferToVideoNV(hPbuffer, iBufferType, pulCounterPbuffer, bBlock); - - public z_GetVideoInfoNV := GetGLFuncOrNil&('wglGetVideoInfoNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: array of UInt64): UInt32 := GetVideoInfoNV(hpVideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputPbuffer,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputVideo,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; pulCounterOutputPbuffer: array of UInt64; var pulCounterOutputVideo: UInt64): UInt32 := GetVideoInfoNV(hpVideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputPbuffer,0)), @pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: pointer): UInt32 := GetVideoInfoNV(hpVideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputPbuffer,0)), pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: array of UInt64): UInt32 := GetVideoInfoNV(hpVideoDevice, @pulCounterOutputPbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputVideo,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; var pulCounterOutputPbuffer: UInt64; var pulCounterOutputVideo: UInt64): UInt32 := GetVideoInfoNV(hpVideoDevice, @pulCounterOutputPbuffer, @pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: pointer): UInt32 := GetVideoInfoNV(hpVideoDevice, @pulCounterOutputPbuffer, pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; pulCounterOutputPbuffer: pointer; pulCounterOutputVideo: array of UInt64): UInt32 := GetVideoInfoNV(hpVideoDevice, pulCounterOutputPbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputVideo,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; pulCounterOutputPbuffer: pointer; var pulCounterOutputVideo: UInt64): UInt32 := GetVideoInfoNV(hpVideoDevice, pulCounterOutputPbuffer, @pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(hpVideoDevice: VideoDeviceHandleNV; pulCounterOutputPbuffer: pointer; pulCounterOutputVideo: pointer): UInt32 := z_GetVideoInfoNV(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); - - {$endregion NV_video_output} - - {$region AMD_gpu_association} - - public z_GetGPUIDsAMD := GetGLFuncOrNil&('wglGetGPUIDsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUIDsAMD(maxCount: UInt32; ids: array of UInt32): UInt32 := GetGPUIDsAMD(maxCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUIDsAMD(maxCount: UInt32; var ids: UInt32): UInt32 := GetGPUIDsAMD(maxCount, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUIDsAMD(maxCount: UInt32; ids: pointer): UInt32 := z_GetGPUIDsAMD(maxCount, ids); - - public z_GetGPUInfoAMD := GetGLFuncOrNil&('wglGetGPUInfoAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUInfoAMD(id: UInt32; &property: Int32; dataType: DummyEnum; size: UInt32; data: pointer): Int32 := z_GetGPUInfoAMD(id, &property, dataType, size, data); - - public z_GetContextGPUIDAMD := GetGLFuncOrNil&('wglGetContextGPUIDAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetContextGPUIDAMD(hglrc: GLContext): UInt32 := z_GetContextGPUIDAMD(hglrc); - - public z_CreateAssociatedContextAMD := GetGLFuncOrNil&('wglCreateAssociatedContextAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAMD(id: UInt32): GLContext := z_CreateAssociatedContextAMD(id); - - public z_CreateAssociatedContextAttribsAMD := GetGLFuncOrNil&('wglCreateAssociatedContextAttribsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAttribsAMD(id: UInt32; hShareContext: GLContext; attribList: array of Int32): GLContext := CreateAssociatedContextAttribsAMD(id, hShareContext, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAttribsAMD(id: UInt32; hShareContext: GLContext; var attribList: Int32): GLContext := CreateAssociatedContextAttribsAMD(id, hShareContext, @attribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAttribsAMD(id: UInt32; hShareContext: GLContext; attribList: pointer): GLContext := z_CreateAssociatedContextAttribsAMD(id, hShareContext, attribList); - - public z_DeleteAssociatedContextAMD := GetGLFuncOrNil&('wglDeleteAssociatedContextAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DeleteAssociatedContextAMD(hglrc: GLContext): UInt32 := z_DeleteAssociatedContextAMD(hglrc); - - public z_MakeAssociatedContextCurrentAMD := GetGLFuncOrNil&('wglMakeAssociatedContextCurrentAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MakeAssociatedContextCurrentAMD(hglrc: GLContext): UInt32 := z_MakeAssociatedContextCurrentAMD(hglrc); - - public z_GetCurrentAssociatedContextAMD := GetGLFuncOrNil&('wglGetCurrentAssociatedContextAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentAssociatedContextAMD: GLContext := z_GetCurrentAssociatedContextAMD; - - public z_BlitContextFramebufferAMD := GetGLFuncOrNil&('wglBlitContextFramebufferAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitContextFramebufferAMD(dstCtx: GLContext; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_BlitContextFramebufferAMD(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - {$endregion AMD_gpu_association} - - {$region WGL_ARB_pixel_format} - - public z_GetPixelFormatAttribivARB := GetGLFuncOrNil&('wglGetPixelFormatAttribivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: array of Int32): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var piValues: Int32): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), @piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: pointer): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: array of Int32): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var piValues: Int32): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, @piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: pointer): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; piValues: array of Int32): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; var piValues: Int32): UInt32 := GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, @piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; piValues: pointer): UInt32 := z_GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); - - public z_GetPixelFormatAttribfvARB := GetGLFuncOrNil&('wglGetPixelFormatAttribfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: array of single): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var pfValues: single): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), @pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: pointer): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: array of single): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var pfValues: single): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, @pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: pointer): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; pfValues: array of single): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; var pfValues: single): UInt32 := GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, @pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; pfValues: pointer): UInt32 := z_GetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); - - public z_ChoosePixelFormatARB := GetGLFuncOrNil&('wglChoosePixelFormatARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, @piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, @pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := z_ChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); - - {$endregion WGL_ARB_pixel_format} - - {$region EXT_pixel_format} - - public z_GetPixelFormatAttribivEXT := GetGLFuncOrNil&('wglGetPixelFormatAttribivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: array of Int32): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var piValues: Int32): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), @piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: pointer): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: array of Int32): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var piValues: Int32): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, @piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: pointer): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; piValues: array of Int32): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; var piValues: Int32): UInt32 := GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, @piValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; piValues: pointer): UInt32 := z_GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); - - public z_GetPixelFormatAttribfvEXT := GetGLFuncOrNil&('wglGetPixelFormatAttribfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: array of single): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var pfValues: single): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), @pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: pointer): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttributes,0)), pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: array of single): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var pfValues: single): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, @pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: pointer): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, @piAttributes, pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; pfValues: array of single): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; var pfValues: single): UInt32 := GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, @pfValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: pointer; pfValues: pointer): UInt32 := z_GetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); - - public z_ChoosePixelFormatEXT := GetGLFuncOrNil&('wglChoosePixelFormatEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), @pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribIList,0)), pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, @pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, @piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pfAttribFList,0)), nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, @pfAttribFList, nMaxFormats, piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piFormats,0)), nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, @piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, @piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: pointer): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, @piFormats, nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: array of UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nNumFormats,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; var nNumFormats: UInt32): UInt32 := ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, @nNumFormats); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: pointer; pfAttribFList: pointer; nMaxFormats: UInt32; piFormats: pointer; nNumFormats: pointer): UInt32 := z_ChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); - - {$endregion EXT_pixel_format} - - {$region WGL_NV_gpu_affinity} - - public z_EnumGpusNV := GetGLFuncOrNil&('wglEnumGpusNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpusNV(iGpuIndex: UInt32; phGpu: array of GPUAffinityHandle): UInt32 := EnumGpusNV(iGpuIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(phGpu,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpusNV(iGpuIndex: UInt32; var phGpu: GPUAffinityHandle): UInt32 := EnumGpusNV(iGpuIndex, @phGpu); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpusNV(iGpuIndex: UInt32; phGpu: pointer): UInt32 := z_EnumGpusNV(iGpuIndex, phGpu); - - public z_EnumGpuDevicesNV := GetGLFuncOrNil&('wglEnumGpuDevicesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpuDevicesNV(hGpu: GPUAffinityHandle; iDeviceIndex: UInt32; lpGpuDevice: array of GPU_Device_Affinity_Info): UInt32 := EnumGpuDevicesNV(hGpu, iDeviceIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lpGpuDevice,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpuDevicesNV(hGpu: GPUAffinityHandle; iDeviceIndex: UInt32; var lpGpuDevice: GPU_Device_Affinity_Info): UInt32 := EnumGpuDevicesNV(hGpu, iDeviceIndex, @lpGpuDevice); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpuDevicesNV(hGpu: GPUAffinityHandle; iDeviceIndex: UInt32; lpGpuDevice: pointer): UInt32 := z_EnumGpuDevicesNV(hGpu, iDeviceIndex, lpGpuDevice); - - public z_CreateAffinityDCNV := GetGLFuncOrNil&('wglCreateAffinityDCNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAffinityDCNV(phGpuList: array of GPUAffinityHandle): GDI_DC := CreateAffinityDCNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(phGpuList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAffinityDCNV(var phGpuList: GPUAffinityHandle): GDI_DC := CreateAffinityDCNV(@phGpuList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAffinityDCNV(phGpuList: pointer): GDI_DC := z_CreateAffinityDCNV(phGpuList); - - public z_EnumGpusFromAffinityDCNV := GetGLFuncOrNil&('wglEnumGpusFromAffinityDCNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpusFromAffinityDCNV(hAffinityDC: GDI_DC; iGpuIndex: UInt32; hGpu: array of GPUAffinityHandle): UInt32 := EnumGpusFromAffinityDCNV(hAffinityDC, iGpuIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hGpu,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpusFromAffinityDCNV(hAffinityDC: GDI_DC; iGpuIndex: UInt32; var hGpu: GPUAffinityHandle): UInt32 := EnumGpusFromAffinityDCNV(hAffinityDC, iGpuIndex, @hGpu); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumGpusFromAffinityDCNV(hAffinityDC: GDI_DC; iGpuIndex: UInt32; hGpu: pointer): UInt32 := z_EnumGpusFromAffinityDCNV(hAffinityDC, iGpuIndex, hGpu); - - public z_DeleteDCNV := GetGLFuncOrNil&('wglDeleteDCNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DeleteDCNV(hdc: GDI_DC): UInt32 := z_DeleteDCNV(hdc); - - {$endregion WGL_NV_gpu_affinity} - - {$region WGL_ARB_buffer_region} - - public z_CreateBufferRegionARB := GetGLFuncOrNil&('wglCreateBufferRegionARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateBufferRegionARB(hDC: GDI_DC; iLayerPlane: Int32; uType: UInt32): IntPtr := z_CreateBufferRegionARB(hDC, iLayerPlane, uType); - - public z_DeleteBufferRegionARB := GetGLFuncOrNil&('wglDeleteBufferRegionARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBufferRegionARB(hRegion: IntPtr) := z_DeleteBufferRegionARB(hRegion); - - public z_SaveBufferRegionARB := GetGLFuncOrNil&('wglSaveBufferRegionARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SaveBufferRegionARB(hRegion: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32): UInt32 := z_SaveBufferRegionARB(hRegion, x, y, width, height); - - public z_RestoreBufferRegionARB := GetGLFuncOrNil&('wglRestoreBufferRegionARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function RestoreBufferRegionARB(hRegion: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32; xSrc: Int32; ySrc: Int32): UInt32 := z_RestoreBufferRegionARB(hRegion, x, y, width, height, xSrc, ySrc); - - {$endregion WGL_ARB_buffer_region} - - {$region WGL_ARB_create_context WGL_ARB_create_context_profile} - - public z_CreateContextAttribsARB := GetGLFuncOrNil&('wglCreateContextAttribsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextAttribsARB(hDC: GDI_DC; hShareContext: GLContext; attribList: array of Int32): GLContext := CreateContextAttribsARB(hDC, hShareContext, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextAttribsARB(hDC: GDI_DC; hShareContext: GLContext; var attribList: Int32): GLContext := CreateContextAttribsARB(hDC, hShareContext, @attribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextAttribsARB(hDC: GDI_DC; hShareContext: GLContext; attribList: pointer): GLContext := z_CreateContextAttribsARB(hDC, hShareContext, attribList); - - {$endregion WGL_ARB_create_context WGL_ARB_create_context_profile} - - {$region WGL_ARB_pbuffer} - - public z_CreatePbufferARB := GetGLFuncOrNil&('wglCreatePbufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreatePbufferARB(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: array of Int32): PBufferName := CreatePbufferARB(hDC, iPixelFormat, iWidth, iHeight, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreatePbufferARB(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; var piAttribList: Int32): PBufferName := CreatePbufferARB(hDC, iPixelFormat, iWidth, iHeight, @piAttribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreatePbufferARB(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: pointer): PBufferName := z_CreatePbufferARB(hDC, iPixelFormat, iWidth, iHeight, piAttribList); - - public z_GetPbufferDCARB := GetGLFuncOrNil&('wglGetPbufferDCARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPbufferDCARB(hPbuffer: PBufferName): GDI_DC := z_GetPbufferDCARB(hPbuffer); - - public z_ReleasePbufferDCARB := GetGLFuncOrNil&('wglReleasePbufferDCARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleasePbufferDCARB(hPbuffer: PBufferName; hDC: GDI_DC): Int32 := z_ReleasePbufferDCARB(hPbuffer, hDC); - - public z_DestroyPbufferARB := GetGLFuncOrNil&('wglDestroyPbufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DestroyPbufferARB(hPbuffer: PBufferName): UInt32 := z_DestroyPbufferARB(hPbuffer); - - public z_QueryPbufferARB := GetGLFuncOrNil&('wglQueryPbufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryPbufferARB(hPbuffer: PBufferName; iAttribute: Int32; piValue: array of Int32): UInt32 := QueryPbufferARB(hPbuffer, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryPbufferARB(hPbuffer: PBufferName; iAttribute: Int32; var piValue: Int32): UInt32 := QueryPbufferARB(hPbuffer, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryPbufferARB(hPbuffer: PBufferName; iAttribute: Int32; piValue: pointer): UInt32 := z_QueryPbufferARB(hPbuffer, iAttribute, piValue); - - {$endregion WGL_ARB_pbuffer} - - {$region EXT_pbuffer} - - public z_CreatePbufferEXT := GetGLFuncOrNil&('wglCreatePbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreatePbufferEXT(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: array of Int32): PBufferName := CreatePbufferEXT(hDC, iPixelFormat, iWidth, iHeight, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piAttribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreatePbufferEXT(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; var piAttribList: Int32): PBufferName := CreatePbufferEXT(hDC, iPixelFormat, iWidth, iHeight, @piAttribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreatePbufferEXT(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: pointer): PBufferName := z_CreatePbufferEXT(hDC, iPixelFormat, iWidth, iHeight, piAttribList); - - public z_GetPbufferDCEXT := GetGLFuncOrNil&('wglGetPbufferDCEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPbufferDCEXT(hPbuffer: PBufferName): GDI_DC := z_GetPbufferDCEXT(hPbuffer); - - public z_ReleasePbufferDCEXT := GetGLFuncOrNil&('wglReleasePbufferDCEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleasePbufferDCEXT(hPbuffer: PBufferName; hDC: GDI_DC): Int32 := z_ReleasePbufferDCEXT(hPbuffer, hDC); - - public z_DestroyPbufferEXT := GetGLFuncOrNil&('wglDestroyPbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DestroyPbufferEXT(hPbuffer: PBufferName): UInt32 := z_DestroyPbufferEXT(hPbuffer); - - public z_QueryPbufferEXT := GetGLFuncOrNil&('wglQueryPbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryPbufferEXT(hPbuffer: PBufferName; iAttribute: Int32; piValue: array of Int32): UInt32 := QueryPbufferEXT(hPbuffer, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryPbufferEXT(hPbuffer: PBufferName; iAttribute: Int32; var piValue: Int32): UInt32 := QueryPbufferEXT(hPbuffer, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryPbufferEXT(hPbuffer: PBufferName; iAttribute: Int32; piValue: pointer): UInt32 := z_QueryPbufferEXT(hPbuffer, iAttribute, piValue); - - {$endregion EXT_pbuffer} - - {$region NV_delay_before_swap} - - public z_DelayBeforeSwapNV := GetGLFuncOrNil&('wglDelayBeforeSwapNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DelayBeforeSwapNV(hDC: GDI_DC; seconds: single): UInt32 := z_DelayBeforeSwapNV(hDC, seconds); - - {$endregion NV_delay_before_swap} - - {$region WGL_I3D_swap_frame_lock} - - public z_EnableFrameLockI3D := GetGLFuncOrNil&('wglEnableFrameLockI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnableFrameLockI3D: UInt32 := z_EnableFrameLockI3D; - - public z_DisableFrameLockI3D := GetGLFuncOrNil&('wglDisableFrameLockI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DisableFrameLockI3D: UInt32 := z_DisableFrameLockI3D; - - public z_IsEnabledFrameLockI3D := GetGLFuncOrNil&('wglIsEnabledFrameLockI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledFrameLockI3D(pFlag: array of UInt32): UInt32 := IsEnabledFrameLockI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFlag,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledFrameLockI3D(var pFlag: UInt32): UInt32 := IsEnabledFrameLockI3D(@pFlag); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledFrameLockI3D(pFlag: pointer): UInt32 := z_IsEnabledFrameLockI3D(pFlag); - - public z_QueryFrameLockMasterI3D := GetGLFuncOrNil&('wglQueryFrameLockMasterI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameLockMasterI3D(pFlag: array of UInt32): UInt32 := QueryFrameLockMasterI3D(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFlag,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameLockMasterI3D(var pFlag: UInt32): UInt32 := QueryFrameLockMasterI3D(@pFlag); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameLockMasterI3D(pFlag: pointer): UInt32 := z_QueryFrameLockMasterI3D(pFlag); - - {$endregion WGL_I3D_swap_frame_lock} - - {$region WGL_I3D_genlock} - - public z_EnableGenlockI3D := GetGLFuncOrNil&('wglEnableGenlockI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnableGenlockI3D(hDC: GDI_DC): UInt32 := z_EnableGenlockI3D(hDC); - - public z_DisableGenlockI3D := GetGLFuncOrNil&('wglDisableGenlockI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DisableGenlockI3D(hDC: GDI_DC): UInt32 := z_DisableGenlockI3D(hDC); - - public z_IsEnabledGenlockI3D := GetGLFuncOrNil&('wglIsEnabledGenlockI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledGenlockI3D(hDC: GDI_DC; pFlag: array of UInt32): UInt32 := IsEnabledGenlockI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pFlag,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledGenlockI3D(hDC: GDI_DC; var pFlag: UInt32): UInt32 := IsEnabledGenlockI3D(hDC, @pFlag); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledGenlockI3D(hDC: GDI_DC; pFlag: pointer): UInt32 := z_IsEnabledGenlockI3D(hDC, pFlag); - - public z_GenlockSourceI3D := GetGLFuncOrNil&('wglGenlockSourceI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenlockSourceI3D(hDC: GDI_DC; uSource: UInt32): UInt32 := z_GenlockSourceI3D(hDC, uSource); - - public z_GetGenlockSourceI3D := GetGLFuncOrNil&('wglGetGenlockSourceI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceI3D(hDC: GDI_DC; uSource: array of UInt32): UInt32 := GetGenlockSourceI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uSource,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceI3D(hDC: GDI_DC; var uSource: UInt32): UInt32 := GetGenlockSourceI3D(hDC, @uSource); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceI3D(hDC: GDI_DC; uSource: pointer): UInt32 := z_GetGenlockSourceI3D(hDC, uSource); - - public z_GenlockSourceEdgeI3D := GetGLFuncOrNil&('wglGenlockSourceEdgeI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenlockSourceEdgeI3D(hDC: GDI_DC; uEdge: UInt32): UInt32 := z_GenlockSourceEdgeI3D(hDC, uEdge); - - public z_GetGenlockSourceEdgeI3D := GetGLFuncOrNil&('wglGetGenlockSourceEdgeI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceEdgeI3D(hDC: GDI_DC; uEdge: array of UInt32): UInt32 := GetGenlockSourceEdgeI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uEdge,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceEdgeI3D(hDC: GDI_DC; var uEdge: UInt32): UInt32 := GetGenlockSourceEdgeI3D(hDC, @uEdge); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceEdgeI3D(hDC: GDI_DC; uEdge: pointer): UInt32 := z_GetGenlockSourceEdgeI3D(hDC, uEdge); - - public z_GenlockSampleRateI3D := GetGLFuncOrNil&('wglGenlockSampleRateI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenlockSampleRateI3D(hDC: GDI_DC; uRate: UInt32): UInt32 := z_GenlockSampleRateI3D(hDC, uRate); - - public z_GetGenlockSampleRateI3D := GetGLFuncOrNil&('wglGetGenlockSampleRateI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSampleRateI3D(hDC: GDI_DC; uRate: array of UInt32): UInt32 := GetGenlockSampleRateI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uRate,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSampleRateI3D(hDC: GDI_DC; var uRate: UInt32): UInt32 := GetGenlockSampleRateI3D(hDC, @uRate); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSampleRateI3D(hDC: GDI_DC; uRate: pointer): UInt32 := z_GetGenlockSampleRateI3D(hDC, uRate); - - public z_GenlockSourceDelayI3D := GetGLFuncOrNil&('wglGenlockSourceDelayI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenlockSourceDelayI3D(hDC: GDI_DC; uDelay: UInt32): UInt32 := z_GenlockSourceDelayI3D(hDC, uDelay); - - public z_GetGenlockSourceDelayI3D := GetGLFuncOrNil&('wglGetGenlockSourceDelayI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceDelayI3D(hDC: GDI_DC; uDelay: array of UInt32): UInt32 := GetGenlockSourceDelayI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uDelay,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceDelayI3D(hDC: GDI_DC; var uDelay: UInt32): UInt32 := GetGenlockSourceDelayI3D(hDC, @uDelay); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGenlockSourceDelayI3D(hDC: GDI_DC; uDelay: pointer): UInt32 := z_GetGenlockSourceDelayI3D(hDC, uDelay); - - public z_QueryGenlockMaxSourceDelayI3D := GetGLFuncOrNil&('wglQueryGenlockMaxSourceDelayI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: array of UInt32; uMaxPixelDelay: array of UInt32): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uMaxLineDelay,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uMaxPixelDelay,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: array of UInt32; var uMaxPixelDelay: UInt32): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uMaxLineDelay,0)), @uMaxPixelDelay); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: array of UInt32; uMaxPixelDelay: pointer): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uMaxLineDelay,0)), uMaxPixelDelay); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; var uMaxLineDelay: UInt32; uMaxPixelDelay: array of UInt32): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, @uMaxLineDelay, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uMaxPixelDelay,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; var uMaxLineDelay: UInt32; var uMaxPixelDelay: UInt32): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, @uMaxLineDelay, @uMaxPixelDelay); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; var uMaxLineDelay: UInt32; uMaxPixelDelay: pointer): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, @uMaxLineDelay, uMaxPixelDelay); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: pointer; uMaxPixelDelay: array of UInt32): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, uMaxLineDelay, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(uMaxPixelDelay,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: pointer; var uMaxPixelDelay: UInt32): UInt32 := QueryGenlockMaxSourceDelayI3D(hDC, uMaxLineDelay, @uMaxPixelDelay); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: pointer; uMaxPixelDelay: pointer): UInt32 := z_QueryGenlockMaxSourceDelayI3D(hDC, uMaxLineDelay, uMaxPixelDelay); - - {$endregion WGL_I3D_genlock} - - {$region NV_DX_interop} - - public z_DXSetResourceShareHandleNV := GetGLFuncOrNil&('wglDXSetResourceShareHandleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXSetResourceShareHandleNV(dxObject: pointer; shareHandle: IntPtr): UInt32 := z_DXSetResourceShareHandleNV(dxObject, shareHandle); - - public z_DXOpenDeviceNV := GetGLFuncOrNil&('wglDXOpenDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXOpenDeviceNV(dxDevice: pointer): IntPtr := z_DXOpenDeviceNV(dxDevice); - - public z_DXCloseDeviceNV := GetGLFuncOrNil&('wglDXCloseDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXCloseDeviceNV(hDevice: IntPtr): UInt32 := z_DXCloseDeviceNV(hDevice); - - public z_DXRegisterObjectNV := GetGLFuncOrNil&('wglDXRegisterObjectNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXRegisterObjectNV(hDevice: IntPtr; dxObject: pointer; name: UInt32; &type: DummyEnum; access: DummyEnum): IntPtr := z_DXRegisterObjectNV(hDevice, dxObject, name, &type, access); - - public z_DXUnregisterObjectNV := GetGLFuncOrNil&('wglDXUnregisterObjectNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXUnregisterObjectNV(hDevice: IntPtr; hObject: IntPtr): UInt32 := z_DXUnregisterObjectNV(hDevice, hObject); - - public z_DXObjectAccessNV := GetGLFuncOrNil&('wglDXObjectAccessNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXObjectAccessNV(hObject: IntPtr; access: DummyEnum): UInt32 := z_DXObjectAccessNV(hObject, access); - - public z_DXLockObjectsNV := GetGLFuncOrNil&('wglDXLockObjectsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXLockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: array of IntPtr): UInt32 := DXLockObjectsNV(hDevice, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hObjects,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXLockObjectsNV(hDevice: IntPtr; count: Int32; var hObjects: IntPtr): UInt32 := DXLockObjectsNV(hDevice, count, @hObjects); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXLockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: pointer): UInt32 := z_DXLockObjectsNV(hDevice, count, hObjects); - - public z_DXUnlockObjectsNV := GetGLFuncOrNil&('wglDXUnlockObjectsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXUnlockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: array of IntPtr): UInt32 := DXUnlockObjectsNV(hDevice, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hObjects,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXUnlockObjectsNV(hDevice: IntPtr; count: Int32; var hObjects: IntPtr): UInt32 := DXUnlockObjectsNV(hDevice, count, @hObjects); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DXUnlockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: pointer): UInt32 := z_DXUnlockObjectsNV(hDevice, count, hObjects); - - {$endregion NV_DX_interop} - - {$region WGL_ARB_make_current_read} - - public z_MakeContextCurrentARB := GetGLFuncOrNil&('wglMakeContextCurrentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MakeContextCurrentARB(hDrawDC: GDI_DC; hReadDC: GDI_DC; hglrc: GLContext): UInt32 := z_MakeContextCurrentARB(hDrawDC, hReadDC, hglrc); - - public z_GetCurrentReadDCARB := GetGLFuncOrNil&('wglGetCurrentReadDCARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentReadDCARB: GDI_DC := z_GetCurrentReadDCARB; - - {$endregion WGL_ARB_make_current_read} - - {$region EXT_make_current_read} - - public z_MakeContextCurrentEXT := GetGLFuncOrNil&('wglMakeContextCurrentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MakeContextCurrentEXT(hDrawDC: GDI_DC; hReadDC: GDI_DC; hglrc: GLContext): UInt32 := z_MakeContextCurrentEXT(hDrawDC, hReadDC, hglrc); - - public z_GetCurrentReadDCEXT := GetGLFuncOrNil&('wglGetCurrentReadDCEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentReadDCEXT: GDI_DC := z_GetCurrentReadDCEXT; - - {$endregion EXT_make_current_read} - - {$region WGL_I3D_digital_video_control} - - public z_GetDigitalVideoParametersI3D := GetGLFuncOrNil&('wglGetDigitalVideoParametersI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := GetDigitalVideoParametersI3D(hDC, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := GetDigitalVideoParametersI3D(hDC, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: pointer): UInt32 := z_GetDigitalVideoParametersI3D(hDC, iAttribute, piValue); - - public z_SetDigitalVideoParametersI3D := GetGLFuncOrNil&('wglSetDigitalVideoParametersI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := SetDigitalVideoParametersI3D(hDC, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := SetDigitalVideoParametersI3D(hDC, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: pointer): UInt32 := z_SetDigitalVideoParametersI3D(hDC, iAttribute, piValue); - - {$endregion WGL_I3D_digital_video_control} - - {$region WGL_ARB_extensions_string} - - public z_GetExtensionsStringARB := GetGLFuncOrNil&('wglGetExtensionsStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetExtensionsStringARB_Str(hdc: GDI_DC): string := Marshal.PtrToStringAnsi(GetExtensionsStringARB(hdc)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetExtensionsStringARB(hdc: GDI_DC): IntPtr := z_GetExtensionsStringARB(hdc); - - {$endregion WGL_ARB_extensions_string} - - {$region EXT_extensions_string} - - public z_GetExtensionsStringEXT := GetGLFuncOrNil&('wglGetExtensionsStringEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetExtensionsStringEXT_Str: string := Marshal.PtrToStringAnsi(GetExtensionsStringEXT); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetExtensionsStringEXT: IntPtr := z_GetExtensionsStringEXT; - - {$endregion EXT_extensions_string} - - {$region WGL_I3D_gamma} - - public z_GetGammaTableParametersI3D := GetGLFuncOrNil&('wglGetGammaTableParametersI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := GetGammaTableParametersI3D(hDC, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := GetGammaTableParametersI3D(hDC, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: pointer): UInt32 := z_GetGammaTableParametersI3D(hDC, iAttribute, piValue); - - public z_SetGammaTableParametersI3D := GetGLFuncOrNil&('wglSetGammaTableParametersI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := SetGammaTableParametersI3D(hDC, iAttribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(piValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := SetGammaTableParametersI3D(hDC, iAttribute, @piValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: pointer): UInt32 := z_SetGammaTableParametersI3D(hDC, iAttribute, piValue); - - public z_GetGammaTableI3D := GetGLFuncOrNil&('wglGetGammaTableI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), @puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), @puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), @puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: pointer; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: pointer; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: pointer; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, @puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, @puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, @puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: pointer; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: pointer; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: pointer; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, @puRed, puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: array of UInt16; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, @puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; var puGreen: UInt16; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, @puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; var puGreen: UInt16; puBlue: pointer): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, @puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: pointer; puBlue: array of UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: pointer; var puBlue: UInt16): UInt32 := GetGammaTableI3D(hDC, iEntries, puRed, puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: pointer; puBlue: pointer): UInt32 := z_GetGammaTableI3D(hDC, iEntries, puRed, puGreen, puBlue); - - public z_SetGammaTableI3D := GetGLFuncOrNil&('wglSetGammaTableI3D'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), @puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), @puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), @puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: pointer; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: pointer; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: pointer; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puRed,0)), puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, @puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, @puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, @puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: pointer; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: pointer; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: pointer; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, @puRed, puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: array of UInt16; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puGreen,0)), puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, @puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; var puGreen: UInt16; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, @puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; var puGreen: UInt16; puBlue: pointer): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, @puGreen, puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: pointer; puBlue: array of UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, puGreen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(puBlue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: pointer; var puBlue: UInt16): UInt32 := SetGammaTableI3D(hDC, iEntries, puRed, puGreen, @puBlue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: pointer; puGreen: pointer; puBlue: pointer): UInt32 := z_SetGammaTableI3D(hDC, iEntries, puRed, puGreen, puBlue); - - {$endregion WGL_I3D_gamma} - - {$region OML_sync_control} - - public z_GetSyncValuesOML := GetGLFuncOrNil&('wglGetSyncValuesOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: array of Int64; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; var msc: Int64; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: pointer; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: pointer; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: pointer; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: array of Int64; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, @ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, @ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; var msc: Int64; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, @ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: pointer; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, @ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: pointer; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, @ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: pointer; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, @ust, msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; msc: array of Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; msc: array of Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; msc: array of Int64; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; var msc: Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; var msc: Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; var msc: Int64; sbc: pointer): UInt32 := GetSyncValuesOML(hdc, ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; msc: pointer; sbc: array of Int64): UInt32 := GetSyncValuesOML(hdc, ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; msc: pointer; var sbc: Int64): UInt32 := GetSyncValuesOML(hdc, ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(hdc: GDI_DC; ust: pointer; msc: pointer; sbc: pointer): UInt32 := z_GetSyncValuesOML(hdc, ust, msc, sbc); - - public z_GetMscRateOML := GetGLFuncOrNil&('wglGetMscRateOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; numerator: array of Int32; denominator: array of Int32): UInt32 := GetMscRateOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numerator,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(denominator,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; numerator: array of Int32; var denominator: Int32): UInt32 := GetMscRateOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numerator,0)), @denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; numerator: array of Int32; denominator: pointer): UInt32 := GetMscRateOML(hdc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numerator,0)), denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; var numerator: Int32; denominator: array of Int32): UInt32 := GetMscRateOML(hdc, @numerator, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(denominator,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; var numerator: Int32; var denominator: Int32): UInt32 := GetMscRateOML(hdc, @numerator, @denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; var numerator: Int32; denominator: pointer): UInt32 := GetMscRateOML(hdc, @numerator, denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; numerator: pointer; denominator: array of Int32): UInt32 := GetMscRateOML(hdc, numerator, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(denominator,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; numerator: pointer; var denominator: Int32): UInt32 := GetMscRateOML(hdc, numerator, @denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(hdc: GDI_DC; numerator: pointer; denominator: pointer): UInt32 := z_GetMscRateOML(hdc, numerator, denominator); - - public z_SwapBuffersMscOML := GetGLFuncOrNil&('wglSwapBuffersMscOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapBuffersMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64): Int64 := z_SwapBuffersMscOML(hdc, target_msc, divisor, remainder); - - public z_SwapLayerBuffersMscOML := GetGLFuncOrNil&('wglSwapLayerBuffersMscOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapLayerBuffersMscOML(hdc: GDI_DC; fuPlanes: Int32; target_msc: Int64; divisor: Int64; remainder: Int64): Int64 := z_SwapLayerBuffersMscOML(hdc, fuPlanes, target_msc, divisor, remainder); - - public z_WaitForMscOML := GetGLFuncOrNil&('wglWaitForMscOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: pointer; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: pointer; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, @ust, msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: array of Int64; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: array of Int64; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; var msc: Int64; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; var msc: Int64; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; var msc: Int64; sbc: pointer): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: pointer; sbc: array of Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: pointer; var sbc: Int64): UInt32 := WaitForMscOML(hdc, target_msc, divisor, remainder, ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: pointer; sbc: pointer): UInt32 := z_WaitForMscOML(hdc, target_msc, divisor, remainder, ust, msc, sbc); - - public z_WaitForSbcOML := GetGLFuncOrNil&('wglWaitForSbcOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: pointer; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: pointer; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, @ust, msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; msc: array of Int64; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; msc: array of Int64; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; var msc: Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; var msc: Int64; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; var msc: Int64; sbc: pointer): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; msc: pointer; sbc: array of Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; msc: pointer; var sbc: Int64): UInt32 := WaitForSbcOML(hdc, target_sbc, ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: pointer; msc: pointer; sbc: pointer): UInt32 := z_WaitForSbcOML(hdc, target_sbc, ust, msc, sbc); - - {$endregion OML_sync_control} - - {$region EXT_swap_control} - - public z_SwapIntervalEXT := GetGLFuncOrNil&('wglSwapIntervalEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapIntervalEXT(interval: Int32): UInt32 := z_SwapIntervalEXT(interval); - - public z_GetSwapIntervalEXT := GetGLFuncOrNil&('wglGetSwapIntervalEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSwapIntervalEXT: Int32 := z_GetSwapIntervalEXT; - - {$endregion EXT_swap_control} - - {$region WGL_3DL_stereo_control} - - public z_SetStereoEmitterState3DL := GetGLFuncOrNil&('wglSetStereoEmitterState3DL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SetStereoEmitterState3DL(hDC: GDI_DC; uState: UInt32): UInt32 := z_SetStereoEmitterState3DL(hDC, uState); - - {$endregion WGL_3DL_stereo_control} + public static z_GetProcAddress_ovr0 := _z_GetProcAddress_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetProcAddress(lpszProc: IntPtr): IntPtr := z_GetProcAddress_ovr0(lpszProc); + + // added in wgl1.0 + private static function _z_MakeCurrent_ovr0(hDc: GDI_DC; newContext: GLContext): UInt32; + external 'opengl32.dll' name 'wglMakeCurrent'; + public static z_MakeCurrent_ovr0 := _z_MakeCurrent_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function MakeCurrent(hDc: GDI_DC; newContext: GLContext): UInt32 := z_MakeCurrent_ovr0(hDc, newContext); + + // added in wgl1.0 + private static function _z_RealizeLayerPalette_ovr0(hdc: GDI_DC; iLayerPlane: Int32; bRealize: UInt32): UInt32; + external 'opengl32.dll' name 'wglRealizeLayerPalette'; + public static z_RealizeLayerPalette_ovr0 := _z_RealizeLayerPalette_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function RealizeLayerPalette(hdc: GDI_DC; iLayerPlane: Int32; bRealize: UInt32): UInt32 := z_RealizeLayerPalette_ovr0(hdc, iLayerPlane, bRealize); + + // added in wgl1.0 + private static function _z_SetLayerPaletteEntries_ovr0(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] pcr: array of GDI_COLORREF): Int32; + external 'opengl32.dll' name 'wglSetLayerPaletteEntries'; + public static z_SetLayerPaletteEntries_ovr0 := _z_SetLayerPaletteEntries_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: array of GDI_COLORREF): Int32 := z_SetLayerPaletteEntries_ovr0(hdc, iLayerPlane, iStart, cEntries, pcr); + private static function _z_SetLayerPaletteEntries_ovr1(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; var pcr: GDI_COLORREF): Int32; + external 'opengl32.dll' name 'wglSetLayerPaletteEntries'; + public static z_SetLayerPaletteEntries_ovr1 := _z_SetLayerPaletteEntries_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; var pcr: GDI_COLORREF): Int32 := z_SetLayerPaletteEntries_ovr1(hdc, iLayerPlane, iStart, cEntries, pcr); + private static function _z_SetLayerPaletteEntries_ovr2(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: IntPtr): Int32; + external 'opengl32.dll' name 'wglSetLayerPaletteEntries'; + public static z_SetLayerPaletteEntries_ovr2 := _z_SetLayerPaletteEntries_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetLayerPaletteEntries(hdc: GDI_DC; iLayerPlane: Int32; iStart: Int32; cEntries: Int32; pcr: IntPtr): Int32 := z_SetLayerPaletteEntries_ovr2(hdc, iLayerPlane, iStart, cEntries, pcr); + + // added in wgl1.0 + private static function _z_ShareLists_ovr0(hrcSrvShare: GLContext; hrcSrvSource: GLContext): UInt32; + external 'opengl32.dll' name 'wglShareLists'; + public static z_ShareLists_ovr0 := _z_ShareLists_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ShareLists(hrcSrvShare: GLContext; hrcSrvSource: GLContext): UInt32 := z_ShareLists_ovr0(hrcSrvShare, hrcSrvSource); + + // added in wgl1.0 + private static function _z_SwapLayerBuffers_ovr0(hdc: GDI_DC; fuFlags: UInt32): UInt32; + external 'opengl32.dll' name 'wglSwapLayerBuffers'; + public static z_SwapLayerBuffers_ovr0 := _z_SwapLayerBuffers_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SwapLayerBuffers(hdc: GDI_DC; fuFlags: UInt32): UInt32 := z_SwapLayerBuffers_ovr0(hdc, fuFlags); + + // added in wgl1.0 + private static function _z_UseFontBitmaps_ovr0(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32; + external 'opengl32.dll' name 'wglUseFontBitmaps'; + public static z_UseFontBitmaps_ovr0 := _z_UseFontBitmaps_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontBitmaps(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32 := z_UseFontBitmaps_ovr0(hDC, first, count, listBase); + + // added in wgl1.0 + private static function _z_UseFontBitmapsA_ovr0(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32; + external 'opengl32.dll' name 'wglUseFontBitmapsA'; + public static z_UseFontBitmapsA_ovr0 := _z_UseFontBitmapsA_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontBitmapsA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32 := z_UseFontBitmapsA_ovr0(hDC, first, count, listBase); + + // added in wgl1.0 + private static function _z_UseFontBitmapsW_ovr0(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32; + external 'opengl32.dll' name 'wglUseFontBitmapsW'; + public static z_UseFontBitmapsW_ovr0 := _z_UseFontBitmapsW_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontBitmapsW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32): UInt32 := z_UseFontBitmapsW_ovr0(hDC, first, count, listBase); + + // added in wgl1.0 + private static function _z_UseFontOutlines_ovr0(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; [MarshalAs(UnmanagedType.LPArray)] lpgmf: array of GDI_GlyphmetricsFloat): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlines'; + public static z_UseFontOutlines_ovr0 := _z_UseFontOutlines_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlines(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: array of GDI_GlyphmetricsFloat): UInt32 := z_UseFontOutlines_ovr0(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + private static function _z_UseFontOutlines_ovr1(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlines'; + public static z_UseFontOutlines_ovr1 := _z_UseFontOutlines_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlines(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32 := z_UseFontOutlines_ovr1(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + private static function _z_UseFontOutlines_ovr2(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: IntPtr): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlines'; + public static z_UseFontOutlines_ovr2 := _z_UseFontOutlines_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlines(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: IntPtr): UInt32 := z_UseFontOutlines_ovr2(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + + // added in wgl1.0 + private static function _z_UseFontOutlinesA_ovr0(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; [MarshalAs(UnmanagedType.LPArray)] lpgmf: array of GDI_GlyphmetricsFloat): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlinesA'; + public static z_UseFontOutlinesA_ovr0 := _z_UseFontOutlinesA_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlinesA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: array of GDI_GlyphmetricsFloat): UInt32 := z_UseFontOutlinesA_ovr0(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + private static function _z_UseFontOutlinesA_ovr1(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlinesA'; + public static z_UseFontOutlinesA_ovr1 := _z_UseFontOutlinesA_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlinesA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32 := z_UseFontOutlinesA_ovr1(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + private static function _z_UseFontOutlinesA_ovr2(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: IntPtr): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlinesA'; + public static z_UseFontOutlinesA_ovr2 := _z_UseFontOutlinesA_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlinesA(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: IntPtr): UInt32 := z_UseFontOutlinesA_ovr2(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + + // added in wgl1.0 + private static function _z_UseFontOutlinesW_ovr0(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; [MarshalAs(UnmanagedType.LPArray)] lpgmf: array of GDI_GlyphmetricsFloat): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlinesW'; + public static z_UseFontOutlinesW_ovr0 := _z_UseFontOutlinesW_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlinesW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: array of GDI_GlyphmetricsFloat): UInt32 := z_UseFontOutlinesW_ovr0(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + private static function _z_UseFontOutlinesW_ovr1(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlinesW'; + public static z_UseFontOutlinesW_ovr1 := _z_UseFontOutlinesW_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlinesW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; var lpgmf: GDI_GlyphmetricsFloat): UInt32 := z_UseFontOutlinesW_ovr1(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); + private static function _z_UseFontOutlinesW_ovr2(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: IntPtr): UInt32; + external 'opengl32.dll' name 'wglUseFontOutlinesW'; + public static z_UseFontOutlinesW_ovr2 := _z_UseFontOutlinesW_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function UseFontOutlinesW(hDC: GDI_DC; first: UInt32; count: UInt32; listBase: UInt32; deviation: single; extrusion: single; format: Int32; lpgmf: IntPtr): UInt32 := z_UseFontOutlinesW_ovr2(hDC, first, count, listBase, deviation, extrusion, format, lpgmf); end; - egl = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; - external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; + gdi = static class - {$region KHR_fence_sync} + private static function _z_ChoosePixelFormat_ovr0(hDc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pPfd: array of GDI_PixelFormatDescriptor): Int32; + external 'gdi32.dll' name 'ChoosePixelFormat'; + public static z_ChoosePixelFormat_ovr0 := _z_ChoosePixelFormat_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormat(hDc: GDI_DC; pPfd: array of GDI_PixelFormatDescriptor): Int32 := z_ChoosePixelFormat_ovr0(hDc, pPfd); + private static function _z_ChoosePixelFormat_ovr1(hDc: GDI_DC; var pPfd: GDI_PixelFormatDescriptor): Int32; + external 'gdi32.dll' name 'ChoosePixelFormat'; + public static z_ChoosePixelFormat_ovr1 := _z_ChoosePixelFormat_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormat(hDc: GDI_DC; var pPfd: GDI_PixelFormatDescriptor): Int32 := z_ChoosePixelFormat_ovr1(hDc, pPfd); + private static function _z_ChoosePixelFormat_ovr2(hDc: GDI_DC; pPfd: IntPtr): Int32; + external 'gdi32.dll' name 'ChoosePixelFormat'; + public static z_ChoosePixelFormat_ovr2 := _z_ChoosePixelFormat_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormat(hDc: GDI_DC; pPfd: IntPtr): Int32 := z_ChoosePixelFormat_ovr2(hDc, pPfd); - public z_CreateSyncKHR := GetGLFuncOrNil&('eglCreateSyncKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncKHR(dpy: EGLDisplay; &type: DummyEnum; attrib_list: array of Int32): EGLsync := CreateSyncKHR(dpy, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncKHR(dpy: EGLDisplay; &type: DummyEnum; var attrib_list: Int32): EGLsync := CreateSyncKHR(dpy, &type, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncKHR(dpy: EGLDisplay; &type: DummyEnum; attrib_list: pointer): EGLsync := z_CreateSyncKHR(dpy, &type, attrib_list); + private static function _z_DescribePixelFormat_ovr0(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; [MarshalAs(UnmanagedType.LPArray)] ppfd: array of GDI_PixelFormatDescriptor): Int32; + external 'gdi32.dll' name 'DescribePixelFormat'; + public static z_DescribePixelFormat_ovr0 := _z_DescribePixelFormat_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; ppfd: array of GDI_PixelFormatDescriptor): Int32 := z_DescribePixelFormat_ovr0(hdc, ipfd, cjpfd, ppfd); + private static function _z_DescribePixelFormat_ovr1(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; var ppfd: GDI_PixelFormatDescriptor): Int32; + external 'gdi32.dll' name 'DescribePixelFormat'; + public static z_DescribePixelFormat_ovr1 := _z_DescribePixelFormat_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; var ppfd: GDI_PixelFormatDescriptor): Int32 := z_DescribePixelFormat_ovr1(hdc, ipfd, cjpfd, ppfd); + private static function _z_DescribePixelFormat_ovr2(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; ppfd: IntPtr): Int32; + external 'gdi32.dll' name 'DescribePixelFormat'; + public static z_DescribePixelFormat_ovr2 := _z_DescribePixelFormat_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; ppfd: IntPtr): Int32 := z_DescribePixelFormat_ovr2(hdc, ipfd, cjpfd, ppfd); - public z_DestroySyncKHR := GetGLFuncOrNil&('eglDestroySyncKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DestroySyncKHR(dpy: EGLDisplay; sync: EGLsync): UInt32 := z_DestroySyncKHR(dpy, sync); + private static function _z_GetEnhMetaFilePixelFormat_ovr0(hemf: GDI_HENHMetafile; [MarshalAs(UnmanagedType.LPArray)] ppfd: array of GDI_PixelFormatDescriptor): UInt32; + external 'gdi32.dll' name 'GetEnhMetaFilePixelFormat'; + public static z_GetEnhMetaFilePixelFormat_ovr0 := _z_GetEnhMetaFilePixelFormat_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; ppfd: array of GDI_PixelFormatDescriptor): UInt32 := z_GetEnhMetaFilePixelFormat_ovr0(hemf, ppfd); + private static function _z_GetEnhMetaFilePixelFormat_ovr1(hemf: GDI_HENHMetafile; var ppfd: GDI_PixelFormatDescriptor): UInt32; + external 'gdi32.dll' name 'GetEnhMetaFilePixelFormat'; + public static z_GetEnhMetaFilePixelFormat_ovr1 := _z_GetEnhMetaFilePixelFormat_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; var ppfd: GDI_PixelFormatDescriptor): UInt32 := z_GetEnhMetaFilePixelFormat_ovr1(hemf, ppfd); + private static function _z_GetEnhMetaFilePixelFormat_ovr2(hemf: GDI_HENHMetafile; ppfd: IntPtr): UInt32; + external 'gdi32.dll' name 'GetEnhMetaFilePixelFormat'; + public static z_GetEnhMetaFilePixelFormat_ovr2 := _z_GetEnhMetaFilePixelFormat_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; ppfd: IntPtr): UInt32 := z_GetEnhMetaFilePixelFormat_ovr2(hemf, ppfd); - public z_ClientWaitSyncKHR := GetGLFuncOrNil&('eglClientWaitSyncKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ClientWaitSyncKHR(dpy: EGLDisplay; sync: EGLsync; flags: Int32; timeout: TimeSpan): Int32 := z_ClientWaitSyncKHR(dpy, sync, flags, timeout); + private static function _z_GetPixelFormat_ovr0(hdc: GDI_DC): Int32; + external 'gdi32.dll' name 'GetPixelFormat'; + public static z_GetPixelFormat_ovr0 := _z_GetPixelFormat_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormat(hdc: GDI_DC): Int32 := z_GetPixelFormat_ovr0(hdc); - public z_GetSyncAttribKHR := GetGLFuncOrNil&('eglGetSyncAttribKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncAttribKHR(dpy: EGLDisplay; sync: EGLsync; attribute: Int32; value: array of Int32): UInt32 := GetSyncAttribKHR(dpy, sync, attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncAttribKHR(dpy: EGLDisplay; sync: EGLsync; attribute: Int32; var value: Int32): UInt32 := GetSyncAttribKHR(dpy, sync, attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncAttribKHR(dpy: EGLDisplay; sync: EGLsync; attribute: Int32; value: pointer): UInt32 := z_GetSyncAttribKHR(dpy, sync, attribute, value); + private static function _z_SetPixelFormat_ovr0(hdc: GDI_DC; ipfd: Int32; [MarshalAs(UnmanagedType.LPArray)] ppfd: array of GDI_PixelFormatDescriptor): UInt32; + external 'gdi32.dll' name 'SetPixelFormat'; + public static z_SetPixelFormat_ovr0 := _z_SetPixelFormat_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPixelFormat(hdc: GDI_DC; ipfd: Int32; ppfd: array of GDI_PixelFormatDescriptor): UInt32 := z_SetPixelFormat_ovr0(hdc, ipfd, ppfd); + private static function _z_SetPixelFormat_ovr1(hdc: GDI_DC; ipfd: Int32; var ppfd: GDI_PixelFormatDescriptor): UInt32; + external 'gdi32.dll' name 'SetPixelFormat'; + public static z_SetPixelFormat_ovr1 := _z_SetPixelFormat_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPixelFormat(hdc: GDI_DC; ipfd: Int32; var ppfd: GDI_PixelFormatDescriptor): UInt32 := z_SetPixelFormat_ovr1(hdc, ipfd, ppfd); + private static function _z_SetPixelFormat_ovr2(hdc: GDI_DC; ipfd: Int32; ppfd: IntPtr): UInt32; + external 'gdi32.dll' name 'SetPixelFormat'; + public static z_SetPixelFormat_ovr2 := _z_SetPixelFormat_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPixelFormat(hdc: GDI_DC; ipfd: Int32; ppfd: IntPtr): UInt32 := z_SetPixelFormat_ovr2(hdc, ipfd, ppfd); - {$endregion KHR_fence_sync} + private static function _z_SwapBuffers_ovr0(hdc: GDI_DC): UInt32; + external 'gdi32.dll' name 'SwapBuffers'; + public static z_SwapBuffers_ovr0 := _z_SwapBuffers_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SwapBuffers(hdc: GDI_DC): UInt32 := z_SwapBuffers_ovr0(hdc); end; - glu = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + {region Extensions} + + glTbuffer3DFX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TbufferMask3DFX_adr := GetFuncAdr('glTbufferMask3DFX'); + public z_TbufferMask3DFX_ovr_0 := GetFuncOrNil&(z_TbufferMask3DFX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TbufferMask3DFX(mask: UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_TbufferMask3DFX_ovr_0(mask); end; - {$region EXT_nurbs_tessellator} - - public z_NurbsCallbackDataEXT := GetGLFuncOrNil&('gluNurbsCallbackDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NurbsCallbackDataEXT(theNurb: array of GLUnurbs; userData: pointer) := NurbsCallbackDataEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(theNurb,0)), userData); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NurbsCallbackDataEXT(var theNurb: GLUnurbs; userData: pointer) := NurbsCallbackDataEXT(@theNurb, userData); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NurbsCallbackDataEXT(theNurb: pointer; userData: pointer) := z_NurbsCallbackDataEXT(theNurb, userData); - - {$endregion EXT_nurbs_tessellator} - end; - glX = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glDebugOutputAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DebugMessageEnableAMD_adr := GetFuncAdr('glDebugMessageEnableAMD'); + public z_DebugMessageEnableAMD_ovr_0 := GetFuncOrNil&(z_DebugMessageEnableAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageEnableAMD(category: DummyEnum; severity: DebugSeverity; count: Int32; ids: array of UInt32; enabled: boolean); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_DebugMessageEnableAMD_ovr_0(category, severity, count, ids[0], enabled); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageEnableAMD(category: DummyEnum; severity: DebugSeverity; count: Int32; var ids: UInt32; enabled: boolean); + begin + z_DebugMessageEnableAMD_ovr_0(category, severity, count, ids, enabled); + end; + public z_DebugMessageEnableAMD_ovr_2 := GetFuncOrNil&(z_DebugMessageEnableAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageEnableAMD(category: DummyEnum; severity: DebugSeverity; count: Int32; ids: IntPtr; enabled: boolean); + begin + z_DebugMessageEnableAMD_ovr_2(category, severity, count, ids, enabled); end; - {$region NV_video_capture} - - public z_BeginVideoCaptureNV := GetGLFuncOrNil&('glBeginVideoCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginVideoCaptureNV(video_capture_slot: UInt32) := z_BeginVideoCaptureNV(video_capture_slot); - - public z_BindVideoCaptureStreamBufferNV := GetGLFuncOrNil&('glBindVideoCaptureStreamBufferNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVideoCaptureStreamBufferNV(video_capture_slot: UInt32; stream: UInt32; frame_region: DummyEnum; offset: IntPtr) := z_BindVideoCaptureStreamBufferNV(video_capture_slot, stream, frame_region, offset); - - public z_BindVideoCaptureStreamTextureNV := GetGLFuncOrNil&('glBindVideoCaptureStreamTextureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVideoCaptureStreamTextureNV(video_capture_slot: UInt32; stream: UInt32; frame_region: DummyEnum; target: DummyEnum; texture: UInt32) := z_BindVideoCaptureStreamTextureNV(video_capture_slot, stream, frame_region, target, texture); - - public z_EndVideoCaptureNV := GetGLFuncOrNil&('glEndVideoCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndVideoCaptureNV(video_capture_slot: UInt32) := z_EndVideoCaptureNV(video_capture_slot); - - public z_GetVideoCaptureivNV := GetGLFuncOrNil&('glGetVideoCaptureivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVideoCaptureivNV(video_capture_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVideoCaptureivNV(video_capture_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureivNV(video_capture_slot, pname, ¶ms); - - public z_GetVideoCaptureStreamivNV := GetGLFuncOrNil&('glGetVideoCaptureStreamivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVideoCaptureStreamivNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVideoCaptureStreamivNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureStreamivNV(video_capture_slot, stream, pname, ¶ms); - - public z_GetVideoCaptureStreamfvNV := GetGLFuncOrNil&('glGetVideoCaptureStreamfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of single) := GetVideoCaptureStreamfvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: single) := GetVideoCaptureStreamfvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureStreamfvNV(video_capture_slot, stream, pname, ¶ms); - - public z_GetVideoCaptureStreamdvNV := GetGLFuncOrNil&('glGetVideoCaptureStreamdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of double) := GetVideoCaptureStreamdvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: double) := GetVideoCaptureStreamdvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoCaptureStreamdvNV(video_capture_slot, stream, pname, ¶ms); - - public z_VideoCaptureNV := GetGLFuncOrNil&('glVideoCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; capture_time: array of UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sequence_num,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(capture_time,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; var capture_time: UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sequence_num,0)), @capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; capture_time: pointer): DummyEnum := VideoCaptureNV(video_capture_slot, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sequence_num,0)), capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; capture_time: array of UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, @sequence_num, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(capture_time,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; var capture_time: UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, @sequence_num, @capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; capture_time: pointer): DummyEnum := VideoCaptureNV(video_capture_slot, @sequence_num, capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: pointer; capture_time: array of UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, sequence_num, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(capture_time,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: pointer; var capture_time: UInt64): DummyEnum := VideoCaptureNV(video_capture_slot, sequence_num, @capture_time); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: pointer; capture_time: pointer): DummyEnum := z_VideoCaptureNV(video_capture_slot, sequence_num, capture_time); - - public z_VideoCaptureStreamParameterivNV := GetGLFuncOrNil&('glVideoCaptureStreamParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of Int32) := VideoCaptureStreamParameterivNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: Int32) := VideoCaptureStreamParameterivNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_VideoCaptureStreamParameterivNV(video_capture_slot, stream, pname, ¶ms); - - public z_VideoCaptureStreamParameterfvNV := GetGLFuncOrNil&('glVideoCaptureStreamParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of single) := VideoCaptureStreamParameterfvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: single) := VideoCaptureStreamParameterfvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_VideoCaptureStreamParameterfvNV(video_capture_slot, stream, pname, ¶ms); - - public z_VideoCaptureStreamParameterdvNV := GetGLFuncOrNil&('glVideoCaptureStreamParameterdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of double) := VideoCaptureStreamParameterdvNV(video_capture_slot, stream, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: double) := VideoCaptureStreamParameterdvNV(video_capture_slot, stream, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: pointer) := z_VideoCaptureStreamParameterdvNV(video_capture_slot, stream, pname, ¶ms); - - public z_BindVideoCaptureDeviceNV := GetGLFuncOrNil&('glXBindVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoCaptureDeviceNV(dpy: PDisplay; video_capture_slot: UInt32; device: GLXVideoCaptureDeviceNV): Int32 := z_BindVideoCaptureDeviceNV(dpy, video_capture_slot, device); - - public z_EnumerateVideoCaptureDevicesNV := GetGLFuncOrNil&('glXEnumerateVideoCaptureDevicesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoCaptureDevicesNV(dpy: PDisplay; screen: Int32; nelements: array of Int32): pointer := EnumerateVideoCaptureDevicesNV(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nelements,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoCaptureDevicesNV(dpy: PDisplay; screen: Int32; var nelements: Int32): pointer := EnumerateVideoCaptureDevicesNV(dpy, screen, @nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoCaptureDevicesNV(dpy: PDisplay; screen: Int32; nelements: pointer): pointer := z_EnumerateVideoCaptureDevicesNV(dpy, screen, nelements); - - public z_LockVideoCaptureDeviceNV := GetGLFuncOrNil&('glXLockVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LockVideoCaptureDeviceNV(dpy: PDisplay; device: GLXVideoCaptureDeviceNV) := z_LockVideoCaptureDeviceNV(dpy, device); - - public z_QueryVideoCaptureDeviceNV := GetGLFuncOrNil&('glXQueryVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryVideoCaptureDeviceNV(dpy: PDisplay; device: GLXVideoCaptureDeviceNV; attribute: Int32; value: array of Int32): Int32 := QueryVideoCaptureDeviceNV(dpy, device, attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryVideoCaptureDeviceNV(dpy: PDisplay; device: GLXVideoCaptureDeviceNV; attribute: Int32; var value: Int32): Int32 := QueryVideoCaptureDeviceNV(dpy, device, attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryVideoCaptureDeviceNV(dpy: PDisplay; device: GLXVideoCaptureDeviceNV; attribute: Int32; value: pointer): Int32 := z_QueryVideoCaptureDeviceNV(dpy, device, attribute, value); - - public z_ReleaseVideoCaptureDeviceNV := GetGLFuncOrNil&('glXReleaseVideoCaptureDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReleaseVideoCaptureDeviceNV(dpy: PDisplay; device: GLXVideoCaptureDeviceNV) := z_ReleaseVideoCaptureDeviceNV(dpy, device); - - {$endregion NV_video_capture} - - {$region SGIX_video_resize} - - public z_BindChannelToWindowSGIX := GetGLFuncOrNil&('glXBindChannelToWindowSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindChannelToWindowSGIX(display: PDisplay; screen: Int32; channel: Int32; window: GLXWindow): Int32 := z_BindChannelToWindowSGIX(display, screen, channel, window); - - public z_ChannelRectSGIX := GetGLFuncOrNil&('glXChannelRectSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; x: Int32; y: Int32; w: Int32; h: Int32): Int32 := z_ChannelRectSGIX(display, screen, channel, x, y, w, h); - - public z_QueryChannelRectSGIX := GetGLFuncOrNil&('glXQueryChannelRectSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: array of Int32; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; var dy: Int32; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), @dy, dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: array of Int32; dy: pointer; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dx,0)), dy, dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: array of Int32; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; var dy: Int32; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, @dy, dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; var dx: Int32; dy: pointer; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, @dx, dy, dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: array of Int32; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dy,0)), dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; var dy: Int32; dw: pointer; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, @dy, dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; dw: array of Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; dw: array of Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; dw: array of Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dw,0)), dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; var dw: Int32; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, @dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; var dw: Int32; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, @dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; var dw: Int32; dh: pointer): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, @dw, dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; dw: pointer; dh: array of Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, dw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dh,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; dw: pointer; var dh: Int32): Int32 := QueryChannelRectSGIX(display, screen, channel, dx, dy, dw, @dh); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelRectSGIX(display: PDisplay; screen: Int32; channel: Int32; dx: pointer; dy: pointer; dw: pointer; dh: pointer): Int32 := z_QueryChannelRectSGIX(display, screen, channel, dx, dy, dw, dh); - - public z_QueryChannelDeltasSGIX := GetGLFuncOrNil&('glXQueryChannelDeltasSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: array of Int32; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; var y: Int32; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: array of Int32; y: pointer; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: array of Int32; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; var y: Int32; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, @y, w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; var x: Int32; y: pointer; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, @x, y, w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: array of Int32; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; var y: Int32; w: pointer; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, @y, w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; w: array of Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; w: array of Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; w: array of Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(w,0)), h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; var w: Int32; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, @w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; var w: Int32; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, @w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; var w: Int32; h: pointer): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, @w, h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; w: pointer; h: array of Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, w, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(h,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; w: pointer; var h: Int32): Int32 := QueryChannelDeltasSGIX(display, screen, channel, x, y, w, @h); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryChannelDeltasSGIX(display: PDisplay; screen: Int32; channel: Int32; x: pointer; y: pointer; w: pointer; h: pointer): Int32 := z_QueryChannelDeltasSGIX(display, screen, channel, x, y, w, h); - - public z_ChannelRectSyncSGIX := GetGLFuncOrNil&('glXChannelRectSyncSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChannelRectSyncSGIX(display: PDisplay; screen: Int32; channel: Int32; synctype: DummyEnum): Int32 := z_ChannelRectSyncSGIX(display, screen, channel, synctype); - - {$endregion SGIX_video_resize} - - {$region SGIX_hyperpipe} - - public z_QueryHyperpipeNetworkSGIX := GetGLFuncOrNil&('glXQueryHyperpipeNetworkSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeNetworkSGIX(dpy: PDisplay; npipes: array of Int32): pointer := QueryHyperpipeNetworkSGIX(dpy, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(npipes,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeNetworkSGIX(dpy: PDisplay; var npipes: Int32): pointer := QueryHyperpipeNetworkSGIX(dpy, @npipes); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeNetworkSGIX(dpy: PDisplay; npipes: pointer): pointer := z_QueryHyperpipeNetworkSGIX(dpy, npipes); - - public z_HyperpipeConfigSGIX := GetGLFuncOrNil&('glXHyperpipeConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; cfg: array of GLXHyperpipeConfigDataSGIX; hpId: array of Int32): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(cfg,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hpId,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; cfg: array of GLXHyperpipeConfigDataSGIX; var hpId: Int32): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(cfg,0)), @hpId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; cfg: array of GLXHyperpipeConfigDataSGIX; hpId: pointer): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(cfg,0)), hpId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; var cfg: GLXHyperpipeConfigDataSGIX; hpId: array of Int32): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, @cfg, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hpId,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; var cfg: GLXHyperpipeConfigDataSGIX; var hpId: Int32): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, @cfg, @hpId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; var cfg: GLXHyperpipeConfigDataSGIX; hpId: pointer): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, @cfg, hpId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; cfg: pointer; hpId: array of Int32): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(hpId,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; cfg: pointer; var hpId: Int32): Int32 := HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, @hpId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeConfigSGIX(dpy: PDisplay; networkId: Int32; npipes: Int32; cfg: pointer; hpId: pointer): Int32 := z_HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, hpId); - - public z_QueryHyperpipeConfigSGIX := GetGLFuncOrNil&('glXQueryHyperpipeConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeConfigSGIX(dpy: PDisplay; hpId: Int32; npipes: array of Int32): pointer := QueryHyperpipeConfigSGIX(dpy, hpId, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(npipes,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeConfigSGIX(dpy: PDisplay; hpId: Int32; var npipes: Int32): pointer := QueryHyperpipeConfigSGIX(dpy, hpId, @npipes); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeConfigSGIX(dpy: PDisplay; hpId: Int32; npipes: pointer): pointer := z_QueryHyperpipeConfigSGIX(dpy, hpId, npipes); - - public z_DestroyHyperpipeConfigSGIX := GetGLFuncOrNil&('glXDestroyHyperpipeConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DestroyHyperpipeConfigSGIX(dpy: PDisplay; hpId: Int32): Int32 := z_DestroyHyperpipeConfigSGIX(dpy, hpId); - - public z_BindHyperpipeSGIX := GetGLFuncOrNil&('glXBindHyperpipeSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindHyperpipeSGIX(dpy: PDisplay; hpId: Int32): Int32 := z_BindHyperpipeSGIX(dpy, hpId); - - public z_QueryHyperpipeBestAttribSGIX := GetGLFuncOrNil&('glXQueryHyperpipeBestAttribSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeBestAttribSGIX(dpy: PDisplay; timeSlice: Int32; attrib: Int32; size: Int32; attribList: pointer; returnAttribList: pointer): Int32 := z_QueryHyperpipeBestAttribSGIX(dpy, timeSlice, attrib, size, attribList, returnAttribList); - - public z_HyperpipeAttribSGIX := GetGLFuncOrNil&('glXHyperpipeAttribSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function HyperpipeAttribSGIX(dpy: PDisplay; timeSlice: Int32; attrib: Int32; size: Int32; attribList: pointer): Int32 := z_HyperpipeAttribSGIX(dpy, timeSlice, attrib, size, attribList); - - public z_QueryHyperpipeAttribSGIX := GetGLFuncOrNil&('glXQueryHyperpipeAttribSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryHyperpipeAttribSGIX(dpy: PDisplay; timeSlice: Int32; attrib: Int32; size: Int32; returnAttribList: pointer): Int32 := z_QueryHyperpipeAttribSGIX(dpy, timeSlice, attrib, size, returnAttribList); - - {$endregion SGIX_hyperpipe} - - {$region NV_swap_group} - - public z_JoinSwapGroupNV := GetGLFuncOrNil&('glXJoinSwapGroupNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function JoinSwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: UInt32): UInt32 := z_JoinSwapGroupNV(dpy, drawable, group); - - public z_BindSwapBarrierNV := GetGLFuncOrNil&('glXBindSwapBarrierNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindSwapBarrierNV(dpy: PDisplay; group: UInt32; barrier: UInt32): UInt32 := z_BindSwapBarrierNV(dpy, group, barrier); - - public z_QuerySwapGroupNV := GetGLFuncOrNil&('glXQuerySwapGroupNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: array of UInt32; barrier: array of UInt32): UInt32 := QuerySwapGroupNV(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(group,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(barrier,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: array of UInt32; var barrier: UInt32): UInt32 := QuerySwapGroupNV(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(group,0)), @barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: array of UInt32; barrier: pointer): UInt32 := QuerySwapGroupNV(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(group,0)), barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; var group: UInt32; barrier: array of UInt32): UInt32 := QuerySwapGroupNV(dpy, drawable, @group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(barrier,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; var group: UInt32; var barrier: UInt32): UInt32 := QuerySwapGroupNV(dpy, drawable, @group, @barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; var group: UInt32; barrier: pointer): UInt32 := QuerySwapGroupNV(dpy, drawable, @group, barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: pointer; barrier: array of UInt32): UInt32 := QuerySwapGroupNV(dpy, drawable, group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(barrier,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: pointer; var barrier: UInt32): UInt32 := QuerySwapGroupNV(dpy, drawable, group, @barrier); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QuerySwapGroupNV(dpy: PDisplay; drawable: GLXDrawable; group: pointer; barrier: pointer): UInt32 := z_QuerySwapGroupNV(dpy, drawable, group, barrier); - - public z_QueryMaxSwapGroupsNV := GetGLFuncOrNil&('glXQueryMaxSwapGroupsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; maxGroups: array of UInt32; maxBarriers: array of UInt32): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxGroups,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxBarriers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; maxGroups: array of UInt32; var maxBarriers: UInt32): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxGroups,0)), @maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; maxGroups: array of UInt32; maxBarriers: pointer): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxGroups,0)), maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; var maxGroups: UInt32; maxBarriers: array of UInt32): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, @maxGroups, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxBarriers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; var maxGroups: UInt32; var maxBarriers: UInt32): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, @maxGroups, @maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; var maxGroups: UInt32; maxBarriers: pointer): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, @maxGroups, maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; maxGroups: pointer; maxBarriers: array of UInt32): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, maxGroups, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxBarriers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; maxGroups: pointer; var maxBarriers: UInt32): UInt32 := QueryMaxSwapGroupsNV(dpy, screen, maxGroups, @maxBarriers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapGroupsNV(dpy: PDisplay; screen: Int32; maxGroups: pointer; maxBarriers: pointer): UInt32 := z_QueryMaxSwapGroupsNV(dpy, screen, maxGroups, maxBarriers); - - public z_QueryFrameCountNV := GetGLFuncOrNil&('glXQueryFrameCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameCountNV(dpy: PDisplay; screen: Int32; count: array of UInt32): UInt32 := QueryFrameCountNV(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameCountNV(dpy: PDisplay; screen: Int32; var count: UInt32): UInt32 := QueryFrameCountNV(dpy, screen, @count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryFrameCountNV(dpy: PDisplay; screen: Int32; count: pointer): UInt32 := z_QueryFrameCountNV(dpy, screen, count); - - public z_ResetFrameCountNV := GetGLFuncOrNil&('glXResetFrameCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ResetFrameCountNV(dpy: PDisplay; screen: Int32): UInt32 := z_ResetFrameCountNV(dpy, screen); - - {$endregion NV_swap_group} - - {$region SGIX_swap_barrier} - - public z_BindSwapBarrierSGIX := GetGLFuncOrNil&('glXBindSwapBarrierSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindSwapBarrierSGIX(dpy: PDisplay; drawable: GLXDrawable; barrier: Int32) := z_BindSwapBarrierSGIX(dpy, drawable, barrier); - - public z_QueryMaxSwapBarriersSGIX := GetGLFuncOrNil&('glXQueryMaxSwapBarriersSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapBarriersSGIX(dpy: PDisplay; screen: Int32; max: array of Int32): UInt32 := QueryMaxSwapBarriersSGIX(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(max,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapBarriersSGIX(dpy: PDisplay; screen: Int32; var max: Int32): UInt32 := QueryMaxSwapBarriersSGIX(dpy, screen, @max); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMaxSwapBarriersSGIX(dpy: PDisplay; screen: Int32; max: pointer): UInt32 := z_QueryMaxSwapBarriersSGIX(dpy, screen, max); - - {$endregion SGIX_swap_barrier} - - {$region EXT_texture_from_pixmap} - - public z_BindTexImageEXT := GetGLFuncOrNil&('glXBindTexImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTexImageEXT(dpy: PDisplay; drawable: GLXDrawable; buffer: Int32; attrib_list: array of Int32) := BindTexImageEXT(dpy, drawable, buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTexImageEXT(dpy: PDisplay; drawable: GLXDrawable; buffer: Int32; var attrib_list: Int32) := BindTexImageEXT(dpy, drawable, buffer, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTexImageEXT(dpy: PDisplay; drawable: GLXDrawable; buffer: Int32; attrib_list: pointer) := z_BindTexImageEXT(dpy, drawable, buffer, attrib_list); - - public z_ReleaseTexImageEXT := GetGLFuncOrNil&('glXReleaseTexImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReleaseTexImageEXT(dpy: PDisplay; drawable: GLXDrawable; buffer: Int32) := z_ReleaseTexImageEXT(dpy, drawable, buffer); - - {$endregion EXT_texture_from_pixmap} - - {$region NV_present_video} - - public z_PresentFrameKeyedNV := GetGLFuncOrNil&('glPresentFrameKeyedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PresentFrameKeyedNV(video_slot: UInt32; minPresentTime: UInt64; beginPresentTimeId: UInt32; presentDurationId: UInt32; &type: DummyEnum; target0: DummyEnum; fill0: UInt32; key0: UInt32; target1: DummyEnum; fill1: UInt32; key1: UInt32) := z_PresentFrameKeyedNV(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, &type, target0, fill0, key0, target1, fill1, key1); - - public z_PresentFrameDualFillNV := GetGLFuncOrNil&('glPresentFrameDualFillNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PresentFrameDualFillNV(video_slot: UInt32; minPresentTime: UInt64; beginPresentTimeId: UInt32; presentDurationId: UInt32; &type: DummyEnum; target0: DummyEnum; fill0: UInt32; target1: DummyEnum; fill1: UInt32; target2: DummyEnum; fill2: UInt32; target3: DummyEnum; fill3: UInt32) := z_PresentFrameDualFillNV(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, &type, target0, fill0, target1, fill1, target2, fill2, target3, fill3); - - public z_GetVideoivNV := GetGLFuncOrNil&('glGetVideoivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVideoivNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVideoivNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoivNV(video_slot, pname, ¶ms); - - public z_GetVideouivNV := GetGLFuncOrNil&('glGetVideouivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetVideouivNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetVideouivNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideouivNV(video_slot, pname, ¶ms); - - public z_GetVideoi64vNV := GetGLFuncOrNil&('glGetVideoi64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of Int64) := GetVideoi64vNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: Int64) := GetVideoi64vNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoi64vNV(video_slot, pname, ¶ms); - - public z_GetVideoui64vNV := GetGLFuncOrNil&('glGetVideoui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetVideoui64vNV(video_slot, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetVideoui64vNV(video_slot, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVideoui64vNV(video_slot, pname, ¶ms); - - public z_EnumerateVideoDevicesNV := GetGLFuncOrNil&('glXEnumerateVideoDevicesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoDevicesNV(dpy: PDisplay; screen: Int32; nelements: array of Int32): pointer := EnumerateVideoDevicesNV(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nelements,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoDevicesNV(dpy: PDisplay; screen: Int32; var nelements: Int32): pointer := EnumerateVideoDevicesNV(dpy, screen, @nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function EnumerateVideoDevicesNV(dpy: PDisplay; screen: Int32; nelements: pointer): pointer := z_EnumerateVideoDevicesNV(dpy, screen, nelements); - - public z_BindVideoDeviceNV := GetGLFuncOrNil&('glXBindVideoDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoDeviceNV(dpy: PDisplay; video_slot: UInt32; video_device: UInt32; attrib_list: array of Int32): Int32 := BindVideoDeviceNV(dpy, video_slot, video_device, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoDeviceNV(dpy: PDisplay; video_slot: UInt32; video_device: UInt32; var attrib_list: Int32): Int32 := BindVideoDeviceNV(dpy, video_slot, video_device, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoDeviceNV(dpy: PDisplay; video_slot: UInt32; video_device: UInt32; attrib_list: pointer): Int32 := z_BindVideoDeviceNV(dpy, video_slot, video_device, attrib_list); - - {$endregion NV_present_video} - - {$region NV_video_output} - - public z_GetVideoDeviceNV := GetGLFuncOrNil&('glXGetVideoDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoDeviceNV(dpy: PDisplay; screen: Int32; numVideoDevices: Int32; pVideoDevice: array of GLXVideoDeviceNV): Int32 := GetVideoDeviceNV(dpy, screen, numVideoDevices, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pVideoDevice,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoDeviceNV(dpy: PDisplay; screen: Int32; numVideoDevices: Int32; var pVideoDevice: GLXVideoDeviceNV): Int32 := GetVideoDeviceNV(dpy, screen, numVideoDevices, @pVideoDevice); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoDeviceNV(dpy: PDisplay; screen: Int32; numVideoDevices: Int32; pVideoDevice: pointer): Int32 := z_GetVideoDeviceNV(dpy, screen, numVideoDevices, pVideoDevice); - - public z_ReleaseVideoDeviceNV := GetGLFuncOrNil&('glXReleaseVideoDeviceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseVideoDeviceNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV): Int32 := z_ReleaseVideoDeviceNV(dpy, screen, VideoDevice); - - public z_BindVideoImageNV := GetGLFuncOrNil&('glXBindVideoImageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindVideoImageNV(dpy: PDisplay; VideoDevice: GLXVideoDeviceNV; pbuf: GLXPbuffer; iVideoBuffer: Int32): Int32 := z_BindVideoImageNV(dpy, VideoDevice, pbuf, iVideoBuffer); - - public z_ReleaseVideoImageNV := GetGLFuncOrNil&('glXReleaseVideoImageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseVideoImageNV(dpy: PDisplay; pbuf: GLXPbuffer): Int32 := z_ReleaseVideoImageNV(dpy, pbuf); - - public z_SendPbufferToVideoNV := GetGLFuncOrNil&('glXSendPbufferToVideoNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SendPbufferToVideoNV(dpy: PDisplay; pbuf: GLXPbuffer; iBufferType: Int32; pulCounterPbuffer: array of UInt64; bBlock: boolean): Int32 := SendPbufferToVideoNV(dpy, pbuf, iBufferType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterPbuffer,0)), bBlock); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SendPbufferToVideoNV(dpy: PDisplay; pbuf: GLXPbuffer; iBufferType: Int32; var pulCounterPbuffer: UInt64; bBlock: boolean): Int32 := SendPbufferToVideoNV(dpy, pbuf, iBufferType, @pulCounterPbuffer, bBlock); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SendPbufferToVideoNV(dpy: PDisplay; pbuf: GLXPbuffer; iBufferType: Int32; pulCounterPbuffer: pointer; bBlock: boolean): Int32 := z_SendPbufferToVideoNV(dpy, pbuf, iBufferType, pulCounterPbuffer, bBlock); - - public z_GetVideoInfoNV := GetGLFuncOrNil&('glXGetVideoInfoNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: array of UInt64): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputPbuffer,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputVideo,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; pulCounterOutputPbuffer: array of UInt64; var pulCounterOutputVideo: UInt64): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputPbuffer,0)), @pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: pointer): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputPbuffer,0)), pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: array of UInt64): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, @pulCounterOutputPbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputVideo,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; var pulCounterOutputPbuffer: UInt64; var pulCounterOutputVideo: UInt64): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, @pulCounterOutputPbuffer, @pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: pointer): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, @pulCounterOutputPbuffer, pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; pulCounterOutputPbuffer: pointer; pulCounterOutputVideo: array of UInt64): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, pulCounterOutputPbuffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pulCounterOutputVideo,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; pulCounterOutputPbuffer: pointer; var pulCounterOutputVideo: UInt64): Int32 := GetVideoInfoNV(dpy, screen, VideoDevice, pulCounterOutputPbuffer, @pulCounterOutputVideo); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoInfoNV(dpy: PDisplay; screen: Int32; VideoDevice: GLXVideoDeviceNV; pulCounterOutputPbuffer: pointer; pulCounterOutputVideo: pointer): Int32 := z_GetVideoInfoNV(dpy, screen, VideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); - - {$endregion NV_video_output} - - {$region AMD_gpu_association} - - public z_GetGPUIDsAMD := GetGLFuncOrNil&('glXGetGPUIDsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUIDsAMD(maxCount: UInt32; ids: array of UInt32): UInt32 := GetGPUIDsAMD(maxCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUIDsAMD(maxCount: UInt32; var ids: UInt32): UInt32 := GetGPUIDsAMD(maxCount, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUIDsAMD(maxCount: UInt32; ids: pointer): UInt32 := z_GetGPUIDsAMD(maxCount, ids); - - public z_GetGPUInfoAMD := GetGLFuncOrNil&('glXGetGPUInfoAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGPUInfoAMD(id: UInt32; &property: Int32; dataType: DummyEnum; size: UInt32; data: pointer): Int32 := z_GetGPUInfoAMD(id, &property, dataType, size, data); - - public z_GetContextGPUIDAMD := GetGLFuncOrNil&('glXGetContextGPUIDAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetContextGPUIDAMD(ctx: GLXContext): UInt32 := z_GetContextGPUIDAMD(ctx); - - public z_CreateAssociatedContextAMD := GetGLFuncOrNil&('glXCreateAssociatedContextAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAMD(id: UInt32; share_list: GLXContext): GLXContext := z_CreateAssociatedContextAMD(id, share_list); - - public z_CreateAssociatedContextAttribsAMD := GetGLFuncOrNil&('glXCreateAssociatedContextAttribsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAttribsAMD(id: UInt32; share_context: GLXContext; attribList: array of Int32): GLXContext := CreateAssociatedContextAttribsAMD(id, share_context, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAttribsAMD(id: UInt32; share_context: GLXContext; var attribList: Int32): GLXContext := CreateAssociatedContextAttribsAMD(id, share_context, @attribList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateAssociatedContextAttribsAMD(id: UInt32; share_context: GLXContext; attribList: pointer): GLXContext := z_CreateAssociatedContextAttribsAMD(id, share_context, attribList); - - public z_DeleteAssociatedContextAMD := GetGLFuncOrNil&('glXDeleteAssociatedContextAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DeleteAssociatedContextAMD(ctx: GLXContext): UInt32 := z_DeleteAssociatedContextAMD(ctx); - - public z_MakeAssociatedContextCurrentAMD := GetGLFuncOrNil&('glXMakeAssociatedContextCurrentAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MakeAssociatedContextCurrentAMD(ctx: GLXContext): UInt32 := z_MakeAssociatedContextCurrentAMD(ctx); - - public z_GetCurrentAssociatedContextAMD := GetGLFuncOrNil&('glXGetCurrentAssociatedContextAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentAssociatedContextAMD: GLXContext := z_GetCurrentAssociatedContextAMD; - - public z_BlitContextFramebufferAMD := GetGLFuncOrNil&('glXBlitContextFramebufferAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitContextFramebufferAMD(dstCtx: GLXContext; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_BlitContextFramebufferAMD(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - {$endregion AMD_gpu_association} - - {$region SGIX_fbconfig} - - public z_GetFBConfigAttribSGIX := GetGLFuncOrNil&('glXGetFBConfigAttribSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFBConfigAttribSGIX(dpy: PDisplay; config: GLXFBConfig; attribute: Int32; value: array of Int32): Int32 := GetFBConfigAttribSGIX(dpy, config, attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFBConfigAttribSGIX(dpy: PDisplay; config: GLXFBConfig; attribute: Int32; var value: Int32): Int32 := GetFBConfigAttribSGIX(dpy, config, attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFBConfigAttribSGIX(dpy: PDisplay; config: GLXFBConfig; attribute: Int32; value: pointer): Int32 := z_GetFBConfigAttribSGIX(dpy, config, attribute, value); - - public z_ChooseFBConfigSGIX := GetGLFuncOrNil&('glXChooseFBConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; attrib_list: array of Int32; nelements: array of Int32): pointer := ChooseFBConfigSGIX(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nelements,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; attrib_list: array of Int32; var nelements: Int32): pointer := ChooseFBConfigSGIX(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0)), @nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; attrib_list: array of Int32; nelements: pointer): pointer := ChooseFBConfigSGIX(dpy, screen, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0)), nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; var attrib_list: Int32; nelements: array of Int32): pointer := ChooseFBConfigSGIX(dpy, screen, @attrib_list, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nelements,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; var attrib_list: Int32; var nelements: Int32): pointer := ChooseFBConfigSGIX(dpy, screen, @attrib_list, @nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; var attrib_list: Int32; nelements: pointer): pointer := ChooseFBConfigSGIX(dpy, screen, @attrib_list, nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; attrib_list: pointer; nelements: array of Int32): pointer := ChooseFBConfigSGIX(dpy, screen, attrib_list, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(nelements,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; attrib_list: pointer; var nelements: Int32): pointer := ChooseFBConfigSGIX(dpy, screen, attrib_list, @nelements); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ChooseFBConfigSGIX(dpy: PDisplay; screen: Int32; attrib_list: pointer; nelements: pointer): pointer := z_ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); - - public z_CreateGLXPixmapWithConfigSGIX := GetGLFuncOrNil&('glXCreateGLXPixmapWithConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateGLXPixmapWithConfigSGIX(dpy: PDisplay; config: GLXFBConfig; pixmap: GLXPixmap): GLXPixmap := z_CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap); - - public z_CreateContextWithConfigSGIX := GetGLFuncOrNil&('glXCreateContextWithConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextWithConfigSGIX(dpy: PDisplay; config: GLXFBConfig; render_type: Int32; share_list: GLXContext; direct: UInt32): GLXContext := z_CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct); - - public z_GetVisualFromFBConfigSGIX := GetGLFuncOrNil&('glXGetVisualFromFBConfigSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVisualFromFBConfigSGIX(dpy: PDisplay; config: GLXFBConfig): PXVisualInfo := z_GetVisualFromFBConfigSGIX(dpy, config); - - public z_GetFBConfigFromVisualSGIX := GetGLFuncOrNil&('glXGetFBConfigFromVisualSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFBConfigFromVisualSGIX(dpy: PDisplay; vis: PXVisualInfo): GLXFBConfig := z_GetFBConfigFromVisualSGIX(dpy, vis); - - {$endregion SGIX_fbconfig} - - {$region GLX_NV_copy_buffer} - - public z_CopyBufferSubDataNV := GetGLFuncOrNil&('glXCopyBufferSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyBufferSubDataNV(dpy: PDisplay; readCtx: GLXContext; writeCtx: GLXContext; readTarget: DummyEnum; writeTarget: DummyEnum; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_CopyBufferSubDataNV(dpy, readCtx, writeCtx, readTarget, writeTarget, readOffset, writeOffset, size); - - public z_NamedCopyBufferSubDataNV := GetGLFuncOrNil&('glXNamedCopyBufferSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedCopyBufferSubDataNV(dpy: PDisplay; readCtx: GLXContext; writeCtx: GLXContext; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_NamedCopyBufferSubDataNV(dpy, readCtx, writeCtx, readBuffer, writeBuffer, readOffset, writeOffset, size); - - {$endregion GLX_NV_copy_buffer} - - {$region NV_copy_image} - - public z_CopyImageSubDataNV := GetGLFuncOrNil&('glXCopyImageSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubDataNV(dpy: PDisplay; srcCtx: GLXContext; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstCtx: GLXContext; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32) := z_CopyImageSubDataNV(dpy, srcCtx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstCtx, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); - - {$endregion NV_copy_image} - - {$region MESA_copy_sub_buffer} - - public z_CopySubBufferMESA := GetGLFuncOrNil&('glXCopySubBufferMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopySubBufferMESA(dpy: PDisplay; drawable: GLXDrawable; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopySubBufferMESA(dpy, drawable, x, y, width, height); - - {$endregion MESA_copy_sub_buffer} - - {$region ARB_create_context ARB_create_context_profile} - - public z_CreateContextAttribsARB := GetGLFuncOrNil&('glXCreateContextAttribsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextAttribsARB(dpy: PDisplay; config: GLXFBConfig; share_context: GLXContext; direct: UInt32; attrib_list: array of Int32): GLXContext := CreateContextAttribsARB(dpy, config, share_context, direct, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextAttribsARB(dpy: PDisplay; config: GLXFBConfig; share_context: GLXContext; direct: UInt32; var attrib_list: Int32): GLXContext := CreateContextAttribsARB(dpy, config, share_context, direct, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateContextAttribsARB(dpy: PDisplay; config: GLXFBConfig; share_context: GLXContext; direct: UInt32; attrib_list: pointer): GLXContext := z_CreateContextAttribsARB(dpy, config, share_context, direct, attrib_list); - - public z_CreateNewContext := GetGLFuncOrNil&('glXCreateNewContext'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateNewContext(dpy: PDisplay; config: GLXFBConfig; render_type: Int32; share_list: GLXContext; direct: UInt32): GLXContext := z_CreateNewContext(dpy, config, render_type, share_list, direct); - - {$endregion ARB_create_context ARB_create_context_profile} - - {$region SGIX_pbuffer} - - public z_CreateGLXPbufferSGIX := GetGLFuncOrNil&('glXCreateGLXPbufferSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateGLXPbufferSGIX(dpy: PDisplay; config: GLXFBConfig; width: UInt32; height: UInt32; attrib_list: array of Int32): GLXPbuffer := CreateGLXPbufferSGIX(dpy, config, width, height, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateGLXPbufferSGIX(dpy: PDisplay; config: GLXFBConfig; width: UInt32; height: UInt32; var attrib_list: Int32): GLXPbuffer := CreateGLXPbufferSGIX(dpy, config, width, height, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateGLXPbufferSGIX(dpy: PDisplay; config: GLXFBConfig; width: UInt32; height: UInt32; attrib_list: pointer): GLXPbuffer := z_CreateGLXPbufferSGIX(dpy, config, width, height, attrib_list); - - public z_DestroyGLXPbufferSGIX := GetGLFuncOrNil&('glXDestroyGLXPbufferSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DestroyGLXPbufferSGIX(dpy: PDisplay; pbuf: GLXPbuffer) := z_DestroyGLXPbufferSGIX(dpy, pbuf); - - public z_QueryGLXPbufferSGIX := GetGLFuncOrNil&('glXQueryGLXPbufferSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryGLXPbufferSGIX(dpy: PDisplay; pbuf: GLXPbuffer; attribute: Int32; value: array of UInt32) := QueryGLXPbufferSGIX(dpy, pbuf, attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryGLXPbufferSGIX(dpy: PDisplay; pbuf: GLXPbuffer; attribute: Int32; var value: UInt32) := QueryGLXPbufferSGIX(dpy, pbuf, attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryGLXPbufferSGIX(dpy: PDisplay; pbuf: GLXPbuffer; attribute: Int32; value: pointer) := z_QueryGLXPbufferSGIX(dpy, pbuf, attribute, value); - - public z_SelectEventSGIX := GetGLFuncOrNil&('glXSelectEventSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectEventSGIX(dpy: PDisplay; drawable: GLXDrawable; mask: UInt64) := z_SelectEventSGIX(dpy, drawable, mask); - - public z_GetSelectedEventSGIX := GetGLFuncOrNil&('glXGetSelectedEventSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSelectedEventSGIX(dpy: PDisplay; drawable: GLXDrawable; mask: array of UInt64) := GetSelectedEventSGIX(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mask,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSelectedEventSGIX(dpy: PDisplay; drawable: GLXDrawable; var mask: UInt64) := GetSelectedEventSGIX(dpy, drawable, @mask); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSelectedEventSGIX(dpy: PDisplay; drawable: GLXDrawable; mask: pointer) := z_GetSelectedEventSGIX(dpy, drawable, mask); - - {$endregion SGIX_pbuffer} - - {$region MESA_pixmap_colormap} - - public z_CreateGLXPixmapMESA := GetGLFuncOrNil&('glXCreateGLXPixmapMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateGLXPixmapMESA(dpy: PDisplay; visual: PXVisualInfo; pixmap: GLXPixmap; cmap: GLXColormap): GLXPixmap := z_CreateGLXPixmapMESA(dpy, visual, pixmap, cmap); - - {$endregion MESA_pixmap_colormap} - - {$region NV_delay_before_swap} - - public z_DelayBeforeSwapNV := GetGLFuncOrNil&('glXDelayBeforeSwapNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function DelayBeforeSwapNV(dpy: PDisplay; drawable: GLXDrawable; seconds: single): UInt32 := z_DelayBeforeSwapNV(dpy, drawable, seconds); - - {$endregion NV_delay_before_swap} - - {$region EXT_import_context} - - public z_GetCurrentDisplayEXT := GetGLFuncOrNil&('glXGetCurrentDisplayEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentDisplayEXT: PDisplay := z_GetCurrentDisplayEXT; - - public z_QueryContextInfoEXT := GetGLFuncOrNil&('glXQueryContextInfoEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryContextInfoEXT(dpy: PDisplay; context: GLXContext; attribute: Int32; value: array of Int32): Int32 := QueryContextInfoEXT(dpy, context, attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryContextInfoEXT(dpy: PDisplay; context: GLXContext; attribute: Int32; var value: Int32): Int32 := QueryContextInfoEXT(dpy, context, attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryContextInfoEXT(dpy: PDisplay; context: GLXContext; attribute: Int32; value: pointer): Int32 := z_QueryContextInfoEXT(dpy, context, attribute, value); - - public z_GetContextIDEXT := GetGLFuncOrNil&('glXGetContextIDEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetContextIDEXT(context: GLXContext): GLXContextID := z_GetContextIDEXT(context); - - public z_ImportContextEXT := GetGLFuncOrNil&('glXImportContextEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ImportContextEXT(dpy: PDisplay; contextID: GLXContextID): GLXContext := z_ImportContextEXT(dpy, contextID); - - public z_FreeContextEXT := GetGLFuncOrNil&('glXFreeContextEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FreeContextEXT(dpy: PDisplay; context: GLXContext) := z_FreeContextEXT(dpy, context); - - {$endregion EXT_import_context} - - {$region MESA_agp_offset} - - public z_GetAGPOffsetMESA := GetGLFuncOrNil&('glXGetAGPOffsetMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAGPOffsetMESA(_pointer: pointer): UInt32 := z_GetAGPOffsetMESA(_pointer); - - {$endregion MESA_agp_offset} - - {$region SGI_make_current_read} - - public z_MakeCurrentReadSGI := GetGLFuncOrNil&('glXMakeCurrentReadSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MakeCurrentReadSGI(dpy: PDisplay; draw: GLXDrawable; read: GLXDrawable; ctx: GLXContext): UInt32 := z_MakeCurrentReadSGI(dpy, draw, read, ctx); - - public z_GetCurrentReadDrawableSGI := GetGLFuncOrNil&('glXGetCurrentReadDrawableSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCurrentReadDrawableSGI: GLXDrawable := z_GetCurrentReadDrawableSGI; - - {$endregion SGI_make_current_read} - - {$region OML_sync_control} - - public z_GetSyncValuesOML := GetGLFuncOrNil&('glXGetSyncValuesOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; msc: array of Int64; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; var msc: Int64; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; msc: pointer; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; msc: pointer; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: array of Int64; msc: pointer; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; msc: array of Int64; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; var msc: Int64; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; msc: pointer; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; msc: pointer; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; var ust: Int64; msc: pointer; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, @ust, msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; msc: array of Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; msc: array of Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; msc: array of Int64; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; var msc: Int64; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; var msc: Int64; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; var msc: Int64; sbc: pointer): UInt32 := GetSyncValuesOML(dpy, drawable, ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; msc: pointer; sbc: array of Int64): UInt32 := GetSyncValuesOML(dpy, drawable, ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; msc: pointer; var sbc: Int64): UInt32 := GetSyncValuesOML(dpy, drawable, ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSyncValuesOML(dpy: PDisplay; drawable: GLXDrawable; ust: pointer; msc: pointer; sbc: pointer): UInt32 := z_GetSyncValuesOML(dpy, drawable, ust, msc, sbc); - - public z_GetMscRateOML := GetGLFuncOrNil&('glXGetMscRateOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; numerator: array of Int32; denominator: array of Int32): UInt32 := GetMscRateOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numerator,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(denominator,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; numerator: array of Int32; var denominator: Int32): UInt32 := GetMscRateOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numerator,0)), @denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; numerator: array of Int32; denominator: pointer): UInt32 := GetMscRateOML(dpy, drawable, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numerator,0)), denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; var numerator: Int32; denominator: array of Int32): UInt32 := GetMscRateOML(dpy, drawable, @numerator, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(denominator,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; var numerator: Int32; var denominator: Int32): UInt32 := GetMscRateOML(dpy, drawable, @numerator, @denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; var numerator: Int32; denominator: pointer): UInt32 := GetMscRateOML(dpy, drawable, @numerator, denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; numerator: pointer; denominator: array of Int32): UInt32 := GetMscRateOML(dpy, drawable, numerator, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(denominator,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; numerator: pointer; var denominator: Int32): UInt32 := GetMscRateOML(dpy, drawable, numerator, @denominator); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetMscRateOML(dpy: PDisplay; drawable: GLXDrawable; numerator: pointer; denominator: pointer): UInt32 := z_GetMscRateOML(dpy, drawable, numerator, denominator); - - public z_SwapBuffersMscOML := GetGLFuncOrNil&('glXSwapBuffersMscOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapBuffersMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64): Int64 := z_SwapBuffersMscOML(dpy, drawable, target_msc, divisor, remainder); - - public z_WaitForMscOML := GetGLFuncOrNil&('glXWaitForMscOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: pointer; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: pointer; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, @ust, msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: array of Int64; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: array of Int64; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; var msc: Int64; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; var msc: Int64; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; var msc: Int64; sbc: pointer): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: pointer; sbc: array of Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: pointer; var sbc: Int64): UInt32 := WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForMscOML(dpy: PDisplay; drawable: GLXDrawable; target_msc: Int64; divisor: Int64; remainder: Int64; ust: pointer; msc: pointer; sbc: pointer): UInt32 := z_WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, msc, sbc); - - public z_WaitForSbcOML := GetGLFuncOrNil&('glXWaitForSbcOML'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: array of Int64; msc: pointer; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ust,0)), msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; msc: array of Int64; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; msc: pointer; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; msc: pointer; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; var ust: Int64; msc: pointer; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, @ust, msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; msc: array of Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; msc: array of Int64; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; msc: array of Int64; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(msc,0)), sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; var msc: Int64; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, @msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; var msc: Int64; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, @msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; var msc: Int64; sbc: pointer): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, @msc, sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; msc: pointer; sbc: array of Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, msc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sbc,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; msc: pointer; var sbc: Int64): UInt32 := WaitForSbcOML(dpy, drawable, target_sbc, ust, msc, @sbc); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitForSbcOML(dpy: PDisplay; drawable: GLXDrawable; target_sbc: Int64; ust: pointer; msc: pointer; sbc: pointer): UInt32 := z_WaitForSbcOML(dpy, drawable, target_sbc, ust, msc, sbc); - - {$endregion OML_sync_control} - - {$region EXT_stereo_tree} - - public z_GetSelectedEvent := GetGLFuncOrNil&('glXGetSelectedEvent'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSelectedEvent(dpy: PDisplay; draw: GLXDrawable; event_mask: array of UInt64) := GetSelectedEvent(dpy, draw, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(event_mask,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSelectedEvent(dpy: PDisplay; draw: GLXDrawable; var event_mask: UInt64) := GetSelectedEvent(dpy, draw, @event_mask); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSelectedEvent(dpy: PDisplay; draw: GLXDrawable; event_mask: pointer) := z_GetSelectedEvent(dpy, draw, event_mask); - - {$endregion EXT_stereo_tree} - - {$region EXT_swap_control} - - public z_SwapIntervalEXT := GetGLFuncOrNil&('glXSwapIntervalEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SwapIntervalEXT(dpy: PDisplay; drawable: GLXDrawable; interval: Int32) := z_SwapIntervalEXT(dpy, drawable, interval); - - {$endregion EXT_swap_control} - - {$region MESA_swap_control} - - public z_SwapIntervalMESA := GetGLFuncOrNil&('glXSwapIntervalMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapIntervalMESA(interval: UInt32): Int32 := z_SwapIntervalMESA(interval); - - public z_GetSwapIntervalMESA := GetGLFuncOrNil&('glXGetSwapIntervalMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetSwapIntervalMESA: Int32 := z_GetSwapIntervalMESA; - - {$endregion MESA_swap_control} - - {$region SUN_get_transparent_index} - - public z_GetTransparentIndexSUN := GetGLFuncOrNil&('glXGetTransparentIndexSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTransparentIndexSUN(dpy: PDisplay; overlay: GLXWindow; underlay: GLXWindow; pTransparentIndex: array of UInt64): GLXStatus := GetTransparentIndexSUN(dpy, overlay, underlay, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pTransparentIndex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTransparentIndexSUN(dpy: PDisplay; overlay: GLXWindow; underlay: GLXWindow; var pTransparentIndex: UInt64): GLXStatus := GetTransparentIndexSUN(dpy, overlay, underlay, @pTransparentIndex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTransparentIndexSUN(dpy: PDisplay; overlay: GLXWindow; underlay: GLXWindow; pTransparentIndex: pointer): GLXStatus := z_GetTransparentIndexSUN(dpy, overlay, underlay, pTransparentIndex); - - {$endregion SUN_get_transparent_index} - - {$region SGI_video_sync} - - public z_GetVideoSyncSGI := GetGLFuncOrNil&('glXGetVideoSyncSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoSyncSGI(count: array of UInt32): Int32 := GetVideoSyncSGI(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoSyncSGI(var count: UInt32): Int32 := GetVideoSyncSGI(@count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVideoSyncSGI(count: pointer): Int32 := z_GetVideoSyncSGI(count); - - public z_WaitVideoSyncSGI := GetGLFuncOrNil&('glXWaitVideoSyncSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitVideoSyncSGI(divisor: Int32; remainder: Int32; count: array of UInt32): Int32 := WaitVideoSyncSGI(divisor, remainder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitVideoSyncSGI(divisor: Int32; remainder: Int32; var count: UInt32): Int32 := WaitVideoSyncSGI(divisor, remainder, @count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function WaitVideoSyncSGI(divisor: Int32; remainder: Int32; count: pointer): Int32 := z_WaitVideoSyncSGI(divisor, remainder, count); - - {$endregion SGI_video_sync} - - {$region SGIX_swap_group} - - public z_JoinSwapGroupSGIX := GetGLFuncOrNil&('glXJoinSwapGroupSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure JoinSwapGroupSGIX(dpy: PDisplay; drawable: GLXDrawable; member: GLXDrawable) := z_JoinSwapGroupSGIX(dpy, drawable, member); - - {$endregion SGIX_swap_group} - - {$region MESA_query_renderer} - - public z_QueryRendererIntegerMESA := GetGLFuncOrNil&('glXQueryRendererIntegerMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryRendererIntegerMESA(dpy: PDisplay; screen: Int32; renderer: Int32; attribute: Int32; value: array of UInt32): UInt32 := QueryRendererIntegerMESA(dpy, screen, renderer, attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryRendererIntegerMESA(dpy: PDisplay; screen: Int32; renderer: Int32; attribute: Int32; var value: UInt32): UInt32 := QueryRendererIntegerMESA(dpy, screen, renderer, attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryRendererIntegerMESA(dpy: PDisplay; screen: Int32; renderer: Int32; attribute: Int32; value: pointer): UInt32 := z_QueryRendererIntegerMESA(dpy, screen, renderer, attribute, value); - - public z_QueryCurrentRendererIntegerMESA := GetGLFuncOrNil&('glXQueryCurrentRendererIntegerMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentRendererIntegerMESA(attribute: Int32; value: array of UInt32): UInt32 := QueryCurrentRendererIntegerMESA(attribute, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentRendererIntegerMESA(attribute: Int32; var value: UInt32): UInt32 := QueryCurrentRendererIntegerMESA(attribute, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentRendererIntegerMESA(attribute: Int32; value: pointer): UInt32 := z_QueryCurrentRendererIntegerMESA(attribute, value); - - public z_QueryRendererStringMESA := GetGLFuncOrNil&('glXQueryRendererStringMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryRendererStringMESA_Str(dpy: PDisplay; screen: Int32; renderer: Int32; attribute: Int32): string := Marshal.PtrToStringAnsi(QueryRendererStringMESA(dpy, screen, renderer, attribute)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryRendererStringMESA(dpy: PDisplay; screen: Int32; renderer: Int32; attribute: Int32): IntPtr := z_QueryRendererStringMESA(dpy, screen, renderer, attribute); - - public z_QueryCurrentRendererStringMESA := GetGLFuncOrNil&('glXQueryCurrentRendererStringMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentRendererStringMESA_Str(attribute: Int32): string := Marshal.PtrToStringAnsi(QueryCurrentRendererStringMESA(attribute)); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryCurrentRendererStringMESA(attribute: Int32): IntPtr := z_QueryCurrentRendererStringMESA(attribute); - - {$endregion MESA_query_renderer} - - {$region MESA_release_buffers} - - public z_ReleaseBuffersMESA := GetGLFuncOrNil&('glXReleaseBuffersMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseBuffersMESA(dpy: PDisplay; drawable: GLXDrawable): UInt32 := z_ReleaseBuffersMESA(dpy, drawable); - - {$endregion MESA_release_buffers} - - {$region MESA_set_3dfx_mode} - - public z_Set3DfxModeMESA := GetGLFuncOrNil&('glXSet3DfxModeMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function Set3DfxModeMESA(mode: Int32): boolean := z_Set3DfxModeMESA(mode); - - {$endregion MESA_set_3dfx_mode} - - {$region SGI_swap_control} - - public z_SwapIntervalSGI := GetGLFuncOrNil&('glXSwapIntervalSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function SwapIntervalSGI(interval: Int32): Int32 := z_SwapIntervalSGI(interval); - - {$endregion SGI_swap_control} + public z_DebugMessageInsertAMD_adr := GetFuncAdr('glDebugMessageInsertAMD'); + public z_DebugMessageInsertAMD_ovr_0 := GetFuncOrNil&(z_DebugMessageInsertAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertAMD(category: DummyEnum; severity: DebugSeverity; id: UInt32; length: Int32; buf: string); + begin + var par_5_str_ptr := Marshal.StringToHGlobalAnsi(buf); + z_DebugMessageInsertAMD_ovr_0(category, severity, id, length, par_5_str_ptr); + Marshal.FreeHGlobal(par_5_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertAMD(category: DummyEnum; severity: DebugSeverity; id: UInt32; length: Int32; buf: IntPtr); + begin + z_DebugMessageInsertAMD_ovr_0(category, severity, id, length, buf); + end; + + public z_DebugMessageCallbackAMD_adr := GetFuncAdr('glDebugMessageCallbackAMD'); + public z_DebugMessageCallbackAMD_ovr_0 := GetFuncOrNil&(z_DebugMessageCallbackAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallbackAMD(callback: GLDEBUGPROC; userParam: IntPtr); + begin + z_DebugMessageCallbackAMD_ovr_0(callback, userParam); + end; + + public z_GetDebugMessageLogAMD_adr := GetFuncAdr('glGetDebugMessageLogAMD'); + public z_GetDebugMessageLogAMD_ovr_0 := GetFuncOrNil&(z_GetDebugMessageLogAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; var categories: DummyEnum; var severities: UInt32; var ids: UInt32; var lengths: Int32; message: IntPtr): UInt32; + begin + Result := z_GetDebugMessageLogAMD_ovr_0(count, bufSize, categories, severities, ids, lengths, message); + end; + public z_GetDebugMessageLogAMD_ovr_1 := GetFuncOrNil&(z_GetDebugMessageLogAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; categories: IntPtr; severities: IntPtr; ids: IntPtr; lengths: IntPtr; message: IntPtr): UInt32; + begin + Result := z_GetDebugMessageLogAMD_ovr_1(count, bufSize, categories, severities, ids, lengths, message); + end; end; - gl_ARB = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glDrawBuffersBlendAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendFuncIndexedAMD_adr := GetFuncAdr('glBlendFuncIndexedAMD'); + public z_BlendFuncIndexedAMD_ovr_0 := GetFuncOrNil&(z_BlendFuncIndexedAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncIndexedAMD(buf: UInt32; src: DummyEnum; dst: DummyEnum); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_BlendFuncIndexedAMD_ovr_0(buf, src, dst); end; - {$region ARB_shader_objects} - - public z_DeleteObjectARB := GetGLFuncOrNil&('glDeleteObjectARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteObjectARB(obj: GLhandleARB) := z_DeleteObjectARB(obj); - - public z_GetHandleARB := GetGLFuncOrNil&('glGetHandleARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetHandleARB(pname: DummyEnum): GLhandleARB := z_GetHandleARB(pname); - - public z_DetachObjectARB := GetGLFuncOrNil&('glDetachObjectARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetachObjectARB(containerObj: GLhandleARB; attachedObj: GLhandleARB) := z_DetachObjectARB(containerObj, attachedObj); - - public z_CreateShaderObjectARB := GetGLFuncOrNil&('glCreateShaderObjectARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderObjectARB(shaderType: DummyEnum): GLhandleARB := z_CreateShaderObjectARB(shaderType); - - public z_ShaderSourceARB := GetGLFuncOrNil&('glShaderSourceARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; string: array of IntPtr; length: array of Int32) := ShaderSourceARB(shaderObj, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(string,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; string: array of IntPtr; var length: Int32) := ShaderSourceARB(shaderObj, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(string,0)), @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; string: array of IntPtr; length: pointer) := ShaderSourceARB(shaderObj, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(string,0)), length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; var string: IntPtr; length: array of Int32) := ShaderSourceARB(shaderObj, count, @string, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; var string: IntPtr; var length: Int32) := ShaderSourceARB(shaderObj, count, @string, @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; var string: IntPtr; length: pointer) := ShaderSourceARB(shaderObj, count, @string, length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; string: pointer; length: array of Int32) := ShaderSourceARB(shaderObj, count, string, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; string: pointer; var length: Int32) := ShaderSourceARB(shaderObj, count, string, @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; string: pointer; length: pointer) := z_ShaderSourceARB(shaderObj, count, string, length); - - public z_CompileShaderARB := GetGLFuncOrNil&('glCompileShaderARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderARB(shaderObj: GLhandleARB) := z_CompileShaderARB(shaderObj); - - public z_CreateProgramObjectARB := GetGLFuncOrNil&('glCreateProgramObjectARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateProgramObjectARB: GLhandleARB := z_CreateProgramObjectARB; - - public z_AttachObjectARB := GetGLFuncOrNil&('glAttachObjectARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AttachObjectARB(containerObj: GLhandleARB; obj: GLhandleARB) := z_AttachObjectARB(containerObj, obj); - - public z_LinkProgramARB := GetGLFuncOrNil&('glLinkProgramARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LinkProgramARB(programObj: GLhandleARB) := z_LinkProgramARB(programObj); - - public z_UseProgramObjectARB := GetGLFuncOrNil&('glUseProgramObjectARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgramObjectARB(programObj: GLhandleARB) := z_UseProgramObjectARB(programObj); - - public z_ValidateProgramARB := GetGLFuncOrNil&('glValidateProgramARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgramARB(programObj: GLhandleARB) := z_ValidateProgramARB(programObj); - - public z_Uniform1fARB := GetGLFuncOrNil&('glUniform1fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fARB(location: Int32; v0: single) := z_Uniform1fARB(location, v0); - - public z_Uniform2fARB := GetGLFuncOrNil&('glUniform2fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fARB(location: Int32; v0: single; v1: single) := z_Uniform2fARB(location, v0, v1); - - public z_Uniform3fARB := GetGLFuncOrNil&('glUniform3fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fARB(location: Int32; v0: single; v1: single; v2: single) := z_Uniform3fARB(location, v0, v1, v2); - - public z_Uniform4fARB := GetGLFuncOrNil&('glUniform4fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fARB(location: Int32; v0: single; v1: single; v2: single; v3: single) := z_Uniform4fARB(location, v0, v1, v2, v3); - - public z_Uniform1iARB := GetGLFuncOrNil&('glUniform1iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iARB(location: Int32; v0: Int32) := z_Uniform1iARB(location, v0); - - public z_Uniform2iARB := GetGLFuncOrNil&('glUniform2iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iARB(location: Int32; v0: Int32; v1: Int32) := z_Uniform2iARB(location, v0, v1); - - public z_Uniform3iARB := GetGLFuncOrNil&('glUniform3iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iARB(location: Int32; v0: Int32; v1: Int32; v2: Int32) := z_Uniform3iARB(location, v0, v1, v2); - - public z_Uniform4iARB := GetGLFuncOrNil&('glUniform4iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iARB(location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32) := z_Uniform4iARB(location, v0, v1, v2, v3); - - public z_Uniform1fvARB := GetGLFuncOrNil&('glUniform1fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fvARB(location: Int32; count: Int32; value: array of single) := Uniform1fvARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fvARB(location: Int32; count: Int32; var value: single) := Uniform1fvARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fvARB(location: Int32; count: Int32; value: pointer) := z_Uniform1fvARB(location, count, value); - - public z_Uniform2fvARB := GetGLFuncOrNil&('glUniform2fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fvARB(location: Int32; count: Int32; value: array of single) := Uniform2fvARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fvARB(location: Int32; count: Int32; var value: single) := Uniform2fvARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fvARB(location: Int32; count: Int32; value: pointer) := z_Uniform2fvARB(location, count, value); - - public z_Uniform3fvARB := GetGLFuncOrNil&('glUniform3fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fvARB(location: Int32; count: Int32; value: array of single) := Uniform3fvARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fvARB(location: Int32; count: Int32; var value: single) := Uniform3fvARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fvARB(location: Int32; count: Int32; value: pointer) := z_Uniform3fvARB(location, count, value); - - public z_Uniform4fvARB := GetGLFuncOrNil&('glUniform4fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fvARB(location: Int32; count: Int32; value: array of single) := Uniform4fvARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fvARB(location: Int32; count: Int32; var value: single) := Uniform4fvARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fvARB(location: Int32; count: Int32; value: pointer) := z_Uniform4fvARB(location, count, value); - - public z_Uniform1ivARB := GetGLFuncOrNil&('glUniform1ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ivARB(location: Int32; count: Int32; value: array of Int32) := Uniform1ivARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ivARB(location: Int32; count: Int32; var value: Int32) := Uniform1ivARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ivARB(location: Int32; count: Int32; value: pointer) := z_Uniform1ivARB(location, count, value); - - public z_Uniform2ivARB := GetGLFuncOrNil&('glUniform2ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ivARB(location: Int32; count: Int32; value: array of Int32) := Uniform2ivARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ivARB(location: Int32; count: Int32; var value: Int32) := Uniform2ivARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ivARB(location: Int32; count: Int32; value: pointer) := z_Uniform2ivARB(location, count, value); - - public z_Uniform3ivARB := GetGLFuncOrNil&('glUniform3ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ivARB(location: Int32; count: Int32; value: array of Int32) := Uniform3ivARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ivARB(location: Int32; count: Int32; var value: Int32) := Uniform3ivARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ivARB(location: Int32; count: Int32; value: pointer) := z_Uniform3ivARB(location, count, value); - - public z_Uniform4ivARB := GetGLFuncOrNil&('glUniform4ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ivARB(location: Int32; count: Int32; value: array of Int32) := Uniform4ivARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ivARB(location: Int32; count: Int32; var value: Int32) := Uniform4ivARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ivARB(location: Int32; count: Int32; value: pointer) := z_Uniform4ivARB(location, count, value); - - public z_UniformMatrix2fvARB := GetGLFuncOrNil&('glUniformMatrix2fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fvARB(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix2fvARB(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fvARB(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix2fvARB(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fvARB(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2fvARB(location, count, transpose, value); - - public z_UniformMatrix3fvARB := GetGLFuncOrNil&('glUniformMatrix3fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fvARB(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix3fvARB(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fvARB(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix3fvARB(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fvARB(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3fvARB(location, count, transpose, value); - - public z_UniformMatrix4fvARB := GetGLFuncOrNil&('glUniformMatrix4fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fvARB(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix4fvARB(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fvARB(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix4fvARB(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fvARB(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4fvARB(location, count, transpose, value); - - public z_GetObjectParameterfvARB := GetGLFuncOrNil&('glGetObjectParameterfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterfvARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: array of single) := GetObjectParameterfvARB(obj, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterfvARB(obj: GLhandleARB; pname: DummyEnum; var ¶ms: single) := GetObjectParameterfvARB(obj, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterfvARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: pointer) := z_GetObjectParameterfvARB(obj, pname, ¶ms); - - public z_GetObjectParameterivARB := GetGLFuncOrNil&('glGetObjectParameterivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: array of Int32) := GetObjectParameterivARB(obj, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivARB(obj: GLhandleARB; pname: DummyEnum; var ¶ms: Int32) := GetObjectParameterivARB(obj, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: pointer) := z_GetObjectParameterivARB(obj, pname, ¶ms); - - public z_GetInfoLogARB := GetGLFuncOrNil&('glGetInfoLogARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; length: array of Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetInfoLogARB(obj, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; length: array of Int32; infoLog: IntPtr) := GetInfoLogARB(obj, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; var length: Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetInfoLogARB(obj, maxLength, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; var length: Int32; infoLog: IntPtr) := GetInfoLogARB(obj, maxLength, @length, infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; length: pointer; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetInfoLogARB(obj, maxLength, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; length: pointer; infoLog: IntPtr) := z_GetInfoLogARB(obj, maxLength, length, infoLog); - - public z_GetAttachedObjectsARB := GetGLFuncOrNil&('glGetAttachedObjectsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: array of Int32; obj: array of GLhandleARB) := GetAttachedObjectsARB(containerObj, maxCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(obj,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: array of Int32; var obj: GLhandleARB) := GetAttachedObjectsARB(containerObj, maxCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), @obj); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: array of Int32; obj: pointer) := GetAttachedObjectsARB(containerObj, maxCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), obj); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; var count: Int32; obj: array of GLhandleARB) := GetAttachedObjectsARB(containerObj, maxCount, @count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(obj,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; var count: Int32; var obj: GLhandleARB) := GetAttachedObjectsARB(containerObj, maxCount, @count, @obj); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; var count: Int32; obj: pointer) := GetAttachedObjectsARB(containerObj, maxCount, @count, obj); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: pointer; obj: array of GLhandleARB) := GetAttachedObjectsARB(containerObj, maxCount, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(obj,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: pointer; var obj: GLhandleARB) := GetAttachedObjectsARB(containerObj, maxCount, count, @obj); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: pointer; obj: pointer) := z_GetAttachedObjectsARB(containerObj, maxCount, count, obj); - - public z_GetUniformLocationARB := GetGLFuncOrNil&('glGetUniformLocationARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocationARB(programObj: GLhandleARB; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetUniformLocationARB(programObj, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocationARB(programObj: GLhandleARB; name: IntPtr): Int32 := z_GetUniformLocationARB(programObj, name); - - public z_GetActiveUniformARB := GetGLFuncOrNil&('glGetActiveUniformARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, @length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, @length, size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: pointer; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveUniformARB(programObj, index, maxLength, length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveUniformARB(programObj, index, maxLength, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetActiveUniformARB(programObj, index, maxLength, length, size, &type, name); - - public z_GetUniformfvARB := GetGLFuncOrNil&('glGetUniformfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfvARB(programObj: GLhandleARB; location: Int32; ¶ms: array of single) := GetUniformfvARB(programObj, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfvARB(programObj: GLhandleARB; location: Int32; var ¶ms: single) := GetUniformfvARB(programObj, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfvARB(programObj: GLhandleARB; location: Int32; ¶ms: pointer) := z_GetUniformfvARB(programObj, location, ¶ms); - - public z_GetUniformivARB := GetGLFuncOrNil&('glGetUniformivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformivARB(programObj: GLhandleARB; location: Int32; ¶ms: array of Int32) := GetUniformivARB(programObj, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformivARB(programObj: GLhandleARB; location: Int32; var ¶ms: Int32) := GetUniformivARB(programObj, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformivARB(programObj: GLhandleARB; location: Int32; ¶ms: pointer) := z_GetUniformivARB(programObj, location, ¶ms); - - public z_GetShaderSourceARB := GetGLFuncOrNil&('glGetShaderSourceARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; length: array of Int32; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetShaderSourceARB(obj, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; length: array of Int32; source: IntPtr) := GetShaderSourceARB(obj, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), source); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; var length: Int32; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetShaderSourceARB(obj, maxLength, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; var length: Int32; source: IntPtr) := GetShaderSourceARB(obj, maxLength, @length, source); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; length: pointer; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetShaderSourceARB(obj, maxLength, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; length: pointer; source: IntPtr) := z_GetShaderSourceARB(obj, maxLength, length, source); - - {$endregion ARB_shader_objects} - - {$region ARB_occlusion_query} - - public z_GenQueriesARB := GetGLFuncOrNil&('glGenQueriesARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesARB(n: Int32; ids: array of UInt32) := GenQueriesARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesARB(n: Int32; var ids: UInt32) := GenQueriesARB(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesARB(n: Int32; ids: pointer) := z_GenQueriesARB(n, ids); - - public z_DeleteQueriesARB := GetGLFuncOrNil&('glDeleteQueriesARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesARB(n: Int32; ids: array of UInt32) := DeleteQueriesARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesARB(n: Int32; var ids: UInt32) := DeleteQueriesARB(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesARB(n: Int32; ids: pointer) := z_DeleteQueriesARB(n, ids); - - public z_IsQueryARB := GetGLFuncOrNil&('glIsQueryARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsQueryARB(id: UInt32): boolean := z_IsQueryARB(id); - - public z_BeginQueryARB := GetGLFuncOrNil&('glBeginQueryARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQueryARB(target: DummyEnum; id: UInt32) := z_BeginQueryARB(target, id); - - public z_EndQueryARB := GetGLFuncOrNil&('glEndQueryARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQueryARB(target: DummyEnum) := z_EndQueryARB(target); - - public z_GetQueryivARB := GetGLFuncOrNil&('glGetQueryivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivARB(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetQueryivARB(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivARB(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetQueryivARB(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivARB(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetQueryivARB(target, pname, ¶ms); - - public z_GetQueryObjectivARB := GetGLFuncOrNil&('glGetQueryObjectivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivARB(id: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetQueryObjectivARB(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivARB(id: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetQueryObjectivARB(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivARB(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetQueryObjectivARB(id, pname, ¶ms); - - public z_GetQueryObjectuivARB := GetGLFuncOrNil&('glGetQueryObjectuivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivARB(id: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetQueryObjectuivARB(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivARB(id: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetQueryObjectuivARB(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivARB(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetQueryObjectuivARB(id, pname, ¶ms); - - {$endregion ARB_occlusion_query} - - {$region ARB_vertex_shader} - - public z_BindAttribLocationARB := GetGLFuncOrNil&('glBindAttribLocationARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocationARB(programObj: GLhandleARB; index: UInt32; name: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); BindAttribLocationARB(programObj, index, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocationARB(programObj: GLhandleARB; index: UInt32; name: IntPtr) := z_BindAttribLocationARB(programObj, index, name); - - public z_GetActiveAttribARB := GetGLFuncOrNil&('glGetActiveAttribARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: pointer; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, @length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: pointer; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, @length, size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; var size: Int32; &type: pointer; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveAttribARB(programObj, index, maxLength, length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveAttribARB(programObj, index, maxLength, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetActiveAttribARB(programObj, index, maxLength, length, size, &type, name); - - public z_GetAttribLocationARB := GetGLFuncOrNil&('glGetAttribLocationARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocationARB(programObj: GLhandleARB; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetAttribLocationARB(programObj, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocationARB(programObj: GLhandleARB; name: IntPtr): Int32 := z_GetAttribLocationARB(programObj, name); - - {$endregion ARB_vertex_shader} - - {$region ARB_vertex_buffer_object} - - public z_BindBufferARB := GetGLFuncOrNil&('glBindBufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferARB(target: DummyEnum; buffer: UInt32) := z_BindBufferARB(target, buffer); - - public z_DeleteBuffersARB := GetGLFuncOrNil&('glDeleteBuffersARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffersARB(n: Int32; buffers: array of UInt32) := DeleteBuffersARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffersARB(n: Int32; var buffers: UInt32) := DeleteBuffersARB(n, @buffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffersARB(n: Int32; buffers: pointer) := z_DeleteBuffersARB(n, buffers); - - public z_GenBuffersARB := GetGLFuncOrNil&('glGenBuffersARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffersARB(n: Int32; buffers: array of UInt32) := GenBuffersARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffersARB(n: Int32; var buffers: UInt32) := GenBuffersARB(n, @buffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffersARB(n: Int32; buffers: pointer) := z_GenBuffersARB(n, buffers); - - public z_IsBufferARB := GetGLFuncOrNil&('glIsBufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsBufferARB(buffer: UInt32): boolean := z_IsBufferARB(buffer); - - public z_BufferDataARB := GetGLFuncOrNil&('glBufferDataARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferDataARB(target: DummyEnum; size: UIntPtr; data: pointer; usage: DummyEnum) := z_BufferDataARB(target, size, data, usage); - - public z_BufferSubDataARB := GetGLFuncOrNil&('glBufferSubDataARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubDataARB(target: DummyEnum; offset: IntPtr; size: UIntPtr; data: pointer) := z_BufferSubDataARB(target, offset, size, data); - - public z_GetBufferSubDataARB := GetGLFuncOrNil&('glGetBufferSubDataARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubDataARB(target: DummyEnum; offset: IntPtr; size: UIntPtr; data: pointer) := z_GetBufferSubDataARB(target, offset, size, data); - - public z_MapBufferARB := GetGLFuncOrNil&('glMapBufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBufferARB(target: DummyEnum; access: DummyEnum): pointer := z_MapBufferARB(target, access); - - public z_UnmapBufferARB := GetGLFuncOrNil&('glUnmapBufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapBufferARB(target: DummyEnum): boolean := z_UnmapBufferARB(target); - - public z_GetBufferParameterivARB := GetGLFuncOrNil&('glGetBufferParameterivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterivARB(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetBufferParameterivARB(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterivARB(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetBufferParameterivARB(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterivARB(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetBufferParameterivARB(target, pname, ¶ms); - - public z_GetBufferPointervARB := GetGLFuncOrNil&('glGetBufferPointervARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervARB(target: DummyEnum; pname: DummyEnum; ¶ms: array of IntPtr) := GetBufferPointervARB(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervARB(target: DummyEnum; pname: DummyEnum; var ¶ms: IntPtr) := GetBufferPointervARB(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervARB(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetBufferPointervARB(target, pname, ¶ms); - - {$endregion ARB_vertex_buffer_object} - - {$region ARB_fragment_program ARB_vertex_program} - - public z_ProgramStringARB := GetGLFuncOrNil&('glProgramStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramStringARB(target: DummyEnum; format: DummyEnum; len: Int32; string: pointer) := z_ProgramStringARB(target, format, len, string); - - public z_BindProgramARB := GetGLFuncOrNil&('glBindProgramARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramARB(target: DummyEnum; &program: UInt32) := z_BindProgramARB(target, &program); - - public z_DeleteProgramsARB := GetGLFuncOrNil&('glDeleteProgramsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; programs: array of UInt32) := DeleteProgramsARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; var programs: UInt32) := DeleteProgramsARB(n, @programs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; programs: pointer) := z_DeleteProgramsARB(n, programs); - - public z_GenProgramsARB := GetGLFuncOrNil&('glGenProgramsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; programs: array of UInt32) := GenProgramsARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; var programs: UInt32) := GenProgramsARB(n, @programs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; programs: pointer) := z_GenProgramsARB(n, programs); - - public z_ProgramEnvParameter4dARB := GetGLFuncOrNil&('glProgramEnvParameter4dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dARB(target: DummyEnum; index: UInt32; x: double; y: double; z: double; w: double) := z_ProgramEnvParameter4dARB(target, index, x, y, z, w); - - public z_ProgramEnvParameter4dvARB := GetGLFuncOrNil&('glProgramEnvParameter4dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: DummyEnum; index: UInt32; ¶ms: array of double) := ProgramEnvParameter4dvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: DummyEnum; index: UInt32; var ¶ms: double) := ProgramEnvParameter4dvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramEnvParameter4dvARB(target, index, ¶ms); - - public z_ProgramEnvParameter4fARB := GetGLFuncOrNil&('glProgramEnvParameter4fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fARB(target: DummyEnum; index: UInt32; x: single; y: single; z: single; w: single) := z_ProgramEnvParameter4fARB(target, index, x, y, z, w); - - public z_ProgramEnvParameter4fvARB := GetGLFuncOrNil&('glProgramEnvParameter4fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: DummyEnum; index: UInt32; ¶ms: array of single) := ProgramEnvParameter4fvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: DummyEnum; index: UInt32; var ¶ms: single) := ProgramEnvParameter4fvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramEnvParameter4fvARB(target, index, ¶ms); - - public z_GetProgramEnvParameterdvARB := GetGLFuncOrNil&('glGetProgramEnvParameterdvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: DummyEnum; index: UInt32; ¶ms: array of double) := GetProgramEnvParameterdvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: DummyEnum; index: UInt32; var ¶ms: double) := GetProgramEnvParameterdvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramEnvParameterdvARB(target, index, ¶ms); - - public z_GetProgramEnvParameterfvARB := GetGLFuncOrNil&('glGetProgramEnvParameterfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: DummyEnum; index: UInt32; ¶ms: array of single) := GetProgramEnvParameterfvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: DummyEnum; index: UInt32; var ¶ms: single) := GetProgramEnvParameterfvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramEnvParameterfvARB(target, index, ¶ms); - - public z_GetProgramivARB := GetGLFuncOrNil&('glGetProgramivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetProgramivARB(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetProgramivARB(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetProgramivARB(target, pname, ¶ms); - - public z_GetProgramStringARB := GetGLFuncOrNil&('glGetProgramStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringARB(target: DummyEnum; pname: DummyEnum; string: pointer) := z_GetProgramStringARB(target, pname, string); - - public z_IsProgramARB := GetGLFuncOrNil&('glIsProgramARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramARB(&program: UInt32): boolean := z_IsProgramARB(&program); - - {$endregion ARB_fragment_program ARB_vertex_program} - - {$region ARB_draw_buffers_blend} - - public z_BlendEquationiARB := GetGLFuncOrNil&('glBlendEquationiARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationiARB(buf: UInt32; mode: DummyEnum) := z_BlendEquationiARB(buf, mode); - - public z_BlendEquationSeparateiARB := GetGLFuncOrNil&('glBlendEquationSeparateiARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateiARB(buf: UInt32; modeRGB: DummyEnum; modeAlpha: DummyEnum) := z_BlendEquationSeparateiARB(buf, modeRGB, modeAlpha); - - public z_BlendFunciARB := GetGLFuncOrNil&('glBlendFunciARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunciARB(buf: UInt32; src: DummyEnum; dst: DummyEnum) := z_BlendFunciARB(buf, src, dst); - - public z_BlendFuncSeparateiARB := GetGLFuncOrNil&('glBlendFuncSeparateiARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateiARB(buf: UInt32; srcRGB: DummyEnum; dstRGB: DummyEnum; srcAlpha: DummyEnum; dstAlpha: DummyEnum) := z_BlendFuncSeparateiARB(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); - - {$endregion ARB_draw_buffers_blend} - - {$region ARB_color_buffer_float} - - public z_ClampColorARB := GetGLFuncOrNil&('glClampColorARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClampColorARB(target: DummyEnum; clamp: DummyEnum) := z_ClampColorARB(target, clamp); - - {$endregion ARB_color_buffer_float} - - {$region ARB_vertex_type_2_10_10_10_rev} - - public z_VertexP2ui := GetGLFuncOrNil&('glVertexP2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2ui(&type: DummyEnum; value: UInt32) := z_VertexP2ui(&type, value); - - public z_VertexP3ui := GetGLFuncOrNil&('glVertexP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3ui(&type: DummyEnum; value: UInt32) := z_VertexP3ui(&type, value); - - public z_VertexP4ui := GetGLFuncOrNil&('glVertexP4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4ui(&type: DummyEnum; value: UInt32) := z_VertexP4ui(&type, value); - - public z_VertexP2uiv := GetGLFuncOrNil&('glVertexP2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2uiv(&type: DummyEnum; value: array of UInt32) := VertexP2uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2uiv(&type: DummyEnum; var value: UInt32) := VertexP2uiv(&type, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP2uiv(&type: DummyEnum; value: pointer) := z_VertexP2uiv(&type, value); - - public z_VertexP3uiv := GetGLFuncOrNil&('glVertexP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3uiv(&type: DummyEnum; value: array of UInt32) := VertexP3uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3uiv(&type: DummyEnum; var value: UInt32) := VertexP3uiv(&type, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP3uiv(&type: DummyEnum; value: pointer) := z_VertexP3uiv(&type, value); - - public z_VertexP4uiv := GetGLFuncOrNil&('glVertexP4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4uiv(&type: DummyEnum; value: array of UInt32) := VertexP4uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4uiv(&type: DummyEnum; var value: UInt32) := VertexP4uiv(&type, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexP4uiv(&type: DummyEnum; value: pointer) := z_VertexP4uiv(&type, value); - - public z_TexCoordP1ui := GetGLFuncOrNil&('glTexCoordP1ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1ui(&type: DummyEnum; coords: UInt32) := z_TexCoordP1ui(&type, coords); - - public z_TexCoordP2ui := GetGLFuncOrNil&('glTexCoordP2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2ui(&type: DummyEnum; coords: UInt32) := z_TexCoordP2ui(&type, coords); - - public z_TexCoordP3ui := GetGLFuncOrNil&('glTexCoordP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3ui(&type: DummyEnum; coords: UInt32) := z_TexCoordP3ui(&type, coords); - - public z_TexCoordP4ui := GetGLFuncOrNil&('glTexCoordP4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4ui(&type: DummyEnum; coords: UInt32) := z_TexCoordP4ui(&type, coords); - - public z_TexCoordP1uiv := GetGLFuncOrNil&('glTexCoordP1uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1uiv(&type: DummyEnum; coords: array of UInt32) := TexCoordP1uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1uiv(&type: DummyEnum; var coords: UInt32) := TexCoordP1uiv(&type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP1uiv(&type: DummyEnum; coords: pointer) := z_TexCoordP1uiv(&type, coords); - - public z_TexCoordP2uiv := GetGLFuncOrNil&('glTexCoordP2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2uiv(&type: DummyEnum; coords: array of UInt32) := TexCoordP2uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2uiv(&type: DummyEnum; var coords: UInt32) := TexCoordP2uiv(&type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP2uiv(&type: DummyEnum; coords: pointer) := z_TexCoordP2uiv(&type, coords); - - public z_TexCoordP3uiv := GetGLFuncOrNil&('glTexCoordP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3uiv(&type: DummyEnum; coords: array of UInt32) := TexCoordP3uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3uiv(&type: DummyEnum; var coords: UInt32) := TexCoordP3uiv(&type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP3uiv(&type: DummyEnum; coords: pointer) := z_TexCoordP3uiv(&type, coords); - - public z_TexCoordP4uiv := GetGLFuncOrNil&('glTexCoordP4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4uiv(&type: DummyEnum; coords: array of UInt32) := TexCoordP4uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4uiv(&type: DummyEnum; var coords: UInt32) := TexCoordP4uiv(&type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordP4uiv(&type: DummyEnum; coords: pointer) := z_TexCoordP4uiv(&type, coords); - - public z_MultiTexCoordP1ui := GetGLFuncOrNil&('glMultiTexCoordP1ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1ui(texture: DummyEnum; &type: DummyEnum; coords: UInt32) := z_MultiTexCoordP1ui(texture, &type, coords); - - public z_MultiTexCoordP2ui := GetGLFuncOrNil&('glMultiTexCoordP2ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2ui(texture: DummyEnum; &type: DummyEnum; coords: UInt32) := z_MultiTexCoordP2ui(texture, &type, coords); - - public z_MultiTexCoordP3ui := GetGLFuncOrNil&('glMultiTexCoordP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3ui(texture: DummyEnum; &type: DummyEnum; coords: UInt32) := z_MultiTexCoordP3ui(texture, &type, coords); - - public z_MultiTexCoordP4ui := GetGLFuncOrNil&('glMultiTexCoordP4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4ui(texture: DummyEnum; &type: DummyEnum; coords: UInt32) := z_MultiTexCoordP4ui(texture, &type, coords); - - public z_MultiTexCoordP1uiv := GetGLFuncOrNil&('glMultiTexCoordP1uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1uiv(texture: DummyEnum; &type: DummyEnum; coords: array of UInt32) := MultiTexCoordP1uiv(texture, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1uiv(texture: DummyEnum; &type: DummyEnum; var coords: UInt32) := MultiTexCoordP1uiv(texture, &type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP1uiv(texture: DummyEnum; &type: DummyEnum; coords: pointer) := z_MultiTexCoordP1uiv(texture, &type, coords); - - public z_MultiTexCoordP2uiv := GetGLFuncOrNil&('glMultiTexCoordP2uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2uiv(texture: DummyEnum; &type: DummyEnum; coords: array of UInt32) := MultiTexCoordP2uiv(texture, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2uiv(texture: DummyEnum; &type: DummyEnum; var coords: UInt32) := MultiTexCoordP2uiv(texture, &type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP2uiv(texture: DummyEnum; &type: DummyEnum; coords: pointer) := z_MultiTexCoordP2uiv(texture, &type, coords); - - public z_MultiTexCoordP3uiv := GetGLFuncOrNil&('glMultiTexCoordP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3uiv(texture: DummyEnum; &type: DummyEnum; coords: array of UInt32) := MultiTexCoordP3uiv(texture, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3uiv(texture: DummyEnum; &type: DummyEnum; var coords: UInt32) := MultiTexCoordP3uiv(texture, &type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP3uiv(texture: DummyEnum; &type: DummyEnum; coords: pointer) := z_MultiTexCoordP3uiv(texture, &type, coords); - - public z_MultiTexCoordP4uiv := GetGLFuncOrNil&('glMultiTexCoordP4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4uiv(texture: DummyEnum; &type: DummyEnum; coords: array of UInt32) := MultiTexCoordP4uiv(texture, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4uiv(texture: DummyEnum; &type: DummyEnum; var coords: UInt32) := MultiTexCoordP4uiv(texture, &type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordP4uiv(texture: DummyEnum; &type: DummyEnum; coords: pointer) := z_MultiTexCoordP4uiv(texture, &type, coords); - - public z_NormalP3ui := GetGLFuncOrNil&('glNormalP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3ui(&type: DummyEnum; coords: UInt32) := z_NormalP3ui(&type, coords); - - public z_NormalP3uiv := GetGLFuncOrNil&('glNormalP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3uiv(&type: DummyEnum; coords: array of UInt32) := NormalP3uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3uiv(&type: DummyEnum; var coords: UInt32) := NormalP3uiv(&type, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalP3uiv(&type: DummyEnum; coords: pointer) := z_NormalP3uiv(&type, coords); - - public z_ColorP3ui := GetGLFuncOrNil&('glColorP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3ui(&type: DummyEnum; color: UInt32) := z_ColorP3ui(&type, color); - - public z_ColorP4ui := GetGLFuncOrNil&('glColorP4ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4ui(&type: DummyEnum; color: UInt32) := z_ColorP4ui(&type, color); - - public z_ColorP3uiv := GetGLFuncOrNil&('glColorP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3uiv(&type: DummyEnum; color: array of UInt32) := ColorP3uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(color,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3uiv(&type: DummyEnum; var color: UInt32) := ColorP3uiv(&type, @color); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP3uiv(&type: DummyEnum; color: pointer) := z_ColorP3uiv(&type, color); - - public z_ColorP4uiv := GetGLFuncOrNil&('glColorP4uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4uiv(&type: DummyEnum; color: array of UInt32) := ColorP4uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(color,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4uiv(&type: DummyEnum; var color: UInt32) := ColorP4uiv(&type, @color); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorP4uiv(&type: DummyEnum; color: pointer) := z_ColorP4uiv(&type, color); - - public z_SecondaryColorP3ui := GetGLFuncOrNil&('glSecondaryColorP3ui'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3ui(&type: DummyEnum; color: UInt32) := z_SecondaryColorP3ui(&type, color); - - public z_SecondaryColorP3uiv := GetGLFuncOrNil&('glSecondaryColorP3uiv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3uiv(&type: DummyEnum; color: array of UInt32) := SecondaryColorP3uiv(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(color,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3uiv(&type: DummyEnum; var color: UInt32) := SecondaryColorP3uiv(&type, @color); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorP3uiv(&type: DummyEnum; color: pointer) := z_SecondaryColorP3uiv(&type, color); - - {$endregion ARB_vertex_type_2_10_10_10_rev} - - {$region ARB_shading_language_include} - - public z_NamedStringARB := GetGLFuncOrNil&('glNamedStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: string; stringlen: Int32; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); var ptr_3 := Marshal.StringToHGlobalAnsi(name); NamedStringARB(&type, namelen, ptr_3, stringlen, ptr_5); Marshal.FreeHGlobal(ptr_3); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: string; stringlen: Int32; string: IntPtr); begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); NamedStringARB(&type, namelen, ptr_3, stringlen, string); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: IntPtr; stringlen: Int32; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); NamedStringARB(&type, namelen, name, stringlen, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: IntPtr; stringlen: Int32; string: IntPtr) := z_NamedStringARB(&type, namelen, name, stringlen, string); - - public z_DeleteNamedStringARB := GetGLFuncOrNil&('glDeleteNamedStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamedStringARB(namelen: Int32; name: string); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); DeleteNamedStringARB(namelen, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamedStringARB(namelen: Int32; name: IntPtr) := z_DeleteNamedStringARB(namelen, name); - - public z_CompileShaderIncludeARB := GetGLFuncOrNil&('glCompileShaderIncludeARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of IntPtr; length: array of Int32) := CompileShaderIncludeARB(shader, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(path,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of IntPtr; var length: Int32) := CompileShaderIncludeARB(shader, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(path,0)), @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of IntPtr; length: pointer) := CompileShaderIncludeARB(shader, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(path,0)), length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; var path: IntPtr; length: array of Int32) := CompileShaderIncludeARB(shader, count, @path, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; var path: IntPtr; var length: Int32) := CompileShaderIncludeARB(shader, count, @path, @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; var path: IntPtr; length: pointer) := CompileShaderIncludeARB(shader, count, @path, length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: pointer; length: array of Int32) := CompileShaderIncludeARB(shader, count, path, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: pointer; var length: Int32) := CompileShaderIncludeARB(shader, count, path, @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: pointer; length: pointer) := z_CompileShaderIncludeARB(shader, count, path, length); - - public z_IsNamedStringARB := GetGLFuncOrNil&('glIsNamedStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNamedStringARB(namelen: Int32; name: string): boolean; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := IsNamedStringARB(namelen, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNamedStringARB(namelen: Int32; name: IntPtr): boolean := z_IsNamedStringARB(namelen, name); - - public z_GetNamedStringARB := GetGLFuncOrNil&('glGetNamedStringARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; stringlen: array of Int32; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringARB(namelen, ptr_2, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stringlen,0)), ptr_5); Marshal.FreeHGlobal(ptr_2); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; stringlen: array of Int32; string: IntPtr); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringARB(namelen, ptr_2, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stringlen,0)), string); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; var stringlen: Int32; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringARB(namelen, ptr_2, bufSize, @stringlen, ptr_5); Marshal.FreeHGlobal(ptr_2); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; var stringlen: Int32; string: IntPtr); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringARB(namelen, ptr_2, bufSize, @stringlen, string); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; stringlen: pointer; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringARB(namelen, ptr_2, bufSize, stringlen, ptr_5); Marshal.FreeHGlobal(ptr_2); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; stringlen: pointer; string: IntPtr); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringARB(namelen, ptr_2, bufSize, stringlen, string); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; stringlen: array of Int32; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); GetNamedStringARB(namelen, name, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stringlen,0)), ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; stringlen: array of Int32; string: IntPtr) := GetNamedStringARB(namelen, name, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stringlen,0)), string); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; var stringlen: Int32; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); GetNamedStringARB(namelen, name, bufSize, @stringlen, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; var stringlen: Int32; string: IntPtr) := GetNamedStringARB(namelen, name, bufSize, @stringlen, string); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; stringlen: pointer; _string: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(_string); GetNamedStringARB(namelen, name, bufSize, stringlen, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; stringlen: pointer; string: IntPtr) := z_GetNamedStringARB(namelen, name, bufSize, stringlen, string); - - public z_GetNamedStringivARB := GetGLFuncOrNil&('glGetNamedStringivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: string; pname: DummyEnum; ¶ms: array of Int32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringivARB(namelen, ptr_2, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: string; pname: DummyEnum; var ¶ms: Int32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringivARB(namelen, ptr_2, pname, @¶ms); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: string; pname: DummyEnum; ¶ms: pointer); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); GetNamedStringivARB(namelen, ptr_2, pname, ¶ms); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: IntPtr; pname: DummyEnum; ¶ms: array of Int32) := GetNamedStringivARB(namelen, name, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: IntPtr; pname: DummyEnum; var ¶ms: Int32) := GetNamedStringivARB(namelen, name, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: IntPtr; pname: DummyEnum; ¶ms: pointer) := z_GetNamedStringivARB(namelen, name, pname, ¶ms); - - {$endregion ARB_shading_language_include} - - {$region ARB_texture_compression} - - public z_CompressedTexImage3DARB := GetGLFuncOrNil&('glCompressedTexImage3DARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3DARB(target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, data); - - public z_CompressedTexImage2DARB := GetGLFuncOrNil&('glCompressedTexImage2DARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2DARB(target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, data); - - public z_CompressedTexImage1DARB := GetGLFuncOrNil&('glCompressedTexImage1DARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1DARB(target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, data); - - public z_CompressedTexSubImage3DARB := GetGLFuncOrNil&('glCompressedTexSubImage3DARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3DARB(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; imageSize: Int32; data: pointer) := z_CompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - - public z_CompressedTexSubImage2DARB := GetGLFuncOrNil&('glCompressedTexSubImage2DARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2DARB(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DummyEnum; imageSize: Int32; data: pointer) := z_CompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, data); - - public z_CompressedTexSubImage1DARB := GetGLFuncOrNil&('glCompressedTexSubImage1DARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1DARB(target: DummyEnum; level: Int32; xoffset: Int32; width: Int32; format: DummyEnum; imageSize: Int32; data: pointer) := z_CompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, data); - - public z_GetCompressedTexImageARB := GetGLFuncOrNil&('glGetCompressedTexImageARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImageARB(target: DummyEnum; level: Int32; img: pointer) := z_GetCompressedTexImageARB(target, level, img); - - {$endregion ARB_texture_compression} - - {$region ARB_cl_event} - - public z_CreateSyncFromCLeventARB := GetGLFuncOrNil&('glCreateSyncFromCLeventARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: array of cl_context; &event: array of cl_event; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(context,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&event,0)), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: array of cl_context; var &event: cl_event; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(context,0)), @&event, flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: array of cl_context; &event: pointer; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(context,0)), &event, flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(var context: cl_context; &event: array of cl_event; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(@context, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&event,0)), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(var context: cl_context; var &event: cl_event; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(@context, @&event, flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(var context: cl_context; &event: pointer; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(@context, &event, flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: pointer; &event: array of cl_event; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(context, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&event,0)), flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: pointer; var &event: cl_event; flags: DummyFlags): GLsync := CreateSyncFromCLeventARB(context, @&event, flags); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: pointer; &event: pointer; flags: DummyFlags): GLsync := z_CreateSyncFromCLeventARB(context, &event, flags); - - {$endregion ARB_cl_event} - - {$region ARB_matrix_palette} - - public z_CurrentPaletteMatrixARB := GetGLFuncOrNil&('glCurrentPaletteMatrixARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CurrentPaletteMatrixARB(index: Int32) := z_CurrentPaletteMatrixARB(index); - - public z_MatrixIndexubvARB := GetGLFuncOrNil&('glMatrixIndexubvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexubvARB(size: Int32; indices: array of Byte) := MatrixIndexubvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexubvARB(size: Int32; var indices: Byte) := MatrixIndexubvARB(size, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexubvARB(size: Int32; indices: pointer) := z_MatrixIndexubvARB(size, indices); - - public z_MatrixIndexusvARB := GetGLFuncOrNil&('glMatrixIndexusvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexusvARB(size: Int32; indices: array of UInt16) := MatrixIndexusvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexusvARB(size: Int32; var indices: UInt16) := MatrixIndexusvARB(size, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexusvARB(size: Int32; indices: pointer) := z_MatrixIndexusvARB(size, indices); - - public z_MatrixIndexuivARB := GetGLFuncOrNil&('glMatrixIndexuivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexuivARB(size: Int32; indices: array of UInt32) := MatrixIndexuivARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexuivARB(size: Int32; var indices: UInt32) := MatrixIndexuivARB(size, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexuivARB(size: Int32; indices: pointer) := z_MatrixIndexuivARB(size, indices); - - public z_MatrixIndexPointerARB := GetGLFuncOrNil&('glMatrixIndexPointerARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexPointerARB(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_MatrixIndexPointerARB(size, &type, stride, _pointer); - - {$endregion ARB_matrix_palette} - - {$region ARB_debug_output} - - public z_DebugMessageControlARB := GetGLFuncOrNil&('glDebugMessageControlARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlARB(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; ids: array of UInt32; enabled: boolean) := DebugMessageControlARB(source, &type, severity, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlARB(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; var ids: UInt32; enabled: boolean) := DebugMessageControlARB(source, &type, severity, count, @ids, enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlARB(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; ids: pointer; enabled: boolean) := z_DebugMessageControlARB(source, &type, severity, count, ids, enabled); - - public z_DebugMessageInsertARB := GetGLFuncOrNil&('glDebugMessageInsertARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertARB(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; buf: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(buf); DebugMessageInsertARB(source, &type, id, severity, length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertARB(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; buf: IntPtr) := z_DebugMessageInsertARB(source, &type, id, severity, length, buf); - - public z_DebugMessageCallbackARB := GetGLFuncOrNil&('glDebugMessageCallbackARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallbackARB(callback: GLDEBUGPROC; userParam: pointer) := z_DebugMessageCallbackARB(callback, userParam); - - public z_GetDebugMessageLogARB := GetGLFuncOrNil&('glGetDebugMessageLogARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; sources: array of DebugSourceType; types: array of DebugMessageType; ids: array of UInt32; severities: array of DebugSeverityLevel; lengths: array of Int32; messageLog: IntPtr): UInt32 := GetDebugMessageLogARB(count, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sources,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(types,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(severities,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lengths,0)), messageLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; var sources: DebugSourceType; var types: DebugMessageType; var ids: UInt32; var severities: DebugSeverityLevel; var lengths: Int32; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLogARB(count, bufSize, @sources, @types, @ids, @severities, @lengths, ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; var sources: DebugSourceType; var types: DebugMessageType; var ids: UInt32; var severities: DebugSeverityLevel; var lengths: Int32; messageLog: IntPtr): UInt32 := GetDebugMessageLogARB(count, bufSize, @sources, @types, @ids, @severities, @lengths, messageLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; sources: pointer; types: pointer; ids: pointer; severities: pointer; lengths: pointer; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLogARB(count, bufSize, sources, types, ids, severities, lengths, ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; sources: pointer; types: pointer; ids: pointer; severities: pointer; lengths: pointer; messageLog: IntPtr): UInt32 := z_GetDebugMessageLogARB(count, bufSize, sources, types, ids, severities, lengths, messageLog); - - {$endregion ARB_debug_output} - - {$region ARB_vertex_program ARB_vertex_shader} - - public z_VertexAttrib1sARB := GetGLFuncOrNil&('glVertexAttrib1sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sARB(index: UInt32; x: Int16) := z_VertexAttrib1sARB(index, x); - - public z_VertexAttrib1fARB := GetGLFuncOrNil&('glVertexAttrib1fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fARB(index: UInt32; x: single) := z_VertexAttrib1fARB(index, x); - - public z_VertexAttrib1dARB := GetGLFuncOrNil&('glVertexAttrib1dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dARB(index: UInt32; x: double) := z_VertexAttrib1dARB(index, x); - - public z_VertexAttrib2sARB := GetGLFuncOrNil&('glVertexAttrib2sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sARB(index: UInt32; x: Int16; y: Int16) := z_VertexAttrib2sARB(index, x, y); - - public z_VertexAttrib2fARB := GetGLFuncOrNil&('glVertexAttrib2fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fARB(index: UInt32; x: single; y: single) := z_VertexAttrib2fARB(index, x, y); - - public z_VertexAttrib2dARB := GetGLFuncOrNil&('glVertexAttrib2dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dARB(index: UInt32; x: double; y: double) := z_VertexAttrib2dARB(index, x, y); - - public z_VertexAttrib3sARB := GetGLFuncOrNil&('glVertexAttrib3sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sARB(index: UInt32; x: Int16; y: Int16; z: Int16) := z_VertexAttrib3sARB(index, x, y, z); - - public z_VertexAttrib3fARB := GetGLFuncOrNil&('glVertexAttrib3fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fARB(index: UInt32; x: single; y: single; z: single) := z_VertexAttrib3fARB(index, x, y, z); - - public z_VertexAttrib3dARB := GetGLFuncOrNil&('glVertexAttrib3dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dARB(index: UInt32; x: double; y: double; z: double) := z_VertexAttrib3dARB(index, x, y, z); - - public z_VertexAttrib4sARB := GetGLFuncOrNil&('glVertexAttrib4sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sARB(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16) := z_VertexAttrib4sARB(index, x, y, z, w); - - public z_VertexAttrib4fARB := GetGLFuncOrNil&('glVertexAttrib4fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fARB(index: UInt32; x: single; y: single; z: single; w: single) := z_VertexAttrib4fARB(index, x, y, z, w); - - public z_VertexAttrib4dARB := GetGLFuncOrNil&('glVertexAttrib4dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dARB(index: UInt32; x: double; y: double; z: double; w: double) := z_VertexAttrib4dARB(index, x, y, z, w); - - public z_VertexAttrib4NubARB := GetGLFuncOrNil&('glVertexAttrib4NubARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubARB(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte) := z_VertexAttrib4NubARB(index, x, y, z, w); - - public z_VertexAttrib1svARB := GetGLFuncOrNil&('glVertexAttrib1svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; v: array of Int16) := VertexAttrib1svARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; var v: Int16) := VertexAttrib1svARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; v: pointer) := z_VertexAttrib1svARB(index, v); - - public z_VertexAttrib1fvARB := GetGLFuncOrNil&('glVertexAttrib1fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; v: array of single) := VertexAttrib1fvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; var v: single) := VertexAttrib1fvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; v: pointer) := z_VertexAttrib1fvARB(index, v); - - public z_VertexAttrib1dvARB := GetGLFuncOrNil&('glVertexAttrib1dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; v: array of double) := VertexAttrib1dvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; var v: double) := VertexAttrib1dvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; v: pointer) := z_VertexAttrib1dvARB(index, v); - - public z_VertexAttrib2svARB := GetGLFuncOrNil&('glVertexAttrib2svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; v: array of Int16) := VertexAttrib2svARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; var v: Int16) := VertexAttrib2svARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; v: pointer) := z_VertexAttrib2svARB(index, v); - - public z_VertexAttrib2fvARB := GetGLFuncOrNil&('glVertexAttrib2fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; v: array of single) := VertexAttrib2fvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; var v: single) := VertexAttrib2fvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; v: pointer) := z_VertexAttrib2fvARB(index, v); - - public z_VertexAttrib2dvARB := GetGLFuncOrNil&('glVertexAttrib2dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; v: array of double) := VertexAttrib2dvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; var v: double) := VertexAttrib2dvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; v: pointer) := z_VertexAttrib2dvARB(index, v); - - public z_VertexAttrib3svARB := GetGLFuncOrNil&('glVertexAttrib3svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; v: array of Int16) := VertexAttrib3svARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; var v: Int16) := VertexAttrib3svARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; v: pointer) := z_VertexAttrib3svARB(index, v); - - public z_VertexAttrib3fvARB := GetGLFuncOrNil&('glVertexAttrib3fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; v: array of single) := VertexAttrib3fvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; var v: single) := VertexAttrib3fvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; v: pointer) := z_VertexAttrib3fvARB(index, v); - - public z_VertexAttrib3dvARB := GetGLFuncOrNil&('glVertexAttrib3dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; v: array of double) := VertexAttrib3dvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; var v: double) := VertexAttrib3dvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; v: pointer) := z_VertexAttrib3dvARB(index, v); - - public z_VertexAttrib4bvARB := GetGLFuncOrNil&('glVertexAttrib4bvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; v: array of SByte) := VertexAttrib4bvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; var v: SByte) := VertexAttrib4bvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; v: pointer) := z_VertexAttrib4bvARB(index, v); - - public z_VertexAttrib4svARB := GetGLFuncOrNil&('glVertexAttrib4svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; v: array of Int16) := VertexAttrib4svARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; var v: Int16) := VertexAttrib4svARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; v: pointer) := z_VertexAttrib4svARB(index, v); - - public z_VertexAttrib4ivARB := GetGLFuncOrNil&('glVertexAttrib4ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; v: array of Int32) := VertexAttrib4ivARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; var v: Int32) := VertexAttrib4ivARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; v: pointer) := z_VertexAttrib4ivARB(index, v); - - public z_VertexAttrib4ubvARB := GetGLFuncOrNil&('glVertexAttrib4ubvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; v: array of Byte) := VertexAttrib4ubvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; var v: Byte) := VertexAttrib4ubvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; v: pointer) := z_VertexAttrib4ubvARB(index, v); - - public z_VertexAttrib4usvARB := GetGLFuncOrNil&('glVertexAttrib4usvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; v: array of UInt16) := VertexAttrib4usvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; var v: UInt16) := VertexAttrib4usvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; v: pointer) := z_VertexAttrib4usvARB(index, v); - - public z_VertexAttrib4uivARB := GetGLFuncOrNil&('glVertexAttrib4uivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; v: array of UInt32) := VertexAttrib4uivARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; var v: UInt32) := VertexAttrib4uivARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; v: pointer) := z_VertexAttrib4uivARB(index, v); - - public z_VertexAttrib4fvARB := GetGLFuncOrNil&('glVertexAttrib4fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; v: array of single) := VertexAttrib4fvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; var v: single) := VertexAttrib4fvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; v: pointer) := z_VertexAttrib4fvARB(index, v); - - public z_VertexAttrib4dvARB := GetGLFuncOrNil&('glVertexAttrib4dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; v: array of double) := VertexAttrib4dvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; var v: double) := VertexAttrib4dvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; v: pointer) := z_VertexAttrib4dvARB(index, v); - - public z_VertexAttrib4NbvARB := GetGLFuncOrNil&('glVertexAttrib4NbvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; v: array of SByte) := VertexAttrib4NbvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; var v: SByte) := VertexAttrib4NbvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; v: pointer) := z_VertexAttrib4NbvARB(index, v); - - public z_VertexAttrib4NsvARB := GetGLFuncOrNil&('glVertexAttrib4NsvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; v: array of Int16) := VertexAttrib4NsvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; var v: Int16) := VertexAttrib4NsvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; v: pointer) := z_VertexAttrib4NsvARB(index, v); - - public z_VertexAttrib4NivARB := GetGLFuncOrNil&('glVertexAttrib4NivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; v: array of Int32) := VertexAttrib4NivARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; var v: Int32) := VertexAttrib4NivARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; v: pointer) := z_VertexAttrib4NivARB(index, v); - - public z_VertexAttrib4NubvARB := GetGLFuncOrNil&('glVertexAttrib4NubvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; v: array of Byte) := VertexAttrib4NubvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; var v: Byte) := VertexAttrib4NubvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; v: pointer) := z_VertexAttrib4NubvARB(index, v); - - public z_VertexAttrib4NusvARB := GetGLFuncOrNil&('glVertexAttrib4NusvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; v: array of UInt16) := VertexAttrib4NusvARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; var v: UInt16) := VertexAttrib4NusvARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; v: pointer) := z_VertexAttrib4NusvARB(index, v); - - public z_VertexAttrib4NuivARB := GetGLFuncOrNil&('glVertexAttrib4NuivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; v: array of UInt32) := VertexAttrib4NuivARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; var v: UInt32) := VertexAttrib4NuivARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; v: pointer) := z_VertexAttrib4NuivARB(index, v); - - public z_VertexAttribPointerARB := GetGLFuncOrNil&('glVertexAttribPointerARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointerARB(index: UInt32; size: Int32; &type: DummyEnum; normalized: boolean; stride: Int32; _pointer: pointer) := z_VertexAttribPointerARB(index, size, &type, normalized, stride, _pointer); - - public z_EnableVertexAttribArrayARB := GetGLFuncOrNil&('glEnableVertexAttribArrayARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribArrayARB(index: UInt32) := z_EnableVertexAttribArrayARB(index); - - public z_DisableVertexAttribArrayARB := GetGLFuncOrNil&('glDisableVertexAttribArrayARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribArrayARB(index: UInt32) := z_DisableVertexAttribArrayARB(index); - - public z_GetVertexAttribdvARB := GetGLFuncOrNil&('glGetVertexAttribdvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: DummyEnum; ¶ms: array of double) := GetVertexAttribdvARB(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: DummyEnum; var ¶ms: double) := GetVertexAttribdvARB(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribdvARB(index, pname, ¶ms); - - public z_GetVertexAttribfvARB := GetGLFuncOrNil&('glGetVertexAttribfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: DummyEnum; ¶ms: array of single) := GetVertexAttribfvARB(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: DummyEnum; var ¶ms: single) := GetVertexAttribfvARB(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribfvARB(index, pname, ¶ms); - - public z_GetVertexAttribivARB := GetGLFuncOrNil&('glGetVertexAttribivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVertexAttribivARB(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVertexAttribivARB(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribivARB(index, pname, ¶ms); - - public z_GetVertexAttribPointervARB := GetGLFuncOrNil&('glGetVertexAttribPointervARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: DummyEnum; _pointer: array of IntPtr) := GetVertexAttribPointervARB(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: DummyEnum; var _pointer: IntPtr) := GetVertexAttribPointervARB(index, pname, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: DummyEnum; _pointer: pointer) := z_GetVertexAttribPointervARB(index, pname, _pointer); - - {$endregion ARB_vertex_program ARB_vertex_shader} - - {$region ARB_compute_variable_group_size} - - public z_DispatchComputeGroupSizeARB := GetGLFuncOrNil&('glDispatchComputeGroupSizeARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DispatchComputeGroupSizeARB(num_groups_x: UInt32; num_groups_y: UInt32; num_groups_z: UInt32; group_size_x: UInt32; group_size_y: UInt32; group_size_z: UInt32) := z_DispatchComputeGroupSizeARB(num_groups_x, num_groups_y, num_groups_z, group_size_x, group_size_y, group_size_z); - - {$endregion ARB_compute_variable_group_size} - - {$region ARB_draw_instanced} - - public z_DrawArraysInstancedARB := GetGLFuncOrNil&('glDrawArraysInstancedARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedARB(mode: DummyEnum; first: Int32; count: Int32; primcount: Int32) := z_DrawArraysInstancedARB(mode, first, count, primcount); - - public z_DrawElementsInstancedARB := GetGLFuncOrNil&('glDrawElementsInstancedARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedARB(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32) := z_DrawElementsInstancedARB(mode, count, &type, indices, primcount); - - {$endregion ARB_draw_instanced} - - {$region ARB_draw_buffers} - - public z_DrawBuffersARB := GetGLFuncOrNil&('glDrawBuffersARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersARB(n: Int32; bufs: array of DummyEnum) := DrawBuffersARB(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersARB(n: Int32; var bufs: DummyEnum) := DrawBuffersARB(n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersARB(n: Int32; bufs: pointer) := z_DrawBuffersARB(n, bufs); - - {$endregion ARB_draw_buffers} - - {$region OES_draw_texture} - - public z_DrawTexsOES := GetGLFuncOrNil&('glDrawTexsOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexsOES(x: Int16; y: Int16; z: Int16; width: Int16; height: Int16) := z_DrawTexsOES(x, y, z, width, height); - - public z_DrawTexiOES := GetGLFuncOrNil&('glDrawTexiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexiOES(x: Int32; y: Int32; z: Int32; width: Int32; height: Int32) := z_DrawTexiOES(x, y, z, width, height); - - public z_DrawTexfOES := GetGLFuncOrNil&('glDrawTexfOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexfOES(x: single; y: single; z: single; width: single; height: single) := z_DrawTexfOES(x, y, z, width, height); - - public z_DrawTexxOES := GetGLFuncOrNil&('glDrawTexxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexxOES(x: fixed; y: fixed; z: fixed; width: fixed; height: fixed) := z_DrawTexxOES(x, y, z, width, height); - - public z_DrawTexsvOES := GetGLFuncOrNil&('glDrawTexsvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexsvOES(coords: array of Int16) := DrawTexsvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexsvOES(var coords: Int16) := DrawTexsvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexsvOES(coords: pointer) := z_DrawTexsvOES(coords); - - public z_DrawTexivOES := GetGLFuncOrNil&('glDrawTexivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexivOES(coords: array of Int32) := DrawTexivOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexivOES(var coords: Int32) := DrawTexivOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexivOES(coords: pointer) := z_DrawTexivOES(coords); - - public z_DrawTexfvOES := GetGLFuncOrNil&('glDrawTexfvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexfvOES(coords: array of single) := DrawTexfvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexfvOES(var coords: single) := DrawTexfvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexfvOES(coords: pointer) := z_DrawTexfvOES(coords); - - public z_DrawTexxvOES := GetGLFuncOrNil&('glDrawTexxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexxvOES(coords: array of fixed) := DrawTexxvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexxvOES(var coords: fixed) := DrawTexxvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTexxvOES(coords: pointer) := z_DrawTexxvOES(coords); - - public z_TexParameterxv := GetGLFuncOrNil&('glTexParameterxv'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxv(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := TexParameterxv(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxv(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := TexParameterxv(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxv(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexParameterxv(target, pname, ¶ms); - - {$endregion OES_draw_texture} - - {$region ARB_sample_locations} - - public z_FramebufferSampleLocationsfvARB := GetGLFuncOrNil&('glFramebufferSampleLocationsfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvARB(target: DummyEnum; start: UInt32; count: Int32; v: array of single) := FramebufferSampleLocationsfvARB(target, start, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvARB(target: DummyEnum; start: UInt32; count: Int32; var v: single) := FramebufferSampleLocationsfvARB(target, start, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvARB(target: DummyEnum; start: UInt32; count: Int32; v: pointer) := z_FramebufferSampleLocationsfvARB(target, start, count, v); - - public z_NamedFramebufferSampleLocationsfvARB := GetGLFuncOrNil&('glNamedFramebufferSampleLocationsfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvARB(framebuffer: UInt32; start: UInt32; count: Int32; v: array of single) := NamedFramebufferSampleLocationsfvARB(framebuffer, start, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvARB(framebuffer: UInt32; start: UInt32; count: Int32; var v: single) := NamedFramebufferSampleLocationsfvARB(framebuffer, start, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvARB(framebuffer: UInt32; start: UInt32; count: Int32; v: pointer) := z_NamedFramebufferSampleLocationsfvARB(framebuffer, start, count, v); - - public z_EvaluateDepthValuesARB := GetGLFuncOrNil&('glEvaluateDepthValuesARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvaluateDepthValuesARB := z_EvaluateDepthValuesARB; - - {$endregion ARB_sample_locations} - - {$region ARB_geometry_shader4} - - public z_ProgramParameteriARB := GetGLFuncOrNil&('glProgramParameteriARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameteriARB(&program: UInt32; pname: DummyEnum; value: Int32) := z_ProgramParameteriARB(&program, pname, value); - - public z_FramebufferTextureARB := GetGLFuncOrNil&('glFramebufferTextureARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureARB(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32) := z_FramebufferTextureARB(target, attachment, texture, level); - - public z_FramebufferTextureLayerARB := GetGLFuncOrNil&('glFramebufferTextureLayerARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayerARB(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; layer: Int32) := z_FramebufferTextureLayerARB(target, attachment, texture, level, layer); - - public z_FramebufferTextureFaceARB := GetGLFuncOrNil&('glFramebufferTextureFaceARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureFaceARB(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; face: DummyEnum) := z_FramebufferTextureFaceARB(target, attachment, texture, level, face); - - {$endregion ARB_geometry_shader4} - - {$region ARB_robustness} - - public z_GetGraphicsResetStatusARB := GetGLFuncOrNil&('glGetGraphicsResetStatusARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGraphicsResetStatusARB: DummyEnum := z_GetGraphicsResetStatusARB; - - public z_GetnMapdvARB := GetGLFuncOrNil&('glGetnMapdvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdvARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; v: array of double) := GetnMapdvARB(target, query, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdvARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; var v: double) := GetnMapdvARB(target, query, bufSize, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdvARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; v: pointer) := z_GetnMapdvARB(target, query, bufSize, v); - - public z_GetnMapfvARB := GetGLFuncOrNil&('glGetnMapfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfvARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; v: array of single) := GetnMapfvARB(target, query, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfvARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; var v: single) := GetnMapfvARB(target, query, bufSize, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfvARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; v: pointer) := z_GetnMapfvARB(target, query, bufSize, v); - - public z_GetnMapivARB := GetGLFuncOrNil&('glGetnMapivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapivARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; v: array of Int32) := GetnMapivARB(target, query, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapivARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; var v: Int32) := GetnMapivARB(target, query, bufSize, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapivARB(target: DummyEnum; query: DummyEnum; bufSize: Int32; v: pointer) := z_GetnMapivARB(target, query, bufSize, v); - - public z_GetnPixelMapfvARB := GetGLFuncOrNil&('glGetnPixelMapfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfvARB(map: DummyEnum; bufSize: Int32; values: array of single) := GetnPixelMapfvARB(map, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfvARB(map: DummyEnum; bufSize: Int32; var values: single) := GetnPixelMapfvARB(map, bufSize, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfvARB(map: DummyEnum; bufSize: Int32; values: pointer) := z_GetnPixelMapfvARB(map, bufSize, values); - - public z_GetnPixelMapuivARB := GetGLFuncOrNil&('glGetnPixelMapuivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuivARB(map: DummyEnum; bufSize: Int32; values: array of UInt32) := GetnPixelMapuivARB(map, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuivARB(map: DummyEnum; bufSize: Int32; var values: UInt32) := GetnPixelMapuivARB(map, bufSize, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuivARB(map: DummyEnum; bufSize: Int32; values: pointer) := z_GetnPixelMapuivARB(map, bufSize, values); - - public z_GetnPixelMapusvARB := GetGLFuncOrNil&('glGetnPixelMapusvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusvARB(map: DummyEnum; bufSize: Int32; values: array of UInt16) := GetnPixelMapusvARB(map, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusvARB(map: DummyEnum; bufSize: Int32; var values: UInt16) := GetnPixelMapusvARB(map, bufSize, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusvARB(map: DummyEnum; bufSize: Int32; values: pointer) := z_GetnPixelMapusvARB(map, bufSize, values); - - public z_GetnPolygonStippleARB := GetGLFuncOrNil&('glGetnPolygonStippleARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStippleARB(bufSize: Int32; pattern: array of Byte) := GetnPolygonStippleARB(bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pattern,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStippleARB(bufSize: Int32; var pattern: Byte) := GetnPolygonStippleARB(bufSize, @pattern); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStippleARB(bufSize: Int32; pattern: pointer) := z_GetnPolygonStippleARB(bufSize, pattern); - - public z_GetnTexImageARB := GetGLFuncOrNil&('glGetnTexImageARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImageARB(target: DummyEnum; level: Int32; format: DummyEnum; &type: DummyEnum; bufSize: Int32; img: pointer) := z_GetnTexImageARB(target, level, format, &type, bufSize, img); - - public z_ReadnPixelsARB := GetGLFuncOrNil&('glReadnPixelsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixelsARB(x: Int32; y: Int32; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; bufSize: Int32; data: pointer) := z_ReadnPixelsARB(x, y, width, height, format, &type, bufSize, data); - - public z_GetnColorTableARB := GetGLFuncOrNil&('glGetnColorTableARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnColorTableARB(target: DummyEnum; format: DummyEnum; &type: DummyEnum; bufSize: Int32; table: pointer) := z_GetnColorTableARB(target, format, &type, bufSize, table); - - public z_GetnConvolutionFilterARB := GetGLFuncOrNil&('glGetnConvolutionFilterARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnConvolutionFilterARB(target: DummyEnum; format: DummyEnum; &type: DummyEnum; bufSize: Int32; image: pointer) := z_GetnConvolutionFilterARB(target, format, &type, bufSize, image); - - public z_GetnSeparableFilterARB := GetGLFuncOrNil&('glGetnSeparableFilterARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnSeparableFilterARB(target: DummyEnum; format: DummyEnum; &type: DummyEnum; rowBufSize: Int32; row: pointer; columnBufSize: Int32; column: pointer; span: pointer) := z_GetnSeparableFilterARB(target, format, &type, rowBufSize, row, columnBufSize, column, span); - - public z_GetnHistogramARB := GetGLFuncOrNil&('glGetnHistogramARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnHistogramARB(target: DummyEnum; reset: boolean; format: DummyEnum; &type: DummyEnum; bufSize: Int32; values: pointer) := z_GetnHistogramARB(target, reset, format, &type, bufSize, values); - - public z_GetnMinmaxARB := GetGLFuncOrNil&('glGetnMinmaxARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMinmaxARB(target: DummyEnum; reset: boolean; format: DummyEnum; &type: DummyEnum; bufSize: Int32; values: pointer) := z_GetnMinmaxARB(target, reset, format, &type, bufSize, values); - - public z_GetnCompressedTexImageARB := GetGLFuncOrNil&('glGetnCompressedTexImageARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImageARB(target: DummyEnum; lod: Int32; bufSize: Int32; img: pointer) := z_GetnCompressedTexImageARB(target, lod, bufSize, img); - - public z_GetnUniformfvARB := GetGLFuncOrNil&('glGetnUniformfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of single) := GetnUniformfvARB(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: single) := GetnUniformfvARB(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformfvARB(&program, location, bufSize, ¶ms); - - public z_GetnUniformivARB := GetGLFuncOrNil&('glGetnUniformivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of Int32) := GetnUniformivARB(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: Int32) := GetnUniformivARB(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformivARB(&program, location, bufSize, ¶ms); - - public z_GetnUniformuivARB := GetGLFuncOrNil&('glGetnUniformuivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of UInt32) := GetnUniformuivARB(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: UInt32) := GetnUniformuivARB(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformuivARB(&program, location, bufSize, ¶ms); - - public z_GetnUniformdvARB := GetGLFuncOrNil&('glGetnUniformdvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of double) := GetnUniformdvARB(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdvARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: double) := GetnUniformdvARB(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformdvARB(&program, location, bufSize, ¶ms); - - {$endregion ARB_robustness} - - {$region ARB_bindless_texture} - - public z_GetTextureHandleARB := GetGLFuncOrNil&('glGetTextureHandleARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureHandleARB(texture: UInt32): UInt64 := z_GetTextureHandleARB(texture); - - public z_GetTextureSamplerHandleARB := GetGLFuncOrNil&('glGetTextureSamplerHandleARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureSamplerHandleARB(texture: UInt32; sampler: UInt32): UInt64 := z_GetTextureSamplerHandleARB(texture, sampler); - - public z_MakeTextureHandleResidentARB := GetGLFuncOrNil&('glMakeTextureHandleResidentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleResidentARB(handle: UInt64) := z_MakeTextureHandleResidentARB(handle); - - public z_MakeTextureHandleNonResidentARB := GetGLFuncOrNil&('glMakeTextureHandleNonResidentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleNonResidentARB(handle: UInt64) := z_MakeTextureHandleNonResidentARB(handle); - - public z_GetImageHandleARB := GetGLFuncOrNil&('glGetImageHandleARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetImageHandleARB(texture: UInt32; level: Int32; layered: boolean; layer: Int32; format: DummyEnum): UInt64 := z_GetImageHandleARB(texture, level, layered, layer, format); - - public z_MakeImageHandleResidentARB := GetGLFuncOrNil&('glMakeImageHandleResidentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleResidentARB(handle: UInt64; access: DummyEnum) := z_MakeImageHandleResidentARB(handle, access); - - public z_MakeImageHandleNonResidentARB := GetGLFuncOrNil&('glMakeImageHandleNonResidentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleNonResidentARB(handle: UInt64) := z_MakeImageHandleNonResidentARB(handle); - - public z_UniformHandleui64ARB := GetGLFuncOrNil&('glUniformHandleui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64ARB(location: Int32; value: UInt64) := z_UniformHandleui64ARB(location, value); - - public z_UniformHandleui64vARB := GetGLFuncOrNil&('glUniformHandleui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vARB(location: Int32; count: Int32; value: array of UInt64) := UniformHandleui64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vARB(location: Int32; count: Int32; var value: UInt64) := UniformHandleui64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vARB(location: Int32; count: Int32; value: pointer) := z_UniformHandleui64vARB(location, count, value); - - public z_ProgramUniformHandleui64ARB := GetGLFuncOrNil&('glProgramUniformHandleui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64ARB(&program: UInt32; location: Int32; value: UInt64) := z_ProgramUniformHandleui64ARB(&program, location, value); - - public z_ProgramUniformHandleui64vARB := GetGLFuncOrNil&('glProgramUniformHandleui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vARB(&program: UInt32; location: Int32; count: Int32; values: array of UInt64) := ProgramUniformHandleui64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vARB(&program: UInt32; location: Int32; count: Int32; var values: UInt64) := ProgramUniformHandleui64vARB(&program, location, count, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vARB(&program: UInt32; location: Int32; count: Int32; values: pointer) := z_ProgramUniformHandleui64vARB(&program, location, count, values); - - public z_IsTextureHandleResidentARB := GetGLFuncOrNil&('glIsTextureHandleResidentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTextureHandleResidentARB(handle: UInt64): boolean := z_IsTextureHandleResidentARB(handle); - - public z_IsImageHandleResidentARB := GetGLFuncOrNil&('glIsImageHandleResidentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsImageHandleResidentARB(handle: UInt64): boolean := z_IsImageHandleResidentARB(handle); - - public z_VertexAttribL1ui64ARB := GetGLFuncOrNil&('glVertexAttribL1ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64ARB(index: UInt32; x: UInt64) := z_VertexAttribL1ui64ARB(index, x); - - public z_VertexAttribL1ui64vARB := GetGLFuncOrNil&('glVertexAttribL1ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vARB(index: UInt32; v: array of UInt64) := VertexAttribL1ui64vARB(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vARB(index: UInt32; var v: UInt64) := VertexAttribL1ui64vARB(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vARB(index: UInt32; v: pointer) := z_VertexAttribL1ui64vARB(index, v); - - public z_GetVertexAttribLui64vARB := GetGLFuncOrNil&('glGetVertexAttribLui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vARB(index: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetVertexAttribLui64vARB(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vARB(index: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetVertexAttribLui64vARB(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vARB(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribLui64vARB(index, pname, ¶ms); - - {$endregion ARB_bindless_texture} - - {$region ARB_gpu_shader_int64} - - public z_Uniform1i64ARB := GetGLFuncOrNil&('glUniform1i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64ARB(location: Int32; x: Int64) := z_Uniform1i64ARB(location, x); - - public z_Uniform2i64ARB := GetGLFuncOrNil&('glUniform2i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64ARB(location: Int32; x: Int64; y: Int64) := z_Uniform2i64ARB(location, x, y); - - public z_Uniform3i64ARB := GetGLFuncOrNil&('glUniform3i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64ARB(location: Int32; x: Int64; y: Int64; z: Int64) := z_Uniform3i64ARB(location, x, y, z); - - public z_Uniform4i64ARB := GetGLFuncOrNil&('glUniform4i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64ARB(location: Int32; x: Int64; y: Int64; z: Int64; w: Int64) := z_Uniform4i64ARB(location, x, y, z, w); - - public z_Uniform1i64vARB := GetGLFuncOrNil&('glUniform1i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vARB(location: Int32; count: Int32; value: array of Int64) := Uniform1i64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vARB(location: Int32; count: Int32; var value: Int64) := Uniform1i64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform1i64vARB(location, count, value); - - public z_Uniform2i64vARB := GetGLFuncOrNil&('glUniform2i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vARB(location: Int32; count: Int32; value: array of Int64) := Uniform2i64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vARB(location: Int32; count: Int32; var value: Int64) := Uniform2i64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform2i64vARB(location, count, value); - - public z_Uniform3i64vARB := GetGLFuncOrNil&('glUniform3i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vARB(location: Int32; count: Int32; value: array of Int64) := Uniform3i64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vARB(location: Int32; count: Int32; var value: Int64) := Uniform3i64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform3i64vARB(location, count, value); - - public z_Uniform4i64vARB := GetGLFuncOrNil&('glUniform4i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vARB(location: Int32; count: Int32; value: array of Int64) := Uniform4i64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vARB(location: Int32; count: Int32; var value: Int64) := Uniform4i64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform4i64vARB(location, count, value); - - public z_Uniform1ui64ARB := GetGLFuncOrNil&('glUniform1ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64ARB(location: Int32; x: UInt64) := z_Uniform1ui64ARB(location, x); - - public z_Uniform2ui64ARB := GetGLFuncOrNil&('glUniform2ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64ARB(location: Int32; x: UInt64; y: UInt64) := z_Uniform2ui64ARB(location, x, y); - - public z_Uniform3ui64ARB := GetGLFuncOrNil&('glUniform3ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64ARB(location: Int32; x: UInt64; y: UInt64; z: UInt64) := z_Uniform3ui64ARB(location, x, y, z); - - public z_Uniform4ui64ARB := GetGLFuncOrNil&('glUniform4ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64ARB(location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64) := z_Uniform4ui64ARB(location, x, y, z, w); - - public z_Uniform1ui64vARB := GetGLFuncOrNil&('glUniform1ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vARB(location: Int32; count: Int32; value: array of UInt64) := Uniform1ui64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vARB(location: Int32; count: Int32; var value: UInt64) := Uniform1ui64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform1ui64vARB(location, count, value); - - public z_Uniform2ui64vARB := GetGLFuncOrNil&('glUniform2ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vARB(location: Int32; count: Int32; value: array of UInt64) := Uniform2ui64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vARB(location: Int32; count: Int32; var value: UInt64) := Uniform2ui64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform2ui64vARB(location, count, value); - - public z_Uniform3ui64vARB := GetGLFuncOrNil&('glUniform3ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vARB(location: Int32; count: Int32; value: array of UInt64) := Uniform3ui64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vARB(location: Int32; count: Int32; var value: UInt64) := Uniform3ui64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform3ui64vARB(location, count, value); - - public z_Uniform4ui64vARB := GetGLFuncOrNil&('glUniform4ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vARB(location: Int32; count: Int32; value: array of UInt64) := Uniform4ui64vARB(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vARB(location: Int32; count: Int32; var value: UInt64) := Uniform4ui64vARB(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vARB(location: Int32; count: Int32; value: pointer) := z_Uniform4ui64vARB(location, count, value); - - public z_GetUniformi64vARB := GetGLFuncOrNil&('glGetUniformi64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vARB(&program: UInt32; location: Int32; ¶ms: array of Int64) := GetUniformi64vARB(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vARB(&program: UInt32; location: Int32; var ¶ms: Int64) := GetUniformi64vARB(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vARB(&program: UInt32; location: Int32; ¶ms: pointer) := z_GetUniformi64vARB(&program, location, ¶ms); - - public z_GetUniformui64vARB := GetGLFuncOrNil&('glGetUniformui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vARB(&program: UInt32; location: Int32; ¶ms: array of UInt64) := GetUniformui64vARB(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vARB(&program: UInt32; location: Int32; var ¶ms: UInt64) := GetUniformui64vARB(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vARB(&program: UInt32; location: Int32; ¶ms: pointer) := z_GetUniformui64vARB(&program, location, ¶ms); - - public z_GetnUniformi64vARB := GetGLFuncOrNil&('glGetnUniformi64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformi64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of Int64) := GetnUniformi64vARB(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformi64vARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: Int64) := GetnUniformi64vARB(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformi64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformi64vARB(&program, location, bufSize, ¶ms); - - public z_GetnUniformui64vARB := GetGLFuncOrNil&('glGetnUniformui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformui64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of UInt64) := GetnUniformui64vARB(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformui64vARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: UInt64) := GetnUniformui64vARB(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformui64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformui64vARB(&program, location, bufSize, ¶ms); - - public z_ProgramUniform1i64ARB := GetGLFuncOrNil&('glProgramUniform1i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64ARB(&program: UInt32; location: Int32; x: Int64) := z_ProgramUniform1i64ARB(&program, location, x); - - public z_ProgramUniform2i64ARB := GetGLFuncOrNil&('glProgramUniform2i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64ARB(&program: UInt32; location: Int32; x: Int64; y: Int64) := z_ProgramUniform2i64ARB(&program, location, x, y); - - public z_ProgramUniform3i64ARB := GetGLFuncOrNil&('glProgramUniform3i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64ARB(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64) := z_ProgramUniform3i64ARB(&program, location, x, y, z); - - public z_ProgramUniform4i64ARB := GetGLFuncOrNil&('glProgramUniform4i64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64ARB(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64; w: Int64) := z_ProgramUniform4i64ARB(&program, location, x, y, z, w); - - public z_ProgramUniform1i64vARB := GetGLFuncOrNil&('glProgramUniform1i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform1i64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform1i64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1i64vARB(&program, location, count, value); - - public z_ProgramUniform2i64vARB := GetGLFuncOrNil&('glProgramUniform2i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform2i64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform2i64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2i64vARB(&program, location, count, value); - - public z_ProgramUniform3i64vARB := GetGLFuncOrNil&('glProgramUniform3i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform3i64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform3i64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3i64vARB(&program, location, count, value); - - public z_ProgramUniform4i64vARB := GetGLFuncOrNil&('glProgramUniform4i64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform4i64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform4i64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4i64vARB(&program, location, count, value); - - public z_ProgramUniform1ui64ARB := GetGLFuncOrNil&('glProgramUniform1ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64ARB(&program: UInt32; location: Int32; x: UInt64) := z_ProgramUniform1ui64ARB(&program, location, x); - - public z_ProgramUniform2ui64ARB := GetGLFuncOrNil&('glProgramUniform2ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64ARB(&program: UInt32; location: Int32; x: UInt64; y: UInt64) := z_ProgramUniform2ui64ARB(&program, location, x, y); - - public z_ProgramUniform3ui64ARB := GetGLFuncOrNil&('glProgramUniform3ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64ARB(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64) := z_ProgramUniform3ui64ARB(&program, location, x, y, z); - - public z_ProgramUniform4ui64ARB := GetGLFuncOrNil&('glProgramUniform4ui64ARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64ARB(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64) := z_ProgramUniform4ui64ARB(&program, location, x, y, z, w); - - public z_ProgramUniform1ui64vARB := GetGLFuncOrNil&('glProgramUniform1ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform1ui64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform1ui64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1ui64vARB(&program, location, count, value); - - public z_ProgramUniform2ui64vARB := GetGLFuncOrNil&('glProgramUniform2ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform2ui64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform2ui64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2ui64vARB(&program, location, count, value); - - public z_ProgramUniform3ui64vARB := GetGLFuncOrNil&('glProgramUniform3ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform3ui64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform3ui64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3ui64vARB(&program, location, count, value); - - public z_ProgramUniform4ui64vARB := GetGLFuncOrNil&('glProgramUniform4ui64vARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform4ui64vARB(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform4ui64vARB(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vARB(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4ui64vARB(&program, location, count, value); - - {$endregion ARB_gpu_shader_int64} - - {$region ARB_fragment_program ARB_vertex_program NV_fragment_program} - - public z_ProgramLocalParameter4dARB := GetGLFuncOrNil&('glProgramLocalParameter4dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dARB(target: DummyEnum; index: UInt32; x: double; y: double; z: double; w: double) := z_ProgramLocalParameter4dARB(target, index, x, y, z, w); - - public z_ProgramLocalParameter4dvARB := GetGLFuncOrNil&('glProgramLocalParameter4dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: DummyEnum; index: UInt32; ¶ms: array of double) := ProgramLocalParameter4dvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: DummyEnum; index: UInt32; var ¶ms: double) := ProgramLocalParameter4dvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramLocalParameter4dvARB(target, index, ¶ms); - - public z_ProgramLocalParameter4fARB := GetGLFuncOrNil&('glProgramLocalParameter4fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fARB(target: DummyEnum; index: UInt32; x: single; y: single; z: single; w: single) := z_ProgramLocalParameter4fARB(target, index, x, y, z, w); - - public z_ProgramLocalParameter4fvARB := GetGLFuncOrNil&('glProgramLocalParameter4fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: DummyEnum; index: UInt32; ¶ms: array of single) := ProgramLocalParameter4fvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: DummyEnum; index: UInt32; var ¶ms: single) := ProgramLocalParameter4fvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramLocalParameter4fvARB(target, index, ¶ms); - - public z_GetProgramLocalParameterdvARB := GetGLFuncOrNil&('glGetProgramLocalParameterdvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: DummyEnum; index: UInt32; ¶ms: array of double) := GetProgramLocalParameterdvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: DummyEnum; index: UInt32; var ¶ms: double) := GetProgramLocalParameterdvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramLocalParameterdvARB(target, index, ¶ms); - - public z_GetProgramLocalParameterfvARB := GetGLFuncOrNil&('glGetProgramLocalParameterfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: DummyEnum; index: UInt32; ¶ms: array of single) := GetProgramLocalParameterfvARB(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: DummyEnum; index: UInt32; var ¶ms: single) := GetProgramLocalParameterfvARB(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramLocalParameterfvARB(target, index, ¶ms); - - {$endregion ARB_fragment_program ARB_vertex_program NV_fragment_program} - - {$region ARB_transpose_matrix} - - public z_LoadTransposeMatrixfARB := GetGLFuncOrNil&('glLoadTransposeMatrixfARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixfARB(m: array of single) := LoadTransposeMatrixfARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixfARB(var m: single) := LoadTransposeMatrixfARB(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixfARB(m: pointer) := z_LoadTransposeMatrixfARB(m); - - public z_LoadTransposeMatrixdARB := GetGLFuncOrNil&('glLoadTransposeMatrixdARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixdARB(m: array of double) := LoadTransposeMatrixdARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixdARB(var m: double) := LoadTransposeMatrixdARB(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixdARB(m: pointer) := z_LoadTransposeMatrixdARB(m); - - public z_MultTransposeMatrixfARB := GetGLFuncOrNil&('glMultTransposeMatrixfARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixfARB(m: array of single) := MultTransposeMatrixfARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixfARB(var m: single) := MultTransposeMatrixfARB(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixfARB(m: pointer) := z_MultTransposeMatrixfARB(m); - - public z_MultTransposeMatrixdARB := GetGLFuncOrNil&('glMultTransposeMatrixdARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixdARB(m: array of double) := MultTransposeMatrixdARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixdARB(var m: double) := MultTransposeMatrixdARB(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixdARB(m: pointer) := z_MultTransposeMatrixdARB(m); - - {$endregion ARB_transpose_matrix} - - {$region ARB_parallel_shader_compile} - - public z_MaxShaderCompilerThreadsARB := GetGLFuncOrNil&('glMaxShaderCompilerThreadsARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaxShaderCompilerThreadsARB(count: UInt32) := z_MaxShaderCompilerThreadsARB(count); - - {$endregion ARB_parallel_shader_compile} - - {$region ARB_sample_shading} - - public z_MinSampleShadingARB := GetGLFuncOrNil&('glMinSampleShadingARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinSampleShadingARB(value: single) := z_MinSampleShadingARB(value); - - {$endregion ARB_sample_shading} - - {$region ARB_indirect_parameters} - - public z_MultiDrawArraysIndirectCountARB := GetGLFuncOrNil&('glMultiDrawArraysIndirectCountARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectCountARB(mode: DummyEnum; indirect: pointer; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := z_MultiDrawArraysIndirectCountARB(mode, indirect, drawcount, maxdrawcount, stride); - - public z_MultiDrawElementsIndirectCountARB := GetGLFuncOrNil&('glMultiDrawElementsIndirectCountARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectCountARB(mode: DummyEnum; &type: DummyEnum; indirect: pointer; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := z_MultiDrawElementsIndirectCountARB(mode, &type, indirect, drawcount, maxdrawcount, stride); - - {$endregion ARB_indirect_parameters} - - {$region ARB_point_parameters} - - public z_PointParameterfARB := GetGLFuncOrNil&('glPointParameterfARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfARB(pname: DummyEnum; param: single) := z_PointParameterfARB(pname, param); - - public z_PointParameterfvARB := GetGLFuncOrNil&('glPointParameterfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvARB(pname: DummyEnum; ¶ms: array of single) := PointParameterfvARB(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvARB(pname: DummyEnum; var ¶ms: single) := PointParameterfvARB(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvARB(pname: DummyEnum; ¶ms: pointer) := z_PointParameterfvARB(pname, ¶ms); - - {$endregion ARB_point_parameters} - - {$region ARB_ES3_2_compatibility} - - public z_PrimitiveBoundingBoxARB := GetGLFuncOrNil&('glPrimitiveBoundingBoxARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveBoundingBoxARB(minX: single; minY: single; minZ: single; minW: single; maxX: single; maxY: single; maxZ: single; maxW: single) := z_PrimitiveBoundingBoxARB(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - - {$endregion ARB_ES3_2_compatibility} - - {$region ARB_multisample} - - public z_SampleCoverageARB := GetGLFuncOrNil&('glSampleCoverageARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleCoverageARB(value: single; invert: boolean) := z_SampleCoverageARB(value, invert); - - {$endregion ARB_multisample} - - {$region ARB_gl_spirv} - - public z_SpecializeShaderARB := GetGLFuncOrNil&('glSpecializeShaderARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of UInt32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; var pConstantValue: UInt32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), @pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: pointer); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: array of UInt32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, @pConstantIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: UInt32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, @pConstantIndex, @pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: pointer); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, @pConstantIndex, pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: pointer; pConstantValue: array of UInt32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, pConstantIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: pointer; var pConstantValue: UInt32); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, pConstantIndex, @pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: pointer; pConstantValue: pointer); begin var ptr_2 := Marshal.StringToHGlobalAnsi(pEntryPoint); SpecializeShaderARB(shader, ptr_2, numSpecializationConstants, pConstantIndex, pConstantValue); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of UInt32) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; var pConstantValue: UInt32) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), @pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: pointer) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantIndex,0)), pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: array of UInt32) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, @pConstantIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: UInt32) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, @pConstantIndex, @pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: pointer) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, @pConstantIndex, pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: pointer; pConstantValue: array of UInt32) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pConstantValue,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: pointer; var pConstantValue: UInt32) := SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, @pConstantValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: pointer; pConstantValue: pointer) := z_SpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); - - {$endregion ARB_gl_spirv} - - {$region ARB_texture_buffer_object} - - public z_TexBufferARB := GetGLFuncOrNil&('glTexBufferARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferARB(target: DummyEnum; internalformat: DummyEnum; buffer: UInt32) := z_TexBufferARB(target, internalformat, buffer); - - {$endregion ARB_texture_buffer_object} - - {$region ARB_sparse_texture} - - public z_TexPageCommitmentARB := GetGLFuncOrNil&('glTexPageCommitmentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexPageCommitmentARB(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; commit: boolean) := z_TexPageCommitmentARB(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); - - {$endregion ARB_sparse_texture} - - {$region ARB_vertex_blend} - - public z_WeightbvARB := GetGLFuncOrNil&('glWeightbvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightbvARB(size: Int32; weights: array of SByte) := WeightbvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightbvARB(size: Int32; var weights: SByte) := WeightbvARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightbvARB(size: Int32; weights: pointer) := z_WeightbvARB(size, weights); - - public z_WeightsvARB := GetGLFuncOrNil&('glWeightsvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightsvARB(size: Int32; weights: array of Int16) := WeightsvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightsvARB(size: Int32; var weights: Int16) := WeightsvARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightsvARB(size: Int32; weights: pointer) := z_WeightsvARB(size, weights); - - public z_WeightivARB := GetGLFuncOrNil&('glWeightivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightivARB(size: Int32; weights: array of Int32) := WeightivARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightivARB(size: Int32; var weights: Int32) := WeightivARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightivARB(size: Int32; weights: pointer) := z_WeightivARB(size, weights); - - public z_WeightfvARB := GetGLFuncOrNil&('glWeightfvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightfvARB(size: Int32; weights: array of single) := WeightfvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightfvARB(size: Int32; var weights: single) := WeightfvARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightfvARB(size: Int32; weights: pointer) := z_WeightfvARB(size, weights); - - public z_WeightdvARB := GetGLFuncOrNil&('glWeightdvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightdvARB(size: Int32; weights: array of double) := WeightdvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightdvARB(size: Int32; var weights: double) := WeightdvARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightdvARB(size: Int32; weights: pointer) := z_WeightdvARB(size, weights); - - public z_WeightubvARB := GetGLFuncOrNil&('glWeightubvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightubvARB(size: Int32; weights: array of Byte) := WeightubvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightubvARB(size: Int32; var weights: Byte) := WeightubvARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightubvARB(size: Int32; weights: pointer) := z_WeightubvARB(size, weights); - - public z_WeightusvARB := GetGLFuncOrNil&('glWeightusvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightusvARB(size: Int32; weights: array of UInt16) := WeightusvARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightusvARB(size: Int32; var weights: UInt16) := WeightusvARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightusvARB(size: Int32; weights: pointer) := z_WeightusvARB(size, weights); - - public z_WeightuivARB := GetGLFuncOrNil&('glWeightuivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightuivARB(size: Int32; weights: array of UInt32) := WeightuivARB(size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightuivARB(size: Int32; var weights: UInt32) := WeightuivARB(size, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightuivARB(size: Int32; weights: pointer) := z_WeightuivARB(size, weights); - - public z_WeightPointerARB := GetGLFuncOrNil&('glWeightPointerARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPointerARB(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_WeightPointerARB(size, &type, stride, _pointer); - - public z_VertexBlendARB := GetGLFuncOrNil&('glVertexBlendARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBlendARB(count: Int32) := z_VertexBlendARB(count); - - {$endregion ARB_vertex_blend} - - {$region ARB_window_pos} - - public z_WindowPos2dARB := GetGLFuncOrNil&('glWindowPos2dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dARB(x: double; y: double) := z_WindowPos2dARB(x, y); - - public z_WindowPos2fARB := GetGLFuncOrNil&('glWindowPos2fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fARB(x: single; y: single) := z_WindowPos2fARB(x, y); - - public z_WindowPos2iARB := GetGLFuncOrNil&('glWindowPos2iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iARB(x: Int32; y: Int32) := z_WindowPos2iARB(x, y); - - public z_WindowPos2sARB := GetGLFuncOrNil&('glWindowPos2sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sARB(x: Int16; y: Int16) := z_WindowPos2sARB(x, y); - - public z_WindowPos2dvARB := GetGLFuncOrNil&('glWindowPos2dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvARB(v: array of double) := WindowPos2dvARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvARB(var v: double) := WindowPos2dvARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvARB(v: pointer) := z_WindowPos2dvARB(v); - - public z_WindowPos2fvARB := GetGLFuncOrNil&('glWindowPos2fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvARB(v: array of single) := WindowPos2fvARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvARB(var v: single) := WindowPos2fvARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvARB(v: pointer) := z_WindowPos2fvARB(v); - - public z_WindowPos2ivARB := GetGLFuncOrNil&('glWindowPos2ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivARB(v: array of Int32) := WindowPos2ivARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivARB(var v: Int32) := WindowPos2ivARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivARB(v: pointer) := z_WindowPos2ivARB(v); - - public z_WindowPos2svARB := GetGLFuncOrNil&('glWindowPos2svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svARB(v: array of Int16) := WindowPos2svARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svARB(var v: Int16) := WindowPos2svARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svARB(v: pointer) := z_WindowPos2svARB(v); - - public z_WindowPos3dARB := GetGLFuncOrNil&('glWindowPos3dARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dARB(x: double; y: double; z: double) := z_WindowPos3dARB(x, y, z); - - public z_WindowPos3fARB := GetGLFuncOrNil&('glWindowPos3fARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fARB(x: single; y: single; z: single) := z_WindowPos3fARB(x, y, z); - - public z_WindowPos3iARB := GetGLFuncOrNil&('glWindowPos3iARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iARB(x: Int32; y: Int32; z: Int32) := z_WindowPos3iARB(x, y, z); - - public z_WindowPos3sARB := GetGLFuncOrNil&('glWindowPos3sARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sARB(x: Int16; y: Int16; z: Int16) := z_WindowPos3sARB(x, y, z); - - public z_WindowPos3dvARB := GetGLFuncOrNil&('glWindowPos3dvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvARB(v: array of double) := WindowPos3dvARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvARB(var v: double) := WindowPos3dvARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvARB(v: pointer) := z_WindowPos3dvARB(v); - - public z_WindowPos3fvARB := GetGLFuncOrNil&('glWindowPos3fvARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvARB(v: array of single) := WindowPos3fvARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvARB(var v: single) := WindowPos3fvARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvARB(v: pointer) := z_WindowPos3fvARB(v); - - public z_WindowPos3ivARB := GetGLFuncOrNil&('glWindowPos3ivARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivARB(v: array of Int32) := WindowPos3ivARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivARB(var v: Int32) := WindowPos3ivARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivARB(v: pointer) := z_WindowPos3ivARB(v); - - public z_WindowPos3svARB := GetGLFuncOrNil&('glWindowPos3svARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svARB(v: array of Int16) := WindowPos3svARB(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svARB(var v: Int16) := WindowPos3svARB(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svARB(v: pointer) := z_WindowPos3svARB(v); - - {$endregion ARB_window_pos} + public z_BlendFuncSeparateIndexedAMD_adr := GetFuncAdr('glBlendFuncSeparateIndexedAMD'); + public z_BlendFuncSeparateIndexedAMD_ovr_0 := GetFuncOrNil&(z_BlendFuncSeparateIndexedAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateIndexedAMD(buf: UInt32; srcRGB: BlendingFactor; dstRGB: BlendingFactor; srcAlpha: BlendingFactor; dstAlpha: BlendingFactor); + begin + z_BlendFuncSeparateIndexedAMD_ovr_0(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + end; + + public z_BlendEquationIndexedAMD_adr := GetFuncAdr('glBlendEquationIndexedAMD'); + public z_BlendEquationIndexedAMD_ovr_0 := GetFuncOrNil&(z_BlendEquationIndexedAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationIndexedAMD(buf: UInt32; mode: BlendEquationModeEXT); + begin + z_BlendEquationIndexedAMD_ovr_0(buf, mode); + end; + + public z_BlendEquationSeparateIndexedAMD_adr := GetFuncAdr('glBlendEquationSeparateIndexedAMD'); + public z_BlendEquationSeparateIndexedAMD_ovr_0 := GetFuncOrNil&(z_BlendEquationSeparateIndexedAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateIndexedAMD(buf: UInt32; modeRGB: BlendEquationModeEXT; modeAlpha: BlendEquationModeEXT); + begin + z_BlendEquationSeparateIndexedAMD_ovr_0(buf, modeRGB, modeAlpha); + end; end; - gl_EXT = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glFramebufferMultisampleAdvancedAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_RenderbufferStorageMultisampleAdvancedAMD_adr := GetFuncAdr('glRenderbufferStorageMultisampleAdvancedAMD'); + public z_RenderbufferStorageMultisampleAdvancedAMD_ovr_0 := GetFuncOrNil&(z_RenderbufferStorageMultisampleAdvancedAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleAdvancedAMD(target: RenderbufferTarget; samples: Int32; storageSamples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_RenderbufferStorageMultisampleAdvancedAMD_ovr_0(target, samples, storageSamples, _internalformat, width, height); end; - {$region EXT_win32_keyed_mutex} - - public z_AcquireKeyedMutexWin32EXT := GetGLFuncOrNil&('glAcquireKeyedMutexWin32EXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AcquireKeyedMutexWin32EXT(memory: UInt32; key: UInt64; timeout: UInt32): boolean := z_AcquireKeyedMutexWin32EXT(memory, key, timeout); - - public z_ReleaseKeyedMutexWin32EXT := GetGLFuncOrNil&('glReleaseKeyedMutexWin32EXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseKeyedMutexWin32EXT(memory: UInt32; key: UInt64): boolean := z_ReleaseKeyedMutexWin32EXT(memory, key); - - {$endregion EXT_win32_keyed_mutex} - - {$region EXT_separate_shader_objects} - - public z_UseShaderProgramEXT := GetGLFuncOrNil&('glUseShaderProgramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseShaderProgramEXT(&type: DummyEnum; &program: UInt32) := z_UseShaderProgramEXT(&type, &program); - - public z_ActiveProgramEXT := GetGLFuncOrNil&('glActiveProgramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveProgramEXT(&program: UInt32) := z_ActiveProgramEXT(&program); - - public z_CreateShaderProgramEXT := GetGLFuncOrNil&('glCreateShaderProgramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramEXT(&type: DummyEnum; _string: string): UInt32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(_string); Result := CreateShaderProgramEXT(&type, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramEXT(&type: DummyEnum; string: IntPtr): UInt32 := z_CreateShaderProgramEXT(&type, string); - - public z_UseProgramStagesEXT := GetGLFuncOrNil&('glUseProgramStagesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgramStagesEXT(pipeline: UInt32; stages: DummyFlags; &program: UInt32) := z_UseProgramStagesEXT(pipeline, stages, &program); - - public z_ActiveShaderProgramEXT := GetGLFuncOrNil&('glActiveShaderProgramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveShaderProgramEXT(pipeline: UInt32; &program: UInt32) := z_ActiveShaderProgramEXT(pipeline, &program); - - public z_CreateShaderProgramvEXT := GetGLFuncOrNil&('glCreateShaderProgramvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramvEXT(&type: DummyEnum; count: Int32; strings: array of IntPtr): UInt32 := CreateShaderProgramvEXT(&type, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(strings,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramvEXT(&type: DummyEnum; count: Int32; var strings: IntPtr): UInt32 := CreateShaderProgramvEXT(&type, count, @strings); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramvEXT(&type: DummyEnum; count: Int32; strings: pointer): UInt32 := z_CreateShaderProgramvEXT(&type, count, strings); - - public z_BindProgramPipelineEXT := GetGLFuncOrNil&('glBindProgramPipelineEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramPipelineEXT(pipeline: UInt32) := z_BindProgramPipelineEXT(pipeline); - - public z_DeleteProgramPipelinesEXT := GetGLFuncOrNil&('glDeleteProgramPipelinesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelinesEXT(n: Int32; pipelines: array of UInt32) := DeleteProgramPipelinesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pipelines,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelinesEXT(n: Int32; var pipelines: UInt32) := DeleteProgramPipelinesEXT(n, @pipelines); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramPipelinesEXT(n: Int32; pipelines: pointer) := z_DeleteProgramPipelinesEXT(n, pipelines); - - public z_GenProgramPipelinesEXT := GetGLFuncOrNil&('glGenProgramPipelinesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelinesEXT(n: Int32; pipelines: array of UInt32) := GenProgramPipelinesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pipelines,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelinesEXT(n: Int32; var pipelines: UInt32) := GenProgramPipelinesEXT(n, @pipelines); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramPipelinesEXT(n: Int32; pipelines: pointer) := z_GenProgramPipelinesEXT(n, pipelines); - - public z_IsProgramPipelineEXT := GetGLFuncOrNil&('glIsProgramPipelineEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramPipelineEXT(pipeline: UInt32): boolean := z_IsProgramPipelineEXT(pipeline); - - public z_GetProgramPipelineivEXT := GetGLFuncOrNil&('glGetProgramPipelineivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineivEXT(pipeline: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetProgramPipelineivEXT(pipeline, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineivEXT(pipeline: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetProgramPipelineivEXT(pipeline, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineivEXT(pipeline: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetProgramPipelineivEXT(pipeline, pname, ¶ms); - - public z_ValidateProgramPipelineEXT := GetGLFuncOrNil&('glValidateProgramPipelineEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgramPipelineEXT(pipeline: UInt32) := z_ValidateProgramPipelineEXT(pipeline); - - public z_GetProgramPipelineInfoLogEXT := GetGLFuncOrNil&('glGetProgramPipelineInfoLogEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLogEXT(pipeline: UInt32; bufSize: Int32; length: array of Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramPipelineInfoLogEXT(pipeline, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLogEXT(pipeline: UInt32; bufSize: Int32; length: array of Int32; infoLog: IntPtr) := GetProgramPipelineInfoLogEXT(pipeline, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLogEXT(pipeline: UInt32; bufSize: Int32; var length: Int32; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramPipelineInfoLogEXT(pipeline, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLogEXT(pipeline: UInt32; bufSize: Int32; var length: Int32; infoLog: IntPtr) := GetProgramPipelineInfoLogEXT(pipeline, bufSize, @length, infoLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLogEXT(pipeline: UInt32; bufSize: Int32; length: pointer; infoLog: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(infoLog); GetProgramPipelineInfoLogEXT(pipeline, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramPipelineInfoLogEXT(pipeline: UInt32; bufSize: Int32; length: pointer; infoLog: IntPtr) := z_GetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog); - - {$endregion EXT_separate_shader_objects} - - {$region EXT_stencil_two_side} - - public z_ActiveStencilFaceEXT := GetGLFuncOrNil&('glActiveStencilFaceEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveStencilFaceEXT(face: DummyEnum) := z_ActiveStencilFaceEXT(face); - - {$endregion EXT_stencil_two_side} - - {$region EXT_light_texture} - - public z_ApplyTextureEXT := GetGLFuncOrNil&('glApplyTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ApplyTextureEXT(mode: DummyEnum) := z_ApplyTextureEXT(mode); - - public z_TextureLightEXT := GetGLFuncOrNil&('glTextureLightEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureLightEXT(pname: DummyEnum) := z_TextureLightEXT(pname); - - public z_TextureMaterialEXT := GetGLFuncOrNil&('glTextureMaterialEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureMaterialEXT(face: DummyEnum; mode: DummyEnum) := z_TextureMaterialEXT(face, mode); - - {$endregion EXT_light_texture} - - {$region EXT_texture_object} - - public z_GenTexturesEXT := GetGLFuncOrNil&('glGenTexturesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTexturesEXT(n: Int32; textures: array of UInt32) := GenTexturesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTexturesEXT(n: Int32; var textures: UInt32) := GenTexturesEXT(n, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTexturesEXT(n: Int32; textures: pointer) := z_GenTexturesEXT(n, textures); - - public z_DeleteTexturesEXT := GetGLFuncOrNil&('glDeleteTexturesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTexturesEXT(n: Int32; textures: array of UInt32) := DeleteTexturesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTexturesEXT(n: Int32; var textures: UInt32) := DeleteTexturesEXT(n, @textures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTexturesEXT(n: Int32; textures: pointer) := z_DeleteTexturesEXT(n, textures); - - public z_BindTextureEXT := GetGLFuncOrNil&('glBindTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextureEXT(target: DummyEnum; texture: UInt32) := z_BindTextureEXT(target, texture); - - public z_PrioritizeTexturesEXT := GetGLFuncOrNil&('glPrioritizeTexturesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: array of UInt32; priorities: array of single) := PrioritizeTexturesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: array of UInt32; var priorities: single) := PrioritizeTexturesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: array of UInt32; priorities: pointer) := PrioritizeTexturesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; var textures: UInt32; priorities: array of single) := PrioritizeTexturesEXT(n, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; var textures: UInt32; var priorities: single) := PrioritizeTexturesEXT(n, @textures, @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; var textures: UInt32; priorities: pointer) := PrioritizeTexturesEXT(n, @textures, priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: pointer; priorities: array of single) := PrioritizeTexturesEXT(n, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: pointer; var priorities: single) := PrioritizeTexturesEXT(n, textures, @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: pointer; priorities: pointer) := z_PrioritizeTexturesEXT(n, textures, priorities); - - public z_AreTexturesResidentEXT := GetGLFuncOrNil&('glAreTexturesResidentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: array of UInt32; residences: array of boolean): boolean := AreTexturesResidentEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: array of UInt32; var residences: boolean): boolean := AreTexturesResidentEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: array of UInt32; residences: pointer): boolean := AreTexturesResidentEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; var textures: UInt32; residences: array of boolean): boolean := AreTexturesResidentEXT(n, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; var textures: UInt32; var residences: boolean): boolean := AreTexturesResidentEXT(n, @textures, @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; var textures: UInt32; residences: pointer): boolean := AreTexturesResidentEXT(n, @textures, residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: pointer; residences: array of boolean): boolean := AreTexturesResidentEXT(n, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: pointer; var residences: boolean): boolean := AreTexturesResidentEXT(n, textures, @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: pointer; residences: pointer): boolean := z_AreTexturesResidentEXT(n, textures, residences); - - public z_IsTextureEXT := GetGLFuncOrNil&('glIsTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTextureEXT(texture: UInt32): boolean := z_IsTextureEXT(texture); - - {$endregion EXT_texture_object} - - {$region EXT_vertex_array} - - public z_ArrayElementEXT := GetGLFuncOrNil&('glArrayElementEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ArrayElementEXT(i: Int32) := z_ArrayElementEXT(i); - - public z_DrawArraysEXT := GetGLFuncOrNil&('glDrawArraysEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysEXT(mode: DummyEnum; first: Int32; count: Int32) := z_DrawArraysEXT(mode, first, count); - - public z_VertexPointerEXT := GetGLFuncOrNil&('glVertexPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerEXT(size: Int32; &type: DummyEnum; stride: Int32; count: Int32; _pointer: pointer) := z_VertexPointerEXT(size, &type, stride, count, _pointer); - - public z_NormalPointerEXT := GetGLFuncOrNil&('glNormalPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerEXT(&type: DummyEnum; stride: Int32; count: Int32; _pointer: pointer) := z_NormalPointerEXT(&type, stride, count, _pointer); - - public z_ColorPointerEXT := GetGLFuncOrNil&('glColorPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerEXT(size: Int32; &type: DummyEnum; stride: Int32; count: Int32; _pointer: pointer) := z_ColorPointerEXT(size, &type, stride, count, _pointer); - - public z_IndexPointerEXT := GetGLFuncOrNil&('glIndexPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerEXT(&type: DummyEnum; stride: Int32; count: Int32; _pointer: pointer) := z_IndexPointerEXT(&type, stride, count, _pointer); - - public z_TexCoordPointerEXT := GetGLFuncOrNil&('glTexCoordPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerEXT(size: Int32; &type: DummyEnum; stride: Int32; count: Int32; _pointer: pointer) := z_TexCoordPointerEXT(size, &type, stride, count, _pointer); - - public z_EdgeFlagPointerEXT := GetGLFuncOrNil&('glEdgeFlagPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerEXT(stride: Int32; count: Int32; _pointer: array of boolean) := EdgeFlagPointerEXT(stride, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerEXT(stride: Int32; count: Int32; var _pointer: boolean) := EdgeFlagPointerEXT(stride, count, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerEXT(stride: Int32; count: Int32; _pointer: pointer) := z_EdgeFlagPointerEXT(stride, count, _pointer); - - public z_GetPointervEXT := GetGLFuncOrNil&('glGetPointervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervEXT(pname: GLGetQueries; ¶ms: array of IntPtr) := GetPointervEXT(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervEXT(pname: GLGetQueries; var ¶ms: IntPtr) := GetPointervEXT(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervEXT(pname: GLGetQueries; ¶ms: pointer) := z_GetPointervEXT(pname, ¶ms); - - {$endregion EXT_vertex_array} - - {$region EXT_disjoint_timer_query EXT_occlusion_query_boolean} - - public z_GenQueriesEXT := GetGLFuncOrNil&('glGenQueriesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesEXT(n: Int32; ids: array of UInt32) := GenQueriesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesEXT(n: Int32; var ids: UInt32) := GenQueriesEXT(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesEXT(n: Int32; ids: pointer) := z_GenQueriesEXT(n, ids); - - public z_DeleteQueriesEXT := GetGLFuncOrNil&('glDeleteQueriesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesEXT(n: Int32; ids: array of UInt32) := DeleteQueriesEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesEXT(n: Int32; var ids: UInt32) := DeleteQueriesEXT(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesEXT(n: Int32; ids: pointer) := z_DeleteQueriesEXT(n, ids); - - public z_IsQueryEXT := GetGLFuncOrNil&('glIsQueryEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsQueryEXT(id: UInt32): boolean := z_IsQueryEXT(id); - - public z_BeginQueryEXT := GetGLFuncOrNil&('glBeginQueryEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQueryEXT(target: DummyEnum; id: UInt32) := z_BeginQueryEXT(target, id); - - public z_EndQueryEXT := GetGLFuncOrNil&('glEndQueryEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQueryEXT(target: DummyEnum) := z_EndQueryEXT(target); - - public z_GetQueryivEXT := GetGLFuncOrNil&('glGetQueryivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetQueryivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetQueryivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetQueryivEXT(target, pname, ¶ms); - - public z_GetQueryObjectuivEXT := GetGLFuncOrNil&('glGetQueryObjectuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivEXT(id: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetQueryObjectuivEXT(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivEXT(id: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetQueryObjectuivEXT(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivEXT(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetQueryObjectuivEXT(id, pname, ¶ms); - - {$endregion EXT_disjoint_timer_query EXT_occlusion_query_boolean} - - {$region EXT_scene_marker} - - public z_BeginSceneEXT := GetGLFuncOrNil&('glBeginSceneEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginSceneEXT := z_BeginSceneEXT; - - public z_EndSceneEXT := GetGLFuncOrNil&('glEndSceneEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndSceneEXT := z_EndSceneEXT; - - {$endregion EXT_scene_marker} - - {$region EXT_transform_feedback} - - public z_BindBufferRangeEXT := GetGLFuncOrNil&('glBindBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferRangeEXT(target: DummyEnum; index: UInt32; buffer: UInt32; offset: IntPtr; size: UIntPtr) := z_BindBufferRangeEXT(target, index, buffer, offset, size); - - public z_BindBufferOffsetEXT := GetGLFuncOrNil&('glBindBufferOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferOffsetEXT(target: DummyEnum; index: UInt32; buffer: UInt32; offset: IntPtr) := z_BindBufferOffsetEXT(target, index, buffer, offset); - - public z_BindBufferBaseEXT := GetGLFuncOrNil&('glBindBufferBaseEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferBaseEXT(target: DummyEnum; index: UInt32; buffer: UInt32) := z_BindBufferBaseEXT(target, index, buffer); - - public z_BeginTransformFeedbackEXT := GetGLFuncOrNil&('glBeginTransformFeedbackEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginTransformFeedbackEXT(primitiveMode: DummyEnum) := z_BeginTransformFeedbackEXT(primitiveMode); - - public z_EndTransformFeedbackEXT := GetGLFuncOrNil&('glEndTransformFeedbackEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTransformFeedbackEXT := z_EndTransformFeedbackEXT; - - public z_TransformFeedbackVaryingsEXT := GetGLFuncOrNil&('glTransformFeedbackVaryingsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsEXT(&program: UInt32; count: Int32; varyings: array of IntPtr; bufferMode: DummyEnum) := TransformFeedbackVaryingsEXT(&program, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(varyings,0)), bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsEXT(&program: UInt32; count: Int32; var varyings: IntPtr; bufferMode: DummyEnum) := TransformFeedbackVaryingsEXT(&program, count, @varyings, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsEXT(&program: UInt32; count: Int32; varyings: pointer; bufferMode: DummyEnum) := z_TransformFeedbackVaryingsEXT(&program, count, varyings, bufferMode); - - public z_GetTransformFeedbackVaryingEXT := GetGLFuncOrNil&('glGetTransformFeedbackVaryingEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, @length, size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: pointer; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: IntPtr) := GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetTransformFeedbackVaryingEXT(&program, index, bufSize, length, size, &type, name); - - {$endregion EXT_transform_feedback} - - {$region EXT_vertex_shader} - - public z_BeginVertexShaderEXT := GetGLFuncOrNil&('glBeginVertexShaderEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginVertexShaderEXT := z_BeginVertexShaderEXT; - - public z_EndVertexShaderEXT := GetGLFuncOrNil&('glEndVertexShaderEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndVertexShaderEXT := z_EndVertexShaderEXT; - - public z_BindVertexShaderEXT := GetGLFuncOrNil&('glBindVertexShaderEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexShaderEXT(id: UInt32) := z_BindVertexShaderEXT(id); - - public z_GenVertexShadersEXT := GetGLFuncOrNil&('glGenVertexShadersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenVertexShadersEXT(range: UInt32): UInt32 := z_GenVertexShadersEXT(range); - - public z_DeleteVertexShaderEXT := GetGLFuncOrNil&('glDeleteVertexShaderEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexShaderEXT(id: UInt32) := z_DeleteVertexShaderEXT(id); - - public z_ShaderOp1EXT := GetGLFuncOrNil&('glShaderOp1EXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderOp1EXT(op: DummyEnum; res: UInt32; arg1: UInt32) := z_ShaderOp1EXT(op, res, arg1); - - public z_ShaderOp2EXT := GetGLFuncOrNil&('glShaderOp2EXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderOp2EXT(op: DummyEnum; res: UInt32; arg1: UInt32; arg2: UInt32) := z_ShaderOp2EXT(op, res, arg1, arg2); - - public z_ShaderOp3EXT := GetGLFuncOrNil&('glShaderOp3EXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderOp3EXT(op: DummyEnum; res: UInt32; arg1: UInt32; arg2: UInt32; arg3: UInt32) := z_ShaderOp3EXT(op, res, arg1, arg2, arg3); - - public z_SwizzleEXT := GetGLFuncOrNil&('glSwizzleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SwizzleEXT(res: UInt32; &in: UInt32; outX: DummyEnum; outY: DummyEnum; outZ: DummyEnum; outW: DummyEnum) := z_SwizzleEXT(res, &in, outX, outY, outZ, outW); - - public z_WriteMaskEXT := GetGLFuncOrNil&('glWriteMaskEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WriteMaskEXT(res: UInt32; &in: UInt32; outX: DummyEnum; outY: DummyEnum; outZ: DummyEnum; outW: DummyEnum) := z_WriteMaskEXT(res, &in, outX, outY, outZ, outW); - - public z_InsertComponentEXT := GetGLFuncOrNil&('glInsertComponentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InsertComponentEXT(res: UInt32; src: UInt32; num: UInt32) := z_InsertComponentEXT(res, src, num); - - public z_ExtractComponentEXT := GetGLFuncOrNil&('glExtractComponentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtractComponentEXT(res: UInt32; src: UInt32; num: UInt32) := z_ExtractComponentEXT(res, src, num); - - public z_GenSymbolsEXT := GetGLFuncOrNil&('glGenSymbolsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenSymbolsEXT(datatype: DummyEnum; storagetype: DummyEnum; range: DummyEnum; components: UInt32): UInt32 := z_GenSymbolsEXT(datatype, storagetype, range, components); - - public z_SetInvariantEXT := GetGLFuncOrNil&('glSetInvariantEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetInvariantEXT(id: UInt32; &type: DummyEnum; addr: pointer) := z_SetInvariantEXT(id, &type, addr); - - public z_SetLocalConstantEXT := GetGLFuncOrNil&('glSetLocalConstantEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetLocalConstantEXT(id: UInt32; &type: DummyEnum; addr: pointer) := z_SetLocalConstantEXT(id, &type, addr); - - public z_VariantbvEXT := GetGLFuncOrNil&('glVariantbvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantbvEXT(id: UInt32; addr: array of SByte) := VariantbvEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantbvEXT(id: UInt32; var addr: SByte) := VariantbvEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantbvEXT(id: UInt32; addr: pointer) := z_VariantbvEXT(id, addr); - - public z_VariantsvEXT := GetGLFuncOrNil&('glVariantsvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantsvEXT(id: UInt32; addr: array of Int16) := VariantsvEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantsvEXT(id: UInt32; var addr: Int16) := VariantsvEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantsvEXT(id: UInt32; addr: pointer) := z_VariantsvEXT(id, addr); - - public z_VariantivEXT := GetGLFuncOrNil&('glVariantivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantivEXT(id: UInt32; addr: array of Int32) := VariantivEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantivEXT(id: UInt32; var addr: Int32) := VariantivEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantivEXT(id: UInt32; addr: pointer) := z_VariantivEXT(id, addr); - - public z_VariantfvEXT := GetGLFuncOrNil&('glVariantfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantfvEXT(id: UInt32; addr: array of single) := VariantfvEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantfvEXT(id: UInt32; var addr: single) := VariantfvEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantfvEXT(id: UInt32; addr: pointer) := z_VariantfvEXT(id, addr); - - public z_VariantdvEXT := GetGLFuncOrNil&('glVariantdvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantdvEXT(id: UInt32; addr: array of double) := VariantdvEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantdvEXT(id: UInt32; var addr: double) := VariantdvEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantdvEXT(id: UInt32; addr: pointer) := z_VariantdvEXT(id, addr); - - public z_VariantubvEXT := GetGLFuncOrNil&('glVariantubvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantubvEXT(id: UInt32; addr: array of Byte) := VariantubvEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantubvEXT(id: UInt32; var addr: Byte) := VariantubvEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantubvEXT(id: UInt32; addr: pointer) := z_VariantubvEXT(id, addr); - - public z_VariantusvEXT := GetGLFuncOrNil&('glVariantusvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantusvEXT(id: UInt32; addr: array of UInt16) := VariantusvEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantusvEXT(id: UInt32; var addr: UInt16) := VariantusvEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantusvEXT(id: UInt32; addr: pointer) := z_VariantusvEXT(id, addr); - - public z_VariantuivEXT := GetGLFuncOrNil&('glVariantuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantuivEXT(id: UInt32; addr: array of UInt32) := VariantuivEXT(id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(addr,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantuivEXT(id: UInt32; var addr: UInt32) := VariantuivEXT(id, @addr); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantuivEXT(id: UInt32; addr: pointer) := z_VariantuivEXT(id, addr); - - public z_VariantPointerEXT := GetGLFuncOrNil&('glVariantPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantPointerEXT(id: UInt32; &type: DummyEnum; stride: UInt32; addr: pointer) := z_VariantPointerEXT(id, &type, stride, addr); - - public z_EnableVariantClientStateEXT := GetGLFuncOrNil&('glEnableVariantClientStateEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVariantClientStateEXT(id: UInt32) := z_EnableVariantClientStateEXT(id); - - public z_DisableVariantClientStateEXT := GetGLFuncOrNil&('glDisableVariantClientStateEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVariantClientStateEXT(id: UInt32) := z_DisableVariantClientStateEXT(id); - - public z_BindLightParameterEXT := GetGLFuncOrNil&('glBindLightParameterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindLightParameterEXT(light: DummyEnum; value: DummyEnum): UInt32 := z_BindLightParameterEXT(light, value); - - public z_BindMaterialParameterEXT := GetGLFuncOrNil&('glBindMaterialParameterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindMaterialParameterEXT(face: DummyEnum; value: DummyEnum): UInt32 := z_BindMaterialParameterEXT(face, value); - - public z_BindTexGenParameterEXT := GetGLFuncOrNil&('glBindTexGenParameterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindTexGenParameterEXT(&unit: DummyEnum; coord: DummyEnum; value: DummyEnum): UInt32 := z_BindTexGenParameterEXT(&unit, coord, value); - - public z_BindTextureUnitParameterEXT := GetGLFuncOrNil&('glBindTextureUnitParameterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindTextureUnitParameterEXT(&unit: DummyEnum; value: DummyEnum): UInt32 := z_BindTextureUnitParameterEXT(&unit, value); - - public z_BindParameterEXT := GetGLFuncOrNil&('glBindParameterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindParameterEXT(value: DummyEnum): UInt32 := z_BindParameterEXT(value); - - public z_IsVariantEnabledEXT := GetGLFuncOrNil&('glIsVariantEnabledEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVariantEnabledEXT(id: UInt32; cap: DummyEnum): boolean := z_IsVariantEnabledEXT(id, cap); - - public z_GetVariantBooleanvEXT := GetGLFuncOrNil&('glGetVariantBooleanvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantBooleanvEXT(id: UInt32; value: DummyEnum; data: array of boolean) := GetVariantBooleanvEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantBooleanvEXT(id: UInt32; value: DummyEnum; var data: boolean) := GetVariantBooleanvEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantBooleanvEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetVariantBooleanvEXT(id, value, data); - - public z_GetVariantIntegervEXT := GetGLFuncOrNil&('glGetVariantIntegervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantIntegervEXT(id: UInt32; value: DummyEnum; data: array of Int32) := GetVariantIntegervEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantIntegervEXT(id: UInt32; value: DummyEnum; var data: Int32) := GetVariantIntegervEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantIntegervEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetVariantIntegervEXT(id, value, data); - - public z_GetVariantFloatvEXT := GetGLFuncOrNil&('glGetVariantFloatvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantFloatvEXT(id: UInt32; value: DummyEnum; data: array of single) := GetVariantFloatvEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantFloatvEXT(id: UInt32; value: DummyEnum; var data: single) := GetVariantFloatvEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantFloatvEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetVariantFloatvEXT(id, value, data); - - public z_GetVariantPointervEXT := GetGLFuncOrNil&('glGetVariantPointervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantPointervEXT(id: UInt32; value: DummyEnum; data: array of IntPtr) := GetVariantPointervEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantPointervEXT(id: UInt32; value: DummyEnum; var data: IntPtr) := GetVariantPointervEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantPointervEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetVariantPointervEXT(id, value, data); - - public z_GetInvariantBooleanvEXT := GetGLFuncOrNil&('glGetInvariantBooleanvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantBooleanvEXT(id: UInt32; value: DummyEnum; data: array of boolean) := GetInvariantBooleanvEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantBooleanvEXT(id: UInt32; value: DummyEnum; var data: boolean) := GetInvariantBooleanvEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantBooleanvEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetInvariantBooleanvEXT(id, value, data); - - public z_GetInvariantIntegervEXT := GetGLFuncOrNil&('glGetInvariantIntegervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantIntegervEXT(id: UInt32; value: DummyEnum; data: array of Int32) := GetInvariantIntegervEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantIntegervEXT(id: UInt32; value: DummyEnum; var data: Int32) := GetInvariantIntegervEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantIntegervEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetInvariantIntegervEXT(id, value, data); - - public z_GetInvariantFloatvEXT := GetGLFuncOrNil&('glGetInvariantFloatvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantFloatvEXT(id: UInt32; value: DummyEnum; data: array of single) := GetInvariantFloatvEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantFloatvEXT(id: UInt32; value: DummyEnum; var data: single) := GetInvariantFloatvEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantFloatvEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetInvariantFloatvEXT(id, value, data); - - public z_GetLocalConstantBooleanvEXT := GetGLFuncOrNil&('glGetLocalConstantBooleanvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantBooleanvEXT(id: UInt32; value: DummyEnum; data: array of boolean) := GetLocalConstantBooleanvEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantBooleanvEXT(id: UInt32; value: DummyEnum; var data: boolean) := GetLocalConstantBooleanvEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantBooleanvEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetLocalConstantBooleanvEXT(id, value, data); - - public z_GetLocalConstantIntegervEXT := GetGLFuncOrNil&('glGetLocalConstantIntegervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantIntegervEXT(id: UInt32; value: DummyEnum; data: array of Int32) := GetLocalConstantIntegervEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantIntegervEXT(id: UInt32; value: DummyEnum; var data: Int32) := GetLocalConstantIntegervEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantIntegervEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetLocalConstantIntegervEXT(id, value, data); - - public z_GetLocalConstantFloatvEXT := GetGLFuncOrNil&('glGetLocalConstantFloatvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantFloatvEXT(id: UInt32; value: DummyEnum; data: array of single) := GetLocalConstantFloatvEXT(id, value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantFloatvEXT(id: UInt32; value: DummyEnum; var data: single) := GetLocalConstantFloatvEXT(id, value, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantFloatvEXT(id: UInt32; value: DummyEnum; data: pointer) := z_GetLocalConstantFloatvEXT(id, value, data); - - {$endregion EXT_vertex_shader} - - {$region EXT_vertex_array_set / GenName version} - - public z_GenArraySetsEXT := GetGLFuncOrNil&('glGenArraySetsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenArraySetsEXT(n: Int32; arrayset: array of UInt32) := GenArraySetsEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrayset,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenArraySetsEXT(n: Int32; var arrayset: UInt32) := GenArraySetsEXT(n, @arrayset); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenArraySetsEXT(n: Int32; arrayset: pointer) := z_GenArraySetsEXT(n, arrayset); - - public z_BindArraySetEXT := GetGLFuncOrNil&('glBindArraySetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindArraySetEXT(arrayset: UInt32) := z_BindArraySetEXT(arrayset); - - public z_DeleteArraySetsEXT := GetGLFuncOrNil&('glDeleteArraySetsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteArraySetsEXT(n: Int32; arrayset: array of UInt32) := DeleteArraySetsEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrayset,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteArraySetsEXT(n: Int32; var arrayset: UInt32) := DeleteArraySetsEXT(n, @arrayset); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteArraySetsEXT(n: Int32; arrayset: pointer) := z_DeleteArraySetsEXT(n, arrayset); - - public z_IsArraySetEXT := GetGLFuncOrNil&('glIsArraySetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsArraySetEXT(arrayset: UInt32): UInt32 := z_IsArraySetEXT(arrayset); - - {$endregion EXT_vertex_array_set / GenName version} - - {$region EXT_blend_func_extended EXT_gpu_shader4} - - public z_BindFragDataLocationEXT := GetGLFuncOrNil&('glBindFragDataLocationEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationEXT(&program: UInt32; color: UInt32; name: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); BindFragDataLocationEXT(&program, color, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationEXT(&program: UInt32; color: UInt32; name: IntPtr) := z_BindFragDataLocationEXT(&program, color, name); - - {$endregion EXT_blend_func_extended EXT_gpu_shader4} - - {$region EXT_blend_func_extended} - - public z_BindFragDataLocationIndexedEXT := GetGLFuncOrNil&('glBindFragDataLocationIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationIndexedEXT(&program: UInt32; colorNumber: UInt32; index: UInt32; name: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(name); BindFragDataLocationIndexedEXT(&program, colorNumber, index, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationIndexedEXT(&program: UInt32; colorNumber: UInt32; index: UInt32; name: IntPtr) := z_BindFragDataLocationIndexedEXT(&program, colorNumber, index, name); - - public z_GetFragDataIndexEXT := GetGLFuncOrNil&('glGetFragDataIndexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataIndexEXT(&program: UInt32; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetFragDataIndexEXT(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataIndexEXT(&program: UInt32; name: IntPtr): Int32 := z_GetFragDataIndexEXT(&program, name); - - public z_GetProgramResourceLocationIndexEXT := GetGLFuncOrNil&('glGetProgramResourceLocationIndexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocationIndexEXT(&program: UInt32; programInterface: DummyEnum; name: string): Int32; begin var ptr_3 := Marshal.StringToHGlobalAnsi(name); Result := GetProgramResourceLocationIndexEXT(&program, programInterface, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetProgramResourceLocationIndexEXT(&program: UInt32; programInterface: DummyEnum; name: IntPtr): Int32 := z_GetProgramResourceLocationIndexEXT(&program, programInterface, name); - - {$endregion EXT_blend_func_extended} - - {$region EXT_framebuffer_object} - - public z_IsRenderbufferEXT := GetGLFuncOrNil&('glIsRenderbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsRenderbufferEXT(renderbuffer: UInt32): boolean := z_IsRenderbufferEXT(renderbuffer); - - public z_BindRenderbufferEXT := GetGLFuncOrNil&('glBindRenderbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindRenderbufferEXT(target: DummyEnum; renderbuffer: UInt32) := z_BindRenderbufferEXT(target, renderbuffer); - - public z_DeleteRenderbuffersEXT := GetGLFuncOrNil&('glDeleteRenderbuffersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersEXT(n: Int32; renderbuffers: array of UInt32) := DeleteRenderbuffersEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersEXT(n: Int32; var renderbuffers: UInt32) := DeleteRenderbuffersEXT(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersEXT(n: Int32; renderbuffers: pointer) := z_DeleteRenderbuffersEXT(n, renderbuffers); - - public z_GenRenderbuffersEXT := GetGLFuncOrNil&('glGenRenderbuffersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersEXT(n: Int32; renderbuffers: array of UInt32) := GenRenderbuffersEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersEXT(n: Int32; var renderbuffers: UInt32) := GenRenderbuffersEXT(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersEXT(n: Int32; renderbuffers: pointer) := z_GenRenderbuffersEXT(n, renderbuffers); - - public z_RenderbufferStorageEXT := GetGLFuncOrNil&('glRenderbufferStorageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageEXT(target: DummyEnum; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageEXT(target, internalformat, width, height); - - public z_GetRenderbufferParameterivEXT := GetGLFuncOrNil&('glGetRenderbufferParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetRenderbufferParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetRenderbufferParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetRenderbufferParameterivEXT(target, pname, ¶ms); - - public z_IsFramebufferEXT := GetGLFuncOrNil&('glIsFramebufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFramebufferEXT(framebuffer: UInt32): boolean := z_IsFramebufferEXT(framebuffer); - - public z_BindFramebufferEXT := GetGLFuncOrNil&('glBindFramebufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFramebufferEXT(target: DummyEnum; framebuffer: UInt32) := z_BindFramebufferEXT(target, framebuffer); - - public z_DeleteFramebuffersEXT := GetGLFuncOrNil&('glDeleteFramebuffersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersEXT(n: Int32; framebuffers: array of UInt32) := DeleteFramebuffersEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersEXT(n: Int32; var framebuffers: UInt32) := DeleteFramebuffersEXT(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersEXT(n: Int32; framebuffers: pointer) := z_DeleteFramebuffersEXT(n, framebuffers); - - public z_GenFramebuffersEXT := GetGLFuncOrNil&('glGenFramebuffersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersEXT(n: Int32; framebuffers: array of UInt32) := GenFramebuffersEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersEXT(n: Int32; var framebuffers: UInt32) := GenFramebuffersEXT(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersEXT(n: Int32; framebuffers: pointer) := z_GenFramebuffersEXT(n, framebuffers); - - public z_CheckFramebufferStatusEXT := GetGLFuncOrNil&('glCheckFramebufferStatusEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckFramebufferStatusEXT(target: DummyEnum): DummyEnum := z_CheckFramebufferStatusEXT(target); - - public z_FramebufferTexture1DEXT := GetGLFuncOrNil&('glFramebufferTexture1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture1DEXT(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32) := z_FramebufferTexture1DEXT(target, attachment, textarget, texture, level); - - public z_FramebufferTexture2DEXT := GetGLFuncOrNil&('glFramebufferTexture2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2DEXT(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32) := z_FramebufferTexture2DEXT(target, attachment, textarget, texture, level); - - public z_FramebufferTexture3DEXT := GetGLFuncOrNil&('glFramebufferTexture3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture3DEXT(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32; zoffset: Int32) := z_FramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset); - - public z_FramebufferRenderbufferEXT := GetGLFuncOrNil&('glFramebufferRenderbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferRenderbufferEXT(target: DummyEnum; attachment: DummyEnum; renderbuffertarget: DummyEnum; renderbuffer: UInt32) := z_FramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer); - - public z_GetFramebufferAttachmentParameterivEXT := GetGLFuncOrNil&('glGetFramebufferAttachmentParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivEXT(target: DummyEnum; attachment: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetFramebufferAttachmentParameterivEXT(target, attachment, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivEXT(target: DummyEnum; attachment: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetFramebufferAttachmentParameterivEXT(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivEXT(target: DummyEnum; attachment: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetFramebufferAttachmentParameterivEXT(target, attachment, pname, ¶ms); - - public z_GenerateMipmapEXT := GetGLFuncOrNil&('glGenerateMipmapEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMipmapEXT(target: DummyEnum) := z_GenerateMipmapEXT(target); - - {$endregion EXT_framebuffer_object} - - {$region EXT_shader_image_load_store} - - public z_BindImageTextureEXT := GetGLFuncOrNil&('glBindImageTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextureEXT(index: UInt32; texture: UInt32; level: Int32; layered: boolean; layer: Int32; access: DummyEnum; format: Int32) := z_BindImageTextureEXT(index, texture, level, layered, layer, access, format); - - public z_MemoryBarrierEXT := GetGLFuncOrNil&('glMemoryBarrierEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryBarrierEXT(barriers: DummyFlags) := z_MemoryBarrierEXT(barriers); - - {$endregion EXT_shader_image_load_store} - - {$region EXT_direct_state_access} - - public z_ClientAttribDefaultEXT := GetGLFuncOrNil&('glClientAttribDefaultEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientAttribDefaultEXT(mask: DummyFlags) := z_ClientAttribDefaultEXT(mask); - - public z_PushClientAttribDefaultEXT := GetGLFuncOrNil&('glPushClientAttribDefaultEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushClientAttribDefaultEXT(mask: DummyFlags) := z_PushClientAttribDefaultEXT(mask); - - public z_MatrixLoadfEXT := GetGLFuncOrNil&('glMatrixLoadfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadfEXT(mode: DummyEnum; m: array of single) := MatrixLoadfEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadfEXT(mode: DummyEnum; var m: single) := MatrixLoadfEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadfEXT(mode: DummyEnum; m: pointer) := z_MatrixLoadfEXT(mode, m); - - public z_MatrixLoaddEXT := GetGLFuncOrNil&('glMatrixLoaddEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoaddEXT(mode: DummyEnum; m: array of double) := MatrixLoaddEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoaddEXT(mode: DummyEnum; var m: double) := MatrixLoaddEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoaddEXT(mode: DummyEnum; m: pointer) := z_MatrixLoaddEXT(mode, m); - - public z_MatrixMultfEXT := GetGLFuncOrNil&('glMatrixMultfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultfEXT(mode: DummyEnum; m: array of single) := MatrixMultfEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultfEXT(mode: DummyEnum; var m: single) := MatrixMultfEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultfEXT(mode: DummyEnum; m: pointer) := z_MatrixMultfEXT(mode, m); - - public z_MatrixMultdEXT := GetGLFuncOrNil&('glMatrixMultdEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultdEXT(mode: DummyEnum; m: array of double) := MatrixMultdEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultdEXT(mode: DummyEnum; var m: double) := MatrixMultdEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultdEXT(mode: DummyEnum; m: pointer) := z_MatrixMultdEXT(mode, m); - - public z_MatrixLoadIdentityEXT := GetGLFuncOrNil&('glMatrixLoadIdentityEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadIdentityEXT(mode: DummyEnum) := z_MatrixLoadIdentityEXT(mode); - - public z_MatrixRotatefEXT := GetGLFuncOrNil&('glMatrixRotatefEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixRotatefEXT(mode: DummyEnum; angle: single; x: single; y: single; z: single) := z_MatrixRotatefEXT(mode, angle, x, y, z); - - public z_MatrixRotatedEXT := GetGLFuncOrNil&('glMatrixRotatedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixRotatedEXT(mode: DummyEnum; angle: double; x: double; y: double; z: double) := z_MatrixRotatedEXT(mode, angle, x, y, z); - - public z_MatrixScalefEXT := GetGLFuncOrNil&('glMatrixScalefEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixScalefEXT(mode: DummyEnum; x: single; y: single; z: single) := z_MatrixScalefEXT(mode, x, y, z); - - public z_MatrixScaledEXT := GetGLFuncOrNil&('glMatrixScaledEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixScaledEXT(mode: DummyEnum; x: double; y: double; z: double) := z_MatrixScaledEXT(mode, x, y, z); - - public z_MatrixTranslatefEXT := GetGLFuncOrNil&('glMatrixTranslatefEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixTranslatefEXT(mode: DummyEnum; x: single; y: single; z: single) := z_MatrixTranslatefEXT(mode, x, y, z); - - public z_MatrixTranslatedEXT := GetGLFuncOrNil&('glMatrixTranslatedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixTranslatedEXT(mode: DummyEnum; x: double; y: double; z: double) := z_MatrixTranslatedEXT(mode, x, y, z); - - public z_MatrixOrthoEXT := GetGLFuncOrNil&('glMatrixOrthoEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixOrthoEXT(mode: DummyEnum; left: double; right: double; bottom: double; top: double; zNear: double; zFar: double) := z_MatrixOrthoEXT(mode, left, right, bottom, top, zNear, zFar); - - public z_MatrixFrustumEXT := GetGLFuncOrNil&('glMatrixFrustumEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixFrustumEXT(mode: DummyEnum; left: double; right: double; bottom: double; top: double; zNear: double; zFar: double) := z_MatrixFrustumEXT(mode, left, right, bottom, top, zNear, zFar); - - public z_MatrixPushEXT := GetGLFuncOrNil&('glMatrixPushEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixPushEXT(mode: DummyEnum) := z_MatrixPushEXT(mode); - - public z_MatrixPopEXT := GetGLFuncOrNil&('glMatrixPopEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixPopEXT(mode: DummyEnum) := z_MatrixPopEXT(mode); - - public z_TextureParameteriEXT := GetGLFuncOrNil&('glTextureParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; param: Int32) := z_TextureParameteriEXT(texture, target, pname, param); - - public z_TextureParameterivEXT := GetGLFuncOrNil&('glTextureParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TextureParameterivEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TextureParameterivEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TextureParameterivEXT(texture, target, pname, ¶ms); - - public z_TextureParameterfEXT := GetGLFuncOrNil&('glTextureParameterfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; param: single) := z_TextureParameterfEXT(texture, target, pname, param); - - public z_TextureParameterfvEXT := GetGLFuncOrNil&('glTextureParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfvEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := TextureParameterfvEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfvEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: single) := TextureParameterfvEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfvEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TextureParameterfvEXT(texture, target, pname, ¶ms); - - public z_TextureImage1DEXT := GetGLFuncOrNil&('glTextureImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage1DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: Int32; width: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TextureImage1DEXT(texture, target, level, internalformat, width, border, format, &type, pixels); - - public z_TextureImage2DEXT := GetGLFuncOrNil&('glTextureImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage2DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: Int32; width: Int32; height: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TextureImage2DEXT(texture, target, level, internalformat, width, height, border, format, &type, pixels); - - public z_TextureSubImage1DEXT := GetGLFuncOrNil&('glTextureSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; width: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TextureSubImage1DEXT(texture, target, level, xoffset, width, format, &type, pixels); - - public z_TextureSubImage2DEXT := GetGLFuncOrNil&('glTextureSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, &type, pixels); - - public z_CopyTextureImage1DEXT := GetGLFuncOrNil&('glCopyTextureImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureImage1DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; border: Int32) := z_CopyTextureImage1DEXT(texture, target, level, internalformat, x, y, width, border); - - public z_CopyTextureImage2DEXT := GetGLFuncOrNil&('glCopyTextureImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureImage2DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32) := z_CopyTextureImage2DEXT(texture, target, level, internalformat, x, y, width, height, border); - - public z_CopyTextureSubImage1DEXT := GetGLFuncOrNil&('glCopyTextureSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage1DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32) := z_CopyTextureSubImage1DEXT(texture, target, level, xoffset, x, y, width); - - public z_CopyTextureSubImage2DEXT := GetGLFuncOrNil&('glCopyTextureSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage2DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, x, y, width, height); - - public z_GetTextureImageEXT := GetGLFuncOrNil&('glGetTextureImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImageEXT(texture: UInt32; target: DummyEnum; level: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_GetTextureImageEXT(texture, target, level, format, &type, pixels); - - public z_GetTextureParameterfvEXT := GetGLFuncOrNil&('glGetTextureParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfvEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetTextureParameterfvEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfvEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetTextureParameterfvEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfvEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTextureParameterfvEXT(texture, target, pname, ¶ms); - - public z_GetTextureParameterivEXT := GetGLFuncOrNil&('glGetTextureParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTextureParameterivEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTextureParameterivEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTextureParameterivEXT(texture, target, pname, ¶ms); - - public z_GetTextureLevelParameterfvEXT := GetGLFuncOrNil&('glGetTextureLevelParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfvEXT(texture: UInt32; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: array of single) := GetTextureLevelParameterfvEXT(texture, target, level, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfvEXT(texture: UInt32; target: DummyEnum; level: Int32; pname: DummyEnum; var ¶ms: single) := GetTextureLevelParameterfvEXT(texture, target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfvEXT(texture: UInt32; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: pointer) := z_GetTextureLevelParameterfvEXT(texture, target, level, pname, ¶ms); - - public z_GetTextureLevelParameterivEXT := GetGLFuncOrNil&('glGetTextureLevelParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterivEXT(texture: UInt32; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: array of Int32) := GetTextureLevelParameterivEXT(texture, target, level, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterivEXT(texture: UInt32; target: DummyEnum; level: Int32; pname: DummyEnum; var ¶ms: Int32) := GetTextureLevelParameterivEXT(texture, target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterivEXT(texture: UInt32; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: pointer) := z_GetTextureLevelParameterivEXT(texture, target, level, pname, ¶ms); - - public z_TextureImage3DEXT := GetGLFuncOrNil&('glTextureImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage3DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: Int32; width: Int32; height: Int32; depth: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, format, &type, pixels); - - public z_TextureSubImage3DEXT := GetGLFuncOrNil&('glTextureSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); - - public z_CopyTextureSubImage3DEXT := GetGLFuncOrNil&('glCopyTextureSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage3DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, x, y, width, height); - - public z_BindMultiTextureEXT := GetGLFuncOrNil&('glBindMultiTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindMultiTextureEXT(texunit: DummyEnum; target: DummyEnum; texture: UInt32) := z_BindMultiTextureEXT(texunit, target, texture); - - public z_MultiTexCoordPointerEXT := GetGLFuncOrNil&('glMultiTexCoordPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordPointerEXT(texunit: DummyEnum; size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_MultiTexCoordPointerEXT(texunit, size, &type, stride, _pointer); - - public z_MultiTexEnvfEXT := GetGLFuncOrNil&('glMultiTexEnvfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; param: single) := z_MultiTexEnvfEXT(texunit, target, pname, param); - - public z_MultiTexEnvfvEXT := GetGLFuncOrNil&('glMultiTexEnvfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := MultiTexEnvfvEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: single) := MultiTexEnvfvEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexEnvfvEXT(texunit, target, pname, ¶ms); - - public z_MultiTexEnviEXT := GetGLFuncOrNil&('glMultiTexEnviEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnviEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; param: Int32) := z_MultiTexEnviEXT(texunit, target, pname, param); - - public z_MultiTexEnvivEXT := GetGLFuncOrNil&('glMultiTexEnvivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := MultiTexEnvivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := MultiTexEnvivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexEnvivEXT(texunit, target, pname, ¶ms); - - public z_MultiTexGendEXT := GetGLFuncOrNil&('glMultiTexGendEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; param: double) := z_MultiTexGendEXT(texunit, coord, pname, param); - - public z_MultiTexGendvEXT := GetGLFuncOrNil&('glMultiTexGendvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: array of double) := MultiTexGendvEXT(texunit, coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; var ¶ms: double) := MultiTexGendvEXT(texunit, coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexGendvEXT(texunit, coord, pname, ¶ms); - - public z_MultiTexGenfEXT := GetGLFuncOrNil&('glMultiTexGenfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; param: single) := z_MultiTexGenfEXT(texunit, coord, pname, param); - - public z_MultiTexGenfvEXT := GetGLFuncOrNil&('glMultiTexGenfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: array of single) := MultiTexGenfvEXT(texunit, coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; var ¶ms: single) := MultiTexGenfvEXT(texunit, coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexGenfvEXT(texunit, coord, pname, ¶ms); - - public z_MultiTexGeniEXT := GetGLFuncOrNil&('glMultiTexGeniEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGeniEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; param: Int32) := z_MultiTexGeniEXT(texunit, coord, pname, param); - - public z_MultiTexGenivEXT := GetGLFuncOrNil&('glMultiTexGenivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenivEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := MultiTexGenivEXT(texunit, coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenivEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := MultiTexGenivEXT(texunit, coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenivEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexGenivEXT(texunit, coord, pname, ¶ms); - - public z_GetMultiTexEnvfvEXT := GetGLFuncOrNil&('glGetMultiTexEnvfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMultiTexEnvfvEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMultiTexEnvfvEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexEnvfvEXT(texunit, target, pname, ¶ms); - - public z_GetMultiTexEnvivEXT := GetGLFuncOrNil&('glGetMultiTexEnvivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMultiTexEnvivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMultiTexEnvivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexEnvivEXT(texunit, target, pname, ¶ms); - - public z_GetMultiTexGendvEXT := GetGLFuncOrNil&('glGetMultiTexGendvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGendvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: array of double) := GetMultiTexGendvEXT(texunit, coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGendvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; var ¶ms: double) := GetMultiTexGendvEXT(texunit, coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGendvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexGendvEXT(texunit, coord, pname, ¶ms); - - public z_GetMultiTexGenfvEXT := GetGLFuncOrNil&('glGetMultiTexGenfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenfvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMultiTexGenfvEXT(texunit, coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenfvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMultiTexGenfvEXT(texunit, coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenfvEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexGenfvEXT(texunit, coord, pname, ¶ms); - - public z_GetMultiTexGenivEXT := GetGLFuncOrNil&('glGetMultiTexGenivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenivEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMultiTexGenivEXT(texunit, coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenivEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMultiTexGenivEXT(texunit, coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenivEXT(texunit: DummyEnum; coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexGenivEXT(texunit, coord, pname, ¶ms); - - public z_MultiTexParameteriEXT := GetGLFuncOrNil&('glMultiTexParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameteriEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; param: Int32) := z_MultiTexParameteriEXT(texunit, target, pname, param); - - public z_MultiTexParameterivEXT := GetGLFuncOrNil&('glMultiTexParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := MultiTexParameterivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := MultiTexParameterivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexParameterivEXT(texunit, target, pname, ¶ms); - - public z_MultiTexParameterfEXT := GetGLFuncOrNil&('glMultiTexParameterfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; param: single) := z_MultiTexParameterfEXT(texunit, target, pname, param); - - public z_MultiTexParameterfvEXT := GetGLFuncOrNil&('glMultiTexParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := MultiTexParameterfvEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: single) := MultiTexParameterfvEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexParameterfvEXT(texunit, target, pname, ¶ms); - - public z_MultiTexImage1DEXT := GetGLFuncOrNil&('glMultiTexImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexImage1DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: Int32; width: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_MultiTexImage1DEXT(texunit, target, level, internalformat, width, border, format, &type, pixels); - - public z_MultiTexImage2DEXT := GetGLFuncOrNil&('glMultiTexImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexImage2DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: Int32; width: Int32; height: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_MultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, format, &type, pixels); - - public z_MultiTexSubImage1DEXT := GetGLFuncOrNil&('glMultiTexSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexSubImage1DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; width: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_MultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, &type, pixels); - - public z_MultiTexSubImage2DEXT := GetGLFuncOrNil&('glMultiTexSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexSubImage2DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_MultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, &type, pixels); - - public z_CopyMultiTexImage1DEXT := GetGLFuncOrNil&('glCopyMultiTexImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexImage1DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; border: Int32) := z_CopyMultiTexImage1DEXT(texunit, target, level, internalformat, x, y, width, border); - - public z_CopyMultiTexImage2DEXT := GetGLFuncOrNil&('glCopyMultiTexImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexImage2DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32) := z_CopyMultiTexImage2DEXT(texunit, target, level, internalformat, x, y, width, height, border); - - public z_CopyMultiTexSubImage1DEXT := GetGLFuncOrNil&('glCopyMultiTexSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexSubImage1DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32) := z_CopyMultiTexSubImage1DEXT(texunit, target, level, xoffset, x, y, width); - - public z_CopyMultiTexSubImage2DEXT := GetGLFuncOrNil&('glCopyMultiTexSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexSubImage2DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, x, y, width, height); - - public z_GetMultiTexImageEXT := GetGLFuncOrNil&('glGetMultiTexImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexImageEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_GetMultiTexImageEXT(texunit, target, level, format, &type, pixels); - - public z_GetMultiTexParameterfvEXT := GetGLFuncOrNil&('glGetMultiTexParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMultiTexParameterfvEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMultiTexParameterfvEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterfvEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexParameterfvEXT(texunit, target, pname, ¶ms); - - public z_GetMultiTexParameterivEXT := GetGLFuncOrNil&('glGetMultiTexParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMultiTexParameterivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMultiTexParameterivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexParameterivEXT(texunit, target, pname, ¶ms); - - public z_GetMultiTexLevelParameterfvEXT := GetGLFuncOrNil&('glGetMultiTexLevelParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterfvEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: array of single) := GetMultiTexLevelParameterfvEXT(texunit, target, level, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterfvEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; pname: DummyEnum; var ¶ms: single) := GetMultiTexLevelParameterfvEXT(texunit, target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterfvEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexLevelParameterfvEXT(texunit, target, level, pname, ¶ms); - - public z_GetMultiTexLevelParameterivEXT := GetGLFuncOrNil&('glGetMultiTexLevelParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterivEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: array of Int32) := GetMultiTexLevelParameterivEXT(texunit, target, level, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterivEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; pname: DummyEnum; var ¶ms: Int32) := GetMultiTexLevelParameterivEXT(texunit, target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterivEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexLevelParameterivEXT(texunit, target, level, pname, ¶ms); - - public z_MultiTexImage3DEXT := GetGLFuncOrNil&('glMultiTexImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexImage3DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: Int32; width: Int32; height: Int32; depth: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_MultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, format, &type, pixels); - - public z_MultiTexSubImage3DEXT := GetGLFuncOrNil&('glMultiTexSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexSubImage3DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_MultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); - - public z_CopyMultiTexSubImage3DEXT := GetGLFuncOrNil&('glCopyMultiTexSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexSubImage3DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height); - - public z_EnableClientStateIndexedEXT := GetGLFuncOrNil&('glEnableClientStateIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableClientStateIndexedEXT(&array: DummyEnum; index: UInt32) := z_EnableClientStateIndexedEXT(&array, index); - - public z_DisableClientStateIndexedEXT := GetGLFuncOrNil&('glDisableClientStateIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableClientStateIndexedEXT(&array: DummyEnum; index: UInt32) := z_DisableClientStateIndexedEXT(&array, index); - - public z_EnableClientStateiEXT := GetGLFuncOrNil&('glEnableClientStateiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableClientStateiEXT(&array: DummyEnum; index: UInt32) := z_EnableClientStateiEXT(&array, index); - - public z_DisableClientStateiEXT := GetGLFuncOrNil&('glDisableClientStateiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableClientStateiEXT(&array: DummyEnum; index: UInt32) := z_DisableClientStateiEXT(&array, index); - - public z_GetFloatIndexedvEXT := GetGLFuncOrNil&('glGetFloatIndexedvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatIndexedvEXT(target: GLGetQueries; index: UInt32; data: array of single) := GetFloatIndexedvEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatIndexedvEXT(target: GLGetQueries; index: UInt32; var data: single) := GetFloatIndexedvEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatIndexedvEXT(target: GLGetQueries; index: UInt32; data: pointer) := z_GetFloatIndexedvEXT(target, index, data); - - public z_GetDoubleIndexedvEXT := GetGLFuncOrNil&('glGetDoubleIndexedvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoubleIndexedvEXT(target: GLGetQueries; index: UInt32; data: array of double) := GetDoubleIndexedvEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoubleIndexedvEXT(target: GLGetQueries; index: UInt32; var data: double) := GetDoubleIndexedvEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoubleIndexedvEXT(target: GLGetQueries; index: UInt32; data: pointer) := z_GetDoubleIndexedvEXT(target, index, data); - - public z_GetPointerIndexedvEXT := GetGLFuncOrNil&('glGetPointerIndexedvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerIndexedvEXT(target: GLGetQueries; index: UInt32; data: array of IntPtr) := GetPointerIndexedvEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerIndexedvEXT(target: GLGetQueries; index: UInt32; var data: IntPtr) := GetPointerIndexedvEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerIndexedvEXT(target: GLGetQueries; index: UInt32; data: pointer) := z_GetPointerIndexedvEXT(target, index, data); - - public z_GetFloati_vEXT := GetGLFuncOrNil&('glGetFloati_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vEXT(pname: GLGetQueries; index: UInt32; ¶ms: array of single) := GetFloati_vEXT(pname, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vEXT(pname: GLGetQueries; index: UInt32; var ¶ms: single) := GetFloati_vEXT(pname, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vEXT(pname: GLGetQueries; index: UInt32; ¶ms: pointer) := z_GetFloati_vEXT(pname, index, ¶ms); - - public z_GetDoublei_vEXT := GetGLFuncOrNil&('glGetDoublei_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_vEXT(pname: GLGetQueries; index: UInt32; ¶ms: array of double) := GetDoublei_vEXT(pname, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_vEXT(pname: GLGetQueries; index: UInt32; var ¶ms: double) := GetDoublei_vEXT(pname, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_vEXT(pname: GLGetQueries; index: UInt32; ¶ms: pointer) := z_GetDoublei_vEXT(pname, index, ¶ms); - - public z_GetPointeri_vEXT := GetGLFuncOrNil&('glGetPointeri_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointeri_vEXT(pname: GLGetQueries; index: UInt32; ¶ms: array of IntPtr) := GetPointeri_vEXT(pname, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointeri_vEXT(pname: GLGetQueries; index: UInt32; var ¶ms: IntPtr) := GetPointeri_vEXT(pname, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointeri_vEXT(pname: GLGetQueries; index: UInt32; ¶ms: pointer) := z_GetPointeri_vEXT(pname, index, ¶ms); - - public z_NamedProgramStringEXT := GetGLFuncOrNil&('glNamedProgramStringEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramStringEXT(&program: UInt32; target: DummyEnum; format: DummyEnum; len: Int32; string: pointer) := z_NamedProgramStringEXT(&program, target, format, len, string); - - public z_NamedProgramLocalParameter4dEXT := GetGLFuncOrNil&('glNamedProgramLocalParameter4dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dEXT(&program: UInt32; target: DummyEnum; index: UInt32; x: double; y: double; z: double; w: double) := z_NamedProgramLocalParameter4dEXT(&program, target, index, x, y, z, w); - - public z_NamedProgramLocalParameter4dvEXT := GetGLFuncOrNil&('glNamedProgramLocalParameter4dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of double) := NamedProgramLocalParameter4dvEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dvEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: double) := NamedProgramLocalParameter4dvEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_NamedProgramLocalParameter4dvEXT(&program, target, index, ¶ms); - - public z_NamedProgramLocalParameter4fEXT := GetGLFuncOrNil&('glNamedProgramLocalParameter4fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fEXT(&program: UInt32; target: DummyEnum; index: UInt32; x: single; y: single; z: single; w: single) := z_NamedProgramLocalParameter4fEXT(&program, target, index, x, y, z, w); - - public z_NamedProgramLocalParameter4fvEXT := GetGLFuncOrNil&('glNamedProgramLocalParameter4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of single) := NamedProgramLocalParameter4fvEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fvEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: single) := NamedProgramLocalParameter4fvEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_NamedProgramLocalParameter4fvEXT(&program, target, index, ¶ms); - - public z_GetNamedProgramLocalParameterdvEXT := GetGLFuncOrNil&('glGetNamedProgramLocalParameterdvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterdvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of double) := GetNamedProgramLocalParameterdvEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterdvEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: double) := GetNamedProgramLocalParameterdvEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterdvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetNamedProgramLocalParameterdvEXT(&program, target, index, ¶ms); - - public z_GetNamedProgramLocalParameterfvEXT := GetGLFuncOrNil&('glGetNamedProgramLocalParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterfvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of single) := GetNamedProgramLocalParameterfvEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterfvEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: single) := GetNamedProgramLocalParameterfvEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterfvEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetNamedProgramLocalParameterfvEXT(&program, target, index, ¶ms); - - public z_GetNamedProgramivEXT := GetGLFuncOrNil&('glGetNamedProgramivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramivEXT(&program: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetNamedProgramivEXT(&program, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramivEXT(&program: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetNamedProgramivEXT(&program, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramivEXT(&program: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetNamedProgramivEXT(&program, target, pname, ¶ms); - - public z_GetNamedProgramStringEXT := GetGLFuncOrNil&('glGetNamedProgramStringEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramStringEXT(&program: UInt32; target: DummyEnum; pname: DummyEnum; string: pointer) := z_GetNamedProgramStringEXT(&program, target, pname, string); - - public z_CompressedTextureImage3DEXT := GetGLFuncOrNil&('glCompressedTextureImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureImage3DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; bits: pointer) := z_CompressedTextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, imageSize, bits); - - public z_CompressedTextureImage2DEXT := GetGLFuncOrNil&('glCompressedTextureImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureImage2DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; border: Int32; imageSize: Int32; bits: pointer) := z_CompressedTextureImage2DEXT(texture, target, level, internalformat, width, height, border, imageSize, bits); - - public z_CompressedTextureImage1DEXT := GetGLFuncOrNil&('glCompressedTextureImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureImage1DEXT(texture: UInt32; target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; border: Int32; imageSize: Int32; bits: pointer) := z_CompressedTextureImage1DEXT(texture, target, level, internalformat, width, border, imageSize, bits); - - public z_CompressedTextureSubImage3DEXT := GetGLFuncOrNil&('glCompressedTextureSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; imageSize: Int32; bits: pointer) := z_CompressedTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); - - public z_CompressedTextureSubImage2DEXT := GetGLFuncOrNil&('glCompressedTextureSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DummyEnum; imageSize: Int32; bits: pointer) := z_CompressedTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits); - - public z_CompressedTextureSubImage1DEXT := GetGLFuncOrNil&('glCompressedTextureSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1DEXT(texture: UInt32; target: DummyEnum; level: Int32; xoffset: Int32; width: Int32; format: DummyEnum; imageSize: Int32; bits: pointer) := z_CompressedTextureSubImage1DEXT(texture, target, level, xoffset, width, format, imageSize, bits); - - public z_GetCompressedTextureImageEXT := GetGLFuncOrNil&('glGetCompressedTextureImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImageEXT(texture: UInt32; target: DummyEnum; lod: Int32; img: pointer) := z_GetCompressedTextureImageEXT(texture, target, lod, img); - - public z_CompressedMultiTexImage3DEXT := GetGLFuncOrNil&('glCompressedMultiTexImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexImage3DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; bits: pointer) := z_CompressedMultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, imageSize, bits); - - public z_CompressedMultiTexImage2DEXT := GetGLFuncOrNil&('glCompressedMultiTexImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexImage2DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; border: Int32; imageSize: Int32; bits: pointer) := z_CompressedMultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, imageSize, bits); - - public z_CompressedMultiTexImage1DEXT := GetGLFuncOrNil&('glCompressedMultiTexImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexImage1DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; border: Int32; imageSize: Int32; bits: pointer) := z_CompressedMultiTexImage1DEXT(texunit, target, level, internalformat, width, border, imageSize, bits); - - public z_CompressedMultiTexSubImage3DEXT := GetGLFuncOrNil&('glCompressedMultiTexSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexSubImage3DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; imageSize: Int32; bits: pointer) := z_CompressedMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); - - public z_CompressedMultiTexSubImage2DEXT := GetGLFuncOrNil&('glCompressedMultiTexSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexSubImage2DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DummyEnum; imageSize: Int32; bits: pointer) := z_CompressedMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits); - - public z_CompressedMultiTexSubImage1DEXT := GetGLFuncOrNil&('glCompressedMultiTexSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexSubImage1DEXT(texunit: DummyEnum; target: DummyEnum; level: Int32; xoffset: Int32; width: Int32; format: DummyEnum; imageSize: Int32; bits: pointer) := z_CompressedMultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, imageSize, bits); - - public z_GetCompressedMultiTexImageEXT := GetGLFuncOrNil&('glGetCompressedMultiTexImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedMultiTexImageEXT(texunit: DummyEnum; target: DummyEnum; lod: Int32; img: pointer) := z_GetCompressedMultiTexImageEXT(texunit, target, lod, img); - - public z_MatrixLoadTransposefEXT := GetGLFuncOrNil&('glMatrixLoadTransposefEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposefEXT(mode: DummyEnum; m: array of single) := MatrixLoadTransposefEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposefEXT(mode: DummyEnum; var m: single) := MatrixLoadTransposefEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposefEXT(mode: DummyEnum; m: pointer) := z_MatrixLoadTransposefEXT(mode, m); - - public z_MatrixLoadTransposedEXT := GetGLFuncOrNil&('glMatrixLoadTransposedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposedEXT(mode: DummyEnum; m: array of double) := MatrixLoadTransposedEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposedEXT(mode: DummyEnum; var m: double) := MatrixLoadTransposedEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposedEXT(mode: DummyEnum; m: pointer) := z_MatrixLoadTransposedEXT(mode, m); - - public z_MatrixMultTransposefEXT := GetGLFuncOrNil&('glMatrixMultTransposefEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposefEXT(mode: DummyEnum; m: array of single) := MatrixMultTransposefEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposefEXT(mode: DummyEnum; var m: single) := MatrixMultTransposefEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposefEXT(mode: DummyEnum; m: pointer) := z_MatrixMultTransposefEXT(mode, m); - - public z_MatrixMultTransposedEXT := GetGLFuncOrNil&('glMatrixMultTransposedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposedEXT(mode: DummyEnum; m: array of double) := MatrixMultTransposedEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposedEXT(mode: DummyEnum; var m: double) := MatrixMultTransposedEXT(mode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposedEXT(mode: DummyEnum; m: pointer) := z_MatrixMultTransposedEXT(mode, m); - - public z_NamedBufferDataEXT := GetGLFuncOrNil&('glNamedBufferDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferDataEXT(buffer: UInt32; size: UIntPtr; data: pointer; usage: DummyEnum) := z_NamedBufferDataEXT(buffer, size, data, usage); - - public z_NamedBufferSubDataEXT := GetGLFuncOrNil&('glNamedBufferSubDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubDataEXT(buffer: UInt32; offset: IntPtr; size: UIntPtr; data: pointer) := z_NamedBufferSubDataEXT(buffer, offset, size, data); - - public z_MapNamedBufferEXT := GetGLFuncOrNil&('glMapNamedBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBufferEXT(buffer: UInt32; access: DummyEnum): pointer := z_MapNamedBufferEXT(buffer, access); - - public z_UnmapNamedBufferEXT := GetGLFuncOrNil&('glUnmapNamedBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapNamedBufferEXT(buffer: UInt32): boolean := z_UnmapNamedBufferEXT(buffer); - - public z_GetNamedBufferParameterivEXT := GetGLFuncOrNil&('glGetNamedBufferParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterivEXT(buffer: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetNamedBufferParameterivEXT(buffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterivEXT(buffer: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetNamedBufferParameterivEXT(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterivEXT(buffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetNamedBufferParameterivEXT(buffer, pname, ¶ms); - - public z_GetNamedBufferPointervEXT := GetGLFuncOrNil&('glGetNamedBufferPointervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointervEXT(buffer: UInt32; pname: DummyEnum; ¶ms: array of IntPtr) := GetNamedBufferPointervEXT(buffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointervEXT(buffer: UInt32; pname: DummyEnum; var ¶ms: IntPtr) := GetNamedBufferPointervEXT(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointervEXT(buffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetNamedBufferPointervEXT(buffer, pname, ¶ms); - - public z_GetNamedBufferSubDataEXT := GetGLFuncOrNil&('glGetNamedBufferSubDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubDataEXT(buffer: UInt32; offset: IntPtr; size: UIntPtr; data: pointer) := z_GetNamedBufferSubDataEXT(buffer, offset, size, data); - - public z_TextureBufferEXT := GetGLFuncOrNil&('glTextureBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBufferEXT(texture: UInt32; target: DummyEnum; internalformat: DummyEnum; buffer: UInt32) := z_TextureBufferEXT(texture, target, internalformat, buffer); - - public z_MultiTexBufferEXT := GetGLFuncOrNil&('glMultiTexBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexBufferEXT(texunit: DummyEnum; target: DummyEnum; internalformat: DummyEnum; buffer: UInt32) := z_MultiTexBufferEXT(texunit, target, internalformat, buffer); - - public z_TextureParameterIivEXT := GetGLFuncOrNil&('glTextureParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TextureParameterIivEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TextureParameterIivEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TextureParameterIivEXT(texture, target, pname, ¶ms); - - public z_TextureParameterIuivEXT := GetGLFuncOrNil&('glTextureParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := TextureParameterIuivEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := TextureParameterIuivEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TextureParameterIuivEXT(texture, target, pname, ¶ms); - - public z_GetTextureParameterIivEXT := GetGLFuncOrNil&('glGetTextureParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTextureParameterIivEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTextureParameterIivEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTextureParameterIivEXT(texture, target, pname, ¶ms); - - public z_GetTextureParameterIuivEXT := GetGLFuncOrNil&('glGetTextureParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := GetTextureParameterIuivEXT(texture, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := GetTextureParameterIuivEXT(texture, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuivEXT(texture: UInt32; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTextureParameterIuivEXT(texture, target, pname, ¶ms); - - public z_MultiTexParameterIivEXT := GetGLFuncOrNil&('glMultiTexParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := MultiTexParameterIivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := MultiTexParameterIivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexParameterIivEXT(texunit, target, pname, ¶ms); - - public z_MultiTexParameterIuivEXT := GetGLFuncOrNil&('glMultiTexParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIuivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := MultiTexParameterIuivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIuivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := MultiTexParameterIuivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIuivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MultiTexParameterIuivEXT(texunit, target, pname, ¶ms); - - public z_GetMultiTexParameterIivEXT := GetGLFuncOrNil&('glGetMultiTexParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMultiTexParameterIivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMultiTexParameterIivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexParameterIivEXT(texunit, target, pname, ¶ms); - - public z_GetMultiTexParameterIuivEXT := GetGLFuncOrNil&('glGetMultiTexParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIuivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := GetMultiTexParameterIuivEXT(texunit, target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIuivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := GetMultiTexParameterIuivEXT(texunit, target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIuivEXT(texunit: DummyEnum; target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMultiTexParameterIuivEXT(texunit, target, pname, ¶ms); - - public z_NamedProgramLocalParameters4fvEXT := GetGLFuncOrNil&('glNamedProgramLocalParameters4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameters4fvEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of single) := NamedProgramLocalParameters4fvEXT(&program, target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameters4fvEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; var ¶ms: single) := NamedProgramLocalParameters4fvEXT(&program, target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameters4fvEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_NamedProgramLocalParameters4fvEXT(&program, target, index, count, ¶ms); - - public z_NamedProgramLocalParameterI4iEXT := GetGLFuncOrNil&('glNamedProgramLocalParameterI4iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4iEXT(&program: UInt32; target: DummyEnum; index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32) := z_NamedProgramLocalParameterI4iEXT(&program, target, index, x, y, z, w); - - public z_NamedProgramLocalParameterI4ivEXT := GetGLFuncOrNil&('glNamedProgramLocalParameterI4ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4ivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of Int32) := NamedProgramLocalParameterI4ivEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4ivEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: Int32) := NamedProgramLocalParameterI4ivEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4ivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_NamedProgramLocalParameterI4ivEXT(&program, target, index, ¶ms); - - public z_NamedProgramLocalParametersI4ivEXT := GetGLFuncOrNil&('glNamedProgramLocalParametersI4ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4ivEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of Int32) := NamedProgramLocalParametersI4ivEXT(&program, target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4ivEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; var ¶ms: Int32) := NamedProgramLocalParametersI4ivEXT(&program, target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4ivEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_NamedProgramLocalParametersI4ivEXT(&program, target, index, count, ¶ms); - - public z_NamedProgramLocalParameterI4uiEXT := GetGLFuncOrNil&('glNamedProgramLocalParameterI4uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uiEXT(&program: UInt32; target: DummyEnum; index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32) := z_NamedProgramLocalParameterI4uiEXT(&program, target, index, x, y, z, w); - - public z_NamedProgramLocalParameterI4uivEXT := GetGLFuncOrNil&('glNamedProgramLocalParameterI4uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of UInt32) := NamedProgramLocalParameterI4uivEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uivEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: UInt32) := NamedProgramLocalParameterI4uivEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_NamedProgramLocalParameterI4uivEXT(&program, target, index, ¶ms); - - public z_NamedProgramLocalParametersI4uivEXT := GetGLFuncOrNil&('glNamedProgramLocalParametersI4uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4uivEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of UInt32) := NamedProgramLocalParametersI4uivEXT(&program, target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4uivEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; var ¶ms: UInt32) := NamedProgramLocalParametersI4uivEXT(&program, target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4uivEXT(&program: UInt32; target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_NamedProgramLocalParametersI4uivEXT(&program, target, index, count, ¶ms); - - public z_GetNamedProgramLocalParameterIivEXT := GetGLFuncOrNil&('glGetNamedProgramLocalParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of Int32) := GetNamedProgramLocalParameterIivEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIivEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: Int32) := GetNamedProgramLocalParameterIivEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetNamedProgramLocalParameterIivEXT(&program, target, index, ¶ms); - - public z_GetNamedProgramLocalParameterIuivEXT := GetGLFuncOrNil&('glGetNamedProgramLocalParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIuivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: array of UInt32) := GetNamedProgramLocalParameterIuivEXT(&program, target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIuivEXT(&program: UInt32; target: DummyEnum; index: UInt32; var ¶ms: UInt32) := GetNamedProgramLocalParameterIuivEXT(&program, target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIuivEXT(&program: UInt32; target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetNamedProgramLocalParameterIuivEXT(&program, target, index, ¶ms); - - public z_NamedRenderbufferStorageEXT := GetGLFuncOrNil&('glNamedRenderbufferStorageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageEXT(renderbuffer: UInt32; internalformat: DummyEnum; width: Int32; height: Int32) := z_NamedRenderbufferStorageEXT(renderbuffer, internalformat, width, height); - - public z_GetNamedRenderbufferParameterivEXT := GetGLFuncOrNil&('glGetNamedRenderbufferParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameterivEXT(renderbuffer: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetNamedRenderbufferParameterivEXT(renderbuffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameterivEXT(renderbuffer: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetNamedRenderbufferParameterivEXT(renderbuffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameterivEXT(renderbuffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetNamedRenderbufferParameterivEXT(renderbuffer, pname, ¶ms); - - public z_NamedRenderbufferStorageMultisampleEXT := GetGLFuncOrNil&('glNamedRenderbufferStorageMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisampleEXT(renderbuffer: UInt32; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_NamedRenderbufferStorageMultisampleEXT(renderbuffer, samples, internalformat, width, height); - - public z_NamedRenderbufferStorageMultisampleCoverageEXT := GetGLFuncOrNil&('glNamedRenderbufferStorageMultisampleCoverageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisampleCoverageEXT(renderbuffer: UInt32; coverageSamples: Int32; colorSamples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_NamedRenderbufferStorageMultisampleCoverageEXT(renderbuffer, coverageSamples, colorSamples, internalformat, width, height); - - public z_CheckNamedFramebufferStatusEXT := GetGLFuncOrNil&('glCheckNamedFramebufferStatusEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckNamedFramebufferStatusEXT(framebuffer: UInt32; target: DummyEnum): DummyEnum := z_CheckNamedFramebufferStatusEXT(framebuffer, target); - - public z_NamedFramebufferTexture1DEXT := GetGLFuncOrNil&('glNamedFramebufferTexture1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture1DEXT(framebuffer: UInt32; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32) := z_NamedFramebufferTexture1DEXT(framebuffer, attachment, textarget, texture, level); - - public z_NamedFramebufferTexture2DEXT := GetGLFuncOrNil&('glNamedFramebufferTexture2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture2DEXT(framebuffer: UInt32; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32) := z_NamedFramebufferTexture2DEXT(framebuffer, attachment, textarget, texture, level); - - public z_NamedFramebufferTexture3DEXT := GetGLFuncOrNil&('glNamedFramebufferTexture3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture3DEXT(framebuffer: UInt32; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32; zoffset: Int32) := z_NamedFramebufferTexture3DEXT(framebuffer, attachment, textarget, texture, level, zoffset); - - public z_NamedFramebufferRenderbufferEXT := GetGLFuncOrNil&('glNamedFramebufferRenderbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferRenderbufferEXT(framebuffer: UInt32; attachment: DummyEnum; renderbuffertarget: DummyEnum; renderbuffer: UInt32) := z_NamedFramebufferRenderbufferEXT(framebuffer, attachment, renderbuffertarget, renderbuffer); - - public z_GetNamedFramebufferAttachmentParameterivEXT := GetGLFuncOrNil&('glGetNamedFramebufferAttachmentParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameterivEXT(framebuffer: UInt32; attachment: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetNamedFramebufferAttachmentParameterivEXT(framebuffer, attachment, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameterivEXT(framebuffer: UInt32; attachment: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetNamedFramebufferAttachmentParameterivEXT(framebuffer, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameterivEXT(framebuffer: UInt32; attachment: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetNamedFramebufferAttachmentParameterivEXT(framebuffer, attachment, pname, ¶ms); - - public z_GenerateTextureMipmapEXT := GetGLFuncOrNil&('glGenerateTextureMipmapEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateTextureMipmapEXT(texture: UInt32; target: DummyEnum) := z_GenerateTextureMipmapEXT(texture, target); - - public z_GenerateMultiTexMipmapEXT := GetGLFuncOrNil&('glGenerateMultiTexMipmapEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMultiTexMipmapEXT(texunit: DummyEnum; target: DummyEnum) := z_GenerateMultiTexMipmapEXT(texunit, target); - - public z_FramebufferDrawBufferEXT := GetGLFuncOrNil&('glFramebufferDrawBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBufferEXT(framebuffer: UInt32; mode: DummyEnum) := z_FramebufferDrawBufferEXT(framebuffer, mode); - - public z_FramebufferDrawBuffersEXT := GetGLFuncOrNil&('glFramebufferDrawBuffersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBuffersEXT(framebuffer: UInt32; n: Int32; bufs: array of DummyEnum) := FramebufferDrawBuffersEXT(framebuffer, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBuffersEXT(framebuffer: UInt32; n: Int32; var bufs: DummyEnum) := FramebufferDrawBuffersEXT(framebuffer, n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBuffersEXT(framebuffer: UInt32; n: Int32; bufs: pointer) := z_FramebufferDrawBuffersEXT(framebuffer, n, bufs); - - public z_FramebufferReadBufferEXT := GetGLFuncOrNil&('glFramebufferReadBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferReadBufferEXT(framebuffer: UInt32; mode: DummyEnum) := z_FramebufferReadBufferEXT(framebuffer, mode); - - public z_GetFramebufferParameterivEXT := GetGLFuncOrNil&('glGetFramebufferParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivEXT(framebuffer: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetFramebufferParameterivEXT(framebuffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivEXT(framebuffer: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetFramebufferParameterivEXT(framebuffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivEXT(framebuffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetFramebufferParameterivEXT(framebuffer, pname, ¶ms); - - public z_NamedCopyBufferSubDataEXT := GetGLFuncOrNil&('glNamedCopyBufferSubDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedCopyBufferSubDataEXT(readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_NamedCopyBufferSubDataEXT(readBuffer, writeBuffer, readOffset, writeOffset, size); - - public z_NamedFramebufferTextureEXT := GetGLFuncOrNil&('glNamedFramebufferTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureEXT(framebuffer: UInt32; attachment: DummyEnum; texture: UInt32; level: Int32) := z_NamedFramebufferTextureEXT(framebuffer, attachment, texture, level); - - public z_NamedFramebufferTextureLayerEXT := GetGLFuncOrNil&('glNamedFramebufferTextureLayerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureLayerEXT(framebuffer: UInt32; attachment: DummyEnum; texture: UInt32; level: Int32; layer: Int32) := z_NamedFramebufferTextureLayerEXT(framebuffer, attachment, texture, level, layer); - - public z_NamedFramebufferTextureFaceEXT := GetGLFuncOrNil&('glNamedFramebufferTextureFaceEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureFaceEXT(framebuffer: UInt32; attachment: DummyEnum; texture: UInt32; level: Int32; face: DummyEnum) := z_NamedFramebufferTextureFaceEXT(framebuffer, attachment, texture, level, face); - - public z_TextureRenderbufferEXT := GetGLFuncOrNil&('glTextureRenderbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureRenderbufferEXT(texture: UInt32; target: DummyEnum; renderbuffer: UInt32) := z_TextureRenderbufferEXT(texture, target, renderbuffer); - - public z_MultiTexRenderbufferEXT := GetGLFuncOrNil&('glMultiTexRenderbufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexRenderbufferEXT(texunit: DummyEnum; target: DummyEnum; renderbuffer: UInt32) := z_MultiTexRenderbufferEXT(texunit, target, renderbuffer); - - public z_VertexArrayVertexOffsetEXT := GetGLFuncOrNil&('glVertexArrayVertexOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayVertexOffsetEXT(vaobj, buffer, size, &type, stride, offset); - - public z_VertexArrayColorOffsetEXT := GetGLFuncOrNil&('glVertexArrayColorOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayColorOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayColorOffsetEXT(vaobj, buffer, size, &type, stride, offset); - - public z_VertexArrayEdgeFlagOffsetEXT := GetGLFuncOrNil&('glVertexArrayEdgeFlagOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayEdgeFlagOffsetEXT(vaobj: UInt32; buffer: UInt32; stride: Int32; offset: IntPtr) := z_VertexArrayEdgeFlagOffsetEXT(vaobj, buffer, stride, offset); - - public z_VertexArrayIndexOffsetEXT := GetGLFuncOrNil&('glVertexArrayIndexOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayIndexOffsetEXT(vaobj: UInt32; buffer: UInt32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayIndexOffsetEXT(vaobj, buffer, &type, stride, offset); - - public z_VertexArrayNormalOffsetEXT := GetGLFuncOrNil&('glVertexArrayNormalOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayNormalOffsetEXT(vaobj: UInt32; buffer: UInt32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayNormalOffsetEXT(vaobj, buffer, &type, stride, offset); - - public z_VertexArrayTexCoordOffsetEXT := GetGLFuncOrNil&('glVertexArrayTexCoordOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayTexCoordOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayTexCoordOffsetEXT(vaobj, buffer, size, &type, stride, offset); - - public z_VertexArrayMultiTexCoordOffsetEXT := GetGLFuncOrNil&('glVertexArrayMultiTexCoordOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayMultiTexCoordOffsetEXT(vaobj: UInt32; buffer: UInt32; texunit: DummyEnum; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayMultiTexCoordOffsetEXT(vaobj, buffer, texunit, size, &type, stride, offset); - - public z_VertexArrayFogCoordOffsetEXT := GetGLFuncOrNil&('glVertexArrayFogCoordOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayFogCoordOffsetEXT(vaobj: UInt32; buffer: UInt32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayFogCoordOffsetEXT(vaobj, buffer, &type, stride, offset); - - public z_VertexArraySecondaryColorOffsetEXT := GetGLFuncOrNil&('glVertexArraySecondaryColorOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArraySecondaryColorOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArraySecondaryColorOffsetEXT(vaobj, buffer, size, &type, stride, offset); - - public z_VertexArrayVertexAttribOffsetEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribOffsetEXT(vaobj: UInt32; buffer: UInt32; index: UInt32; size: Int32; &type: DummyEnum; normalized: boolean; stride: Int32; offset: IntPtr) := z_VertexArrayVertexAttribOffsetEXT(vaobj, buffer, index, size, &type, normalized, stride, offset); - - public z_VertexArrayVertexAttribIOffsetEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribIOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribIOffsetEXT(vaobj: UInt32; buffer: UInt32; index: UInt32; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayVertexAttribIOffsetEXT(vaobj, buffer, index, size, &type, stride, offset); - - public z_EnableVertexArrayEXT := GetGLFuncOrNil&('glEnableVertexArrayEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexArrayEXT(vaobj: UInt32; &array: DummyEnum) := z_EnableVertexArrayEXT(vaobj, &array); - - public z_DisableVertexArrayEXT := GetGLFuncOrNil&('glDisableVertexArrayEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexArrayEXT(vaobj: UInt32; &array: DummyEnum) := z_DisableVertexArrayEXT(vaobj, &array); - - public z_EnableVertexArrayAttribEXT := GetGLFuncOrNil&('glEnableVertexArrayAttribEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexArrayAttribEXT(vaobj: UInt32; index: UInt32) := z_EnableVertexArrayAttribEXT(vaobj, index); - - public z_DisableVertexArrayAttribEXT := GetGLFuncOrNil&('glDisableVertexArrayAttribEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexArrayAttribEXT(vaobj: UInt32; index: UInt32) := z_DisableVertexArrayAttribEXT(vaobj, index); - - public z_GetVertexArrayIntegervEXT := GetGLFuncOrNil&('glGetVertexArrayIntegervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegervEXT(vaobj: UInt32; pname: DummyEnum; param: array of Int32) := GetVertexArrayIntegervEXT(vaobj, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegervEXT(vaobj: UInt32; pname: DummyEnum; var param: Int32) := GetVertexArrayIntegervEXT(vaobj, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegervEXT(vaobj: UInt32; pname: DummyEnum; param: pointer) := z_GetVertexArrayIntegervEXT(vaobj, pname, param); - - public z_GetVertexArrayPointervEXT := GetGLFuncOrNil&('glGetVertexArrayPointervEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointervEXT(vaobj: UInt32; pname: DummyEnum; param: array of IntPtr) := GetVertexArrayPointervEXT(vaobj, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointervEXT(vaobj: UInt32; pname: DummyEnum; var param: IntPtr) := GetVertexArrayPointervEXT(vaobj, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointervEXT(vaobj: UInt32; pname: DummyEnum; param: pointer) := z_GetVertexArrayPointervEXT(vaobj, pname, param); - - public z_GetVertexArrayIntegeri_vEXT := GetGLFuncOrNil&('glGetVertexArrayIntegeri_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegeri_vEXT(vaobj: UInt32; index: UInt32; pname: DummyEnum; param: array of Int32) := GetVertexArrayIntegeri_vEXT(vaobj, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegeri_vEXT(vaobj: UInt32; index: UInt32; pname: DummyEnum; var param: Int32) := GetVertexArrayIntegeri_vEXT(vaobj, index, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegeri_vEXT(vaobj: UInt32; index: UInt32; pname: DummyEnum; param: pointer) := z_GetVertexArrayIntegeri_vEXT(vaobj, index, pname, param); - - public z_GetVertexArrayPointeri_vEXT := GetGLFuncOrNil&('glGetVertexArrayPointeri_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointeri_vEXT(vaobj: UInt32; index: UInt32; pname: DummyEnum; param: array of IntPtr) := GetVertexArrayPointeri_vEXT(vaobj, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointeri_vEXT(vaobj: UInt32; index: UInt32; pname: DummyEnum; var param: IntPtr) := GetVertexArrayPointeri_vEXT(vaobj, index, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointeri_vEXT(vaobj: UInt32; index: UInt32; pname: DummyEnum; param: pointer) := z_GetVertexArrayPointeri_vEXT(vaobj, index, pname, param); - - public z_MapNamedBufferRangeEXT := GetGLFuncOrNil&('glMapNamedBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBufferRangeEXT(buffer: UInt32; offset: IntPtr; length: UIntPtr; access: DummyFlags): pointer := z_MapNamedBufferRangeEXT(buffer, offset, length, access); - - public z_FlushMappedNamedBufferRangeEXT := GetGLFuncOrNil&('glFlushMappedNamedBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedNamedBufferRangeEXT(buffer: UInt32; offset: IntPtr; length: UIntPtr) := z_FlushMappedNamedBufferRangeEXT(buffer, offset, length); - - {$endregion EXT_direct_state_access} - - {$region EXT_coordinate_frame} - - public z_Tangent3bEXT := GetGLFuncOrNil&('glTangent3bEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bEXT(tx: SByte; ty: SByte; tz: SByte) := z_Tangent3bEXT(tx, ty, tz); - - public z_Tangent3sEXT := GetGLFuncOrNil&('glTangent3sEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3sEXT(tx: Int16; ty: Int16; tz: Int16) := z_Tangent3sEXT(tx, ty, tz); - - public z_Tangent3iEXT := GetGLFuncOrNil&('glTangent3iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3iEXT(tx: Int32; ty: Int32; tz: Int32) := z_Tangent3iEXT(tx, ty, tz); - - public z_Tangent3fEXT := GetGLFuncOrNil&('glTangent3fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fEXT(tx: single; ty: single; tz: single) := z_Tangent3fEXT(tx, ty, tz); - - public z_Tangent3dEXT := GetGLFuncOrNil&('glTangent3dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dEXT(tx: double; ty: double; tz: double) := z_Tangent3dEXT(tx, ty, tz); - - public z_Tangent3bvEXT := GetGLFuncOrNil&('glTangent3bvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bvEXT(v: array of SByte) := Tangent3bvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bvEXT(var v: SByte) := Tangent3bvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bvEXT(v: pointer) := z_Tangent3bvEXT(v); - - public z_Tangent3svEXT := GetGLFuncOrNil&('glTangent3svEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3svEXT(v: array of Int16) := Tangent3svEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3svEXT(var v: Int16) := Tangent3svEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3svEXT(v: pointer) := z_Tangent3svEXT(v); - - public z_Tangent3ivEXT := GetGLFuncOrNil&('glTangent3ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3ivEXT(v: array of Int32) := Tangent3ivEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3ivEXT(var v: Int32) := Tangent3ivEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3ivEXT(v: pointer) := z_Tangent3ivEXT(v); - - public z_Tangent3fvEXT := GetGLFuncOrNil&('glTangent3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fvEXT(v: array of single) := Tangent3fvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fvEXT(var v: single) := Tangent3fvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fvEXT(v: pointer) := z_Tangent3fvEXT(v); - - public z_Tangent3dvEXT := GetGLFuncOrNil&('glTangent3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dvEXT(v: array of double) := Tangent3dvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dvEXT(var v: double) := Tangent3dvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dvEXT(v: pointer) := z_Tangent3dvEXT(v); - - public z_Binormal3bEXT := GetGLFuncOrNil&('glBinormal3bEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bEXT(bx: SByte; by: SByte; bz: SByte) := z_Binormal3bEXT(bx, by, bz); - - public z_Binormal3sEXT := GetGLFuncOrNil&('glBinormal3sEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3sEXT(bx: Int16; by: Int16; bz: Int16) := z_Binormal3sEXT(bx, by, bz); - - public z_Binormal3iEXT := GetGLFuncOrNil&('glBinormal3iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3iEXT(bx: Int32; by: Int32; bz: Int32) := z_Binormal3iEXT(bx, by, bz); - - public z_Binormal3fEXT := GetGLFuncOrNil&('glBinormal3fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fEXT(bx: single; by: single; bz: single) := z_Binormal3fEXT(bx, by, bz); - - public z_Binormal3dEXT := GetGLFuncOrNil&('glBinormal3dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dEXT(bx: double; by: double; bz: double) := z_Binormal3dEXT(bx, by, bz); - - public z_Binormal3bvEXT := GetGLFuncOrNil&('glBinormal3bvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bvEXT(v: array of SByte) := Binormal3bvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bvEXT(var v: SByte) := Binormal3bvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bvEXT(v: pointer) := z_Binormal3bvEXT(v); - - public z_Binormal3svEXT := GetGLFuncOrNil&('glBinormal3svEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3svEXT(v: array of Int16) := Binormal3svEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3svEXT(var v: Int16) := Binormal3svEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3svEXT(v: pointer) := z_Binormal3svEXT(v); - - public z_Binormal3ivEXT := GetGLFuncOrNil&('glBinormal3ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3ivEXT(v: array of Int32) := Binormal3ivEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3ivEXT(var v: Int32) := Binormal3ivEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3ivEXT(v: pointer) := z_Binormal3ivEXT(v); - - public z_Binormal3fvEXT := GetGLFuncOrNil&('glBinormal3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fvEXT(v: array of single) := Binormal3fvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fvEXT(var v: single) := Binormal3fvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fvEXT(v: pointer) := z_Binormal3fvEXT(v); - - public z_Binormal3dvEXT := GetGLFuncOrNil&('glBinormal3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dvEXT(v: array of double) := Binormal3dvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dvEXT(var v: double) := Binormal3dvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dvEXT(v: pointer) := z_Binormal3dvEXT(v); - - public z_TangentPointerEXT := GetGLFuncOrNil&('glTangentPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TangentPointerEXT(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_TangentPointerEXT(&type, stride, _pointer); - - public z_BinormalPointerEXT := GetGLFuncOrNil&('glBinormalPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BinormalPointerEXT(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_BinormalPointerEXT(&type, stride, _pointer); - - {$endregion EXT_coordinate_frame} - - {$region EXT_blend_color} - - public z_BlendColorEXT := GetGLFuncOrNil&('glBlendColorEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendColorEXT(red: single; green: single; blue: single; alpha: single) := z_BlendColorEXT(red, green, blue, alpha); - - {$endregion EXT_blend_color} - - {$region EXT_blend_minmax} - - public z_BlendEquationEXT := GetGLFuncOrNil&('glBlendEquationEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationEXT(mode: DummyEnum) := z_BlendEquationEXT(mode); - - {$endregion EXT_blend_minmax} - - {$region EXT_draw_buffers_indexed} - - public z_EnableiEXT := GetGLFuncOrNil&('glEnableiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableiEXT(target: DummyEnum; index: UInt32) := z_EnableiEXT(target, index); - - public z_DisableiEXT := GetGLFuncOrNil&('glDisableiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableiEXT(target: DummyEnum; index: UInt32) := z_DisableiEXT(target, index); - - public z_BlendEquationiEXT := GetGLFuncOrNil&('glBlendEquationiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationiEXT(buf: UInt32; mode: DummyEnum) := z_BlendEquationiEXT(buf, mode); - - public z_BlendEquationSeparateiEXT := GetGLFuncOrNil&('glBlendEquationSeparateiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateiEXT(buf: UInt32; modeRGB: DummyEnum; modeAlpha: DummyEnum) := z_BlendEquationSeparateiEXT(buf, modeRGB, modeAlpha); - - public z_BlendFunciEXT := GetGLFuncOrNil&('glBlendFunciEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunciEXT(buf: UInt32; src: DummyEnum; dst: DummyEnum) := z_BlendFunciEXT(buf, src, dst); - - public z_BlendFuncSeparateiEXT := GetGLFuncOrNil&('glBlendFuncSeparateiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateiEXT(buf: UInt32; srcRGB: DummyEnum; dstRGB: DummyEnum; srcAlpha: DummyEnum; dstAlpha: DummyEnum) := z_BlendFuncSeparateiEXT(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); - - public z_ColorMaskiEXT := GetGLFuncOrNil&('glColorMaskiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaskiEXT(index: UInt32; r: boolean; g: boolean; b: boolean; a: boolean) := z_ColorMaskiEXT(index, r, g, b, a); - - public z_IsEnablediEXT := GetGLFuncOrNil&('glIsEnablediEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnablediEXT(target: DummyEnum; index: UInt32): boolean := z_IsEnablediEXT(target, index); - - {$endregion EXT_draw_buffers_indexed} - - {$region EXT_blend_equation_separate} - - public z_BlendEquationSeparateEXT := GetGLFuncOrNil&('glBlendEquationSeparateEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateEXT(modeRGB: DummyEnum; modeAlpha: DummyEnum) := z_BlendEquationSeparateEXT(modeRGB, modeAlpha); - - {$endregion EXT_blend_equation_separate} - - {$region EXT_blend_func_separate} - - public z_BlendFuncSeparateEXT := GetGLFuncOrNil&('glBlendFuncSeparateEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateEXT(sfactorRGB: DummyEnum; dfactorRGB: DummyEnum; sfactorAlpha: DummyEnum; dfactorAlpha: DummyEnum) := z_BlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); - - {$endregion EXT_blend_func_separate} - - {$region EXT_framebuffer_blit} - - public z_BlitFramebufferEXT := GetGLFuncOrNil&('glBlitFramebufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitFramebufferEXT(srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_BlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - {$endregion EXT_framebuffer_blit} - - {$region ARB_sparse_buffer} - - public z_BufferPageCommitmentARB := GetGLFuncOrNil&('glBufferPageCommitmentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferPageCommitmentARB(target: DummyEnum; offset: IntPtr; size: UIntPtr; commit: boolean) := z_BufferPageCommitmentARB(target, offset, size, commit); - - public z_NamedBufferPageCommitmentEXT := GetGLFuncOrNil&('glNamedBufferPageCommitmentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferPageCommitmentEXT(buffer: UInt32; offset: IntPtr; size: UIntPtr; commit: boolean) := z_NamedBufferPageCommitmentEXT(buffer, offset, size, commit); - - public z_NamedBufferPageCommitmentARB := GetGLFuncOrNil&('glNamedBufferPageCommitmentARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferPageCommitmentARB(buffer: UInt32; offset: IntPtr; size: UIntPtr; commit: boolean) := z_NamedBufferPageCommitmentARB(buffer, offset, size, commit); - - {$endregion ARB_sparse_buffer} - - {$region EXT_buffer_storage} - - public z_BufferStorageEXT := GetGLFuncOrNil&('glBufferStorageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorageEXT(target: DummyEnum; size: UIntPtr; data: pointer; flags: DummyFlags) := z_BufferStorageEXT(target, size, data, flags); - - {$endregion EXT_buffer_storage} - - {$region EXT_external_buffer} - - public z_BufferStorageExternalEXT := GetGLFuncOrNil&('glBufferStorageExternalEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorageExternalEXT(target: DummyEnum; offset: IntPtr; size: UIntPtr; clientBuffer: GLeglClientBufferEXT; flags: DummyFlags) := z_BufferStorageExternalEXT(target, offset, size, clientBuffer, flags); - - public z_NamedBufferStorageExternalEXT := GetGLFuncOrNil&('glNamedBufferStorageExternalEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorageExternalEXT(buffer: UInt32; offset: IntPtr; size: UIntPtr; clientBuffer: GLeglClientBufferEXT; flags: DummyFlags) := z_NamedBufferStorageExternalEXT(buffer, offset, size, clientBuffer, flags); - - {$endregion EXT_external_buffer} - - {$region EXT_external_objects} - - public z_GetUnsignedBytevEXT := GetGLFuncOrNil&('glGetUnsignedBytevEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: DummyEnum; data: array of Byte) := GetUnsignedBytevEXT(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: DummyEnum; var data: Byte) := GetUnsignedBytevEXT(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: DummyEnum; data: pointer) := z_GetUnsignedBytevEXT(pname, data); - - public z_GetUnsignedBytei_vEXT := GetGLFuncOrNil&('glGetUnsignedBytei_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; data: array of Byte) := GetUnsignedBytei_vEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; var data: Byte) := GetUnsignedBytei_vEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; data: pointer) := z_GetUnsignedBytei_vEXT(target, index, data); - - public z_DeleteMemoryObjectsEXT := GetGLFuncOrNil&('glDeleteMemoryObjectsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteMemoryObjectsEXT(n: Int32; memoryObjects: array of UInt32) := DeleteMemoryObjectsEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(memoryObjects,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteMemoryObjectsEXT(n: Int32; var memoryObjects: UInt32) := DeleteMemoryObjectsEXT(n, @memoryObjects); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteMemoryObjectsEXT(n: Int32; memoryObjects: pointer) := z_DeleteMemoryObjectsEXT(n, memoryObjects); - - public z_IsMemoryObjectEXT := GetGLFuncOrNil&('glIsMemoryObjectEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsMemoryObjectEXT(memoryObject: UInt32): boolean := z_IsMemoryObjectEXT(memoryObject); - - public z_CreateMemoryObjectsEXT := GetGLFuncOrNil&('glCreateMemoryObjectsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateMemoryObjectsEXT(n: Int32; memoryObjects: array of UInt32) := CreateMemoryObjectsEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(memoryObjects,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateMemoryObjectsEXT(n: Int32; var memoryObjects: UInt32) := CreateMemoryObjectsEXT(n, @memoryObjects); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateMemoryObjectsEXT(n: Int32; memoryObjects: pointer) := z_CreateMemoryObjectsEXT(n, memoryObjects); - - public z_MemoryObjectParameterivEXT := GetGLFuncOrNil&('glMemoryObjectParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryObjectParameterivEXT(memoryObject: UInt32; pname: DummyEnum; ¶ms: array of Int32) := MemoryObjectParameterivEXT(memoryObject, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryObjectParameterivEXT(memoryObject: UInt32; pname: DummyEnum; var ¶ms: Int32) := MemoryObjectParameterivEXT(memoryObject, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryObjectParameterivEXT(memoryObject: UInt32; pname: DummyEnum; ¶ms: pointer) := z_MemoryObjectParameterivEXT(memoryObject, pname, ¶ms); - - public z_GetMemoryObjectParameterivEXT := GetGLFuncOrNil&('glGetMemoryObjectParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectParameterivEXT(memoryObject: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetMemoryObjectParameterivEXT(memoryObject, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectParameterivEXT(memoryObject: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetMemoryObjectParameterivEXT(memoryObject, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectParameterivEXT(memoryObject: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetMemoryObjectParameterivEXT(memoryObject, pname, ¶ms); - - public z_TexStorageMem2DEXT := GetGLFuncOrNil&('glTexStorageMem2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem2DEXT(target: DummyEnum; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; memory: UInt32; offset: UInt64) := z_TexStorageMem2DEXT(target, levels, internalFormat, width, height, memory, offset); - - public z_TexStorageMem2DMultisampleEXT := GetGLFuncOrNil&('glTexStorageMem2DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem2DMultisampleEXT(target: DummyEnum; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64) := z_TexStorageMem2DMultisampleEXT(target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); - - public z_TexStorageMem3DEXT := GetGLFuncOrNil&('glTexStorageMem3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem3DEXT(target: DummyEnum; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; memory: UInt32; offset: UInt64) := z_TexStorageMem3DEXT(target, levels, internalFormat, width, height, depth, memory, offset); - - public z_TexStorageMem3DMultisampleEXT := GetGLFuncOrNil&('glTexStorageMem3DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem3DMultisampleEXT(target: DummyEnum; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64) := z_TexStorageMem3DMultisampleEXT(target, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); - - public z_BufferStorageMemEXT := GetGLFuncOrNil&('glBufferStorageMemEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorageMemEXT(target: DummyEnum; size: UIntPtr; memory: UInt32; offset: UInt64) := z_BufferStorageMemEXT(target, size, memory, offset); - - public z_TextureStorageMem2DEXT := GetGLFuncOrNil&('glTextureStorageMem2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem2DEXT(texture: UInt32; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; memory: UInt32; offset: UInt64) := z_TextureStorageMem2DEXT(texture, levels, internalFormat, width, height, memory, offset); - - public z_TextureStorageMem2DMultisampleEXT := GetGLFuncOrNil&('glTextureStorageMem2DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem2DMultisampleEXT(texture: UInt32; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64) := z_TextureStorageMem2DMultisampleEXT(texture, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); - - public z_TextureStorageMem3DEXT := GetGLFuncOrNil&('glTextureStorageMem3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem3DEXT(texture: UInt32; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; memory: UInt32; offset: UInt64) := z_TextureStorageMem3DEXT(texture, levels, internalFormat, width, height, depth, memory, offset); - - public z_TextureStorageMem3DMultisampleEXT := GetGLFuncOrNil&('glTextureStorageMem3DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem3DMultisampleEXT(texture: UInt32; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64) := z_TextureStorageMem3DMultisampleEXT(texture, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); - - public z_NamedBufferStorageMemEXT := GetGLFuncOrNil&('glNamedBufferStorageMemEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorageMemEXT(buffer: UInt32; size: UIntPtr; memory: UInt32; offset: UInt64) := z_NamedBufferStorageMemEXT(buffer, size, memory, offset); - - public z_TexStorageMem1DEXT := GetGLFuncOrNil&('glTexStorageMem1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem1DEXT(target: DummyEnum; levels: Int32; internalFormat: DummyEnum; width: Int32; memory: UInt32; offset: UInt64) := z_TexStorageMem1DEXT(target, levels, internalFormat, width, memory, offset); - - public z_TextureStorageMem1DEXT := GetGLFuncOrNil&('glTextureStorageMem1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem1DEXT(texture: UInt32; levels: Int32; internalFormat: DummyEnum; width: Int32; memory: UInt32; offset: UInt64) := z_TextureStorageMem1DEXT(texture, levels, internalFormat, width, memory, offset); - - public z_GenSemaphoresEXT := GetGLFuncOrNil&('glGenSemaphoresEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSemaphoresEXT(n: Int32; semaphores: array of UInt32) := GenSemaphoresEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphores,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSemaphoresEXT(n: Int32; var semaphores: UInt32) := GenSemaphoresEXT(n, @semaphores); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSemaphoresEXT(n: Int32; semaphores: pointer) := z_GenSemaphoresEXT(n, semaphores); - - public z_DeleteSemaphoresEXT := GetGLFuncOrNil&('glDeleteSemaphoresEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSemaphoresEXT(n: Int32; semaphores: array of UInt32) := DeleteSemaphoresEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphores,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSemaphoresEXT(n: Int32; var semaphores: UInt32) := DeleteSemaphoresEXT(n, @semaphores); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSemaphoresEXT(n: Int32; semaphores: pointer) := z_DeleteSemaphoresEXT(n, semaphores); - - public z_IsSemaphoreEXT := GetGLFuncOrNil&('glIsSemaphoreEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSemaphoreEXT(semaphore: UInt32): boolean := z_IsSemaphoreEXT(semaphore); - - public z_SemaphoreParameterui64vEXT := GetGLFuncOrNil&('glSemaphoreParameterui64vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SemaphoreParameterui64vEXT(semaphore: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := SemaphoreParameterui64vEXT(semaphore, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SemaphoreParameterui64vEXT(semaphore: UInt32; pname: DummyEnum; var ¶ms: UInt64) := SemaphoreParameterui64vEXT(semaphore, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SemaphoreParameterui64vEXT(semaphore: UInt32; pname: DummyEnum; ¶ms: pointer) := z_SemaphoreParameterui64vEXT(semaphore, pname, ¶ms); - - public z_GetSemaphoreParameterui64vEXT := GetGLFuncOrNil&('glGetSemaphoreParameterui64vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSemaphoreParameterui64vEXT(semaphore: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetSemaphoreParameterui64vEXT(semaphore, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSemaphoreParameterui64vEXT(semaphore: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetSemaphoreParameterui64vEXT(semaphore, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSemaphoreParameterui64vEXT(semaphore: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetSemaphoreParameterui64vEXT(semaphore, pname, ¶ms); - - public z_WaitSemaphoreEXT := GetGLFuncOrNil&('glWaitSemaphoreEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, @textures, @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, @textures, srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: pointer; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: pointer; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, textures, @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: pointer; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, textures, srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, @textures, @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, @textures, srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: pointer; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: pointer; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, textures, @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: pointer; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, textures, srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: array of UInt32; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; var textures: UInt32; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, @textures, @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: pointer) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, @textures, srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: pointer; srcLayouts: array of DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(srcLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: pointer; var srcLayouts: DummyEnum) := WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, @srcLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: pointer; srcLayouts: pointer) := z_WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); - - public z_SignalSemaphoreEXT := GetGLFuncOrNil&('glSignalSemaphoreEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, @textures, @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, @textures, dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: pointer; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: pointer; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, textures, @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: pointer; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), numTextureBarriers, textures, dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, @textures, @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, @textures, dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: pointer; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: pointer; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, textures, @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: pointer; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, @buffers, numTextureBarriers, textures, dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: array of UInt32; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; var textures: UInt32; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, @textures, @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: pointer) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, @textures, dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: pointer; dstLayouts: array of DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dstLayouts,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: pointer; var dstLayouts: DummyEnum) := SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, @dstLayouts); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: pointer; numTextureBarriers: UInt32; textures: pointer; dstLayouts: pointer) := z_SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); - - {$endregion EXT_external_objects} - - {$region EXT_texture_integer} - - public z_ClearColorIiEXT := GetGLFuncOrNil&('glClearColorIiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColorIiEXT(red: Int32; green: Int32; blue: Int32; alpha: Int32) := z_ClearColorIiEXT(red, green, blue, alpha); - - public z_ClearColorIuiEXT := GetGLFuncOrNil&('glClearColorIuiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColorIuiEXT(red: UInt32; green: UInt32; blue: UInt32; alpha: UInt32) := z_ClearColorIuiEXT(red, green, blue, alpha); - - {$endregion EXT_texture_integer} - - {$region ARB_clear_buffer_object} - - public z_ClearNamedBufferDataEXT := GetGLFuncOrNil&('glClearNamedBufferDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferDataEXT(buffer: UInt32; internalformat: DummyEnum; format: DummyEnum; &type: DummyEnum; data: pointer) := z_ClearNamedBufferDataEXT(buffer, internalformat, format, &type, data); - - public z_ClearNamedBufferSubDataEXT := GetGLFuncOrNil&('glClearNamedBufferSubDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubDataEXT(buffer: UInt32; internalformat: DummyEnum; offset: UIntPtr; size: UIntPtr; format: DummyEnum; &type: DummyEnum; data: pointer) := z_ClearNamedBufferSubDataEXT(buffer, internalformat, offset, size, format, &type, data); - - {$endregion ARB_clear_buffer_object} - - {$region EXT_shader_pixel_local_storage2} - - public z_FramebufferPixelLocalStorageSizeEXT := GetGLFuncOrNil&('glFramebufferPixelLocalStorageSizeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferPixelLocalStorageSizeEXT(target: UInt32; size: Int32) := z_FramebufferPixelLocalStorageSizeEXT(target, size); - - public z_GetFramebufferPixelLocalStorageSizeEXT := GetGLFuncOrNil&('glGetFramebufferPixelLocalStorageSizeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFramebufferPixelLocalStorageSizeEXT(target: UInt32): Int32 := z_GetFramebufferPixelLocalStorageSizeEXT(target); - - public z_ClearPixelLocalStorageuiEXT := GetGLFuncOrNil&('glClearPixelLocalStorageuiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearPixelLocalStorageuiEXT(offset: Int32; n: Int32; values: array of UInt32) := ClearPixelLocalStorageuiEXT(offset, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearPixelLocalStorageuiEXT(offset: Int32; n: Int32; var values: UInt32) := ClearPixelLocalStorageuiEXT(offset, n, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearPixelLocalStorageuiEXT(offset: Int32; n: Int32; values: pointer) := z_ClearPixelLocalStorageuiEXT(offset, n, values); - - {$endregion EXT_shader_pixel_local_storage2} - - {$region EXT_clear_texture} - - public z_ClearTexImageEXT := GetGLFuncOrNil&('glClearTexImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexImageEXT(texture: UInt32; level: Int32; format: DummyEnum; &type: DummyEnum; data: pointer) := z_ClearTexImageEXT(texture, level, format, &type, data); - - public z_ClearTexSubImageEXT := GetGLFuncOrNil&('glClearTexSubImageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearTexSubImageEXT(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; &type: DummyEnum; data: pointer) := z_ClearTexSubImageEXT(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, data); - - {$endregion EXT_clear_texture} - - {$region EXT_clip_control} - - public z_ClipControlEXT := GetGLFuncOrNil&('glClipControlEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipControlEXT(origin: DummyEnum; depth: DummyEnum) := z_ClipControlEXT(origin, depth); - - {$endregion EXT_clip_control} - - {$region EXT_draw_buffers2} - - public z_ColorMaskIndexedEXT := GetGLFuncOrNil&('glColorMaskIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaskIndexedEXT(index: UInt32; r: boolean; g: boolean; b: boolean; a: boolean) := z_ColorMaskIndexedEXT(index, r, g, b, a); - - {$endregion EXT_draw_buffers2} - - {$region EXT_color_subtable EXT_paletted_texture} - - public z_ColorSubTableEXT := GetGLFuncOrNil&('glColorSubTableEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorSubTableEXT(target: DummyEnum; start: Int32; count: Int32; format: DummyEnum; &type: DummyEnum; data: pointer) := z_ColorSubTableEXT(target, start, count, format, &type, data); - - {$endregion EXT_color_subtable EXT_paletted_texture} - - {$region EXT_paletted_texture} - - public z_ColorTableEXT := GetGLFuncOrNil&('glColorTableEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableEXT(target: DummyEnum; internalFormat: DummyEnum; width: Int32; format: DummyEnum; &type: DummyEnum; table: pointer) := z_ColorTableEXT(target, internalFormat, width, format, &type, table); - - public z_GetColorTableEXT := GetGLFuncOrNil&('glGetColorTableEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableEXT(target: DummyEnum; format: DummyEnum; &type: DummyEnum; data: pointer) := z_GetColorTableEXT(target, format, &type, data); - - public z_GetColorTableParameterivEXT := GetGLFuncOrNil&('glGetColorTableParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetColorTableParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetColorTableParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetColorTableParameterivEXT(target, pname, ¶ms); - - public z_GetColorTableParameterfvEXT := GetGLFuncOrNil&('glGetColorTableParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetColorTableParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetColorTableParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetColorTableParameterfvEXT(target, pname, ¶ms); - - {$endregion EXT_paletted_texture} - - {$region EXT_convolution} - - public z_ConvolutionFilter1DEXT := GetGLFuncOrNil&('glConvolutionFilter1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionFilter1DEXT(target: DummyEnum; internalformat: DummyEnum; width: Int32; format: DummyEnum; &type: DummyEnum; image: pointer) := z_ConvolutionFilter1DEXT(target, internalformat, width, format, &type, image); - - public z_ConvolutionFilter2DEXT := GetGLFuncOrNil&('glConvolutionFilter2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionFilter2DEXT(target: DummyEnum; internalformat: DummyEnum; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; image: pointer) := z_ConvolutionFilter2DEXT(target, internalformat, width, height, format, &type, image); - - public z_CopyConvolutionFilter1DEXT := GetGLFuncOrNil&('glCopyConvolutionFilter1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyConvolutionFilter1DEXT(target: DummyEnum; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32) := z_CopyConvolutionFilter1DEXT(target, internalformat, x, y, width); - - public z_CopyConvolutionFilter2DEXT := GetGLFuncOrNil&('glCopyConvolutionFilter2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyConvolutionFilter2DEXT(target: DummyEnum; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyConvolutionFilter2DEXT(target, internalformat, x, y, width, height); - - public z_GetConvolutionFilterEXT := GetGLFuncOrNil&('glGetConvolutionFilterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionFilterEXT(target: DummyEnum; format: DummyEnum; &type: DummyEnum; image: pointer) := z_GetConvolutionFilterEXT(target, format, &type, image); - - public z_SeparableFilter2DEXT := GetGLFuncOrNil&('glSeparableFilter2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SeparableFilter2DEXT(target: DummyEnum; internalformat: DummyEnum; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; row: pointer; column: pointer) := z_SeparableFilter2DEXT(target, internalformat, width, height, format, &type, row, column); - - public z_GetSeparableFilterEXT := GetGLFuncOrNil&('glGetSeparableFilterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSeparableFilterEXT(target: DummyEnum; format: DummyEnum; &type: DummyEnum; row: pointer; column: pointer; span: pointer) := z_GetSeparableFilterEXT(target, format, &type, row, column, span); - - public z_ConvolutionParameteriEXT := GetGLFuncOrNil&('glConvolutionParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameteriEXT(target: DummyEnum; pname: DummyEnum; ¶ms: Int32) := z_ConvolutionParameteriEXT(target, pname, ¶ms); - - public z_ConvolutionParameterivEXT := GetGLFuncOrNil&('glConvolutionParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := ConvolutionParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := ConvolutionParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ConvolutionParameterivEXT(target, pname, ¶ms); - - public z_ConvolutionParameterfEXT := GetGLFuncOrNil&('glConvolutionParameterfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfEXT(target: DummyEnum; pname: DummyEnum; ¶ms: single) := z_ConvolutionParameterfEXT(target, pname, ¶ms); - - public z_ConvolutionParameterfvEXT := GetGLFuncOrNil&('glConvolutionParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := ConvolutionParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := ConvolutionParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ConvolutionParameterfvEXT(target, pname, ¶ms); - - public z_GetConvolutionParameterivEXT := GetGLFuncOrNil&('glGetConvolutionParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetConvolutionParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetConvolutionParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetConvolutionParameterivEXT(target, pname, ¶ms); - - public z_GetConvolutionParameterfvEXT := GetGLFuncOrNil&('glGetConvolutionParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetConvolutionParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetConvolutionParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetConvolutionParameterfvEXT(target, pname, ¶ms); - - {$endregion EXT_convolution} - - {$region EXT_color_subtable} - - public z_CopyColorSubTableEXT := GetGLFuncOrNil&('glCopyColorSubTableEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyColorSubTableEXT(target: DummyEnum; start: Int32; x: Int32; y: Int32; width: Int32) := z_CopyColorSubTableEXT(target, start, x, y, width); - - {$endregion EXT_color_subtable} - - {$region EXT_copy_image} - - public z_CopyImageSubDataEXT := GetGLFuncOrNil&('glCopyImageSubDataEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubDataEXT(srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32) := z_CopyImageSubDataEXT(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); - - {$endregion EXT_copy_image} - - {$region EXT_copy_texture} - - public z_CopyTexImage1DEXT := GetGLFuncOrNil&('glCopyTexImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage1DEXT(target: DummyEnum; level: Int32; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; border: Int32) := z_CopyTexImage1DEXT(target, level, internalformat, x, y, width, border); - - public z_CopyTexImage2DEXT := GetGLFuncOrNil&('glCopyTexImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage2DEXT(target: DummyEnum; level: Int32; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32) := z_CopyTexImage2DEXT(target, level, internalformat, x, y, width, height, border); - - public z_CopyTexSubImage1DEXT := GetGLFuncOrNil&('glCopyTexSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage1DEXT(target: DummyEnum; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32) := z_CopyTexSubImage1DEXT(target, level, xoffset, x, y, width); - - public z_CopyTexSubImage2DEXT := GetGLFuncOrNil&('glCopyTexSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage2DEXT(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTexSubImage2DEXT(target, level, xoffset, yoffset, x, y, width, height); - - public z_CopyTexSubImage3DEXT := GetGLFuncOrNil&('glCopyTexSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage3DEXT(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTexSubImage3DEXT(target, level, xoffset, yoffset, zoffset, x, y, width, height); - - {$endregion EXT_copy_texture} - - {$region EXT_depth_bounds_test} - - public z_DepthBoundsEXT := GetGLFuncOrNil&('glDepthBoundsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthBoundsEXT(zmin: double; zmax: double) := z_DepthBoundsEXT(zmin, zmax); - - {$endregion EXT_depth_bounds_test} - - {$region ARB_viewport_array EXT_direct_state_access EXT_draw_buffers2} - - public z_EnableIndexedEXT := GetGLFuncOrNil&('glEnableIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableIndexedEXT(target: DummyEnum; index: UInt32) := z_EnableIndexedEXT(target, index); - - public z_DisableIndexedEXT := GetGLFuncOrNil&('glDisableIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableIndexedEXT(target: DummyEnum; index: UInt32) := z_DisableIndexedEXT(target, index); - - public z_IsEnabledIndexedEXT := GetGLFuncOrNil&('glIsEnabledIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledIndexedEXT(target: DummyEnum; index: UInt32): boolean := z_IsEnabledIndexedEXT(target, index); - - {$endregion ARB_viewport_array EXT_direct_state_access EXT_draw_buffers2} - - {$region EXT_discard_framebuffer} - - public z_DiscardFramebufferEXT := GetGLFuncOrNil&('glDiscardFramebufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DiscardFramebufferEXT(target: DummyEnum; numAttachments: Int32; attachments: array of DummyEnum) := DiscardFramebufferEXT(target, numAttachments, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attachments,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DiscardFramebufferEXT(target: DummyEnum; numAttachments: Int32; var attachments: DummyEnum) := DiscardFramebufferEXT(target, numAttachments, @attachments); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DiscardFramebufferEXT(target: DummyEnum; numAttachments: Int32; attachments: pointer) := z_DiscardFramebufferEXT(target, numAttachments, attachments); - - {$endregion EXT_discard_framebuffer} - - {$region EXT_base_instance} - - public z_DrawArraysInstancedBaseInstanceEXT := GetGLFuncOrNil&('glDrawArraysInstancedBaseInstanceEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedBaseInstanceEXT(mode: DummyEnum; first: Int32; count: Int32; instancecount: Int32; baseinstance: UInt32) := z_DrawArraysInstancedBaseInstanceEXT(mode, first, count, instancecount, baseinstance); - - public z_DrawElementsInstancedBaseInstanceEXT := GetGLFuncOrNil&('glDrawElementsInstancedBaseInstanceEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseInstanceEXT(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; instancecount: Int32; baseinstance: UInt32) := z_DrawElementsInstancedBaseInstanceEXT(mode, count, &type, indices, instancecount, baseinstance); - - public z_DrawElementsInstancedBaseVertexBaseInstanceEXT := GetGLFuncOrNil&('glDrawElementsInstancedBaseVertexBaseInstanceEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexBaseInstanceEXT(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; instancecount: Int32; basevertex: Int32; baseinstance: UInt32) := z_DrawElementsInstancedBaseVertexBaseInstanceEXT(mode, count, &type, indices, instancecount, basevertex, baseinstance); - - {$endregion EXT_base_instance} - - {$region EXT_draw_instanced EXT_instanced_arrays} - - public z_DrawArraysInstancedEXT := GetGLFuncOrNil&('glDrawArraysInstancedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedEXT(mode: DummyEnum; start: Int32; count: Int32; primcount: Int32) := z_DrawArraysInstancedEXT(mode, start, count, primcount); - - public z_DrawElementsInstancedEXT := GetGLFuncOrNil&('glDrawElementsInstancedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedEXT(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32) := z_DrawElementsInstancedEXT(mode, count, &type, indices, primcount); - - {$endregion EXT_draw_instanced EXT_instanced_arrays} - - {$region EXT_draw_buffers} - - public z_DrawBuffersEXT := GetGLFuncOrNil&('glDrawBuffersEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersEXT(n: Int32; bufs: array of DummyEnum) := DrawBuffersEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersEXT(n: Int32; var bufs: DummyEnum) := DrawBuffersEXT(n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersEXT(n: Int32; bufs: pointer) := z_DrawBuffersEXT(n, bufs); - - {$endregion EXT_draw_buffers} - - {$region EXT_multiview_draw_buffers} - - public z_ReadBufferIndexedEXT := GetGLFuncOrNil&('glReadBufferIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadBufferIndexedEXT(src: DummyEnum; index: Int32) := z_ReadBufferIndexedEXT(src, index); - - public z_DrawBuffersIndexedEXT := GetGLFuncOrNil&('glDrawBuffersIndexedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; location: array of DummyEnum; indices: array of Int32) := DrawBuffersIndexedEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(location,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; location: array of DummyEnum; var indices: Int32) := DrawBuffersIndexedEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(location,0)), @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; location: array of DummyEnum; indices: pointer) := DrawBuffersIndexedEXT(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(location,0)), indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; var location: DummyEnum; indices: array of Int32) := DrawBuffersIndexedEXT(n, @location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; var location: DummyEnum; var indices: Int32) := DrawBuffersIndexedEXT(n, @location, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; var location: DummyEnum; indices: pointer) := DrawBuffersIndexedEXT(n, @location, indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; location: pointer; indices: array of Int32) := DrawBuffersIndexedEXT(n, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; location: pointer; var indices: Int32) := DrawBuffersIndexedEXT(n, location, @indices); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersIndexedEXT(n: Int32; location: pointer; indices: pointer) := z_DrawBuffersIndexedEXT(n, location, indices); - - public z_GetIntegeri_vEXT := GetGLFuncOrNil&('glGetIntegeri_vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_vEXT(target: GLGetQueries; index: UInt32; data: array of Int32) := GetIntegeri_vEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_vEXT(target: GLGetQueries; index: UInt32; var data: Int32) := GetIntegeri_vEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegeri_vEXT(target: GLGetQueries; index: UInt32; data: pointer) := z_GetIntegeri_vEXT(target, index, data); - - {$endregion EXT_multiview_draw_buffers} - - {$region EXT_draw_elements_base_vertex} - - public z_DrawElementsBaseVertexEXT := GetGLFuncOrNil&('glDrawElementsBaseVertexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertexEXT(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; basevertex: Int32) := z_DrawElementsBaseVertexEXT(mode, count, &type, indices, basevertex); - - public z_DrawRangeElementsBaseVertexEXT := GetGLFuncOrNil&('glDrawRangeElementsBaseVertexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertexEXT(mode: DummyEnum; start: UInt32; &end: UInt32; count: Int32; &type: DummyEnum; indices: pointer; basevertex: Int32) := z_DrawRangeElementsBaseVertexEXT(mode, start, &end, count, &type, indices, basevertex); - - public z_DrawElementsInstancedBaseVertexEXT := GetGLFuncOrNil&('glDrawElementsInstancedBaseVertexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexEXT(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; instancecount: Int32; basevertex: Int32) := z_DrawElementsInstancedBaseVertexEXT(mode, count, &type, indices, instancecount, basevertex); - - {$endregion EXT_draw_elements_base_vertex} - - {$region EXT_draw_range_elements} - - public z_DrawRangeElementsEXT := GetGLFuncOrNil&('glDrawRangeElementsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsEXT(mode: DummyEnum; start: UInt32; &end: UInt32; count: Int32; &type: DummyEnum; indices: pointer) := z_DrawRangeElementsEXT(mode, start, &end, count, &type, indices); - - {$endregion EXT_draw_range_elements} - - {$region EXT_draw_transform_feedback EXT_transform_feedback2} - - public z_DrawTransformFeedbackEXT := GetGLFuncOrNil&('glDrawTransformFeedbackEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackEXT(mode: DummyEnum; id: UInt32) := z_DrawTransformFeedbackEXT(mode, id); - - {$endregion EXT_draw_transform_feedback EXT_transform_feedback2} - - {$region EXT_draw_transform_feedback} - - public z_DrawTransformFeedbackInstancedEXT := GetGLFuncOrNil&('glDrawTransformFeedbackInstancedEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackInstancedEXT(mode: DummyEnum; id: UInt32; instancecount: Int32) := z_DrawTransformFeedbackInstancedEXT(mode, id, instancecount); - - {$endregion EXT_draw_transform_feedback} - - {$region EXT_EGL_image_storage} - - public z_EGLImageTargetTexStorageEXT := GetGLFuncOrNil&('glEGLImageTargetTexStorageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexStorageEXT(target: DummyEnum; image: GLeglImageOES; attrib_list: array of Int32) := EGLImageTargetTexStorageEXT(target, image, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexStorageEXT(target: DummyEnum; image: GLeglImageOES; var attrib_list: Int32) := EGLImageTargetTexStorageEXT(target, image, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexStorageEXT(target: DummyEnum; image: GLeglImageOES; attrib_list: pointer) := z_EGLImageTargetTexStorageEXT(target, image, attrib_list); - - public z_EGLImageTargetTextureStorageEXT := GetGLFuncOrNil&('glEGLImageTargetTextureStorageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTextureStorageEXT(texture: UInt32; image: GLeglImageOES; attrib_list: array of Int32) := EGLImageTargetTextureStorageEXT(texture, image, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attrib_list,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTextureStorageEXT(texture: UInt32; image: GLeglImageOES; var attrib_list: Int32) := EGLImageTargetTextureStorageEXT(texture, image, @attrib_list); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTextureStorageEXT(texture: UInt32; image: GLeglImageOES; attrib_list: pointer) := z_EGLImageTargetTextureStorageEXT(texture, image, attrib_list); - - {$endregion EXT_EGL_image_storage} - - {$region EXT_map_buffer_range} - - public z_MapBufferRangeEXT := GetGLFuncOrNil&('glMapBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBufferRangeEXT(target: DummyEnum; offset: IntPtr; length: UIntPtr; access: DummyFlags): pointer := z_MapBufferRangeEXT(target, offset, length, access); - - public z_FlushMappedBufferRangeEXT := GetGLFuncOrNil&('glFlushMappedBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedBufferRangeEXT(target: DummyEnum; offset: IntPtr; length: UIntPtr) := z_FlushMappedBufferRangeEXT(target, offset, length); - - {$endregion EXT_map_buffer_range} - - {$region EXT_fog_coord} - - public z_FogCoordfEXT := GetGLFuncOrNil&('glFogCoordfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfEXT(coord: single) := z_FogCoordfEXT(coord); - - public z_FogCoorddEXT := GetGLFuncOrNil&('glFogCoorddEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddEXT(coord: double) := z_FogCoorddEXT(coord); - - public z_FogCoordfvEXT := GetGLFuncOrNil&('glFogCoordfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfvEXT(coord: array of single) := FogCoordfvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coord,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfvEXT(var coord: single) := FogCoordfvEXT(@coord); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfvEXT(coord: pointer) := z_FogCoordfvEXT(coord); - - public z_FogCoorddvEXT := GetGLFuncOrNil&('glFogCoorddvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddvEXT(coord: array of double) := FogCoorddvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coord,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddvEXT(var coord: double) := FogCoorddvEXT(@coord); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddvEXT(coord: pointer) := z_FogCoorddvEXT(coord); - - public z_FogCoordPointerEXT := GetGLFuncOrNil&('glFogCoordPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerEXT(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_FogCoordPointerEXT(&type, stride, _pointer); - - {$endregion EXT_fog_coord} - - {$region EXT_shader_framebuffer_fetch} - - public z_FramebufferFetchBarrierEXT := GetGLFuncOrNil&('glFramebufferFetchBarrierEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFetchBarrierEXT := z_FramebufferFetchBarrierEXT; - - {$endregion EXT_shader_framebuffer_fetch} - - {$region EXT_multisampled_render_to_texture} - - public z_FramebufferTexture2DMultisampleEXT := GetGLFuncOrNil&('glFramebufferTexture2DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2DMultisampleEXT(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32; samples: Int32) := z_FramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture, level, samples); - - {$endregion EXT_multisampled_render_to_texture} - - {$region EXT_geometry_shader EXT_geometry_shader4 NV_geometry_program4} - - public z_FramebufferTextureEXT := GetGLFuncOrNil&('glFramebufferTextureEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureEXT(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32) := z_FramebufferTextureEXT(target, attachment, texture, level); - - {$endregion EXT_geometry_shader EXT_geometry_shader4 NV_geometry_program4} - - {$region EXT_geometry_shader4 NV_geometry_program4} - - public z_FramebufferTextureFaceEXT := GetGLFuncOrNil&('glFramebufferTextureFaceEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureFaceEXT(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; face: DummyEnum) := z_FramebufferTextureFaceEXT(target, attachment, texture, level, face); - - {$endregion EXT_geometry_shader4 NV_geometry_program4} - - {$region EXT_geometry_shader4 EXT_texture_array NV_geometry_program4} - - public z_FramebufferTextureLayerEXT := GetGLFuncOrNil&('glFramebufferTextureLayerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayerEXT(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; layer: Int32) := z_FramebufferTextureLayerEXT(target, attachment, texture, level, layer); - - {$endregion EXT_geometry_shader4 EXT_texture_array NV_geometry_program4} - - {$region EXT_direct_state_access EXT_draw_buffers2 EXT_transform_feedback NV_explicit_multisample NV_transform_feedback} - - public z_GetBooleanIndexedvEXT := GetGLFuncOrNil&('glGetBooleanIndexedvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: GLGetQueries; index: UInt32; data: array of boolean) := GetBooleanIndexedvEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: GLGetQueries; index: UInt32; var data: boolean) := GetBooleanIndexedvEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: GLGetQueries; index: UInt32; data: pointer) := z_GetBooleanIndexedvEXT(target, index, data); - - {$endregion EXT_direct_state_access EXT_draw_buffers2 EXT_transform_feedback NV_explicit_multisample NV_transform_feedback} - - {$region EXT_gpu_shader4} - - public z_Uniform1uiEXT := GetGLFuncOrNil&('glUniform1uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiEXT(location: Int32; v0: UInt32) := z_Uniform1uiEXT(location, v0); - - public z_Uniform2uiEXT := GetGLFuncOrNil&('glUniform2uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiEXT(location: Int32; v0: UInt32; v1: UInt32) := z_Uniform2uiEXT(location, v0, v1); - - public z_Uniform3uiEXT := GetGLFuncOrNil&('glUniform3uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiEXT(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32) := z_Uniform3uiEXT(location, v0, v1, v2); - - public z_Uniform4uiEXT := GetGLFuncOrNil&('glUniform4uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiEXT(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32) := z_Uniform4uiEXT(location, v0, v1, v2, v3); - - public z_Uniform1uivEXT := GetGLFuncOrNil&('glUniform1uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uivEXT(location: Int32; count: Int32; value: array of UInt32) := Uniform1uivEXT(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uivEXT(location: Int32; count: Int32; var value: UInt32) := Uniform1uivEXT(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uivEXT(location: Int32; count: Int32; value: pointer) := z_Uniform1uivEXT(location, count, value); - - public z_Uniform2uivEXT := GetGLFuncOrNil&('glUniform2uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uivEXT(location: Int32; count: Int32; value: array of UInt32) := Uniform2uivEXT(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uivEXT(location: Int32; count: Int32; var value: UInt32) := Uniform2uivEXT(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uivEXT(location: Int32; count: Int32; value: pointer) := z_Uniform2uivEXT(location, count, value); - - public z_Uniform3uivEXT := GetGLFuncOrNil&('glUniform3uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uivEXT(location: Int32; count: Int32; value: array of UInt32) := Uniform3uivEXT(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uivEXT(location: Int32; count: Int32; var value: UInt32) := Uniform3uivEXT(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uivEXT(location: Int32; count: Int32; value: pointer) := z_Uniform3uivEXT(location, count, value); - - public z_Uniform4uivEXT := GetGLFuncOrNil&('glUniform4uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uivEXT(location: Int32; count: Int32; value: array of UInt32) := Uniform4uivEXT(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uivEXT(location: Int32; count: Int32; var value: UInt32) := Uniform4uivEXT(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uivEXT(location: Int32; count: Int32; value: pointer) := z_Uniform4uivEXT(location, count, value); - - public z_GetUniformuivEXT := GetGLFuncOrNil&('glGetUniformuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuivEXT(&program: UInt32; location: Int32; ¶ms: array of UInt32) := GetUniformuivEXT(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuivEXT(&program: UInt32; location: Int32; var ¶ms: UInt32) := GetUniformuivEXT(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuivEXT(&program: UInt32; location: Int32; ¶ms: pointer) := z_GetUniformuivEXT(&program, location, ¶ms); - - public z_GetFragDataLocationEXT := GetGLFuncOrNil&('glGetFragDataLocationEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocationEXT(&program: UInt32; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetFragDataLocationEXT(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocationEXT(&program: UInt32; name: IntPtr): Int32 := z_GetFragDataLocationEXT(&program, name); - - {$endregion EXT_gpu_shader4} - - {$region EXT_robustness} - - public z_GetGraphicsResetStatusEXT := GetGLFuncOrNil&('glGetGraphicsResetStatusEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGraphicsResetStatusEXT: DummyEnum := z_GetGraphicsResetStatusEXT; - - public z_ReadnPixelsEXT := GetGLFuncOrNil&('glReadnPixelsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixelsEXT(x: Int32; y: Int32; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; bufSize: Int32; data: pointer) := z_ReadnPixelsEXT(x, y, width, height, format, &type, bufSize, data); - - public z_GetnUniformfvEXT := GetGLFuncOrNil&('glGetnUniformfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvEXT(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of single) := GetnUniformfvEXT(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvEXT(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: single) := GetnUniformfvEXT(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvEXT(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformfvEXT(&program, location, bufSize, ¶ms); - - public z_GetnUniformivEXT := GetGLFuncOrNil&('glGetnUniformivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivEXT(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of Int32) := GetnUniformivEXT(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivEXT(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: Int32) := GetnUniformivEXT(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivEXT(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformivEXT(&program, location, bufSize, ¶ms); - - {$endregion EXT_robustness} - - {$region EXT_histogram} - - public z_HistogramEXT := GetGLFuncOrNil&('glHistogramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure HistogramEXT(target: DummyEnum; width: Int32; internalformat: DummyEnum; sink: boolean) := z_HistogramEXT(target, width, internalformat, sink); - - public z_ResetHistogramEXT := GetGLFuncOrNil&('glResetHistogramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetHistogramEXT(target: DummyEnum) := z_ResetHistogramEXT(target); - - public z_GetHistogramEXT := GetGLFuncOrNil&('glGetHistogramEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramEXT(target: DummyEnum; reset: boolean; format: DummyEnum; &type: DummyEnum; values: pointer) := z_GetHistogramEXT(target, reset, format, &type, values); - - public z_GetHistogramParameterivEXT := GetGLFuncOrNil&('glGetHistogramParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetHistogramParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetHistogramParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetHistogramParameterivEXT(target, pname, ¶ms); - - public z_GetHistogramParameterfvEXT := GetGLFuncOrNil&('glGetHistogramParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetHistogramParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetHistogramParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetHistogramParameterfvEXT(target, pname, ¶ms); - - public z_MinmaxEXT := GetGLFuncOrNil&('glMinmaxEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinmaxEXT(target: DummyEnum; internalformat: DummyEnum; sink: boolean) := z_MinmaxEXT(target, internalformat, sink); - - public z_ResetMinmaxEXT := GetGLFuncOrNil&('glResetMinmaxEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetMinmaxEXT(target: DummyEnum) := z_ResetMinmaxEXT(target); - - public z_GetMinmaxEXT := GetGLFuncOrNil&('glGetMinmaxEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxEXT(target: DummyEnum; reset: boolean; format: DummyEnum; &type: DummyEnum; values: pointer) := z_GetMinmaxEXT(target, reset, format, &type, values); - - public z_GetMinmaxParameterivEXT := GetGLFuncOrNil&('glGetMinmaxParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMinmaxParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMinmaxParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMinmaxParameterivEXT(target, pname, ¶ms); - - public z_GetMinmaxParameterfvEXT := GetGLFuncOrNil&('glGetMinmaxParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMinmaxParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMinmaxParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMinmaxParameterfvEXT(target, pname, ¶ms); - - {$endregion EXT_histogram} - - {$region EXT_disjoint_timer_query} - - public z_QueryCounterEXT := GetGLFuncOrNil&('glQueryCounterEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryCounterEXT(id: UInt32; target: DummyEnum) := z_QueryCounterEXT(id, target); - - public z_GetQueryObjectivEXT := GetGLFuncOrNil&('glGetQueryObjectivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivEXT(id: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetQueryObjectivEXT(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivEXT(id: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetQueryObjectivEXT(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivEXT(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetQueryObjectivEXT(id, pname, ¶ms); - - public z_GetInteger64vEXT := GetGLFuncOrNil&('glGetInteger64vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64vEXT(pname: GLGetQueries; data: array of Int64) := GetInteger64vEXT(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64vEXT(pname: GLGetQueries; var data: Int64) := GetInteger64vEXT(pname, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64vEXT(pname: GLGetQueries; data: pointer) := z_GetInteger64vEXT(pname, data); - - {$endregion EXT_disjoint_timer_query} - - {$region ARB_viewport_array EXT_direct_state_access EXT_draw_buffers2 EXT_transform_feedback NV_explicit_multisample NV_parameter_buffer_object NV_transform_feedback} - - public z_GetIntegerIndexedvEXT := GetGLFuncOrNil&('glGetIntegerIndexedvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: GLGetQueries; index: UInt32; data: array of Int32) := GetIntegerIndexedvEXT(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: GLGetQueries; index: UInt32; var data: Int32) := GetIntegerIndexedvEXT(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: GLGetQueries; index: UInt32; data: pointer) := z_GetIntegerIndexedvEXT(target, index, data); - - {$endregion ARB_viewport_array EXT_direct_state_access EXT_draw_buffers2 EXT_transform_feedback NV_explicit_multisample NV_parameter_buffer_object NV_transform_feedback} - - {$region ARB_framebuffer_no_attachments} - - public z_NamedFramebufferParameteriEXT := GetGLFuncOrNil&('glNamedFramebufferParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferParameteriEXT(framebuffer: UInt32; pname: DummyEnum; param: Int32) := z_NamedFramebufferParameteriEXT(framebuffer, pname, param); - - public z_GetNamedFramebufferParameterivEXT := GetGLFuncOrNil&('glGetNamedFramebufferParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterivEXT(framebuffer: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetNamedFramebufferParameterivEXT(framebuffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterivEXT(framebuffer: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetNamedFramebufferParameterivEXT(framebuffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterivEXT(framebuffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetNamedFramebufferParameterivEXT(framebuffer, pname, ¶ms); - - {$endregion ARB_framebuffer_no_attachments} - - {$region EXT_debug_label} - - public z_LabelObjectEXT := GetGLFuncOrNil&('glLabelObjectEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LabelObjectEXT(&type: DummyEnum; object: UInt32; length: Int32; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); LabelObjectEXT(&type, object, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LabelObjectEXT(&type: DummyEnum; object: UInt32; length: Int32; &label: IntPtr) := z_LabelObjectEXT(&type, object, length, &label); - - public z_GetObjectLabelEXT := GetGLFuncOrNil&('glGetObjectLabelEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; length: array of Int32; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabelEXT(&type, object, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; length: array of Int32; &label: IntPtr) := GetObjectLabelEXT(&type, object, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; var length: Int32; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabelEXT(&type, object, bufSize, @length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; var length: Int32; &label: IntPtr) := GetObjectLabelEXT(&type, object, bufSize, @length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; length: pointer; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabelEXT(&type, object, bufSize, length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; length: pointer; &label: IntPtr) := z_GetObjectLabelEXT(&type, object, bufSize, length, &label); - - {$endregion EXT_debug_label} - - {$region EXT_pixel_transform} - - public z_PixelTransformParameteriEXT := GetGLFuncOrNil&('glPixelTransformParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameteriEXT(target: DummyEnum; pname: DummyEnum; param: Int32) := z_PixelTransformParameteriEXT(target, pname, param); - - public z_PixelTransformParameterfEXT := GetGLFuncOrNil&('glPixelTransformParameterfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfEXT(target: DummyEnum; pname: DummyEnum; param: single) := z_PixelTransformParameterfEXT(target, pname, param); - - public z_PixelTransformParameterivEXT := GetGLFuncOrNil&('glPixelTransformParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := PixelTransformParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := PixelTransformParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_PixelTransformParameterivEXT(target, pname, ¶ms); - - public z_PixelTransformParameterfvEXT := GetGLFuncOrNil&('glPixelTransformParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := PixelTransformParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := PixelTransformParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_PixelTransformParameterfvEXT(target, pname, ¶ms); - - public z_GetPixelTransformParameterivEXT := GetGLFuncOrNil&('glGetPixelTransformParameterivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetPixelTransformParameterivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetPixelTransformParameterivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetPixelTransformParameterivEXT(target, pname, ¶ms); - - public z_GetPixelTransformParameterfvEXT := GetGLFuncOrNil&('glGetPixelTransformParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetPixelTransformParameterfvEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetPixelTransformParameterfvEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetPixelTransformParameterfvEXT(target, pname, ¶ms); - - {$endregion EXT_pixel_transform} - - {$region EXT_disjoint_timer_query EXT_timer_query} - - public z_GetQueryObjecti64vEXT := GetGLFuncOrNil&('glGetQueryObjecti64vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64vEXT(id: UInt32; pname: DummyEnum; ¶ms: array of Int64) := GetQueryObjecti64vEXT(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64vEXT(id: UInt32; pname: DummyEnum; var ¶ms: Int64) := GetQueryObjecti64vEXT(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64vEXT(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetQueryObjecti64vEXT(id, pname, ¶ms); - - public z_GetQueryObjectui64vEXT := GetGLFuncOrNil&('glGetQueryObjectui64vEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64vEXT(id: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetQueryObjectui64vEXT(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64vEXT(id: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetQueryObjectui64vEXT(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64vEXT(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetQueryObjectui64vEXT(id, pname, ¶ms); - - {$endregion EXT_disjoint_timer_query EXT_timer_query} - - {$region EXT_texture_border_clamp} - - public z_SamplerParameterIivEXT := GetGLFuncOrNil&('glSamplerParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIivEXT(sampler: UInt32; pname: DummyEnum; param: array of Int32) := SamplerParameterIivEXT(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIivEXT(sampler: UInt32; pname: DummyEnum; var param: Int32) := SamplerParameterIivEXT(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIivEXT(sampler: UInt32; pname: DummyEnum; param: pointer) := z_SamplerParameterIivEXT(sampler, pname, param); - - public z_SamplerParameterIuivEXT := GetGLFuncOrNil&('glSamplerParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuivEXT(sampler: UInt32; pname: DummyEnum; param: array of UInt32) := SamplerParameterIuivEXT(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuivEXT(sampler: UInt32; pname: DummyEnum; var param: UInt32) := SamplerParameterIuivEXT(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuivEXT(sampler: UInt32; pname: DummyEnum; param: pointer) := z_SamplerParameterIuivEXT(sampler, pname, param); - - public z_GetSamplerParameterIivEXT := GetGLFuncOrNil&('glGetSamplerParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIivEXT(sampler: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetSamplerParameterIivEXT(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIivEXT(sampler: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetSamplerParameterIivEXT(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIivEXT(sampler: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetSamplerParameterIivEXT(sampler, pname, ¶ms); - - public z_GetSamplerParameterIuivEXT := GetGLFuncOrNil&('glGetSamplerParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuivEXT(sampler: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetSamplerParameterIuivEXT(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuivEXT(sampler: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetSamplerParameterIuivEXT(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuivEXT(sampler: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetSamplerParameterIuivEXT(sampler, pname, ¶ms); - - {$endregion EXT_texture_border_clamp} - - {$region EXT_texture_border_clamp EXT_texture_integer} - - public z_TexParameterIivEXT := GetGLFuncOrNil&('glTexParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TexParameterIivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TexParameterIivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexParameterIivEXT(target, pname, ¶ms); - - public z_TexParameterIuivEXT := GetGLFuncOrNil&('glTexParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := TexParameterIuivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := TexParameterIuivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexParameterIuivEXT(target, pname, ¶ms); - - public z_GetTexParameterIivEXT := GetGLFuncOrNil&('glGetTexParameterIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTexParameterIivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTexParameterIivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexParameterIivEXT(target, pname, ¶ms); - - public z_GetTexParameterIuivEXT := GetGLFuncOrNil&('glGetTexParameterIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := GetTexParameterIuivEXT(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := GetTexParameterIuivEXT(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexParameterIuivEXT(target, pname, ¶ms); - - {$endregion EXT_texture_border_clamp EXT_texture_integer} - - {$region EXT_bindable_uniform} - - public z_UniformBufferEXT := GetGLFuncOrNil&('glUniformBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformBufferEXT(&program: UInt32; location: Int32; buffer: UInt32) := z_UniformBufferEXT(&program, location, buffer); - - public z_GetUniformBufferSizeEXT := GetGLFuncOrNil&('glGetUniformBufferSizeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformBufferSizeEXT(&program: UInt32; location: Int32): Int32 := z_GetUniformBufferSizeEXT(&program, location); - - public z_GetUniformOffsetEXT := GetGLFuncOrNil&('glGetUniformOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformOffsetEXT(&program: UInt32; location: Int32): IntPtr := z_GetUniformOffsetEXT(&program, location); - - {$endregion EXT_bindable_uniform} - - {$region EXT_gpu_shader4 NV_vertex_program4} - - public z_VertexAttribI1iEXT := GetGLFuncOrNil&('glVertexAttribI1iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1iEXT(index: UInt32; x: Int32) := z_VertexAttribI1iEXT(index, x); - - public z_VertexAttribI2iEXT := GetGLFuncOrNil&('glVertexAttribI2iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2iEXT(index: UInt32; x: Int32; y: Int32) := z_VertexAttribI2iEXT(index, x, y); - - public z_VertexAttribI3iEXT := GetGLFuncOrNil&('glVertexAttribI3iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3iEXT(index: UInt32; x: Int32; y: Int32; z: Int32) := z_VertexAttribI3iEXT(index, x, y, z); - - public z_VertexAttribI4iEXT := GetGLFuncOrNil&('glVertexAttribI4iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4iEXT(index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32) := z_VertexAttribI4iEXT(index, x, y, z, w); - - public z_VertexAttribI1uiEXT := GetGLFuncOrNil&('glVertexAttribI1uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uiEXT(index: UInt32; x: UInt32) := z_VertexAttribI1uiEXT(index, x); - - public z_VertexAttribI2uiEXT := GetGLFuncOrNil&('glVertexAttribI2uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uiEXT(index: UInt32; x: UInt32; y: UInt32) := z_VertexAttribI2uiEXT(index, x, y); - - public z_VertexAttribI3uiEXT := GetGLFuncOrNil&('glVertexAttribI3uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uiEXT(index: UInt32; x: UInt32; y: UInt32; z: UInt32) := z_VertexAttribI3uiEXT(index, x, y, z); - - public z_VertexAttribI4uiEXT := GetGLFuncOrNil&('glVertexAttribI4uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uiEXT(index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32) := z_VertexAttribI4uiEXT(index, x, y, z, w); - - public z_VertexAttribI1ivEXT := GetGLFuncOrNil&('glVertexAttribI1ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1ivEXT(index: UInt32; v: array of Int32) := VertexAttribI1ivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1ivEXT(index: UInt32; var v: Int32) := VertexAttribI1ivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1ivEXT(index: UInt32; v: pointer) := z_VertexAttribI1ivEXT(index, v); - - public z_VertexAttribI2ivEXT := GetGLFuncOrNil&('glVertexAttribI2ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2ivEXT(index: UInt32; v: array of Int32) := VertexAttribI2ivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2ivEXT(index: UInt32; var v: Int32) := VertexAttribI2ivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2ivEXT(index: UInt32; v: pointer) := z_VertexAttribI2ivEXT(index, v); - - public z_VertexAttribI3ivEXT := GetGLFuncOrNil&('glVertexAttribI3ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3ivEXT(index: UInt32; v: array of Int32) := VertexAttribI3ivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3ivEXT(index: UInt32; var v: Int32) := VertexAttribI3ivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3ivEXT(index: UInt32; v: pointer) := z_VertexAttribI3ivEXT(index, v); - - public z_VertexAttribI4ivEXT := GetGLFuncOrNil&('glVertexAttribI4ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ivEXT(index: UInt32; v: array of Int32) := VertexAttribI4ivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ivEXT(index: UInt32; var v: Int32) := VertexAttribI4ivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ivEXT(index: UInt32; v: pointer) := z_VertexAttribI4ivEXT(index, v); - - public z_VertexAttribI1uivEXT := GetGLFuncOrNil&('glVertexAttribI1uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uivEXT(index: UInt32; v: array of UInt32) := VertexAttribI1uivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uivEXT(index: UInt32; var v: UInt32) := VertexAttribI1uivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI1uivEXT(index: UInt32; v: pointer) := z_VertexAttribI1uivEXT(index, v); - - public z_VertexAttribI2uivEXT := GetGLFuncOrNil&('glVertexAttribI2uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uivEXT(index: UInt32; v: array of UInt32) := VertexAttribI2uivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uivEXT(index: UInt32; var v: UInt32) := VertexAttribI2uivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI2uivEXT(index: UInt32; v: pointer) := z_VertexAttribI2uivEXT(index, v); - - public z_VertexAttribI3uivEXT := GetGLFuncOrNil&('glVertexAttribI3uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uivEXT(index: UInt32; v: array of UInt32) := VertexAttribI3uivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uivEXT(index: UInt32; var v: UInt32) := VertexAttribI3uivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI3uivEXT(index: UInt32; v: pointer) := z_VertexAttribI3uivEXT(index, v); - - public z_VertexAttribI4uivEXT := GetGLFuncOrNil&('glVertexAttribI4uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uivEXT(index: UInt32; v: array of UInt32) := VertexAttribI4uivEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uivEXT(index: UInt32; var v: UInt32) := VertexAttribI4uivEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4uivEXT(index: UInt32; v: pointer) := z_VertexAttribI4uivEXT(index, v); - - public z_VertexAttribI4bvEXT := GetGLFuncOrNil&('glVertexAttribI4bvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bvEXT(index: UInt32; v: array of SByte) := VertexAttribI4bvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bvEXT(index: UInt32; var v: SByte) := VertexAttribI4bvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4bvEXT(index: UInt32; v: pointer) := z_VertexAttribI4bvEXT(index, v); - - public z_VertexAttribI4svEXT := GetGLFuncOrNil&('glVertexAttribI4svEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4svEXT(index: UInt32; v: array of Int16) := VertexAttribI4svEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4svEXT(index: UInt32; var v: Int16) := VertexAttribI4svEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4svEXT(index: UInt32; v: pointer) := z_VertexAttribI4svEXT(index, v); - - public z_VertexAttribI4ubvEXT := GetGLFuncOrNil&('glVertexAttribI4ubvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubvEXT(index: UInt32; v: array of Byte) := VertexAttribI4ubvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubvEXT(index: UInt32; var v: Byte) := VertexAttribI4ubvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4ubvEXT(index: UInt32; v: pointer) := z_VertexAttribI4ubvEXT(index, v); - - public z_VertexAttribI4usvEXT := GetGLFuncOrNil&('glVertexAttribI4usvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usvEXT(index: UInt32; v: array of UInt16) := VertexAttribI4usvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usvEXT(index: UInt32; var v: UInt16) := VertexAttribI4usvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribI4usvEXT(index: UInt32; v: pointer) := z_VertexAttribI4usvEXT(index, v); - - public z_VertexAttribIPointerEXT := GetGLFuncOrNil&('glVertexAttribIPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIPointerEXT(index: UInt32; size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_VertexAttribIPointerEXT(index, size, &type, stride, _pointer); - - public z_GetVertexAttribIivEXT := GetGLFuncOrNil&('glGetVertexAttribIivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIivEXT(index: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVertexAttribIivEXT(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIivEXT(index: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVertexAttribIivEXT(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIivEXT(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribIivEXT(index, pname, ¶ms); - - public z_GetVertexAttribIuivEXT := GetGLFuncOrNil&('glGetVertexAttribIuivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuivEXT(index: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetVertexAttribIuivEXT(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuivEXT(index: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetVertexAttribIuivEXT(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribIuivEXT(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribIuivEXT(index, pname, ¶ms); - - {$endregion EXT_gpu_shader4 NV_vertex_program4} - - {$region EXT_vertex_attrib_64bit} - - public z_VertexAttribL1dEXT := GetGLFuncOrNil&('glVertexAttribL1dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dEXT(index: UInt32; x: double) := z_VertexAttribL1dEXT(index, x); - - public z_VertexAttribL2dEXT := GetGLFuncOrNil&('glVertexAttribL2dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dEXT(index: UInt32; x: double; y: double) := z_VertexAttribL2dEXT(index, x, y); - - public z_VertexAttribL3dEXT := GetGLFuncOrNil&('glVertexAttribL3dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dEXT(index: UInt32; x: double; y: double; z: double) := z_VertexAttribL3dEXT(index, x, y, z); - - public z_VertexAttribL4dEXT := GetGLFuncOrNil&('glVertexAttribL4dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dEXT(index: UInt32; x: double; y: double; z: double; w: double) := z_VertexAttribL4dEXT(index, x, y, z, w); - - public z_VertexAttribL1dvEXT := GetGLFuncOrNil&('glVertexAttribL1dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dvEXT(index: UInt32; v: array of double) := VertexAttribL1dvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dvEXT(index: UInt32; var v: double) := VertexAttribL1dvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dvEXT(index: UInt32; v: pointer) := z_VertexAttribL1dvEXT(index, v); - - public z_VertexAttribL2dvEXT := GetGLFuncOrNil&('glVertexAttribL2dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dvEXT(index: UInt32; v: array of double) := VertexAttribL2dvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dvEXT(index: UInt32; var v: double) := VertexAttribL2dvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dvEXT(index: UInt32; v: pointer) := z_VertexAttribL2dvEXT(index, v); - - public z_VertexAttribL3dvEXT := GetGLFuncOrNil&('glVertexAttribL3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dvEXT(index: UInt32; v: array of double) := VertexAttribL3dvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dvEXT(index: UInt32; var v: double) := VertexAttribL3dvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dvEXT(index: UInt32; v: pointer) := z_VertexAttribL3dvEXT(index, v); - - public z_VertexAttribL4dvEXT := GetGLFuncOrNil&('glVertexAttribL4dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dvEXT(index: UInt32; v: array of double) := VertexAttribL4dvEXT(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dvEXT(index: UInt32; var v: double) := VertexAttribL4dvEXT(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dvEXT(index: UInt32; v: pointer) := z_VertexAttribL4dvEXT(index, v); - - public z_VertexAttribLPointerEXT := GetGLFuncOrNil&('glVertexAttribLPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointerEXT(index: UInt32; size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_VertexAttribLPointerEXT(index, size, &type, stride, _pointer); - - public z_GetVertexAttribLdvEXT := GetGLFuncOrNil&('glGetVertexAttribLdvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdvEXT(index: UInt32; pname: DummyEnum; ¶ms: array of double) := GetVertexAttribLdvEXT(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdvEXT(index: UInt32; pname: DummyEnum; var ¶ms: double) := GetVertexAttribLdvEXT(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdvEXT(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribLdvEXT(index, pname, ¶ms); - - {$endregion EXT_vertex_attrib_64bit} - - {$region EXT_external_objects_fd} - - public z_ImportMemoryFdEXT := GetGLFuncOrNil&('glImportMemoryFdEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportMemoryFdEXT(memory: UInt32; size: UInt64; handleType: DummyEnum; fd: Int32) := z_ImportMemoryFdEXT(memory, size, handleType, fd); - - public z_ImportSemaphoreFdEXT := GetGLFuncOrNil&('glImportSemaphoreFdEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportSemaphoreFdEXT(semaphore: UInt32; handleType: DummyEnum; fd: Int32) := z_ImportSemaphoreFdEXT(semaphore, handleType, fd); - - {$endregion EXT_external_objects_fd} - - {$region EXT_external_objects_win32} - - public z_ImportMemoryWin32HandleEXT := GetGLFuncOrNil&('glImportMemoryWin32HandleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportMemoryWin32HandleEXT(memory: UInt32; size: UInt64; handleType: DummyEnum; handle: pointer) := z_ImportMemoryWin32HandleEXT(memory, size, handleType, handle); - - public z_ImportMemoryWin32NameEXT := GetGLFuncOrNil&('glImportMemoryWin32NameEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportMemoryWin32NameEXT(memory: UInt32; size: UInt64; handleType: DummyEnum; name: pointer) := z_ImportMemoryWin32NameEXT(memory, size, handleType, name); - - public z_ImportSemaphoreWin32HandleEXT := GetGLFuncOrNil&('glImportSemaphoreWin32HandleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportSemaphoreWin32HandleEXT(semaphore: UInt32; handleType: DummyEnum; handle: pointer) := z_ImportSemaphoreWin32HandleEXT(semaphore, handleType, handle); - - public z_ImportSemaphoreWin32NameEXT := GetGLFuncOrNil&('glImportSemaphoreWin32NameEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportSemaphoreWin32NameEXT(semaphore: UInt32; handleType: DummyEnum; name: pointer) := z_ImportSemaphoreWin32NameEXT(semaphore, handleType, name); - - {$endregion EXT_external_objects_win32} - - {$region EXT_x11_sync_object} - - public z_ImportSyncEXT := GetGLFuncOrNil&('glImportSyncEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ImportSyncEXT(external_sync_type: DummyEnum; external_sync: IntPtr; flags: DummyFlags): GLsync := z_ImportSyncEXT(external_sync_type, external_sync, flags); - - {$endregion EXT_x11_sync_object} - - {$region EXT_debug_marker} - - public z_InsertEventMarkerEXT := GetGLFuncOrNil&('glInsertEventMarkerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InsertEventMarkerEXT(length: Int32; marker: string); begin var ptr_2 := Marshal.StringToHGlobalAnsi(marker); InsertEventMarkerEXT(length, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InsertEventMarkerEXT(length: Int32; marker: IntPtr) := z_InsertEventMarkerEXT(length, marker); - - public z_PushGroupMarkerEXT := GetGLFuncOrNil&('glPushGroupMarkerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushGroupMarkerEXT(length: Int32; marker: string); begin var ptr_2 := Marshal.StringToHGlobalAnsi(marker); PushGroupMarkerEXT(length, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushGroupMarkerEXT(length: Int32; marker: IntPtr) := z_PushGroupMarkerEXT(length, marker); - - public z_PopGroupMarkerEXT := GetGLFuncOrNil&('glPopGroupMarkerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopGroupMarkerEXT := z_PopGroupMarkerEXT; - - {$endregion EXT_debug_marker} - - {$region EXT_static_vertex_array} - - public z_LockArraysEXT := GetGLFuncOrNil&('glLockArraysEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LockArraysEXT(first: Int32; count: Int32) := z_LockArraysEXT(first, count); - - public z_UnlockArraysEXT := GetGLFuncOrNil&('glUnlockArraysEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UnlockArraysEXT := z_UnlockArraysEXT; - - {$endregion EXT_static_vertex_array} - - {$region EXT_multi_draw_arrays SUN_multi_draw_arrays} - - public z_MultiDrawArraysEXT := GetGLFuncOrNil&('glMultiDrawArraysEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; first: array of Int32; count: array of Int32; primcount: Int32) := MultiDrawArraysEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; first: array of Int32; var count: Int32; primcount: Int32) := MultiDrawArraysEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; first: array of Int32; count: pointer; primcount: Int32) := MultiDrawArraysEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; var first: Int32; count: array of Int32; primcount: Int32) := MultiDrawArraysEXT(mode, @first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; var first: Int32; var count: Int32; primcount: Int32) := MultiDrawArraysEXT(mode, @first, @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; var first: Int32; count: pointer; primcount: Int32) := MultiDrawArraysEXT(mode, @first, count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; first: pointer; count: array of Int32; primcount: Int32) := MultiDrawArraysEXT(mode, first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; first: pointer; var count: Int32; primcount: Int32) := MultiDrawArraysEXT(mode, first, @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: DummyEnum; first: pointer; count: pointer; primcount: Int32) := z_MultiDrawArraysEXT(mode, first, count, primcount); - - public z_MultiDrawElementsEXT := GetGLFuncOrNil&('glMultiDrawElementsEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32) := MultiDrawElementsEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32) := MultiDrawElementsEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32) := MultiDrawElementsEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32) := MultiDrawElementsEXT(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32) := MultiDrawElementsEXT(mode, @count, &type, @indices, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32) := MultiDrawElementsEXT(mode, @count, &type, indices, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32) := MultiDrawElementsEXT(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32) := MultiDrawElementsEXT(mode, count, &type, @indices, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32) := z_MultiDrawElementsEXT(mode, count, &type, indices, primcount); - - {$endregion EXT_multi_draw_arrays SUN_multi_draw_arrays} - - {$region EXT_multi_draw_indirect} - - public z_MultiDrawArraysIndirectEXT := GetGLFuncOrNil&('glMultiDrawArraysIndirectEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectEXT(mode: DummyEnum; indirect: pointer; drawcount: Int32; stride: Int32) := z_MultiDrawArraysIndirectEXT(mode, indirect, drawcount, stride); - - public z_MultiDrawElementsIndirectEXT := GetGLFuncOrNil&('glMultiDrawElementsIndirectEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectEXT(mode: DummyEnum; &type: DummyEnum; indirect: pointer; drawcount: Int32; stride: Int32) := z_MultiDrawElementsIndirectEXT(mode, &type, indirect, drawcount, stride); - - {$endregion EXT_multi_draw_indirect} - - {$region EXT_draw_elements_base_vertex OES_draw_elements_base_vertex} - - public z_MultiDrawElementsBaseVertexEXT := GetGLFuncOrNil&('glMultiDrawElementsBaseVertexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, @indices, primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, @indices, primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, @indices, primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, indices, primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, indices, primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, @count, &type, indices, primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, count, &type, @indices, primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, count, &type, @indices, primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32; basevertex: pointer) := MultiDrawElementsBaseVertexEXT(mode, count, &type, @indices, primcount, basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32; basevertex: array of Int32) := MultiDrawElementsBaseVertexEXT(mode, count, &type, indices, primcount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(basevertex,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32; var basevertex: Int32) := MultiDrawElementsBaseVertexEXT(mode, count, &type, indices, primcount, @basevertex); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsBaseVertexEXT(mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32; basevertex: pointer) := z_MultiDrawElementsBaseVertexEXT(mode, count, &type, indices, primcount, basevertex); - - {$endregion EXT_draw_elements_base_vertex OES_draw_elements_base_vertex} - - {$region ARB_buffer_storage EXT_buffer_storage} - - public z_NamedBufferStorageEXT := GetGLFuncOrNil&('glNamedBufferStorageEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorageEXT(buffer: UInt32; size: UIntPtr; data: pointer; flags: DummyFlags) := z_NamedBufferStorageEXT(buffer, size, data, flags); - - {$endregion ARB_buffer_storage EXT_buffer_storage} - - {$region EXT_tessellation_shader} - - public z_PatchParameteriEXT := GetGLFuncOrNil&('glPatchParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameteriEXT(pname: DummyEnum; value: Int32) := z_PatchParameteriEXT(pname, value); - - {$endregion EXT_tessellation_shader} - - {$region EXT_point_parameters} - - public z_PointParameterfEXT := GetGLFuncOrNil&('glPointParameterfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfEXT(pname: DummyEnum; param: single) := z_PointParameterfEXT(pname, param); - - public z_PointParameterfvEXT := GetGLFuncOrNil&('glPointParameterfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvEXT(pname: DummyEnum; ¶ms: array of single) := PointParameterfvEXT(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvEXT(pname: DummyEnum; var ¶ms: single) := PointParameterfvEXT(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvEXT(pname: DummyEnum; ¶ms: pointer) := z_PointParameterfvEXT(pname, ¶ms); - - {$endregion EXT_point_parameters} - - {$region EXT_polygon_offset_clamp} - - public z_PolygonOffsetClampEXT := GetGLFuncOrNil&('glPolygonOffsetClampEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetClampEXT(factor: single; units: single; clamp: single) := z_PolygonOffsetClampEXT(factor, units, clamp); - - {$endregion EXT_polygon_offset_clamp} - - {$region EXT_polygon_offset} - - public z_PolygonOffsetEXT := GetGLFuncOrNil&('glPolygonOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetEXT(factor: single; bias: single) := z_PolygonOffsetEXT(factor, bias); - - {$endregion EXT_polygon_offset} - - {$region EXT_primitive_bounding_box} - - public z_PrimitiveBoundingBoxEXT := GetGLFuncOrNil&('glPrimitiveBoundingBoxEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveBoundingBoxEXT(minX: single; minY: single; minZ: single; minW: single; maxX: single; maxY: single; maxZ: single; maxW: single) := z_PrimitiveBoundingBoxEXT(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - - {$endregion EXT_primitive_bounding_box} - - {$region EXT_gpu_program_parameters} - - public z_ProgramEnvParameters4fvEXT := GetGLFuncOrNil&('glProgramEnvParameters4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameters4fvEXT(target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of single) := ProgramEnvParameters4fvEXT(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameters4fvEXT(target: DummyEnum; index: UInt32; count: Int32; var ¶ms: single) := ProgramEnvParameters4fvEXT(target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameters4fvEXT(target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_ProgramEnvParameters4fvEXT(target, index, count, ¶ms); - - public z_ProgramLocalParameters4fvEXT := GetGLFuncOrNil&('glProgramLocalParameters4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameters4fvEXT(target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of single) := ProgramLocalParameters4fvEXT(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameters4fvEXT(target: DummyEnum; index: UInt32; count: Int32; var ¶ms: single) := ProgramLocalParameters4fvEXT(target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameters4fvEXT(target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_ProgramLocalParameters4fvEXT(target, index, count, ¶ms); - - {$endregion EXT_gpu_program_parameters} - - {$region EXT_geometry_shader4 EXT_separate_shader_objects} - - public z_ProgramParameteriEXT := GetGLFuncOrNil&('glProgramParameteriEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameteriEXT(&program: UInt32; pname: DummyEnum; value: Int32) := z_ProgramParameteriEXT(&program, pname, value); - - {$endregion EXT_geometry_shader4 EXT_separate_shader_objects} - - {$region ARB_gpu_shader_fp64} - - public z_ProgramUniform1dEXT := GetGLFuncOrNil&('glProgramUniform1dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dEXT(&program: UInt32; location: Int32; x: double) := z_ProgramUniform1dEXT(&program, location, x); - - public z_ProgramUniform2dEXT := GetGLFuncOrNil&('glProgramUniform2dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dEXT(&program: UInt32; location: Int32; x: double; y: double) := z_ProgramUniform2dEXT(&program, location, x, y); - - public z_ProgramUniform3dEXT := GetGLFuncOrNil&('glProgramUniform3dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dEXT(&program: UInt32; location: Int32; x: double; y: double; z: double) := z_ProgramUniform3dEXT(&program, location, x, y, z); - - public z_ProgramUniform4dEXT := GetGLFuncOrNil&('glProgramUniform4dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dEXT(&program: UInt32; location: Int32; x: double; y: double; z: double; w: double) := z_ProgramUniform4dEXT(&program, location, x, y, z, w); - - public z_ProgramUniform1dvEXT := GetGLFuncOrNil&('glProgramUniform1dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of double) := ProgramUniform1dvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dvEXT(&program: UInt32; location: Int32; count: Int32; var value: double) := ProgramUniform1dvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1dvEXT(&program, location, count, value); - - public z_ProgramUniform2dvEXT := GetGLFuncOrNil&('glProgramUniform2dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of double) := ProgramUniform2dvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dvEXT(&program: UInt32; location: Int32; count: Int32; var value: double) := ProgramUniform2dvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2dvEXT(&program, location, count, value); - - public z_ProgramUniform3dvEXT := GetGLFuncOrNil&('glProgramUniform3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of double) := ProgramUniform3dvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dvEXT(&program: UInt32; location: Int32; count: Int32; var value: double) := ProgramUniform3dvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3dvEXT(&program, location, count, value); - - public z_ProgramUniform4dvEXT := GetGLFuncOrNil&('glProgramUniform4dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of double) := ProgramUniform4dvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dvEXT(&program: UInt32; location: Int32; count: Int32; var value: double) := ProgramUniform4dvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4dvEXT(&program, location, count, value); - - public z_ProgramUniformMatrix2dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix2dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix2dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix2dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix3dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix3dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix4dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix4dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix4dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x3dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix2x3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix2x3dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix2x3dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x3dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x4dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix2x4dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix2x4dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix2x4dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x4dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x2dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix3x2dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix3x2dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix3x2dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x2dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x4dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix3x4dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix3x4dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix3x4dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x4dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x2dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix4x2dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix4x2dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix4x2dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x2dvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x3dvEXT := GetGLFuncOrNil&('glProgramUniformMatrix4x3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of double) := ProgramUniformMatrix4x3dvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: double) := ProgramUniformMatrix4x3dvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x3dvEXT(&program, location, count, transpose, value); - - {$endregion ARB_gpu_shader_fp64} - - {$region EXT_direct_state_access EXT_separate_shader_objects} - - public z_ProgramUniform1fEXT := GetGLFuncOrNil&('glProgramUniform1fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fEXT(&program: UInt32; location: Int32; v0: single) := z_ProgramUniform1fEXT(&program, location, v0); - - public z_ProgramUniform2fEXT := GetGLFuncOrNil&('glProgramUniform2fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fEXT(&program: UInt32; location: Int32; v0: single; v1: single) := z_ProgramUniform2fEXT(&program, location, v0, v1); - - public z_ProgramUniform3fEXT := GetGLFuncOrNil&('glProgramUniform3fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fEXT(&program: UInt32; location: Int32; v0: single; v1: single; v2: single) := z_ProgramUniform3fEXT(&program, location, v0, v1, v2); - - public z_ProgramUniform4fEXT := GetGLFuncOrNil&('glProgramUniform4fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fEXT(&program: UInt32; location: Int32; v0: single; v1: single; v2: single; v3: single) := z_ProgramUniform4fEXT(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform1iEXT := GetGLFuncOrNil&('glProgramUniform1iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iEXT(&program: UInt32; location: Int32; v0: Int32) := z_ProgramUniform1iEXT(&program, location, v0); - - public z_ProgramUniform2iEXT := GetGLFuncOrNil&('glProgramUniform2iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iEXT(&program: UInt32; location: Int32; v0: Int32; v1: Int32) := z_ProgramUniform2iEXT(&program, location, v0, v1); - - public z_ProgramUniform3iEXT := GetGLFuncOrNil&('glProgramUniform3iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iEXT(&program: UInt32; location: Int32; v0: Int32; v1: Int32; v2: Int32) := z_ProgramUniform3iEXT(&program, location, v0, v1, v2); - - public z_ProgramUniform4iEXT := GetGLFuncOrNil&('glProgramUniform4iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iEXT(&program: UInt32; location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32) := z_ProgramUniform4iEXT(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform1fvEXT := GetGLFuncOrNil&('glProgramUniform1fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single) := ProgramUniform1fvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single) := ProgramUniform1fvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1fvEXT(&program, location, count, value); - - public z_ProgramUniform2fvEXT := GetGLFuncOrNil&('glProgramUniform2fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single) := ProgramUniform2fvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single) := ProgramUniform2fvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2fvEXT(&program, location, count, value); - - public z_ProgramUniform3fvEXT := GetGLFuncOrNil&('glProgramUniform3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single) := ProgramUniform3fvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single) := ProgramUniform3fvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3fvEXT(&program, location, count, value); - - public z_ProgramUniform4fvEXT := GetGLFuncOrNil&('glProgramUniform4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single) := ProgramUniform4fvEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single) := ProgramUniform4fvEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fvEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4fvEXT(&program, location, count, value); - - public z_ProgramUniform1ivEXT := GetGLFuncOrNil&('glProgramUniform1ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32) := ProgramUniform1ivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32) := ProgramUniform1ivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1ivEXT(&program, location, count, value); - - public z_ProgramUniform2ivEXT := GetGLFuncOrNil&('glProgramUniform2ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32) := ProgramUniform2ivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32) := ProgramUniform2ivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2ivEXT(&program, location, count, value); - - public z_ProgramUniform3ivEXT := GetGLFuncOrNil&('glProgramUniform3ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32) := ProgramUniform3ivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32) := ProgramUniform3ivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3ivEXT(&program, location, count, value); - - public z_ProgramUniform4ivEXT := GetGLFuncOrNil&('glProgramUniform4ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32) := ProgramUniform4ivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32) := ProgramUniform4ivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4ivEXT(&program, location, count, value); - - public z_ProgramUniformMatrix2fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix2fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix2fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix2fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix3fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix3fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix4fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix4fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x3fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix2x3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix2x3fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix2x3fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x3fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x2fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix3x2fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix3x2fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix3x2fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x2fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix2x4fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix2x4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix2x4fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix2x4fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix2x4fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x2fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix4x2fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix4x2fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix4x2fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x2fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix3x4fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix3x4fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix3x4fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix3x4fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix3x4fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniformMatrix4x3fvEXT := GetGLFuncOrNil&('glProgramUniformMatrix4x3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single) := ProgramUniformMatrix4x3fvEXT(&program, location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single) := ProgramUniformMatrix4x3fvEXT(&program, location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: pointer) := z_ProgramUniformMatrix4x3fvEXT(&program, location, count, transpose, value); - - public z_ProgramUniform1uiEXT := GetGLFuncOrNil&('glProgramUniform1uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiEXT(&program: UInt32; location: Int32; v0: UInt32) := z_ProgramUniform1uiEXT(&program, location, v0); - - public z_ProgramUniform2uiEXT := GetGLFuncOrNil&('glProgramUniform2uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiEXT(&program: UInt32; location: Int32; v0: UInt32; v1: UInt32) := z_ProgramUniform2uiEXT(&program, location, v0, v1); - - public z_ProgramUniform3uiEXT := GetGLFuncOrNil&('glProgramUniform3uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiEXT(&program: UInt32; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32) := z_ProgramUniform3uiEXT(&program, location, v0, v1, v2); - - public z_ProgramUniform4uiEXT := GetGLFuncOrNil&('glProgramUniform4uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiEXT(&program: UInt32; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32) := z_ProgramUniform4uiEXT(&program, location, v0, v1, v2, v3); - - public z_ProgramUniform1uivEXT := GetGLFuncOrNil&('glProgramUniform1uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform1uivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32) := ProgramUniform1uivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1uivEXT(&program, location, count, value); - - public z_ProgramUniform2uivEXT := GetGLFuncOrNil&('glProgramUniform2uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform2uivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32) := ProgramUniform2uivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2uivEXT(&program, location, count, value); - - public z_ProgramUniform3uivEXT := GetGLFuncOrNil&('glProgramUniform3uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform3uivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32) := ProgramUniform3uivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3uivEXT(&program, location, count, value); - - public z_ProgramUniform4uivEXT := GetGLFuncOrNil&('glProgramUniform4uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32) := ProgramUniform4uivEXT(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32) := ProgramUniform4uivEXT(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uivEXT(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4uivEXT(&program, location, count, value); - - {$endregion EXT_direct_state_access EXT_separate_shader_objects} - - {$region EXT_provoking_vertex} - - public z_ProvokingVertexEXT := GetGLFuncOrNil&('glProvokingVertexEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProvokingVertexEXT(mode: DummyEnum) := z_ProvokingVertexEXT(mode); - - {$endregion EXT_provoking_vertex} - - {$region EXT_raster_multisample NV_framebuffer_mixed_samples} - - public z_RasterSamplesEXT := GetGLFuncOrNil&('glRasterSamplesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterSamplesEXT(samples: UInt32; fixedsamplelocations: boolean) := z_RasterSamplesEXT(samples, fixedsamplelocations); - - {$endregion EXT_raster_multisample NV_framebuffer_mixed_samples} - - {$region EXT_framebuffer_multisample EXT_multisampled_render_to_texture} - - public z_RenderbufferStorageMultisampleEXT := GetGLFuncOrNil&('glRenderbufferStorageMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleEXT(target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); - - {$endregion EXT_framebuffer_multisample EXT_multisampled_render_to_texture} - - {$region EXT_multisample} - - public z_SampleMaskEXT := GetGLFuncOrNil&('glSampleMaskEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaskEXT(value: single; invert: boolean) := z_SampleMaskEXT(value, invert); - - public z_SamplePatternEXT := GetGLFuncOrNil&('glSamplePatternEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplePatternEXT(pattern: DummyEnum) := z_SamplePatternEXT(pattern); - - {$endregion EXT_multisample} - - {$region EXT_secondary_color} - - public z_SecondaryColor3bEXT := GetGLFuncOrNil&('glSecondaryColor3bEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bEXT(red: SByte; green: SByte; blue: SByte) := z_SecondaryColor3bEXT(red, green, blue); - - public z_SecondaryColor3sEXT := GetGLFuncOrNil&('glSecondaryColor3sEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sEXT(red: Int16; green: Int16; blue: Int16) := z_SecondaryColor3sEXT(red, green, blue); - - public z_SecondaryColor3iEXT := GetGLFuncOrNil&('glSecondaryColor3iEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iEXT(red: Int32; green: Int32; blue: Int32) := z_SecondaryColor3iEXT(red, green, blue); - - public z_SecondaryColor3fEXT := GetGLFuncOrNil&('glSecondaryColor3fEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fEXT(red: single; green: single; blue: single) := z_SecondaryColor3fEXT(red, green, blue); - - public z_SecondaryColor3dEXT := GetGLFuncOrNil&('glSecondaryColor3dEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dEXT(red: double; green: double; blue: double) := z_SecondaryColor3dEXT(red, green, blue); - - public z_SecondaryColor3ubEXT := GetGLFuncOrNil&('glSecondaryColor3ubEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubEXT(red: Byte; green: Byte; blue: Byte) := z_SecondaryColor3ubEXT(red, green, blue); - - public z_SecondaryColor3usEXT := GetGLFuncOrNil&('glSecondaryColor3usEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usEXT(red: UInt16; green: UInt16; blue: UInt16) := z_SecondaryColor3usEXT(red, green, blue); - - public z_SecondaryColor3uiEXT := GetGLFuncOrNil&('glSecondaryColor3uiEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiEXT(red: UInt32; green: UInt32; blue: UInt32) := z_SecondaryColor3uiEXT(red, green, blue); - - public z_SecondaryColor3bvEXT := GetGLFuncOrNil&('glSecondaryColor3bvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bvEXT(v: array of SByte) := SecondaryColor3bvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bvEXT(var v: SByte) := SecondaryColor3bvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bvEXT(v: pointer) := z_SecondaryColor3bvEXT(v); - - public z_SecondaryColor3svEXT := GetGLFuncOrNil&('glSecondaryColor3svEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3svEXT(v: array of Int16) := SecondaryColor3svEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3svEXT(var v: Int16) := SecondaryColor3svEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3svEXT(v: pointer) := z_SecondaryColor3svEXT(v); - - public z_SecondaryColor3ivEXT := GetGLFuncOrNil&('glSecondaryColor3ivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ivEXT(v: array of Int32) := SecondaryColor3ivEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ivEXT(var v: Int32) := SecondaryColor3ivEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ivEXT(v: pointer) := z_SecondaryColor3ivEXT(v); - - public z_SecondaryColor3fvEXT := GetGLFuncOrNil&('glSecondaryColor3fvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fvEXT(v: array of single) := SecondaryColor3fvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fvEXT(var v: single) := SecondaryColor3fvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fvEXT(v: pointer) := z_SecondaryColor3fvEXT(v); - - public z_SecondaryColor3dvEXT := GetGLFuncOrNil&('glSecondaryColor3dvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dvEXT(v: array of double) := SecondaryColor3dvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dvEXT(var v: double) := SecondaryColor3dvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dvEXT(v: pointer) := z_SecondaryColor3dvEXT(v); - - public z_SecondaryColor3ubvEXT := GetGLFuncOrNil&('glSecondaryColor3ubvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubvEXT(v: array of Byte) := SecondaryColor3ubvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubvEXT(var v: Byte) := SecondaryColor3ubvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubvEXT(v: pointer) := z_SecondaryColor3ubvEXT(v); - - public z_SecondaryColor3usvEXT := GetGLFuncOrNil&('glSecondaryColor3usvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usvEXT(v: array of UInt16) := SecondaryColor3usvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usvEXT(var v: UInt16) := SecondaryColor3usvEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usvEXT(v: pointer) := z_SecondaryColor3usvEXT(v); - - public z_SecondaryColor3uivEXT := GetGLFuncOrNil&('glSecondaryColor3uivEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uivEXT(v: array of UInt32) := SecondaryColor3uivEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uivEXT(var v: UInt32) := SecondaryColor3uivEXT(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uivEXT(v: pointer) := z_SecondaryColor3uivEXT(v); - - public z_SecondaryColorPointerEXT := GetGLFuncOrNil&('glSecondaryColorPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerEXT(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_SecondaryColorPointerEXT(size, &type, stride, _pointer); - - {$endregion EXT_secondary_color} - - {$region EXT_stencil_clear_tag} - - public z_StencilClearTagEXT := GetGLFuncOrNil&('glStencilClearTagEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilClearTagEXT(stencilTagBits: Int32; stencilClearTag: UInt32) := z_StencilClearTagEXT(stencilTagBits, stencilClearTag); - - {$endregion EXT_stencil_clear_tag} - - {$region EXT_texture_buffer EXT_texture_buffer_object} - - public z_TexBufferEXT := GetGLFuncOrNil&('glTexBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferEXT(target: DummyEnum; internalformat: DummyEnum; buffer: UInt32) := z_TexBufferEXT(target, internalformat, buffer); - - {$endregion EXT_texture_buffer EXT_texture_buffer_object} - - {$region EXT_texture_buffer} - - public z_TexBufferRangeEXT := GetGLFuncOrNil&('glTexBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferRangeEXT(target: DummyEnum; internalformat: DummyEnum; buffer: UInt32; offset: IntPtr; size: UIntPtr) := z_TexBufferRangeEXT(target, internalformat, buffer, offset, size); - - {$endregion EXT_texture_buffer} - - {$region EXT_texture3D} - - public z_TexImage3DEXT := GetGLFuncOrNil&('glTexImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DEXT(target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TexImage3DEXT(target, level, internalformat, width, height, depth, border, format, &type, pixels); - - {$endregion EXT_texture3D} - - {$region EXT_sparse_texture} - - public z_TexPageCommitmentEXT := GetGLFuncOrNil&('glTexPageCommitmentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexPageCommitmentEXT(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; commit: boolean) := z_TexPageCommitmentEXT(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); - - {$endregion EXT_sparse_texture} - - {$region EXT_texture_storage} - - public z_TexStorage1DEXT := GetGLFuncOrNil&('glTexStorage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage1DEXT(target: DummyEnum; levels: Int32; internalformat: DummyEnum; width: Int32) := z_TexStorage1DEXT(target, levels, internalformat, width); - - public z_TexStorage2DEXT := GetGLFuncOrNil&('glTexStorage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage2DEXT(target: DummyEnum; levels: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_TexStorage2DEXT(target, levels, internalformat, width, height); - - public z_TexStorage3DEXT := GetGLFuncOrNil&('glTexStorage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage3DEXT(target: DummyEnum; levels: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32) := z_TexStorage3DEXT(target, levels, internalformat, width, height, depth); - - {$endregion EXT_texture_storage} - - {$region EXT_subtexture} - - public z_TexSubImage1DEXT := GetGLFuncOrNil&('glTexSubImage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1DEXT(target: DummyEnum; level: Int32; xoffset: Int32; width: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TexSubImage1DEXT(target, level, xoffset, width, format, &type, pixels); - - public z_TexSubImage2DEXT := GetGLFuncOrNil&('glTexSubImage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2DEXT(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TexSubImage2DEXT(target, level, xoffset, yoffset, width, height, format, &type, pixels); - - public z_TexSubImage3DEXT := GetGLFuncOrNil&('glTexSubImage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3DEXT(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TexSubImage3DEXT(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); - - {$endregion EXT_subtexture} - - {$region ARB_texture_buffer_range} - - public z_TextureBufferRangeEXT := GetGLFuncOrNil&('glTextureBufferRangeEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBufferRangeEXT(texture: UInt32; target: DummyEnum; internalformat: DummyEnum; buffer: UInt32; offset: IntPtr; size: UIntPtr) := z_TextureBufferRangeEXT(texture, target, internalformat, buffer, offset, size); - - {$endregion ARB_texture_buffer_range} - - {$region EXT_texture_perturb_normal} - - public z_TextureNormalEXT := GetGLFuncOrNil&('glTextureNormalEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureNormalEXT(mode: DummyEnum) := z_TextureNormalEXT(mode); - - {$endregion EXT_texture_perturb_normal} - - {$region ARB_sparse_texture EXT_sparse_texture} - - public z_TexturePageCommitmentEXT := GetGLFuncOrNil&('glTexturePageCommitmentEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexturePageCommitmentEXT(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; commit: boolean) := z_TexturePageCommitmentEXT(texture, level, xoffset, yoffset, zoffset, width, height, depth, commit); - - {$endregion ARB_sparse_texture EXT_sparse_texture} - - {$region ARB_texture_storage EXT_texture_storage} - - public z_TextureStorage1DEXT := GetGLFuncOrNil&('glTextureStorage1DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage1DEXT(texture: UInt32; target: DummyEnum; levels: Int32; internalformat: DummyEnum; width: Int32) := z_TextureStorage1DEXT(texture, target, levels, internalformat, width); - - public z_TextureStorage2DEXT := GetGLFuncOrNil&('glTextureStorage2DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2DEXT(texture: UInt32; target: DummyEnum; levels: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_TextureStorage2DEXT(texture, target, levels, internalformat, width, height); - - public z_TextureStorage3DEXT := GetGLFuncOrNil&('glTextureStorage3DEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3DEXT(texture: UInt32; target: DummyEnum; levels: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32) := z_TextureStorage3DEXT(texture, target, levels, internalformat, width, height, depth); - - {$endregion ARB_texture_storage EXT_texture_storage} - - {$region ARB_texture_storage_multisample} - - public z_TextureStorage2DMultisampleEXT := GetGLFuncOrNil&('glTextureStorage2DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2DMultisampleEXT(texture: UInt32; target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32; fixedsamplelocations: boolean) := z_TextureStorage2DMultisampleEXT(texture, target, samples, internalformat, width, height, fixedsamplelocations); - - public z_TextureStorage3DMultisampleEXT := GetGLFuncOrNil&('glTextureStorage3DMultisampleEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3DMultisampleEXT(texture: UInt32; target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean) := z_TextureStorage3DMultisampleEXT(texture, target, samples, internalformat, width, height, depth, fixedsamplelocations); - - {$endregion ARB_texture_storage_multisample} - - {$region EXT_texture_view} - - public z_TextureViewEXT := GetGLFuncOrNil&('glTextureViewEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureViewEXT(texture: UInt32; target: DummyEnum; origtexture: UInt32; internalformat: DummyEnum; minlevel: UInt32; numlevels: UInt32; minlayer: UInt32; numlayers: UInt32) := z_TextureViewEXT(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); - - {$endregion EXT_texture_view} - - {$region ARB_vertex_attrib_binding} - - public z_VertexArrayBindVertexBufferEXT := GetGLFuncOrNil&('glVertexArrayBindVertexBufferEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayBindVertexBufferEXT(vaobj: UInt32; bindingindex: UInt32; buffer: UInt32; offset: IntPtr; stride: Int32) := z_VertexArrayBindVertexBufferEXT(vaobj, bindingindex, buffer, offset, stride); - - public z_VertexArrayVertexAttribFormatEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribFormatEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribFormatEXT(vaobj: UInt32; attribindex: UInt32; size: Int32; &type: DummyEnum; normalized: boolean; relativeoffset: UInt32) := z_VertexArrayVertexAttribFormatEXT(vaobj, attribindex, size, &type, normalized, relativeoffset); - - public z_VertexArrayVertexAttribIFormatEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribIFormatEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribIFormatEXT(vaobj: UInt32; attribindex: UInt32; size: Int32; &type: DummyEnum; relativeoffset: UInt32) := z_VertexArrayVertexAttribIFormatEXT(vaobj, attribindex, size, &type, relativeoffset); - - public z_VertexArrayVertexAttribLFormatEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribLFormatEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribLFormatEXT(vaobj: UInt32; attribindex: UInt32; size: Int32; &type: DummyEnum; relativeoffset: UInt32) := z_VertexArrayVertexAttribLFormatEXT(vaobj, attribindex, size, &type, relativeoffset); - - public z_VertexArrayVertexAttribBindingEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribBindingEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribBindingEXT(vaobj: UInt32; attribindex: UInt32; bindingindex: UInt32) := z_VertexArrayVertexAttribBindingEXT(vaobj, attribindex, bindingindex); - - public z_VertexArrayVertexBindingDivisorEXT := GetGLFuncOrNil&('glVertexArrayVertexBindingDivisorEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBindingDivisorEXT(vaobj: UInt32; bindingindex: UInt32; divisor: UInt32) := z_VertexArrayVertexBindingDivisorEXT(vaobj, bindingindex, divisor); - - {$endregion ARB_vertex_attrib_binding} - - {$region ARB_instanced_arrays} - - public z_VertexAttribDivisorARB := GetGLFuncOrNil&('glVertexAttribDivisorARB'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisorARB(index: UInt32; divisor: UInt32) := z_VertexAttribDivisorARB(index, divisor); - - public z_VertexArrayVertexAttribDivisorEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribDivisorEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribDivisorEXT(vaobj: UInt32; index: UInt32; divisor: UInt32) := z_VertexArrayVertexAttribDivisorEXT(vaobj, index, divisor); - - {$endregion ARB_instanced_arrays} - - {$region ARB_vertex_attrib_64bit EXT_vertex_attrib_64bit} - - public z_VertexArrayVertexAttribLOffsetEXT := GetGLFuncOrNil&('glVertexArrayVertexAttribLOffsetEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribLOffsetEXT(vaobj: UInt32; buffer: UInt32; index: UInt32; size: Int32; &type: DummyEnum; stride: Int32; offset: IntPtr) := z_VertexArrayVertexAttribLOffsetEXT(vaobj, buffer, index, size, &type, stride, offset); - - {$endregion ARB_vertex_attrib_64bit EXT_vertex_attrib_64bit} - - {$region EXT_instanced_arrays} - - public z_VertexAttribDivisorEXT := GetGLFuncOrNil&('glVertexAttribDivisorEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisorEXT(index: UInt32; divisor: UInt32) := z_VertexAttribDivisorEXT(index, divisor); - - {$endregion EXT_instanced_arrays} - - {$region EXT_vertex_weighting} - - public z_VertexWeightfEXT := GetGLFuncOrNil&('glVertexWeightfEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfEXT(weight: single) := z_VertexWeightfEXT(weight); - - public z_VertexWeightfvEXT := GetGLFuncOrNil&('glVertexWeightfvEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfvEXT(weight: array of single) := VertexWeightfvEXT(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weight,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfvEXT(var weight: single) := VertexWeightfvEXT(@weight); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfvEXT(weight: pointer) := z_VertexWeightfvEXT(weight); - - public z_VertexWeightPointerEXT := GetGLFuncOrNil&('glVertexWeightPointerEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightPointerEXT(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_VertexWeightPointerEXT(size, &type, stride, _pointer); - - {$endregion EXT_vertex_weighting} - - {$region EXT_window_rectangles} - - public z_WindowRectanglesEXT := GetGLFuncOrNil&('glWindowRectanglesEXT'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowRectanglesEXT(mode: DummyEnum; count: Int32; box: array of Int32) := WindowRectanglesEXT(mode, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(box,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowRectanglesEXT(mode: DummyEnum; count: Int32; var box: Int32) := WindowRectanglesEXT(mode, count, @box); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowRectanglesEXT(mode: DummyEnum; count: Int32; box: pointer) := z_WindowRectanglesEXT(mode, count, box); - - {$endregion EXT_window_rectangles} + public z_NamedRenderbufferStorageMultisampleAdvancedAMD_adr := GetFuncAdr('glNamedRenderbufferStorageMultisampleAdvancedAMD'); + public z_NamedRenderbufferStorageMultisampleAdvancedAMD_ovr_0 := GetFuncOrNil&(z_NamedRenderbufferStorageMultisampleAdvancedAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisampleAdvancedAMD(renderbuffer: UInt32; samples: Int32; storageSamples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_NamedRenderbufferStorageMultisampleAdvancedAMD_ovr_0(renderbuffer, samples, storageSamples, _internalformat, width, height); + end; end; - gl_3DFX = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glFramebufferSamplePositionsAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferSamplePositionsfvAMD_adr := GetFuncAdr('glFramebufferSamplePositionsfvAMD'); + public z_FramebufferSamplePositionsfvAMD_ovr_0 := GetFuncOrNil&(z_FramebufferSamplePositionsfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSamplePositionsfvAMD(target: FramebufferTarget; numsamples: UInt32; pixelindex: UInt32; values: array of single); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_FramebufferSamplePositionsfvAMD_ovr_0(target, numsamples, pixelindex, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSamplePositionsfvAMD(target: FramebufferTarget; numsamples: UInt32; pixelindex: UInt32; var values: single); + begin + z_FramebufferSamplePositionsfvAMD_ovr_0(target, numsamples, pixelindex, values); + end; + public z_FramebufferSamplePositionsfvAMD_ovr_2 := GetFuncOrNil&(z_FramebufferSamplePositionsfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSamplePositionsfvAMD(target: FramebufferTarget; numsamples: UInt32; pixelindex: UInt32; values: IntPtr); + begin + z_FramebufferSamplePositionsfvAMD_ovr_2(target, numsamples, pixelindex, values); end; - {$region 3DFX_tbuffer} + public z_NamedFramebufferSamplePositionsfvAMD_adr := GetFuncAdr('glNamedFramebufferSamplePositionsfvAMD'); + public z_NamedFramebufferSamplePositionsfvAMD_ovr_0 := GetFuncOrNil&(z_NamedFramebufferSamplePositionsfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSamplePositionsfvAMD(framebuffer: UInt32; numsamples: UInt32; pixelindex: UInt32; values: array of single); + begin + z_NamedFramebufferSamplePositionsfvAMD_ovr_0(framebuffer, numsamples, pixelindex, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSamplePositionsfvAMD(framebuffer: UInt32; numsamples: UInt32; pixelindex: UInt32; var values: single); + begin + z_NamedFramebufferSamplePositionsfvAMD_ovr_0(framebuffer, numsamples, pixelindex, values); + end; + public z_NamedFramebufferSamplePositionsfvAMD_ovr_2 := GetFuncOrNil&(z_NamedFramebufferSamplePositionsfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSamplePositionsfvAMD(framebuffer: UInt32; numsamples: UInt32; pixelindex: UInt32; values: IntPtr); + begin + z_NamedFramebufferSamplePositionsfvAMD_ovr_2(framebuffer, numsamples, pixelindex, values); + end; - public z_TbufferMask3DFX := GetGLFuncOrNil&('glTbufferMask3DFX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TbufferMask3DFX(mask: UInt32) := z_TbufferMask3DFX(mask); + public z_GetFramebufferParameterfvAMD_adr := GetFuncAdr('glGetFramebufferParameterfvAMD'); + public z_GetFramebufferParameterfvAMD_ovr_0 := GetFuncOrNil&(z_GetFramebufferParameterfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterfvAMD(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: array of single); + begin + z_GetFramebufferParameterfvAMD_ovr_0(target, pname, numsamples, pixelindex, size, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterfvAMD(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; numsamples: UInt32; pixelindex: UInt32; size: Int32; var values: single); + begin + z_GetFramebufferParameterfvAMD_ovr_0(target, pname, numsamples, pixelindex, size, values); + end; + public z_GetFramebufferParameterfvAMD_ovr_2 := GetFuncOrNil&(z_GetFramebufferParameterfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterfvAMD(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: IntPtr); + begin + z_GetFramebufferParameterfvAMD_ovr_2(target, pname, numsamples, pixelindex, size, values); + end; - {$endregion 3DFX_tbuffer} + public z_GetNamedFramebufferParameterfvAMD_adr := GetFuncAdr('glGetNamedFramebufferParameterfvAMD'); + public z_GetNamedFramebufferParameterfvAMD_ovr_0 := GetFuncOrNil&(z_GetNamedFramebufferParameterfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterfvAMD(framebuffer: UInt32; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: array of single); + begin + z_GetNamedFramebufferParameterfvAMD_ovr_0(framebuffer, pname, numsamples, pixelindex, size, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterfvAMD(framebuffer: UInt32; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; var values: single); + begin + z_GetNamedFramebufferParameterfvAMD_ovr_0(framebuffer, pname, numsamples, pixelindex, size, values); + end; + public z_GetNamedFramebufferParameterfvAMD_ovr_2 := GetFuncOrNil&(z_GetNamedFramebufferParameterfvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterfvAMD(framebuffer: UInt32; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: IntPtr); + begin + z_GetNamedFramebufferParameterfvAMD_ovr_2(framebuffer, pname, numsamples, pixelindex, size, values); + end; end; - gl_AMD = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glGpuShaderInt64AMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; - - {$region AMD_performance_monitor} - - public z_GetPerfMonitorGroupsAMD := GetGLFuncOrNil&('glGetPerfMonitorGroupsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: array of Int32; groupsSize: Int32; groups: array of UInt32) := GetPerfMonitorGroupsAMD(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numGroups,0)), groupsSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(groups,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: array of Int32; groupsSize: Int32; var groups: UInt32) := GetPerfMonitorGroupsAMD(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numGroups,0)), groupsSize, @groups); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: array of Int32; groupsSize: Int32; groups: pointer) := GetPerfMonitorGroupsAMD(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numGroups,0)), groupsSize, groups); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(var numGroups: Int32; groupsSize: Int32; groups: array of UInt32) := GetPerfMonitorGroupsAMD(@numGroups, groupsSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(groups,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(var numGroups: Int32; groupsSize: Int32; var groups: UInt32) := GetPerfMonitorGroupsAMD(@numGroups, groupsSize, @groups); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(var numGroups: Int32; groupsSize: Int32; groups: pointer) := GetPerfMonitorGroupsAMD(@numGroups, groupsSize, groups); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: pointer; groupsSize: Int32; groups: array of UInt32) := GetPerfMonitorGroupsAMD(numGroups, groupsSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(groups,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: pointer; groupsSize: Int32; var groups: UInt32) := GetPerfMonitorGroupsAMD(numGroups, groupsSize, @groups); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: pointer; groupsSize: Int32; groups: pointer) := z_GetPerfMonitorGroupsAMD(numGroups, groupsSize, groups); - - public z_GetPerfMonitorCountersAMD := GetGLFuncOrNil&('glGetPerfMonitorCountersAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: array of Int32; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), @maxActiveCounters, counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; var maxActiveCounters: Int32; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), @maxActiveCounters, counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), @maxActiveCounters, counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: pointer; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), maxActiveCounters, counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: pointer; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), maxActiveCounters, counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: pointer; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numCounters,0)), maxActiveCounters, counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, @numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: array of Int32; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, @numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, @numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, @numCounters, @maxActiveCounters, counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; var maxActiveCounters: Int32; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, @numCounters, @maxActiveCounters, counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, @numCounters, @maxActiveCounters, counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: pointer; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, @numCounters, maxActiveCounters, counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: pointer; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, @numCounters, maxActiveCounters, counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: pointer; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, @numCounters, maxActiveCounters, counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; maxActiveCounters: array of Int32; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; maxActiveCounters: array of Int32; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; maxActiveCounters: array of Int32; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(maxActiveCounters,0)), counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; var maxActiveCounters: Int32; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, numCounters, @maxActiveCounters, counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; var maxActiveCounters: Int32; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, numCounters, @maxActiveCounters, counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; var maxActiveCounters: Int32; counterSize: Int32; counters: pointer) := GetPerfMonitorCountersAMD(group, numCounters, @maxActiveCounters, counterSize, counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; maxActiveCounters: pointer; counterSize: Int32; counters: array of UInt32) := GetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counterSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counters,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; maxActiveCounters: pointer; counterSize: Int32; var counters: UInt32) := GetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counterSize, @counters); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: pointer; maxActiveCounters: pointer; counterSize: Int32; counters: pointer) := z_GetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counterSize, counters); - - public z_GetPerfMonitorGroupStringAMD := GetGLFuncOrNil&('glGetPerfMonitorGroupStringAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; length: array of Int32; groupString: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(groupString); GetPerfMonitorGroupStringAMD(group, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; length: array of Int32; groupString: IntPtr) := GetPerfMonitorGroupStringAMD(group, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), groupString); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; var length: Int32; groupString: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(groupString); GetPerfMonitorGroupStringAMD(group, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; var length: Int32; groupString: IntPtr) := GetPerfMonitorGroupStringAMD(group, bufSize, @length, groupString); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; length: pointer; groupString: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(groupString); GetPerfMonitorGroupStringAMD(group, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; length: pointer; groupString: IntPtr) := z_GetPerfMonitorGroupStringAMD(group, bufSize, length, groupString); - - public z_GetPerfMonitorCounterStringAMD := GetGLFuncOrNil&('glGetPerfMonitorCounterStringAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; length: array of Int32; counterString: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(counterString); GetPerfMonitorCounterStringAMD(group, counter, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; length: array of Int32; counterString: IntPtr) := GetPerfMonitorCounterStringAMD(group, counter, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), counterString); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; var length: Int32; counterString: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(counterString); GetPerfMonitorCounterStringAMD(group, counter, bufSize, @length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; var length: Int32; counterString: IntPtr) := GetPerfMonitorCounterStringAMD(group, counter, bufSize, @length, counterString); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; length: pointer; counterString: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(counterString); GetPerfMonitorCounterStringAMD(group, counter, bufSize, length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; length: pointer; counterString: IntPtr) := z_GetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString); - - public z_GetPerfMonitorCounterInfoAMD := GetGLFuncOrNil&('glGetPerfMonitorCounterInfoAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterInfoAMD(group: UInt32; counter: UInt32; pname: DummyEnum; data: pointer) := z_GetPerfMonitorCounterInfoAMD(group, counter, pname, data); - - public z_GenPerfMonitorsAMD := GetGLFuncOrNil&('glGenPerfMonitorsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenPerfMonitorsAMD(n: Int32; monitors: array of UInt32) := GenPerfMonitorsAMD(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(monitors,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenPerfMonitorsAMD(n: Int32; var monitors: UInt32) := GenPerfMonitorsAMD(n, @monitors); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenPerfMonitorsAMD(n: Int32; monitors: pointer) := z_GenPerfMonitorsAMD(n, monitors); - - public z_DeletePerfMonitorsAMD := GetGLFuncOrNil&('glDeletePerfMonitorsAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfMonitorsAMD(n: Int32; monitors: array of UInt32) := DeletePerfMonitorsAMD(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(monitors,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfMonitorsAMD(n: Int32; var monitors: UInt32) := DeletePerfMonitorsAMD(n, @monitors); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfMonitorsAMD(n: Int32; monitors: pointer) := z_DeletePerfMonitorsAMD(n, monitors); - - public z_SelectPerfMonitorCountersAMD := GetGLFuncOrNil&('glSelectPerfMonitorCountersAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectPerfMonitorCountersAMD(monitor: UInt32; enable: boolean; group: UInt32; numCounters: Int32; counterList: array of UInt32) := SelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(counterList,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectPerfMonitorCountersAMD(monitor: UInt32; enable: boolean; group: UInt32; numCounters: Int32; var counterList: UInt32) := SelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, @counterList); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectPerfMonitorCountersAMD(monitor: UInt32; enable: boolean; group: UInt32; numCounters: Int32; counterList: pointer) := z_SelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, counterList); - - public z_BeginPerfMonitorAMD := GetGLFuncOrNil&('glBeginPerfMonitorAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginPerfMonitorAMD(monitor: UInt32) := z_BeginPerfMonitorAMD(monitor); - - public z_EndPerfMonitorAMD := GetGLFuncOrNil&('glEndPerfMonitorAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndPerfMonitorAMD(monitor: UInt32) := z_EndPerfMonitorAMD(monitor); - - public z_GetPerfMonitorCounterDataAMD := GetGLFuncOrNil&('glGetPerfMonitorCounterDataAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: array of UInt32; bytesWritten: array of Int32) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bytesWritten,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: array of UInt32; var bytesWritten: Int32) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), @bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: array of UInt32; bytesWritten: pointer) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0)), bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; var data: UInt32; bytesWritten: array of Int32) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, @data, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bytesWritten,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; var data: UInt32; var bytesWritten: Int32) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, @data, @bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; var data: UInt32; bytesWritten: pointer) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, @data, bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: pointer; bytesWritten: array of Int32) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, data, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bytesWritten,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: pointer; var bytesWritten: Int32) := GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, data, @bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: pointer; bytesWritten: pointer) := z_GetPerfMonitorCounterDataAMD(monitor, pname, dataSize, data, bytesWritten); - - {$endregion AMD_performance_monitor} - - {$region AMD_draw_buffers_blend} - - public z_BlendFuncIndexedAMD := GetGLFuncOrNil&('glBlendFuncIndexedAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncIndexedAMD(buf: UInt32; src: DummyEnum; dst: DummyEnum) := z_BlendFuncIndexedAMD(buf, src, dst); - - public z_BlendFuncSeparateIndexedAMD := GetGLFuncOrNil&('glBlendFuncSeparateIndexedAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateIndexedAMD(buf: UInt32; srcRGB: DummyEnum; dstRGB: DummyEnum; srcAlpha: DummyEnum; dstAlpha: DummyEnum) := z_BlendFuncSeparateIndexedAMD(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); - - public z_BlendEquationIndexedAMD := GetGLFuncOrNil&('glBlendEquationIndexedAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationIndexedAMD(buf: UInt32; mode: DummyEnum) := z_BlendEquationIndexedAMD(buf, mode); - - public z_BlendEquationSeparateIndexedAMD := GetGLFuncOrNil&('glBlendEquationSeparateIndexedAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateIndexedAMD(buf: UInt32; modeRGB: DummyEnum; modeAlpha: DummyEnum) := z_BlendEquationSeparateIndexedAMD(buf, modeRGB, modeAlpha); - - {$endregion AMD_draw_buffers_blend} - - {$region AMD_debug_output} - - public z_DebugMessageEnableAMD := GetGLFuncOrNil&('glDebugMessageEnableAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageEnableAMD(category: DebugSourceType; severity: DebugMessageType; count: Int32; ids: array of UInt32; enabled: boolean) := DebugMessageEnableAMD(category, severity, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageEnableAMD(category: DebugSourceType; severity: DebugMessageType; count: Int32; var ids: UInt32; enabled: boolean) := DebugMessageEnableAMD(category, severity, count, @ids, enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageEnableAMD(category: DebugSourceType; severity: DebugMessageType; count: Int32; ids: pointer; enabled: boolean) := z_DebugMessageEnableAMD(category, severity, count, ids, enabled); - - public z_DebugMessageInsertAMD := GetGLFuncOrNil&('glDebugMessageInsertAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertAMD(category: DebugSourceType; severity: DebugMessageType; id: UInt32; length: Int32; buf: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(buf); DebugMessageInsertAMD(category, severity, id, length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertAMD(category: DebugSourceType; severity: DebugMessageType; id: UInt32; length: Int32; buf: IntPtr) := z_DebugMessageInsertAMD(category, severity, id, length, buf); - - public z_DebugMessageCallbackAMD := GetGLFuncOrNil&('glDebugMessageCallbackAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallbackAMD(callback: GLDEBUGPROC; userParam: pointer) := z_DebugMessageCallbackAMD(callback, userParam); - - public z_GetDebugMessageLogAMD := GetGLFuncOrNil&('glGetDebugMessageLogAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; categories: array of DebugMessageCategoryAMD; severities: array of DebugSeverityLevel; ids: array of UInt32; lengths: array of Int32; message: IntPtr): UInt32 := GetDebugMessageLogAMD(count, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(categories,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(severities,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lengths,0)), message); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; var categories: DebugMessageCategoryAMD; var severities: DebugSeverityLevel; var ids: UInt32; var lengths: Int32; message: string): UInt32; begin var ptr_7 := Marshal.StringToHGlobalAnsi(message); Result := GetDebugMessageLogAMD(count, bufSize, @categories, @severities, @ids, @lengths, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; var categories: DebugMessageCategoryAMD; var severities: DebugSeverityLevel; var ids: UInt32; var lengths: Int32; message: IntPtr): UInt32 := GetDebugMessageLogAMD(count, bufSize, @categories, @severities, @ids, @lengths, message); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; categories: pointer; severities: pointer; ids: pointer; lengths: pointer; message: string): UInt32; begin var ptr_7 := Marshal.StringToHGlobalAnsi(message); Result := GetDebugMessageLogAMD(count, bufSize, categories, severities, ids, lengths, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogAMD(count: UInt32; bufSize: Int32; categories: pointer; severities: pointer; ids: pointer; lengths: pointer; message: IntPtr): UInt32 := z_GetDebugMessageLogAMD(count, bufSize, categories, severities, ids, lengths, message); - - {$endregion AMD_debug_output} - - {$region AMD_name_gen_delete} - - public z_GenNamesAMD := GetGLFuncOrNil&('glGenNamesAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenNamesAMD(identifier: DummyEnum; num: UInt32; names: array of UInt32) := GenNamesAMD(identifier, num, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(names,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenNamesAMD(identifier: DummyEnum; num: UInt32; var names: UInt32) := GenNamesAMD(identifier, num, @names); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenNamesAMD(identifier: DummyEnum; num: UInt32; names: pointer) := z_GenNamesAMD(identifier, num, names); - - public z_DeleteNamesAMD := GetGLFuncOrNil&('glDeleteNamesAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamesAMD(identifier: DummyEnum; num: UInt32; names: array of UInt32) := DeleteNamesAMD(identifier, num, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(names,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamesAMD(identifier: DummyEnum; num: UInt32; var names: UInt32) := DeleteNamesAMD(identifier, num, @names); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamesAMD(identifier: DummyEnum; num: UInt32; names: pointer) := z_DeleteNamesAMD(identifier, num, names); - - public z_IsNameAMD := GetGLFuncOrNil&('glIsNameAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNameAMD(identifier: DummyEnum; name: UInt32): boolean := z_IsNameAMD(identifier, name); - - {$endregion AMD_name_gen_delete} - - {$region AMD_framebuffer_sample_positions} - - public z_FramebufferSamplePositionsfvAMD := GetGLFuncOrNil&('glFramebufferSamplePositionsfvAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSamplePositionsfvAMD(target: DummyEnum; numsamples: UInt32; pixelindex: UInt32; values: array of single) := FramebufferSamplePositionsfvAMD(target, numsamples, pixelindex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSamplePositionsfvAMD(target: DummyEnum; numsamples: UInt32; pixelindex: UInt32; var values: single) := FramebufferSamplePositionsfvAMD(target, numsamples, pixelindex, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSamplePositionsfvAMD(target: DummyEnum; numsamples: UInt32; pixelindex: UInt32; values: pointer) := z_FramebufferSamplePositionsfvAMD(target, numsamples, pixelindex, values); - - public z_NamedFramebufferSamplePositionsfvAMD := GetGLFuncOrNil&('glNamedFramebufferSamplePositionsfvAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSamplePositionsfvAMD(framebuffer: UInt32; numsamples: UInt32; pixelindex: UInt32; values: array of single) := NamedFramebufferSamplePositionsfvAMD(framebuffer, numsamples, pixelindex, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSamplePositionsfvAMD(framebuffer: UInt32; numsamples: UInt32; pixelindex: UInt32; var values: single) := NamedFramebufferSamplePositionsfvAMD(framebuffer, numsamples, pixelindex, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSamplePositionsfvAMD(framebuffer: UInt32; numsamples: UInt32; pixelindex: UInt32; values: pointer) := z_NamedFramebufferSamplePositionsfvAMD(framebuffer, numsamples, pixelindex, values); - - public z_GetFramebufferParameterfvAMD := GetGLFuncOrNil&('glGetFramebufferParameterfvAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterfvAMD(target: DummyEnum; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: array of single) := GetFramebufferParameterfvAMD(target, pname, numsamples, pixelindex, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterfvAMD(target: DummyEnum; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; var values: single) := GetFramebufferParameterfvAMD(target, pname, numsamples, pixelindex, size, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterfvAMD(target: DummyEnum; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: pointer) := z_GetFramebufferParameterfvAMD(target, pname, numsamples, pixelindex, size, values); - - public z_GetNamedFramebufferParameterfvAMD := GetGLFuncOrNil&('glGetNamedFramebufferParameterfvAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterfvAMD(framebuffer: UInt32; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: array of single) := GetNamedFramebufferParameterfvAMD(framebuffer, pname, numsamples, pixelindex, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterfvAMD(framebuffer: UInt32; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; var values: single) := GetNamedFramebufferParameterfvAMD(framebuffer, pname, numsamples, pixelindex, size, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterfvAMD(framebuffer: UInt32; pname: DummyEnum; numsamples: UInt32; pixelindex: UInt32; size: Int32; values: pointer) := z_GetNamedFramebufferParameterfvAMD(framebuffer, pname, numsamples, pixelindex, size, values); - - {$endregion AMD_framebuffer_sample_positions} - - {$region AMD_multi_draw_indirect} - - public z_MultiDrawArraysIndirectAMD := GetGLFuncOrNil&('glMultiDrawArraysIndirectAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectAMD(mode: DummyEnum; indirect: pointer; primcount: Int32; stride: Int32) := z_MultiDrawArraysIndirectAMD(mode, indirect, primcount, stride); - - public z_MultiDrawElementsIndirectAMD := GetGLFuncOrNil&('glMultiDrawElementsIndirectAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectAMD(mode: DummyEnum; &type: DummyEnum; indirect: pointer; primcount: Int32; stride: Int32) := z_MultiDrawElementsIndirectAMD(mode, &type, indirect, primcount, stride); - - {$endregion AMD_multi_draw_indirect} - - {$region AMD_framebuffer_multisample_advanced} - - public z_RenderbufferStorageMultisampleAdvancedAMD := GetGLFuncOrNil&('glRenderbufferStorageMultisampleAdvancedAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleAdvancedAMD(target: DummyEnum; samples: Int32; storageSamples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleAdvancedAMD(target, samples, storageSamples, internalformat, width, height); - - public z_NamedRenderbufferStorageMultisampleAdvancedAMD := GetGLFuncOrNil&('glNamedRenderbufferStorageMultisampleAdvancedAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisampleAdvancedAMD(renderbuffer: UInt32; samples: Int32; storageSamples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_NamedRenderbufferStorageMultisampleAdvancedAMD(renderbuffer, samples, storageSamples, internalformat, width, height); - - {$endregion AMD_framebuffer_multisample_advanced} - - {$region AMD_occlusion_query_event} - - public z_QueryObjectParameteruiAMD := GetGLFuncOrNil&('glQueryObjectParameteruiAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryObjectParameteruiAMD(target: DummyEnum; id: UInt32; pname: DummyEnum; param: UInt32) := z_QueryObjectParameteruiAMD(target, id, pname, param); - - {$endregion AMD_occlusion_query_event} - - {$region AMD_sample_positions} - - public z_SetMultisamplefvAMD := GetGLFuncOrNil&('glSetMultisamplefvAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetMultisamplefvAMD(pname: DummyEnum; index: UInt32; val: array of single) := SetMultisamplefvAMD(pname, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(val,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetMultisamplefvAMD(pname: DummyEnum; index: UInt32; var val: single) := SetMultisamplefvAMD(pname, index, @val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetMultisamplefvAMD(pname: DummyEnum; index: UInt32; val: pointer) := z_SetMultisamplefvAMD(pname, index, val); - - {$endregion AMD_sample_positions} - - {$region AMD_stencil_operation_extended} - - public z_StencilOpValueAMD := GetGLFuncOrNil&('glStencilOpValueAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOpValueAMD(face: DummyEnum; value: UInt32) := z_StencilOpValueAMD(face, value); - - {$endregion AMD_stencil_operation_extended} - - {$region AMD_vertex_shader_tessellator} - - public z_TessellationFactorAMD := GetGLFuncOrNil&('glTessellationFactorAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TessellationFactorAMD(factor: single) := z_TessellationFactorAMD(factor); - - public z_TessellationModeAMD := GetGLFuncOrNil&('glTessellationModeAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TessellationModeAMD(mode: DummyEnum) := z_TessellationModeAMD(mode); - - {$endregion AMD_vertex_shader_tessellator} - - {$region AMD_sparse_texture} - - public z_TexStorageSparseAMD := GetGLFuncOrNil&('glTexStorageSparseAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageSparseAMD(target: DummyEnum; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; layers: Int32; flags: DummyFlags) := z_TexStorageSparseAMD(target, internalFormat, width, height, depth, layers, flags); - - public z_TextureStorageSparseAMD := GetGLFuncOrNil&('glTextureStorageSparseAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageSparseAMD(texture: UInt32; target: DummyEnum; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; layers: Int32; flags: DummyFlags) := z_TextureStorageSparseAMD(texture, target, internalFormat, width, height, depth, layers, flags); - - {$endregion AMD_sparse_texture} - - {$region AMD_interleaved_elements} - - public z_VertexAttribParameteriAMD := GetGLFuncOrNil&('glVertexAttribParameteriAMD'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribParameteriAMD(index: UInt32; pname: DummyEnum; param: Int32) := z_VertexAttribParameteriAMD(index, pname, param); - - {$endregion AMD_interleaved_elements} + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); end; - gl_ANGLE = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glInterleavedElementsAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttribParameteriAMD_adr := GetFuncAdr('glVertexAttribParameteriAMD'); + public z_VertexAttribParameteriAMD_ovr_0 := GetFuncOrNil&(z_VertexAttribParameteriAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribParameteriAMD(index: UInt32; pname: DummyEnum; param: Int32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_VertexAttribParameteriAMD_ovr_0(index, pname, param); end; - {$region ANGLE_framebuffer_blit} - - public z_BlitFramebufferANGLE := GetGLFuncOrNil&('glBlitFramebufferANGLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitFramebufferANGLE(srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - {$endregion ANGLE_framebuffer_blit} - - {$region ANGLE_instanced_arrays} - - public z_DrawArraysInstancedANGLE := GetGLFuncOrNil&('glDrawArraysInstancedANGLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedANGLE(mode: DummyEnum; first: Int32; count: Int32; primcount: Int32) := z_DrawArraysInstancedANGLE(mode, first, count, primcount); - - public z_DrawElementsInstancedANGLE := GetGLFuncOrNil&('glDrawElementsInstancedANGLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedANGLE(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32) := z_DrawElementsInstancedANGLE(mode, count, &type, indices, primcount); - - public z_VertexAttribDivisorANGLE := GetGLFuncOrNil&('glVertexAttribDivisorANGLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisorANGLE(index: UInt32; divisor: UInt32) := z_VertexAttribDivisorANGLE(index, divisor); - - {$endregion ANGLE_instanced_arrays} - - {$region ANGLE_translated_shader_source} - - public z_GetTranslatedShaderSourceANGLE := GetGLFuncOrNil&('glGetTranslatedShaderSourceANGLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTranslatedShaderSourceANGLE(shader: UInt32; bufSize: Int32; length: array of Int32; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetTranslatedShaderSourceANGLE(shader, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTranslatedShaderSourceANGLE(shader: UInt32; bufSize: Int32; length: array of Int32; source: IntPtr) := GetTranslatedShaderSourceANGLE(shader, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), source); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTranslatedShaderSourceANGLE(shader: UInt32; bufSize: Int32; var length: Int32; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetTranslatedShaderSourceANGLE(shader, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTranslatedShaderSourceANGLE(shader: UInt32; bufSize: Int32; var length: Int32; source: IntPtr) := GetTranslatedShaderSourceANGLE(shader, bufSize, @length, source); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTranslatedShaderSourceANGLE(shader: UInt32; bufSize: Int32; length: pointer; source: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(source); GetTranslatedShaderSourceANGLE(shader, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTranslatedShaderSourceANGLE(shader: UInt32; bufSize: Int32; length: pointer; source: IntPtr) := z_GetTranslatedShaderSourceANGLE(shader, bufSize, length, source); - - {$endregion ANGLE_translated_shader_source} - - {$region ANGLE_framebuffer_multisample} - - public z_RenderbufferStorageMultisampleANGLE := GetGLFuncOrNil&('glRenderbufferStorageMultisampleANGLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleANGLE(target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleANGLE(target, samples, internalformat, width, height); - - {$endregion ANGLE_framebuffer_multisample} - end; - gl_APPLE = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glMultiDrawIndirectAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiDrawArraysIndirectAMD_adr := GetFuncAdr('glMultiDrawArraysIndirectAMD'); + public z_MultiDrawArraysIndirectAMD_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysIndirectAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectAMD(mode: PrimitiveType; indirect: IntPtr; primcount: Int32; stride: Int32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_MultiDrawArraysIndirectAMD_ovr_0(mode, indirect, primcount, stride); end; - {$region APPLE_vertex_array_object} - - public z_BindVertexArrayAPPLE := GetGLFuncOrNil&('glBindVertexArrayAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexArrayAPPLE(&array: UInt32) := z_BindVertexArrayAPPLE(&array); - - public z_DeleteVertexArraysAPPLE := GetGLFuncOrNil&('glDeleteVertexArraysAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysAPPLE(n: Int32; arrays: array of UInt32) := DeleteVertexArraysAPPLE(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysAPPLE(n: Int32; var arrays: UInt32) := DeleteVertexArraysAPPLE(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysAPPLE(n: Int32; arrays: pointer) := z_DeleteVertexArraysAPPLE(n, arrays); - - public z_GenVertexArraysAPPLE := GetGLFuncOrNil&('glGenVertexArraysAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysAPPLE(n: Int32; arrays: array of UInt32) := GenVertexArraysAPPLE(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysAPPLE(n: Int32; var arrays: UInt32) := GenVertexArraysAPPLE(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysAPPLE(n: Int32; arrays: pointer) := z_GenVertexArraysAPPLE(n, arrays); - - public z_IsVertexArrayAPPLE := GetGLFuncOrNil&('glIsVertexArrayAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexArrayAPPLE(&array: UInt32): boolean := z_IsVertexArrayAPPLE(&array); - - {$endregion APPLE_vertex_array_object} - - {$region APPLE_flush_buffer_range} - - public z_BufferParameteriAPPLE := GetGLFuncOrNil&('glBufferParameteriAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferParameteriAPPLE(target: DummyEnum; pname: DummyEnum; param: Int32) := z_BufferParameteriAPPLE(target, pname, param); - - public z_FlushMappedBufferRangeAPPLE := GetGLFuncOrNil&('glFlushMappedBufferRangeAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedBufferRangeAPPLE(target: DummyEnum; offset: IntPtr; size: UIntPtr) := z_FlushMappedBufferRangeAPPLE(target, offset, size); - - {$endregion APPLE_flush_buffer_range} - - {$region APPLE_sync} - - public z_FenceSyncAPPLE := GetGLFuncOrNil&('glFenceSyncAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function FenceSyncAPPLE(condition: DummyEnum; flags: DummyFlags): GLsync := z_FenceSyncAPPLE(condition, flags); - - public z_IsSyncAPPLE := GetGLFuncOrNil&('glIsSyncAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSyncAPPLE(sync: GLsync): boolean := z_IsSyncAPPLE(sync); - - public z_DeleteSyncAPPLE := GetGLFuncOrNil&('glDeleteSyncAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSyncAPPLE(sync: GLsync) := z_DeleteSyncAPPLE(sync); - - public z_ClientWaitSyncAPPLE := GetGLFuncOrNil&('glClientWaitSyncAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ClientWaitSyncAPPLE(sync: GLsync; flags: DummyFlags; timeout: UInt64): DummyEnum := z_ClientWaitSyncAPPLE(sync, flags, timeout); - - public z_WaitSyncAPPLE := GetGLFuncOrNil&('glWaitSyncAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSyncAPPLE(sync: GLsync; flags: DummyFlags; timeout: UInt64) := z_WaitSyncAPPLE(sync, flags, timeout); - - public z_GetInteger64vAPPLE := GetGLFuncOrNil&('glGetInteger64vAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64vAPPLE(pname: GLGetQueries; ¶ms: array of Int64) := GetInteger64vAPPLE(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64vAPPLE(pname: GLGetQueries; var ¶ms: Int64) := GetInteger64vAPPLE(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInteger64vAPPLE(pname: GLGetQueries; ¶ms: pointer) := z_GetInteger64vAPPLE(pname, ¶ms); - - public z_GetSyncivAPPLE := GetGLFuncOrNil&('glGetSyncivAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; length: array of Int32; values: array of Int32) := GetSyncivAPPLE(sync, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; length: array of Int32; var values: Int32) := GetSyncivAPPLE(sync, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; length: array of Int32; values: pointer) := GetSyncivAPPLE(sync, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; var length: Int32; values: array of Int32) := GetSyncivAPPLE(sync, pname, count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; var length: Int32; var values: Int32) := GetSyncivAPPLE(sync, pname, count, @length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; var length: Int32; values: pointer) := GetSyncivAPPLE(sync, pname, count, @length, values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; length: pointer; values: array of Int32) := GetSyncivAPPLE(sync, pname, count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; length: pointer; var values: Int32) := GetSyncivAPPLE(sync, pname, count, length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSyncivAPPLE(sync: GLsync; pname: DummyEnum; count: Int32; length: pointer; values: pointer) := z_GetSyncivAPPLE(sync, pname, count, length, values); - - {$endregion APPLE_sync} - - {$region APPLE_copy_texture_levels} - - public z_CopyTextureLevelsAPPLE := GetGLFuncOrNil&('glCopyTextureLevelsAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureLevelsAPPLE(destinationTexture: UInt32; sourceTexture: UInt32; sourceBaseLevel: Int32; sourceLevelCount: Int32) := z_CopyTextureLevelsAPPLE(destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount); - - {$endregion APPLE_copy_texture_levels} - - {$region APPLE_fence} - - public z_GenFencesAPPLE := GetGLFuncOrNil&('glGenFencesAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesAPPLE(n: Int32; fences: array of UInt32) := GenFencesAPPLE(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesAPPLE(n: Int32; var fences: UInt32) := GenFencesAPPLE(n, @fences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesAPPLE(n: Int32; fences: pointer) := z_GenFencesAPPLE(n, fences); - - public z_DeleteFencesAPPLE := GetGLFuncOrNil&('glDeleteFencesAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesAPPLE(n: Int32; fences: array of UInt32) := DeleteFencesAPPLE(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesAPPLE(n: Int32; var fences: UInt32) := DeleteFencesAPPLE(n, @fences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesAPPLE(n: Int32; fences: pointer) := z_DeleteFencesAPPLE(n, fences); - - public z_SetFenceAPPLE := GetGLFuncOrNil&('glSetFenceAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFenceAPPLE(fence: UInt32) := z_SetFenceAPPLE(fence); - - public z_IsFenceAPPLE := GetGLFuncOrNil&('glIsFenceAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFenceAPPLE(fence: UInt32): boolean := z_IsFenceAPPLE(fence); - - public z_TestFenceAPPLE := GetGLFuncOrNil&('glTestFenceAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function TestFenceAPPLE(fence: UInt32): boolean := z_TestFenceAPPLE(fence); - - public z_FinishFenceAPPLE := GetGLFuncOrNil&('glFinishFenceAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishFenceAPPLE(fence: UInt32) := z_FinishFenceAPPLE(fence); - - public z_TestObjectAPPLE := GetGLFuncOrNil&('glTestObjectAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function TestObjectAPPLE(object: DummyEnum; name: UInt32): boolean := z_TestObjectAPPLE(object, name); - - public z_FinishObjectAPPLE := GetGLFuncOrNil&('glFinishObjectAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishObjectAPPLE(object: DummyEnum; name: Int32) := z_FinishObjectAPPLE(object, name); - - {$endregion APPLE_fence} - - {$region APPLE_vertex_program_evaluators} - - public z_EnableVertexAttribAPPLE := GetGLFuncOrNil&('glEnableVertexAttribAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribAPPLE(index: UInt32; pname: DummyEnum) := z_EnableVertexAttribAPPLE(index, pname); - - public z_DisableVertexAttribAPPLE := GetGLFuncOrNil&('glDisableVertexAttribAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribAPPLE(index: UInt32; pname: DummyEnum) := z_DisableVertexAttribAPPLE(index, pname); - - public z_IsVertexAttribEnabledAPPLE := GetGLFuncOrNil&('glIsVertexAttribEnabledAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexAttribEnabledAPPLE(index: UInt32; pname: DummyEnum): boolean := z_IsVertexAttribEnabledAPPLE(index, pname); - - public z_MapVertexAttrib1dAPPLE := GetGLFuncOrNil&('glMapVertexAttrib1dAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1dAPPLE(index: UInt32; size: UInt32; u1: double; u2: double; stride: Int32; order: Int32; points: array of double) := MapVertexAttrib1dAPPLE(index, size, u1, u2, stride, order, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1dAPPLE(index: UInt32; size: UInt32; u1: double; u2: double; stride: Int32; order: Int32; var points: double) := MapVertexAttrib1dAPPLE(index, size, u1, u2, stride, order, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1dAPPLE(index: UInt32; size: UInt32; u1: double; u2: double; stride: Int32; order: Int32; points: pointer) := z_MapVertexAttrib1dAPPLE(index, size, u1, u2, stride, order, points); - - public z_MapVertexAttrib1fAPPLE := GetGLFuncOrNil&('glMapVertexAttrib1fAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; stride: Int32; order: Int32; points: array of single) := MapVertexAttrib1fAPPLE(index, size, u1, u2, stride, order, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; stride: Int32; order: Int32; var points: single) := MapVertexAttrib1fAPPLE(index, size, u1, u2, stride, order, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; stride: Int32; order: Int32; points: pointer) := z_MapVertexAttrib1fAPPLE(index, size, u1, u2, stride, order, points); - - public z_MapVertexAttrib2dAPPLE := GetGLFuncOrNil&('glMapVertexAttrib2dAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2dAPPLE(index: UInt32; size: UInt32; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; points: array of double) := MapVertexAttrib2dAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2dAPPLE(index: UInt32; size: UInt32; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; var points: double) := MapVertexAttrib2dAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2dAPPLE(index: UInt32; size: UInt32; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; points: pointer) := z_MapVertexAttrib2dAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); - - public z_MapVertexAttrib2fAPPLE := GetGLFuncOrNil&('glMapVertexAttrib2fAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: array of single) := MapVertexAttrib2fAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; var points: single) := MapVertexAttrib2fAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: pointer) := z_MapVertexAttrib2fAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); - - {$endregion APPLE_vertex_program_evaluators} - - {$region APPLE_element_array} - - public z_ElementPointerAPPLE := GetGLFuncOrNil&('glElementPointerAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ElementPointerAPPLE(&type: DummyEnum; _pointer: pointer) := z_ElementPointerAPPLE(&type, _pointer); - - public z_DrawElementArrayAPPLE := GetGLFuncOrNil&('glDrawElementArrayAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementArrayAPPLE(mode: DummyEnum; first: Int32; count: Int32) := z_DrawElementArrayAPPLE(mode, first, count); - - public z_DrawRangeElementArrayAPPLE := GetGLFuncOrNil&('glDrawRangeElementArrayAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: Int32; count: Int32) := z_DrawRangeElementArrayAPPLE(mode, start, &end, first, count); - - public z_MultiDrawElementArrayAPPLE := GetGLFuncOrNil&('glMultiDrawElementArrayAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; first: array of Int32; count: array of Int32; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; first: array of Int32; var count: Int32; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; first: array of Int32; count: pointer; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; var first: Int32; count: array of Int32; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, @first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; var first: Int32; var count: Int32; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, @first, @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; var first: Int32; count: pointer; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, @first, count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; first: pointer; count: array of Int32; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; first: pointer; var count: Int32; primcount: Int32) := MultiDrawElementArrayAPPLE(mode, first, @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: DummyEnum; first: pointer; count: pointer; primcount: Int32) := z_MultiDrawElementArrayAPPLE(mode, first, count, primcount); - - public z_MultiDrawRangeElementArrayAPPLE := GetGLFuncOrNil&('glMultiDrawRangeElementArrayAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: array of Int32; count: array of Int32; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: array of Int32; var count: Int32; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: array of Int32; count: pointer; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; var first: Int32; count: array of Int32; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, @first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; var first: Int32; var count: Int32; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, @first, @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; var first: Int32; count: pointer; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, @first, count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: pointer; count: array of Int32; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: pointer; var count: Int32; primcount: Int32) := MultiDrawRangeElementArrayAPPLE(mode, start, &end, first, @count, primcount); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: DummyEnum; start: UInt32; &end: UInt32; first: pointer; count: pointer; primcount: Int32) := z_MultiDrawRangeElementArrayAPPLE(mode, start, &end, first, count, primcount); - - {$endregion APPLE_element_array} - - {$region APPLE_vertex_array_range} - - public z_VertexArrayRangeAPPLE := GetGLFuncOrNil&('glVertexArrayRangeAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayRangeAPPLE(length: Int32; _pointer: pointer) := z_VertexArrayRangeAPPLE(length, _pointer); - - public z_FlushVertexArrayRangeAPPLE := GetGLFuncOrNil&('glFlushVertexArrayRangeAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushVertexArrayRangeAPPLE(length: Int32; _pointer: pointer) := z_FlushVertexArrayRangeAPPLE(length, _pointer); - - public z_VertexArrayParameteriAPPLE := GetGLFuncOrNil&('glVertexArrayParameteriAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayParameteriAPPLE(pname: DummyEnum; param: Int32) := z_VertexArrayParameteriAPPLE(pname, param); - - {$endregion APPLE_vertex_array_range} - - {$region APPLE_object_purgeable} - - public z_ObjectPurgeableAPPLE := GetGLFuncOrNil&('glObjectPurgeableAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ObjectPurgeableAPPLE(objectType: DummyEnum; name: UInt32; option: DummyEnum): DummyEnum := z_ObjectPurgeableAPPLE(objectType, name, option); - - public z_ObjectUnpurgeableAPPLE := GetGLFuncOrNil&('glObjectUnpurgeableAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ObjectUnpurgeableAPPLE(objectType: DummyEnum; name: UInt32; option: DummyEnum): DummyEnum := z_ObjectUnpurgeableAPPLE(objectType, name, option); - - public z_GetObjectParameterivAPPLE := GetGLFuncOrNil&('glGetObjectParameterivAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivAPPLE(objectType: DummyEnum; name: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetObjectParameterivAPPLE(objectType, name, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivAPPLE(objectType: DummyEnum; name: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetObjectParameterivAPPLE(objectType, name, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivAPPLE(objectType: DummyEnum; name: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetObjectParameterivAPPLE(objectType, name, pname, ¶ms); - - {$endregion APPLE_object_purgeable} - - {$region APPLE_texture_range} - - public z_TextureRangeAPPLE := GetGLFuncOrNil&('glTextureRangeAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureRangeAPPLE(target: DummyEnum; length: Int32; _pointer: pointer) := z_TextureRangeAPPLE(target, length, _pointer); - - public z_GetTexParameterPointervAPPLE := GetGLFuncOrNil&('glGetTexParameterPointervAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterPointervAPPLE(target: DummyEnum; pname: DummyEnum; ¶ms: array of IntPtr) := GetTexParameterPointervAPPLE(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterPointervAPPLE(target: DummyEnum; pname: DummyEnum; var ¶ms: IntPtr) := GetTexParameterPointervAPPLE(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterPointervAPPLE(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexParameterPointervAPPLE(target, pname, ¶ms); - - {$endregion APPLE_texture_range} - - {$region APPLE_framebuffer_multisample} - - public z_RenderbufferStorageMultisampleAPPLE := GetGLFuncOrNil&('glRenderbufferStorageMultisampleAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleAPPLE(target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleAPPLE(target, samples, internalformat, width, height); - - public z_ResolveMultisampleFramebufferAPPLE := GetGLFuncOrNil&('glResolveMultisampleFramebufferAPPLE'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResolveMultisampleFramebufferAPPLE := z_ResolveMultisampleFramebufferAPPLE; - - {$endregion APPLE_framebuffer_multisample} + public z_MultiDrawElementsIndirectAMD_adr := GetFuncAdr('glMultiDrawElementsIndirectAMD'); + public z_MultiDrawElementsIndirectAMD_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsIndirectAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectAMD(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr; primcount: Int32; stride: Int32); + begin + z_MultiDrawElementsIndirectAMD_ovr_0(mode, &type, indirect, primcount, stride); + end; end; - gl_ATI = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glNameGenDeleteAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenNamesAMD_adr := GetFuncAdr('glGenNamesAMD'); + public z_GenNamesAMD_ovr_0 := GetFuncOrNil&(z_GenNamesAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenNamesAMD(identifier: DummyEnum; num: UInt32; names: array of UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_GenNamesAMD_ovr_0(identifier, num, names[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenNamesAMD(identifier: DummyEnum; num: UInt32; var names: UInt32); + begin + z_GenNamesAMD_ovr_0(identifier, num, names); + end; + public z_GenNamesAMD_ovr_2 := GetFuncOrNil&(z_GenNamesAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenNamesAMD(identifier: DummyEnum; num: UInt32; names: IntPtr); + begin + z_GenNamesAMD_ovr_2(identifier, num, names); end; - {$region ATI_fragment_shader} - - public z_GenFragmentShadersATI := GetGLFuncOrNil&('glGenFragmentShadersATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenFragmentShadersATI(range: UInt32): UInt32 := z_GenFragmentShadersATI(range); - - public z_BindFragmentShaderATI := GetGLFuncOrNil&('glBindFragmentShaderATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragmentShaderATI(id: UInt32) := z_BindFragmentShaderATI(id); - - public z_DeleteFragmentShaderATI := GetGLFuncOrNil&('glDeleteFragmentShaderATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFragmentShaderATI(id: UInt32) := z_DeleteFragmentShaderATI(id); - - public z_BeginFragmentShaderATI := GetGLFuncOrNil&('glBeginFragmentShaderATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginFragmentShaderATI := z_BeginFragmentShaderATI; - - public z_EndFragmentShaderATI := GetGLFuncOrNil&('glEndFragmentShaderATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndFragmentShaderATI := z_EndFragmentShaderATI; - - public z_PassTexCoordATI := GetGLFuncOrNil&('glPassTexCoordATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PassTexCoordATI(dst: UInt32; coord: UInt32; swizzle: DummyEnum) := z_PassTexCoordATI(dst, coord, swizzle); - - public z_SampleMapATI := GetGLFuncOrNil&('glSampleMapATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMapATI(dst: UInt32; interp: UInt32; swizzle: DummyEnum) := z_SampleMapATI(dst, interp, swizzle); - - public z_ColorFragmentOp1ATI := GetGLFuncOrNil&('glColorFragmentOp1ATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFragmentOp1ATI(op: DummyEnum; dst: UInt32; dstMask: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32) := z_ColorFragmentOp1ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod); - - public z_ColorFragmentOp2ATI := GetGLFuncOrNil&('glColorFragmentOp2ATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFragmentOp2ATI(op: DummyEnum; dst: UInt32; dstMask: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32) := z_ColorFragmentOp2ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); - - public z_ColorFragmentOp3ATI := GetGLFuncOrNil&('glColorFragmentOp3ATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFragmentOp3ATI(op: DummyEnum; dst: UInt32; dstMask: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32; arg3: UInt32; arg3Rep: UInt32; arg3Mod: UInt32) := z_ColorFragmentOp3ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); - - public z_AlphaFragmentOp1ATI := GetGLFuncOrNil&('glAlphaFragmentOp1ATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFragmentOp1ATI(op: DummyEnum; dst: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32) := z_AlphaFragmentOp1ATI(op, dst, dstMod, arg1, arg1Rep, arg1Mod); - - public z_AlphaFragmentOp2ATI := GetGLFuncOrNil&('glAlphaFragmentOp2ATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFragmentOp2ATI(op: DummyEnum; dst: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32) := z_AlphaFragmentOp2ATI(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); - - public z_AlphaFragmentOp3ATI := GetGLFuncOrNil&('glAlphaFragmentOp3ATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFragmentOp3ATI(op: DummyEnum; dst: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32; arg3: UInt32; arg3Rep: UInt32; arg3Mod: UInt32) := z_AlphaFragmentOp3ATI(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); - - public z_SetFragmentShaderConstantATI := GetGLFuncOrNil&('glSetFragmentShaderConstantATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFragmentShaderConstantATI(dst: UInt32; value: array of single) := SetFragmentShaderConstantATI(dst, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFragmentShaderConstantATI(dst: UInt32; var value: single) := SetFragmentShaderConstantATI(dst, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFragmentShaderConstantATI(dst: UInt32; value: pointer) := z_SetFragmentShaderConstantATI(dst, value); - - {$endregion ATI_fragment_shader} - - {$region ATI_vertex_array_object} - - public z_NewObjectBufferATI := GetGLFuncOrNil&('glNewObjectBufferATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function NewObjectBufferATI(size: Int32; _pointer: pointer; usage: DummyEnum): UInt32 := z_NewObjectBufferATI(size, _pointer, usage); - - public z_IsObjectBufferATI := GetGLFuncOrNil&('glIsObjectBufferATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsObjectBufferATI(buffer: UInt32): boolean := z_IsObjectBufferATI(buffer); - - public z_UpdateObjectBufferATI := GetGLFuncOrNil&('glUpdateObjectBufferATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UpdateObjectBufferATI(buffer: UInt32; offset: UInt32; size: Int32; _pointer: pointer; preserve: DummyEnum) := z_UpdateObjectBufferATI(buffer, offset, size, _pointer, preserve); - - public z_GetObjectBufferfvATI := GetGLFuncOrNil&('glGetObjectBufferfvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferfvATI(buffer: UInt32; pname: DummyEnum; ¶ms: array of single) := GetObjectBufferfvATI(buffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferfvATI(buffer: UInt32; pname: DummyEnum; var ¶ms: single) := GetObjectBufferfvATI(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferfvATI(buffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetObjectBufferfvATI(buffer, pname, ¶ms); - - public z_GetObjectBufferivATI := GetGLFuncOrNil&('glGetObjectBufferivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferivATI(buffer: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetObjectBufferivATI(buffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferivATI(buffer: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetObjectBufferivATI(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferivATI(buffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetObjectBufferivATI(buffer, pname, ¶ms); - - public z_FreeObjectBufferATI := GetGLFuncOrNil&('glFreeObjectBufferATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FreeObjectBufferATI(buffer: UInt32) := z_FreeObjectBufferATI(buffer); - - public z_ArrayObjectATI := GetGLFuncOrNil&('glArrayObjectATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ArrayObjectATI(&array: DummyEnum; size: Int32; &type: DummyEnum; stride: Int32; buffer: UInt32; offset: UInt32) := z_ArrayObjectATI(&array, size, &type, stride, buffer, offset); - - public z_GetArrayObjectfvATI := GetGLFuncOrNil&('glGetArrayObjectfvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectfvATI(&array: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetArrayObjectfvATI(&array, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectfvATI(&array: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetArrayObjectfvATI(&array, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectfvATI(&array: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetArrayObjectfvATI(&array, pname, ¶ms); - - public z_GetArrayObjectivATI := GetGLFuncOrNil&('glGetArrayObjectivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectivATI(&array: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetArrayObjectivATI(&array, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectivATI(&array: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetArrayObjectivATI(&array, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectivATI(&array: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetArrayObjectivATI(&array, pname, ¶ms); - - public z_VariantArrayObjectATI := GetGLFuncOrNil&('glVariantArrayObjectATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantArrayObjectATI(id: UInt32; &type: DummyEnum; stride: Int32; buffer: UInt32; offset: UInt32) := z_VariantArrayObjectATI(id, &type, stride, buffer, offset); - - public z_GetVariantArrayObjectfvATI := GetGLFuncOrNil&('glGetVariantArrayObjectfvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectfvATI(id: UInt32; pname: DummyEnum; ¶ms: array of single) := GetVariantArrayObjectfvATI(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectfvATI(id: UInt32; pname: DummyEnum; var ¶ms: single) := GetVariantArrayObjectfvATI(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectfvATI(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVariantArrayObjectfvATI(id, pname, ¶ms); - - public z_GetVariantArrayObjectivATI := GetGLFuncOrNil&('glGetVariantArrayObjectivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectivATI(id: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVariantArrayObjectivATI(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectivATI(id: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVariantArrayObjectivATI(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectivATI(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVariantArrayObjectivATI(id, pname, ¶ms); - - {$endregion ATI_vertex_array_object} - - {$region ATI_vertex_streams} - - public z_VertexStream1sATI := GetGLFuncOrNil&('glVertexStream1sATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1sATI(stream: DummyEnum; x: Int16) := z_VertexStream1sATI(stream, x); - - public z_VertexStream1iATI := GetGLFuncOrNil&('glVertexStream1iATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1iATI(stream: DummyEnum; x: Int32) := z_VertexStream1iATI(stream, x); - - public z_VertexStream1fATI := GetGLFuncOrNil&('glVertexStream1fATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fATI(stream: DummyEnum; x: single) := z_VertexStream1fATI(stream, x); - - public z_VertexStream1dATI := GetGLFuncOrNil&('glVertexStream1dATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dATI(stream: DummyEnum; x: double) := z_VertexStream1dATI(stream, x); - - public z_VertexStream2sATI := GetGLFuncOrNil&('glVertexStream2sATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2sATI(stream: DummyEnum; x: Int16; y: Int16) := z_VertexStream2sATI(stream, x, y); - - public z_VertexStream2iATI := GetGLFuncOrNil&('glVertexStream2iATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2iATI(stream: DummyEnum; x: Int32; y: Int32) := z_VertexStream2iATI(stream, x, y); - - public z_VertexStream2fATI := GetGLFuncOrNil&('glVertexStream2fATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fATI(stream: DummyEnum; x: single; y: single) := z_VertexStream2fATI(stream, x, y); - - public z_VertexStream2dATI := GetGLFuncOrNil&('glVertexStream2dATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dATI(stream: DummyEnum; x: double; y: double) := z_VertexStream2dATI(stream, x, y); - - public z_VertexStream3sATI := GetGLFuncOrNil&('glVertexStream3sATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3sATI(stream: DummyEnum; x: Int16; y: Int16; z: Int16) := z_VertexStream3sATI(stream, x, y, z); - - public z_VertexStream3iATI := GetGLFuncOrNil&('glVertexStream3iATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3iATI(stream: DummyEnum; x: Int32; y: Int32; z: Int32) := z_VertexStream3iATI(stream, x, y, z); - - public z_VertexStream3fATI := GetGLFuncOrNil&('glVertexStream3fATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fATI(stream: DummyEnum; x: single; y: single; z: single) := z_VertexStream3fATI(stream, x, y, z); - - public z_VertexStream3dATI := GetGLFuncOrNil&('glVertexStream3dATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dATI(stream: DummyEnum; x: double; y: double; z: double) := z_VertexStream3dATI(stream, x, y, z); - - public z_VertexStream4sATI := GetGLFuncOrNil&('glVertexStream4sATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4sATI(stream: DummyEnum; x: Int16; y: Int16; z: Int16; w: Int16) := z_VertexStream4sATI(stream, x, y, z, w); - - public z_VertexStream4iATI := GetGLFuncOrNil&('glVertexStream4iATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4iATI(stream: DummyEnum; x: Int32; y: Int32; z: Int32; w: Int32) := z_VertexStream4iATI(stream, x, y, z, w); - - public z_VertexStream4fATI := GetGLFuncOrNil&('glVertexStream4fATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fATI(stream: DummyEnum; x: single; y: single; z: single; w: single) := z_VertexStream4fATI(stream, x, y, z, w); - - public z_VertexStream4dATI := GetGLFuncOrNil&('glVertexStream4dATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dATI(stream: DummyEnum; x: double; y: double; z: double; w: double) := z_VertexStream4dATI(stream, x, y, z, w); - - public z_VertexStream1svATI := GetGLFuncOrNil&('glVertexStream1svATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1svATI(stream: DummyEnum; coords: array of Int16) := VertexStream1svATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1svATI(stream: DummyEnum; var coords: Int16) := VertexStream1svATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1svATI(stream: DummyEnum; coords: pointer) := z_VertexStream1svATI(stream, coords); - - public z_VertexStream1ivATI := GetGLFuncOrNil&('glVertexStream1ivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1ivATI(stream: DummyEnum; coords: array of Int32) := VertexStream1ivATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1ivATI(stream: DummyEnum; var coords: Int32) := VertexStream1ivATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1ivATI(stream: DummyEnum; coords: pointer) := z_VertexStream1ivATI(stream, coords); - - public z_VertexStream1fvATI := GetGLFuncOrNil&('glVertexStream1fvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fvATI(stream: DummyEnum; coords: array of single) := VertexStream1fvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fvATI(stream: DummyEnum; var coords: single) := VertexStream1fvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fvATI(stream: DummyEnum; coords: pointer) := z_VertexStream1fvATI(stream, coords); - - public z_VertexStream1dvATI := GetGLFuncOrNil&('glVertexStream1dvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dvATI(stream: DummyEnum; coords: array of double) := VertexStream1dvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dvATI(stream: DummyEnum; var coords: double) := VertexStream1dvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dvATI(stream: DummyEnum; coords: pointer) := z_VertexStream1dvATI(stream, coords); - - public z_VertexStream2svATI := GetGLFuncOrNil&('glVertexStream2svATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2svATI(stream: DummyEnum; coords: array of Int16) := VertexStream2svATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2svATI(stream: DummyEnum; var coords: Int16) := VertexStream2svATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2svATI(stream: DummyEnum; coords: pointer) := z_VertexStream2svATI(stream, coords); - - public z_VertexStream2ivATI := GetGLFuncOrNil&('glVertexStream2ivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2ivATI(stream: DummyEnum; coords: array of Int32) := VertexStream2ivATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2ivATI(stream: DummyEnum; var coords: Int32) := VertexStream2ivATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2ivATI(stream: DummyEnum; coords: pointer) := z_VertexStream2ivATI(stream, coords); - - public z_VertexStream2fvATI := GetGLFuncOrNil&('glVertexStream2fvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fvATI(stream: DummyEnum; coords: array of single) := VertexStream2fvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fvATI(stream: DummyEnum; var coords: single) := VertexStream2fvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fvATI(stream: DummyEnum; coords: pointer) := z_VertexStream2fvATI(stream, coords); - - public z_VertexStream2dvATI := GetGLFuncOrNil&('glVertexStream2dvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dvATI(stream: DummyEnum; coords: array of double) := VertexStream2dvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dvATI(stream: DummyEnum; var coords: double) := VertexStream2dvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dvATI(stream: DummyEnum; coords: pointer) := z_VertexStream2dvATI(stream, coords); - - public z_VertexStream3svATI := GetGLFuncOrNil&('glVertexStream3svATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3svATI(stream: DummyEnum; coords: array of Int16) := VertexStream3svATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3svATI(stream: DummyEnum; var coords: Int16) := VertexStream3svATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3svATI(stream: DummyEnum; coords: pointer) := z_VertexStream3svATI(stream, coords); - - public z_VertexStream3ivATI := GetGLFuncOrNil&('glVertexStream3ivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3ivATI(stream: DummyEnum; coords: array of Int32) := VertexStream3ivATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3ivATI(stream: DummyEnum; var coords: Int32) := VertexStream3ivATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3ivATI(stream: DummyEnum; coords: pointer) := z_VertexStream3ivATI(stream, coords); - - public z_VertexStream3fvATI := GetGLFuncOrNil&('glVertexStream3fvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fvATI(stream: DummyEnum; coords: array of single) := VertexStream3fvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fvATI(stream: DummyEnum; var coords: single) := VertexStream3fvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fvATI(stream: DummyEnum; coords: pointer) := z_VertexStream3fvATI(stream, coords); - - public z_VertexStream3dvATI := GetGLFuncOrNil&('glVertexStream3dvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dvATI(stream: DummyEnum; coords: array of double) := VertexStream3dvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dvATI(stream: DummyEnum; var coords: double) := VertexStream3dvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dvATI(stream: DummyEnum; coords: pointer) := z_VertexStream3dvATI(stream, coords); - - public z_VertexStream4svATI := GetGLFuncOrNil&('glVertexStream4svATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4svATI(stream: DummyEnum; coords: array of Int16) := VertexStream4svATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4svATI(stream: DummyEnum; var coords: Int16) := VertexStream4svATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4svATI(stream: DummyEnum; coords: pointer) := z_VertexStream4svATI(stream, coords); - - public z_VertexStream4ivATI := GetGLFuncOrNil&('glVertexStream4ivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4ivATI(stream: DummyEnum; coords: array of Int32) := VertexStream4ivATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4ivATI(stream: DummyEnum; var coords: Int32) := VertexStream4ivATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4ivATI(stream: DummyEnum; coords: pointer) := z_VertexStream4ivATI(stream, coords); - - public z_VertexStream4fvATI := GetGLFuncOrNil&('glVertexStream4fvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fvATI(stream: DummyEnum; coords: array of single) := VertexStream4fvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fvATI(stream: DummyEnum; var coords: single) := VertexStream4fvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fvATI(stream: DummyEnum; coords: pointer) := z_VertexStream4fvATI(stream, coords); - - public z_VertexStream4dvATI := GetGLFuncOrNil&('glVertexStream4dvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dvATI(stream: DummyEnum; coords: array of double) := VertexStream4dvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dvATI(stream: DummyEnum; var coords: double) := VertexStream4dvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dvATI(stream: DummyEnum; coords: pointer) := z_VertexStream4dvATI(stream, coords); - - public z_NormalStream3bATI := GetGLFuncOrNil&('glNormalStream3bATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bATI(stream: DummyEnum; nx: SByte; ny: SByte; nz: SByte) := z_NormalStream3bATI(stream, nx, ny, nz); - - public z_NormalStream3sATI := GetGLFuncOrNil&('glNormalStream3sATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3sATI(stream: DummyEnum; nx: Int16; ny: Int16; nz: Int16) := z_NormalStream3sATI(stream, nx, ny, nz); - - public z_NormalStream3iATI := GetGLFuncOrNil&('glNormalStream3iATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3iATI(stream: DummyEnum; nx: Int32; ny: Int32; nz: Int32) := z_NormalStream3iATI(stream, nx, ny, nz); - - public z_NormalStream3fATI := GetGLFuncOrNil&('glNormalStream3fATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fATI(stream: DummyEnum; nx: single; ny: single; nz: single) := z_NormalStream3fATI(stream, nx, ny, nz); - - public z_NormalStream3dATI := GetGLFuncOrNil&('glNormalStream3dATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dATI(stream: DummyEnum; nx: double; ny: double; nz: double) := z_NormalStream3dATI(stream, nx, ny, nz); - - public z_NormalStream3bvATI := GetGLFuncOrNil&('glNormalStream3bvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bvATI(stream: DummyEnum; coords: array of SByte) := NormalStream3bvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bvATI(stream: DummyEnum; var coords: SByte) := NormalStream3bvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bvATI(stream: DummyEnum; coords: pointer) := z_NormalStream3bvATI(stream, coords); - - public z_NormalStream3svATI := GetGLFuncOrNil&('glNormalStream3svATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3svATI(stream: DummyEnum; coords: array of Int16) := NormalStream3svATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3svATI(stream: DummyEnum; var coords: Int16) := NormalStream3svATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3svATI(stream: DummyEnum; coords: pointer) := z_NormalStream3svATI(stream, coords); - - public z_NormalStream3ivATI := GetGLFuncOrNil&('glNormalStream3ivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3ivATI(stream: DummyEnum; coords: array of Int32) := NormalStream3ivATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3ivATI(stream: DummyEnum; var coords: Int32) := NormalStream3ivATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3ivATI(stream: DummyEnum; coords: pointer) := z_NormalStream3ivATI(stream, coords); - - public z_NormalStream3fvATI := GetGLFuncOrNil&('glNormalStream3fvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fvATI(stream: DummyEnum; coords: array of single) := NormalStream3fvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fvATI(stream: DummyEnum; var coords: single) := NormalStream3fvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fvATI(stream: DummyEnum; coords: pointer) := z_NormalStream3fvATI(stream, coords); - - public z_NormalStream3dvATI := GetGLFuncOrNil&('glNormalStream3dvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dvATI(stream: DummyEnum; coords: array of double) := NormalStream3dvATI(stream, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dvATI(stream: DummyEnum; var coords: double) := NormalStream3dvATI(stream, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dvATI(stream: DummyEnum; coords: pointer) := z_NormalStream3dvATI(stream, coords); - - public z_ClientActiveVertexStreamATI := GetGLFuncOrNil&('glClientActiveVertexStreamATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientActiveVertexStreamATI(stream: DummyEnum) := z_ClientActiveVertexStreamATI(stream); - - public z_VertexBlendEnviATI := GetGLFuncOrNil&('glVertexBlendEnviATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBlendEnviATI(pname: DummyEnum; param: Int32) := z_VertexBlendEnviATI(pname, param); - - public z_VertexBlendEnvfATI := GetGLFuncOrNil&('glVertexBlendEnvfATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBlendEnvfATI(pname: DummyEnum; param: single) := z_VertexBlendEnvfATI(pname, param); - - {$endregion ATI_vertex_streams} - - {$region ATI_draw_buffers} - - public z_DrawBuffersATI := GetGLFuncOrNil&('glDrawBuffersATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersATI(n: Int32; bufs: array of DummyEnum) := DrawBuffersATI(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersATI(n: Int32; var bufs: DummyEnum) := DrawBuffersATI(n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersATI(n: Int32; bufs: pointer) := z_DrawBuffersATI(n, bufs); - - {$endregion ATI_draw_buffers} - - {$region ATI_element_array} - - public z_ElementPointerATI := GetGLFuncOrNil&('glElementPointerATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ElementPointerATI(&type: DummyEnum; _pointer: pointer) := z_ElementPointerATI(&type, _pointer); - - public z_DrawElementArrayATI := GetGLFuncOrNil&('glDrawElementArrayATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementArrayATI(mode: DummyEnum; count: Int32) := z_DrawElementArrayATI(mode, count); - - public z_DrawRangeElementArrayATI := GetGLFuncOrNil&('glDrawRangeElementArrayATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementArrayATI(mode: DummyEnum; start: UInt32; &end: UInt32; count: Int32) := z_DrawRangeElementArrayATI(mode, start, &end, count); - - {$endregion ATI_element_array} - - {$region ATI_envmap_bumpmap} - - public z_TexBumpParameterivATI := GetGLFuncOrNil&('glTexBumpParameterivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterivATI(pname: DummyEnum; param: array of Int32) := TexBumpParameterivATI(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterivATI(pname: DummyEnum; var param: Int32) := TexBumpParameterivATI(pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterivATI(pname: DummyEnum; param: pointer) := z_TexBumpParameterivATI(pname, param); - - public z_TexBumpParameterfvATI := GetGLFuncOrNil&('glTexBumpParameterfvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterfvATI(pname: DummyEnum; param: array of single) := TexBumpParameterfvATI(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterfvATI(pname: DummyEnum; var param: single) := TexBumpParameterfvATI(pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterfvATI(pname: DummyEnum; param: pointer) := z_TexBumpParameterfvATI(pname, param); - - public z_GetTexBumpParameterivATI := GetGLFuncOrNil&('glGetTexBumpParameterivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterivATI(pname: DummyEnum; param: array of Int32) := GetTexBumpParameterivATI(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterivATI(pname: DummyEnum; var param: Int32) := GetTexBumpParameterivATI(pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterivATI(pname: DummyEnum; param: pointer) := z_GetTexBumpParameterivATI(pname, param); - - public z_GetTexBumpParameterfvATI := GetGLFuncOrNil&('glGetTexBumpParameterfvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterfvATI(pname: DummyEnum; param: array of single) := GetTexBumpParameterfvATI(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterfvATI(pname: DummyEnum; var param: single) := GetTexBumpParameterfvATI(pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterfvATI(pname: DummyEnum; param: pointer) := z_GetTexBumpParameterfvATI(pname, param); - - {$endregion ATI_envmap_bumpmap} - - {$region ATI_vertex_attrib_array_object} - - public z_VertexAttribArrayObjectATI := GetGLFuncOrNil&('glVertexAttribArrayObjectATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribArrayObjectATI(index: UInt32; size: Int32; &type: DummyEnum; normalized: boolean; stride: Int32; buffer: UInt32; offset: UInt32) := z_VertexAttribArrayObjectATI(index, size, &type, normalized, stride, buffer, offset); - - public z_GetVertexAttribArrayObjectfvATI := GetGLFuncOrNil&('glGetVertexAttribArrayObjectfvATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectfvATI(index: UInt32; pname: DummyEnum; ¶ms: array of single) := GetVertexAttribArrayObjectfvATI(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectfvATI(index: UInt32; pname: DummyEnum; var ¶ms: single) := GetVertexAttribArrayObjectfvATI(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectfvATI(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribArrayObjectfvATI(index, pname, ¶ms); - - public z_GetVertexAttribArrayObjectivATI := GetGLFuncOrNil&('glGetVertexAttribArrayObjectivATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectivATI(index: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVertexAttribArrayObjectivATI(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectivATI(index: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVertexAttribArrayObjectivATI(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectivATI(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribArrayObjectivATI(index, pname, ¶ms); - - {$endregion ATI_vertex_attrib_array_object} - - {$region ATI_map_object_buffer} - - public z_MapObjectBufferATI := GetGLFuncOrNil&('glMapObjectBufferATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapObjectBufferATI(buffer: UInt32): pointer := z_MapObjectBufferATI(buffer); - - public z_UnmapObjectBufferATI := GetGLFuncOrNil&('glUnmapObjectBufferATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UnmapObjectBufferATI(buffer: UInt32) := z_UnmapObjectBufferATI(buffer); - - {$endregion ATI_map_object_buffer} - - {$region ATI_pn_triangles} - - public z_PNTrianglesiATI := GetGLFuncOrNil&('glPNTrianglesiATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PNTrianglesiATI(pname: DummyEnum; param: Int32) := z_PNTrianglesiATI(pname, param); - - public z_PNTrianglesfATI := GetGLFuncOrNil&('glPNTrianglesfATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PNTrianglesfATI(pname: DummyEnum; param: single) := z_PNTrianglesfATI(pname, param); - - {$endregion ATI_pn_triangles} - - {$region ATI_separate_stencil} - - public z_StencilOpSeparateATI := GetGLFuncOrNil&('glStencilOpSeparateATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOpSeparateATI(face: DummyEnum; sfail: DummyEnum; dpfail: DummyEnum; dppass: DummyEnum) := z_StencilOpSeparateATI(face, sfail, dpfail, dppass); - - public z_StencilFuncSeparateATI := GetGLFuncOrNil&('glStencilFuncSeparateATI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFuncSeparateATI(frontfunc: DummyEnum; backfunc: DummyEnum; ref: Int32; mask: UInt32) := z_StencilFuncSeparateATI(frontfunc, backfunc, ref, mask); - - {$endregion ATI_separate_stencil} + public z_DeleteNamesAMD_adr := GetFuncAdr('glDeleteNamesAMD'); + public z_DeleteNamesAMD_ovr_0 := GetFuncOrNil&(z_DeleteNamesAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamesAMD(identifier: DummyEnum; num: UInt32; names: array of UInt32); + begin + z_DeleteNamesAMD_ovr_0(identifier, num, names[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamesAMD(identifier: DummyEnum; num: UInt32; var names: UInt32); + begin + z_DeleteNamesAMD_ovr_0(identifier, num, names); + end; + public z_DeleteNamesAMD_ovr_2 := GetFuncOrNil&(z_DeleteNamesAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamesAMD(identifier: DummyEnum; num: UInt32; names: IntPtr); + begin + z_DeleteNamesAMD_ovr_2(identifier, num, names); + end; + + public z_IsNameAMD_adr := GetFuncAdr('glIsNameAMD'); + public z_IsNameAMD_ovr_0 := GetFuncOrNil&(z_IsNameAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNameAMD(identifier: DummyEnum; name: UInt32): boolean; + begin + Result := z_IsNameAMD_ovr_0(identifier, name); + end; end; - gl_GREMEDY = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glOcclusionQueryEventAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_QueryObjectParameteruiAMD_adr := GetFuncAdr('glQueryObjectParameteruiAMD'); + public z_QueryObjectParameteruiAMD_ovr_0 := GetFuncOrNil&(z_QueryObjectParameteruiAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryObjectParameteruiAMD(target: QueryTarget; id: UInt32; pname: DummyEnum; param: UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_QueryObjectParameteruiAMD_ovr_0(target, id, pname, param); end; - {$region GREMEDY_frame_terminator} - - public z_FrameTerminatorGREMEDY := GetGLFuncOrNil&('glFrameTerminatorGREMEDY'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrameTerminatorGREMEDY := z_FrameTerminatorGREMEDY; - - {$endregion GREMEDY_frame_terminator} - - {$region GREMEDY_string_marker} - - public z_StringMarkerGREMEDY := GetGLFuncOrNil&('glStringMarkerGREMEDY'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StringMarkerGREMEDY(len: Int32; string: pointer) := z_StringMarkerGREMEDY(len, string); - - {$endregion GREMEDY_string_marker} - end; - gl_HP = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glPerformanceMonitorAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetPerfMonitorGroupsAMD_adr := GetFuncAdr('glGetPerfMonitorGroupsAMD'); + public z_GetPerfMonitorGroupsAMD_ovr_0 := GetFuncOrNil&(z_GetPerfMonitorGroupsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: array of Int32; groupsSize: Int32; groups: array of UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_GetPerfMonitorGroupsAMD_ovr_0(numGroups[0], groupsSize, groups[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: array of Int32; groupsSize: Int32; var groups: UInt32); + begin + z_GetPerfMonitorGroupsAMD_ovr_0(numGroups[0], groupsSize, groups); + end; + public z_GetPerfMonitorGroupsAMD_ovr_2 := GetFuncOrNil&(z_GetPerfMonitorGroupsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: array of Int32; groupsSize: Int32; groups: IntPtr); + begin + z_GetPerfMonitorGroupsAMD_ovr_2(numGroups[0], groupsSize, groups); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(var numGroups: Int32; groupsSize: Int32; groups: array of UInt32); + begin + z_GetPerfMonitorGroupsAMD_ovr_0(numGroups, groupsSize, groups[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(var numGroups: Int32; groupsSize: Int32; var groups: UInt32); + begin + z_GetPerfMonitorGroupsAMD_ovr_0(numGroups, groupsSize, groups); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(var numGroups: Int32; groupsSize: Int32; groups: IntPtr); + begin + z_GetPerfMonitorGroupsAMD_ovr_2(numGroups, groupsSize, groups); + end; + public z_GetPerfMonitorGroupsAMD_ovr_6 := GetFuncOrNil&(z_GetPerfMonitorGroupsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: IntPtr; groupsSize: Int32; groups: array of UInt32); + begin + z_GetPerfMonitorGroupsAMD_ovr_6(numGroups, groupsSize, groups[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: IntPtr; groupsSize: Int32; var groups: UInt32); + begin + z_GetPerfMonitorGroupsAMD_ovr_6(numGroups, groupsSize, groups); + end; + public z_GetPerfMonitorGroupsAMD_ovr_8 := GetFuncOrNil&(z_GetPerfMonitorGroupsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupsAMD(numGroups: IntPtr; groupsSize: Int32; groups: IntPtr); + begin + z_GetPerfMonitorGroupsAMD_ovr_8(numGroups, groupsSize, groups); end; - {$region HP_image_transform} + public z_GetPerfMonitorCountersAMD_adr := GetFuncAdr('glGetPerfMonitorCountersAMD'); + public z_GetPerfMonitorCountersAMD_ovr_0 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters[0], maxActiveCounters[0], counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: array of Int32; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters[0], maxActiveCounters[0], counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_2 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_2(group, numCounters[0], maxActiveCounters[0], counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters[0], maxActiveCounters, counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; var maxActiveCounters: Int32; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters[0], maxActiveCounters, counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_2(group, numCounters[0], maxActiveCounters, counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_6 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: IntPtr; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_6(group, numCounters[0], maxActiveCounters, counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: IntPtr; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_6(group, numCounters[0], maxActiveCounters, counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_8 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: array of Int32; maxActiveCounters: IntPtr; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_8(group, numCounters[0], maxActiveCounters, counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters, maxActiveCounters[0], counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: array of Int32; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters, maxActiveCounters[0], counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: array of Int32; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_2(group, numCounters, maxActiveCounters[0], counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters, maxActiveCounters, counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; var maxActiveCounters: Int32; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_0(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; var maxActiveCounters: Int32; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_2(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: IntPtr; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_6(group, numCounters, maxActiveCounters, counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: IntPtr; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_6(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; var numCounters: Int32; maxActiveCounters: IntPtr; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_8(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_18 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; maxActiveCounters: array of Int32; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_18(group, numCounters, maxActiveCounters[0], counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; maxActiveCounters: array of Int32; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_18(group, numCounters, maxActiveCounters[0], counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_20 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; maxActiveCounters: array of Int32; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_20(group, numCounters, maxActiveCounters[0], counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; var maxActiveCounters: Int32; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_18(group, numCounters, maxActiveCounters, counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; var maxActiveCounters: Int32; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_18(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; var maxActiveCounters: Int32; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_20(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_24 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; maxActiveCounters: IntPtr; counterSize: Int32; counters: array of UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_24(group, numCounters, maxActiveCounters, counterSize, counters[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; maxActiveCounters: IntPtr; counterSize: Int32; var counters: UInt32); + begin + z_GetPerfMonitorCountersAMD_ovr_24(group, numCounters, maxActiveCounters, counterSize, counters); + end; + public z_GetPerfMonitorCountersAMD_ovr_26 := GetFuncOrNil&(z_GetPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCountersAMD(group: UInt32; numCounters: IntPtr; maxActiveCounters: IntPtr; counterSize: Int32; counters: IntPtr); + begin + z_GetPerfMonitorCountersAMD_ovr_26(group, numCounters, maxActiveCounters, counterSize, counters); + end; - public z_ImageTransformParameteriHP := GetGLFuncOrNil&('glImageTransformParameteriHP'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameteriHP(target: DummyEnum; pname: DummyEnum; param: Int32) := z_ImageTransformParameteriHP(target, pname, param); + public z_GetPerfMonitorGroupStringAMD_adr := GetFuncAdr('glGetPerfMonitorGroupStringAMD'); + public z_GetPerfMonitorGroupStringAMD_ovr_0 := GetFuncOrNil&(z_GetPerfMonitorGroupStringAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; length: array of Int32; groupString: IntPtr); + begin + z_GetPerfMonitorGroupStringAMD_ovr_0(group, bufSize, length[0], groupString); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; var length: Int32; groupString: IntPtr); + begin + z_GetPerfMonitorGroupStringAMD_ovr_0(group, bufSize, length, groupString); + end; + public z_GetPerfMonitorGroupStringAMD_ovr_2 := GetFuncOrNil&(z_GetPerfMonitorGroupStringAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorGroupStringAMD(group: UInt32; bufSize: Int32; length: IntPtr; groupString: IntPtr); + begin + z_GetPerfMonitorGroupStringAMD_ovr_2(group, bufSize, length, groupString); + end; - public z_ImageTransformParameterfHP := GetGLFuncOrNil&('glImageTransformParameterfHP'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfHP(target: DummyEnum; pname: DummyEnum; param: single) := z_ImageTransformParameterfHP(target, pname, param); + public z_GetPerfMonitorCounterStringAMD_adr := GetFuncAdr('glGetPerfMonitorCounterStringAMD'); + public z_GetPerfMonitorCounterStringAMD_ovr_0 := GetFuncOrNil&(z_GetPerfMonitorCounterStringAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; length: array of Int32; counterString: IntPtr); + begin + z_GetPerfMonitorCounterStringAMD_ovr_0(group, counter, bufSize, length[0], counterString); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; var length: Int32; counterString: IntPtr); + begin + z_GetPerfMonitorCounterStringAMD_ovr_0(group, counter, bufSize, length, counterString); + end; + public z_GetPerfMonitorCounterStringAMD_ovr_2 := GetFuncOrNil&(z_GetPerfMonitorCounterStringAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterStringAMD(group: UInt32; counter: UInt32; bufSize: Int32; length: IntPtr; counterString: IntPtr); + begin + z_GetPerfMonitorCounterStringAMD_ovr_2(group, counter, bufSize, length, counterString); + end; - public z_ImageTransformParameterivHP := GetGLFuncOrNil&('glImageTransformParameterivHP'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterivHP(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := ImageTransformParameterivHP(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterivHP(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := ImageTransformParameterivHP(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterivHP(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ImageTransformParameterivHP(target, pname, ¶ms); + public z_GetPerfMonitorCounterInfoAMD_adr := GetFuncAdr('glGetPerfMonitorCounterInfoAMD'); + public z_GetPerfMonitorCounterInfoAMD_ovr_0 := GetFuncOrNil&(z_GetPerfMonitorCounterInfoAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterInfoAMD(group: UInt32; counter: UInt32; pname: DummyEnum; data: IntPtr); + begin + z_GetPerfMonitorCounterInfoAMD_ovr_0(group, counter, pname, data); + end; - public z_ImageTransformParameterfvHP := GetGLFuncOrNil&('glImageTransformParameterfvHP'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfvHP(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := ImageTransformParameterfvHP(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfvHP(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := ImageTransformParameterfvHP(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfvHP(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ImageTransformParameterfvHP(target, pname, ¶ms); + public z_GenPerfMonitorsAMD_adr := GetFuncAdr('glGenPerfMonitorsAMD'); + public z_GenPerfMonitorsAMD_ovr_0 := GetFuncOrNil&(z_GenPerfMonitorsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenPerfMonitorsAMD(n: Int32; monitors: array of UInt32); + begin + z_GenPerfMonitorsAMD_ovr_0(n, monitors[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenPerfMonitorsAMD(n: Int32; var monitors: UInt32); + begin + z_GenPerfMonitorsAMD_ovr_0(n, monitors); + end; + public z_GenPerfMonitorsAMD_ovr_2 := GetFuncOrNil&(z_GenPerfMonitorsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenPerfMonitorsAMD(n: Int32; monitors: IntPtr); + begin + z_GenPerfMonitorsAMD_ovr_2(n, monitors); + end; - public z_GetImageTransformParameterivHP := GetGLFuncOrNil&('glGetImageTransformParameterivHP'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterivHP(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetImageTransformParameterivHP(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterivHP(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetImageTransformParameterivHP(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterivHP(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetImageTransformParameterivHP(target, pname, ¶ms); + public z_DeletePerfMonitorsAMD_adr := GetFuncAdr('glDeletePerfMonitorsAMD'); + public z_DeletePerfMonitorsAMD_ovr_0 := GetFuncOrNil&(z_DeletePerfMonitorsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfMonitorsAMD(n: Int32; monitors: array of UInt32); + begin + z_DeletePerfMonitorsAMD_ovr_0(n, monitors[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfMonitorsAMD(n: Int32; var monitors: UInt32); + begin + z_DeletePerfMonitorsAMD_ovr_0(n, monitors); + end; + public z_DeletePerfMonitorsAMD_ovr_2 := GetFuncOrNil&(z_DeletePerfMonitorsAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfMonitorsAMD(n: Int32; monitors: IntPtr); + begin + z_DeletePerfMonitorsAMD_ovr_2(n, monitors); + end; - public z_GetImageTransformParameterfvHP := GetGLFuncOrNil&('glGetImageTransformParameterfvHP'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterfvHP(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetImageTransformParameterfvHP(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterfvHP(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetImageTransformParameterfvHP(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterfvHP(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetImageTransformParameterfvHP(target, pname, ¶ms); + public z_SelectPerfMonitorCountersAMD_adr := GetFuncAdr('glSelectPerfMonitorCountersAMD'); + public z_SelectPerfMonitorCountersAMD_ovr_0 := GetFuncOrNil&(z_SelectPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectPerfMonitorCountersAMD(monitor: UInt32; enable: boolean; group: UInt32; numCounters: Int32; counterList: array of UInt32); + begin + z_SelectPerfMonitorCountersAMD_ovr_0(monitor, enable, group, numCounters, counterList[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectPerfMonitorCountersAMD(monitor: UInt32; enable: boolean; group: UInt32; numCounters: Int32; var counterList: UInt32); + begin + z_SelectPerfMonitorCountersAMD_ovr_0(monitor, enable, group, numCounters, counterList); + end; + public z_SelectPerfMonitorCountersAMD_ovr_2 := GetFuncOrNil&(z_SelectPerfMonitorCountersAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectPerfMonitorCountersAMD(monitor: UInt32; enable: boolean; group: UInt32; numCounters: Int32; counterList: IntPtr); + begin + z_SelectPerfMonitorCountersAMD_ovr_2(monitor, enable, group, numCounters, counterList); + end; - {$endregion HP_image_transform} + public z_BeginPerfMonitorAMD_adr := GetFuncAdr('glBeginPerfMonitorAMD'); + public z_BeginPerfMonitorAMD_ovr_0 := GetFuncOrNil&(z_BeginPerfMonitorAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginPerfMonitorAMD(monitor: UInt32); + begin + z_BeginPerfMonitorAMD_ovr_0(monitor); + end; + + public z_EndPerfMonitorAMD_adr := GetFuncAdr('glEndPerfMonitorAMD'); + public z_EndPerfMonitorAMD_ovr_0 := GetFuncOrNil&(z_EndPerfMonitorAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndPerfMonitorAMD(monitor: UInt32); + begin + z_EndPerfMonitorAMD_ovr_0(monitor); + end; + + public z_GetPerfMonitorCounterDataAMD_adr := GetFuncAdr('glGetPerfMonitorCounterDataAMD'); + public z_GetPerfMonitorCounterDataAMD_ovr_0 := GetFuncOrNil&(z_GetPerfMonitorCounterDataAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: array of UInt32; bytesWritten: array of Int32); + begin + z_GetPerfMonitorCounterDataAMD_ovr_0(monitor, pname, dataSize, data[0], bytesWritten[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: array of UInt32; var bytesWritten: Int32); + begin + z_GetPerfMonitorCounterDataAMD_ovr_0(monitor, pname, dataSize, data[0], bytesWritten); + end; + public z_GetPerfMonitorCounterDataAMD_ovr_2 := GetFuncOrNil&(z_GetPerfMonitorCounterDataAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: array of UInt32; bytesWritten: IntPtr); + begin + z_GetPerfMonitorCounterDataAMD_ovr_2(monitor, pname, dataSize, data[0], bytesWritten); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; var data: UInt32; bytesWritten: array of Int32); + begin + z_GetPerfMonitorCounterDataAMD_ovr_0(monitor, pname, dataSize, data, bytesWritten[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; var data: UInt32; var bytesWritten: Int32); + begin + z_GetPerfMonitorCounterDataAMD_ovr_0(monitor, pname, dataSize, data, bytesWritten); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; var data: UInt32; bytesWritten: IntPtr); + begin + z_GetPerfMonitorCounterDataAMD_ovr_2(monitor, pname, dataSize, data, bytesWritten); + end; + public z_GetPerfMonitorCounterDataAMD_ovr_6 := GetFuncOrNil&(z_GetPerfMonitorCounterDataAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: IntPtr; bytesWritten: array of Int32); + begin + z_GetPerfMonitorCounterDataAMD_ovr_6(monitor, pname, dataSize, data, bytesWritten[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: IntPtr; var bytesWritten: Int32); + begin + z_GetPerfMonitorCounterDataAMD_ovr_6(monitor, pname, dataSize, data, bytesWritten); + end; + public z_GetPerfMonitorCounterDataAMD_ovr_8 := GetFuncOrNil&(z_GetPerfMonitorCounterDataAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfMonitorCounterDataAMD(monitor: UInt32; pname: DummyEnum; dataSize: Int32; data: IntPtr; bytesWritten: IntPtr); + begin + z_GetPerfMonitorCounterDataAMD_ovr_8(monitor, pname, dataSize, data, bytesWritten); + end; end; - gl_IBM = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glSamplePositionsAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SetMultisamplefvAMD_adr := GetFuncAdr('glSetMultisamplefvAMD'); + public z_SetMultisamplefvAMD_ovr_0 := GetFuncOrNil&(z_SetMultisamplefvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetMultisamplefvAMD(pname: DummyEnum; index: UInt32; val: array of single); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_SetMultisamplefvAMD_ovr_0(pname, index, val[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetMultisamplefvAMD(pname: DummyEnum; index: UInt32; var val: single); + begin + z_SetMultisamplefvAMD_ovr_0(pname, index, val); + end; + public z_SetMultisamplefvAMD_ovr_2 := GetFuncOrNil&(z_SetMultisamplefvAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetMultisamplefvAMD(pname: DummyEnum; index: UInt32; val: IntPtr); + begin + z_SetMultisamplefvAMD_ovr_2(pname, index, val); end; - - {$region IBM_vertex_array_lists} - - public z_ColorPointerListIBM := GetGLFuncOrNil&('glColorPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := ColorPointerListIBM(size, &type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := ColorPointerListIBM(size, &type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_ColorPointerListIBM(size, &type, stride, _pointer, ptrstride); - - public z_SecondaryColorPointerListIBM := GetGLFuncOrNil&('glSecondaryColorPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := SecondaryColorPointerListIBM(size, &type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := SecondaryColorPointerListIBM(size, &type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_SecondaryColorPointerListIBM(size, &type, stride, _pointer, ptrstride); - - public z_EdgeFlagPointerListIBM := GetGLFuncOrNil&('glEdgeFlagPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerListIBM(stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := EdgeFlagPointerListIBM(stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerListIBM(stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := EdgeFlagPointerListIBM(stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerListIBM(stride: Int32; _pointer: pointer; ptrstride: Int32) := z_EdgeFlagPointerListIBM(stride, _pointer, ptrstride); - - public z_FogCoordPointerListIBM := GetGLFuncOrNil&('glFogCoordPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerListIBM(&type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := FogCoordPointerListIBM(&type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerListIBM(&type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := FogCoordPointerListIBM(&type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerListIBM(&type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_FogCoordPointerListIBM(&type, stride, _pointer, ptrstride); - - public z_IndexPointerListIBM := GetGLFuncOrNil&('glIndexPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerListIBM(&type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := IndexPointerListIBM(&type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerListIBM(&type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := IndexPointerListIBM(&type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerListIBM(&type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_IndexPointerListIBM(&type, stride, _pointer, ptrstride); - - public z_NormalPointerListIBM := GetGLFuncOrNil&('glNormalPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerListIBM(&type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := NormalPointerListIBM(&type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerListIBM(&type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := NormalPointerListIBM(&type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerListIBM(&type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_NormalPointerListIBM(&type, stride, _pointer, ptrstride); - - public z_TexCoordPointerListIBM := GetGLFuncOrNil&('glTexCoordPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := TexCoordPointerListIBM(size, &type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := TexCoordPointerListIBM(size, &type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_TexCoordPointerListIBM(size, &type, stride, _pointer, ptrstride); - - public z_VertexPointerListIBM := GetGLFuncOrNil&('glVertexPointerListIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32) := VertexPointerListIBM(size, &type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0)), ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; var _pointer: IntPtr; ptrstride: Int32) := VertexPointerListIBM(size, &type, stride, @_pointer, ptrstride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerListIBM(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer; ptrstride: Int32) := z_VertexPointerListIBM(size, &type, stride, _pointer, ptrstride); - - {$endregion IBM_vertex_array_lists} - - {$region IBM_static_data} - - public z_FlushStaticDataIBM := GetGLFuncOrNil&('glFlushStaticDataIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushStaticDataIBM(target: DummyEnum) := z_FlushStaticDataIBM(target); - - {$endregion IBM_static_data} - - {$region IBM_multimode_draw_arrays} - - public z_MultiModeDrawArraysIBM := GetGLFuncOrNil&('glMultiModeDrawArraysIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; first: array of Int32; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; first: array of Int32; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; first: array of Int32; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; var first: Int32; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), @first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; var first: Int32; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), @first, @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; var first: Int32; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), @first, count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; first: pointer; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; first: pointer; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), first, @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of DummyEnum; first: pointer; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), first, count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; first: array of Int32; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; first: array of Int32; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; first: array of Int32; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; var first: Int32; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, @first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; var first: Int32; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, @first, @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; var first: Int32; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, @first, count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; first: pointer; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; first: pointer; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, first, @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: DummyEnum; first: pointer; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(@mode, first, count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; first: array of Int32; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; first: array of Int32; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; first: array of Int32; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(first,0)), count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; var first: Int32; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, @first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; var first: Int32; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, @first, @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; var first: Int32; count: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, @first, count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; first: pointer; count: array of Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, first, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; first: pointer; var count: Int32; primcount: Int32; modestride: Int32) := MultiModeDrawArraysIBM(mode, first, @count, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: pointer; first: pointer; count: pointer; primcount: Int32; modestride: Int32) := z_MultiModeDrawArraysIBM(mode, first, count, primcount, modestride); - - public z_MultiModeDrawElementsIBM := GetGLFuncOrNil&('glMultiModeDrawElementsIBM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), @count, &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), @count, &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), count, &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mode,0)), count, &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, @count, &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, @count, &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, count, &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: DummyEnum; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(@mode, count, &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; count: array of Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; count: array of Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; count: array of Int32; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(count,0)), &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; var count: Int32; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, @count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; var count: Int32; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, @count, &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; var count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, @count, &type, indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; count: pointer; &type: DummyEnum; indices: array of IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, count, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indices,0)), primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; count: pointer; &type: DummyEnum; var indices: IntPtr; primcount: Int32; modestride: Int32) := MultiModeDrawElementsIBM(mode, count, &type, @indices, primcount, modestride); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: pointer; count: pointer; &type: DummyEnum; indices: pointer; primcount: Int32; modestride: Int32) := z_MultiModeDrawElementsIBM(mode, count, &type, indices, primcount, modestride); - - {$endregion IBM_multimode_draw_arrays} end; - gl_IMG = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glSparseTextureAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexStorageSparseAMD_adr := GetFuncAdr('glTexStorageSparseAMD'); + public z_TexStorageSparseAMD_ovr_0 := GetFuncOrNil&(z_TexStorageSparseAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageSparseAMD(target: TextureTarget; _internalFormat: InternalFormat; width: Int32; height: Int32; depth: Int32; layers: Int32; flags: TextureStorageMaskAMD); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_TexStorageSparseAMD_ovr_0(target, _internalFormat, width, height, depth, layers, flags); end; - {$region IMG_user_clip_plane} - - public z_ClipPlanefIMG := GetGLFuncOrNil&('glClipPlanefIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefIMG(p: DummyEnum; eqn: array of single) := ClipPlanefIMG(p, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(eqn,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefIMG(p: DummyEnum; var eqn: single) := ClipPlanefIMG(p, @eqn); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefIMG(p: DummyEnum; eqn: pointer) := z_ClipPlanefIMG(p, eqn); - - public z_ClipPlanexIMG := GetGLFuncOrNil&('glClipPlanexIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexIMG(p: DummyEnum; eqn: array of fixed) := ClipPlanexIMG(p, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(eqn,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexIMG(p: DummyEnum; var eqn: fixed) := ClipPlanexIMG(p, @eqn); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexIMG(p: DummyEnum; eqn: pointer) := z_ClipPlanexIMG(p, eqn); - - {$endregion IMG_user_clip_plane} - - {$region IMG_framebuffer_downsample} - - public z_FramebufferTexture2DDownsampleIMG := GetGLFuncOrNil&('glFramebufferTexture2DDownsampleIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2DDownsampleIMG(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32; xscale: Int32; yscale: Int32) := z_FramebufferTexture2DDownsampleIMG(target, attachment, textarget, texture, level, xscale, yscale); - - public z_FramebufferTextureLayerDownsampleIMG := GetGLFuncOrNil&('glFramebufferTextureLayerDownsampleIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayerDownsampleIMG(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; layer: Int32; xscale: Int32; yscale: Int32) := z_FramebufferTextureLayerDownsampleIMG(target, attachment, texture, level, layer, xscale, yscale); - - {$endregion IMG_framebuffer_downsample} - - {$region IMG_multisampled_render_to_texture} - - public z_RenderbufferStorageMultisampleIMG := GetGLFuncOrNil&('glRenderbufferStorageMultisampleIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleIMG(target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleIMG(target, samples, internalformat, width, height); - - public z_FramebufferTexture2DMultisampleIMG := GetGLFuncOrNil&('glFramebufferTexture2DMultisampleIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2DMultisampleIMG(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32; samples: Int32) := z_FramebufferTexture2DMultisampleIMG(target, attachment, textarget, texture, level, samples); - - {$endregion IMG_multisampled_render_to_texture} - - {$region IMG_bindless_texture} - - public z_GetTextureHandleIMG := GetGLFuncOrNil&('glGetTextureHandleIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureHandleIMG(texture: UInt32): UInt64 := z_GetTextureHandleIMG(texture); - - public z_GetTextureSamplerHandleIMG := GetGLFuncOrNil&('glGetTextureSamplerHandleIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureSamplerHandleIMG(texture: UInt32; sampler: UInt32): UInt64 := z_GetTextureSamplerHandleIMG(texture, sampler); - - public z_UniformHandleui64IMG := GetGLFuncOrNil&('glUniformHandleui64IMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64IMG(location: Int32; value: UInt64) := z_UniformHandleui64IMG(location, value); - - public z_UniformHandleui64vIMG := GetGLFuncOrNil&('glUniformHandleui64vIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vIMG(location: Int32; count: Int32; value: array of UInt64) := UniformHandleui64vIMG(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vIMG(location: Int32; count: Int32; var value: UInt64) := UniformHandleui64vIMG(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vIMG(location: Int32; count: Int32; value: pointer) := z_UniformHandleui64vIMG(location, count, value); - - public z_ProgramUniformHandleui64IMG := GetGLFuncOrNil&('glProgramUniformHandleui64IMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64IMG(&program: UInt32; location: Int32; value: UInt64) := z_ProgramUniformHandleui64IMG(&program, location, value); - - public z_ProgramUniformHandleui64vIMG := GetGLFuncOrNil&('glProgramUniformHandleui64vIMG'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vIMG(&program: UInt32; location: Int32; count: Int32; values: array of UInt64) := ProgramUniformHandleui64vIMG(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vIMG(&program: UInt32; location: Int32; count: Int32; var values: UInt64) := ProgramUniformHandleui64vIMG(&program, location, count, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vIMG(&program: UInt32; location: Int32; count: Int32; values: pointer) := z_ProgramUniformHandleui64vIMG(&program, location, count, values); - - {$endregion IMG_bindless_texture} + public z_TextureStorageSparseAMD_adr := GetFuncAdr('glTextureStorageSparseAMD'); + public z_TextureStorageSparseAMD_ovr_0 := GetFuncOrNil&(z_TextureStorageSparseAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageSparseAMD(texture: UInt32; target: DummyEnum; _internalFormat: InternalFormat; width: Int32; height: Int32; depth: Int32; layers: Int32; flags: TextureStorageMaskAMD); + begin + z_TextureStorageSparseAMD_ovr_0(texture, target, _internalFormat, width, height, depth, layers, flags); + end; end; - gl_INGR = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glStencilOperationExtendedAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_StencilOpValueAMD_adr := GetFuncAdr('glStencilOpValueAMD'); + public z_StencilOpValueAMD_ovr_0 := GetFuncOrNil&(z_StencilOpValueAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOpValueAMD(face: StencilFaceDirection; value: UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_StencilOpValueAMD_ovr_0(face, value); end; - {$region INGR_blend_func_separate} - - public z_BlendFuncSeparateINGR := GetGLFuncOrNil&('glBlendFuncSeparateINGR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateINGR(sfactorRGB: DummyEnum; dfactorRGB: DummyEnum; sfactorAlpha: DummyEnum; dfactorAlpha: DummyEnum) := z_BlendFuncSeparateINGR(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); - - {$endregion INGR_blend_func_separate} - end; - gl_INTEL = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glVertexShaderTessellatorAMD = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TessellationFactorAMD_adr := GetFuncAdr('glTessellationFactorAMD'); + public z_TessellationFactorAMD_ovr_0 := GetFuncOrNil&(z_TessellationFactorAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TessellationFactorAMD(factor: single); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_TessellationFactorAMD_ovr_0(factor); end; - {$region INTEL_framebuffer_CMAA} - - public z_ApplyFramebufferAttachmentCMAAINTEL := GetGLFuncOrNil&('glApplyFramebufferAttachmentCMAAINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ApplyFramebufferAttachmentCMAAINTEL := z_ApplyFramebufferAttachmentCMAAINTEL; - - {$endregion INTEL_framebuffer_CMAA} - - {$region INTEL_performance_query} - - public z_GetFirstPerfQueryIdINTEL := GetGLFuncOrNil&('glGetFirstPerfQueryIdINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFirstPerfQueryIdINTEL(var queryId: PerfQueryIdINTEL) := GetFirstPerfQueryIdINTEL(@queryId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFirstPerfQueryIdINTEL(queryId: pointer) := z_GetFirstPerfQueryIdINTEL(queryId); - - public z_GetNextPerfQueryIdINTEL := GetGLFuncOrNil&('glGetNextPerfQueryIdINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNextPerfQueryIdINTEL(queryId: PerfQueryIdINTEL; var nextQueryId: PerfQueryIdINTEL) := GetNextPerfQueryIdINTEL(queryId, @nextQueryId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNextPerfQueryIdINTEL(queryId: PerfQueryIdINTEL; nextQueryId: pointer) := z_GetNextPerfQueryIdINTEL(queryId, nextQueryId); - - public z_GetPerfQueryIdByNameINTEL := GetGLFuncOrNil&('glGetPerfQueryIdByNameINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: string; var queryId: PerfQueryIdINTEL); begin var ptr_1 := Marshal.StringToHGlobalAnsi(queryName); GetPerfQueryIdByNameINTEL(ptr_1, @queryId); Marshal.FreeHGlobal(ptr_1); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: string; queryId: pointer); begin var ptr_1 := Marshal.StringToHGlobalAnsi(queryName); GetPerfQueryIdByNameINTEL(ptr_1, queryId); Marshal.FreeHGlobal(ptr_1); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: IntPtr; var queryId: PerfQueryIdINTEL) := GetPerfQueryIdByNameINTEL(queryName, @queryId); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: IntPtr; queryId: pointer) := z_GetPerfQueryIdByNameINTEL(queryName, queryId); - - public z_GetPerfQueryInfoINTEL := GetGLFuncOrNil&('glGetPerfQueryInfoINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryInfoINTEL(queryId: PerfQueryIdINTEL; queryNameLength: UInt32; queryName: string; var dataSize: UInt32; var noCounters: UInt32; var noInstances: UInt32; var capsMask: PerfQueryCapFlagsINTEL); begin var ptr_3 := Marshal.StringToHGlobalAnsi(queryName); GetPerfQueryInfoINTEL(queryId, queryNameLength, ptr_3, @dataSize, @noCounters, @noInstances, @capsMask); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryInfoINTEL(queryId: PerfQueryIdINTEL; queryNameLength: UInt32; queryName: string; dataSize: pointer; noCounters: pointer; noInstances: pointer; capsMask: pointer); begin var ptr_3 := Marshal.StringToHGlobalAnsi(queryName); GetPerfQueryInfoINTEL(queryId, queryNameLength, ptr_3, dataSize, noCounters, noInstances, capsMask); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryInfoINTEL(queryId: PerfQueryIdINTEL; queryNameLength: UInt32; queryName: IntPtr; var dataSize: UInt32; var noCounters: UInt32; var noInstances: UInt32; var capsMask: PerfQueryCapFlagsINTEL) := GetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, @dataSize, @noCounters, @noInstances, @capsMask); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryInfoINTEL(queryId: PerfQueryIdINTEL; queryNameLength: UInt32; queryName: IntPtr; dataSize: pointer; noCounters: pointer; noInstances: pointer; capsMask: pointer) := z_GetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); - - public z_GetPerfCounterInfoINTEL := GetGLFuncOrNil&('glGetPerfCounterInfoINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfCounterInfoINTEL(queryId: PerfQueryIdINTEL; counterId: UInt32; counterNameLength: UInt32; counterName: string; counterDescLength: UInt32; counterDesc: string; var counterOffset: UInt32; var counterDataSize: UInt32; var counterTypeEnum: PerfQueryCounterTypeINTEL; var counterDataTypeEnum: PerfQueryCounterDataTypeINTEL; var rawCounterMaxValue: UInt64); begin var ptr_6 := Marshal.StringToHGlobalAnsi(counterDesc); var ptr_4 := Marshal.StringToHGlobalAnsi(counterName); GetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, ptr_4, counterDescLength, ptr_6, @counterOffset, @counterDataSize, @counterTypeEnum, @counterDataTypeEnum, @rawCounterMaxValue); Marshal.FreeHGlobal(ptr_4); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfCounterInfoINTEL(queryId: PerfQueryIdINTEL; counterId: UInt32; counterNameLength: UInt32; counterName: string; counterDescLength: UInt32; counterDesc: string; counterOffset: pointer; counterDataSize: pointer; counterTypeEnum: pointer; counterDataTypeEnum: pointer; rawCounterMaxValue: pointer); begin var ptr_6 := Marshal.StringToHGlobalAnsi(counterDesc); var ptr_4 := Marshal.StringToHGlobalAnsi(counterName); GetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, ptr_4, counterDescLength, ptr_6, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); Marshal.FreeHGlobal(ptr_4); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfCounterInfoINTEL(queryId: PerfQueryIdINTEL; counterId: UInt32; counterNameLength: UInt32; counterName: IntPtr; counterDescLength: UInt32; counterDesc: IntPtr; var counterOffset: UInt32; var counterDataSize: UInt32; var counterTypeEnum: PerfQueryCounterTypeINTEL; var counterDataTypeEnum: PerfQueryCounterDataTypeINTEL; var rawCounterMaxValue: UInt64) := GetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, @counterOffset, @counterDataSize, @counterTypeEnum, @counterDataTypeEnum, @rawCounterMaxValue); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfCounterInfoINTEL(queryId: PerfQueryIdINTEL; counterId: UInt32; counterNameLength: UInt32; counterName: IntPtr; counterDescLength: UInt32; counterDesc: IntPtr; counterOffset: pointer; counterDataSize: pointer; counterTypeEnum: pointer; counterDataTypeEnum: pointer; rawCounterMaxValue: pointer) := z_GetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); - - public z_CreatePerfQueryINTEL := GetGLFuncOrNil&('glCreatePerfQueryINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreatePerfQueryINTEL(queryId: PerfQueryIdINTEL; var queryHandle: PerfQueryHandleINTEL) := CreatePerfQueryINTEL(queryId, @queryHandle); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreatePerfQueryINTEL(queryId: PerfQueryIdINTEL; queryHandle: pointer) := z_CreatePerfQueryINTEL(queryId, queryHandle); - - public z_DeletePerfQueryINTEL := GetGLFuncOrNil&('glDeletePerfQueryINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfQueryINTEL(queryHandle: PerfQueryHandleINTEL) := z_DeletePerfQueryINTEL(queryHandle); - - public z_BeginPerfQueryINTEL := GetGLFuncOrNil&('glBeginPerfQueryINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginPerfQueryINTEL(queryHandle: PerfQueryHandleINTEL) := z_BeginPerfQueryINTEL(queryHandle); - - public z_EndPerfQueryINTEL := GetGLFuncOrNil&('glEndPerfQueryINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndPerfQueryINTEL(queryHandle: PerfQueryHandleINTEL) := z_EndPerfQueryINTEL(queryHandle); - - public z_GetPerfQueryDataINTEL := GetGLFuncOrNil&('glGetPerfQueryDataINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryDataINTEL(queryHandle: PerfQueryHandleINTEL; flags: PerfQueryDataFlagsINTEL; dataSize: Int32; data: IntPtr; var bytesWritten: UInt32) := GetPerfQueryDataINTEL(queryHandle, flags, dataSize, pointer(data), @bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryDataINTEL(queryHandle: PerfQueryHandleINTEL; flags: PerfQueryDataFlagsINTEL; dataSize: Int32; data: IntPtr; bytesWritten: pointer) := GetPerfQueryDataINTEL(queryHandle, flags, dataSize, pointer(data), bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryDataINTEL(queryHandle: PerfQueryHandleINTEL; flags: PerfQueryDataFlagsINTEL; dataSize: Int32; data: pointer; var bytesWritten: UInt32) := GetPerfQueryDataINTEL(queryHandle, flags, dataSize, data, @bytesWritten); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryDataINTEL(queryHandle: PerfQueryHandleINTEL; flags: PerfQueryDataFlagsINTEL; dataSize: Int32; data: pointer; bytesWritten: pointer) := z_GetPerfQueryDataINTEL(queryHandle, flags, dataSize, data, bytesWritten); - - {$endregion INTEL_performance_query} - - {$region INTEL_parallel_arrays} - - public z_VertexPointervINTEL := GetGLFuncOrNil&('glVertexPointervINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointervINTEL(size: Int32; &type: DummyEnum; _pointer: array of IntPtr) := VertexPointervINTEL(size, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointervINTEL(size: Int32; &type: DummyEnum; var _pointer: IntPtr) := VertexPointervINTEL(size, &type, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointervINTEL(size: Int32; &type: DummyEnum; _pointer: pointer) := z_VertexPointervINTEL(size, &type, _pointer); - - public z_NormalPointervINTEL := GetGLFuncOrNil&('glNormalPointervINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointervINTEL(&type: DummyEnum; _pointer: array of IntPtr) := NormalPointervINTEL(&type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointervINTEL(&type: DummyEnum; var _pointer: IntPtr) := NormalPointervINTEL(&type, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointervINTEL(&type: DummyEnum; _pointer: pointer) := z_NormalPointervINTEL(&type, _pointer); - - public z_ColorPointervINTEL := GetGLFuncOrNil&('glColorPointervINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointervINTEL(size: Int32; &type: DummyEnum; _pointer: array of IntPtr) := ColorPointervINTEL(size, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointervINTEL(size: Int32; &type: DummyEnum; var _pointer: IntPtr) := ColorPointervINTEL(size, &type, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointervINTEL(size: Int32; &type: DummyEnum; _pointer: pointer) := z_ColorPointervINTEL(size, &type, _pointer); - - public z_TexCoordPointervINTEL := GetGLFuncOrNil&('glTexCoordPointervINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointervINTEL(size: Int32; &type: DummyEnum; _pointer: array of IntPtr) := TexCoordPointervINTEL(size, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointervINTEL(size: Int32; &type: DummyEnum; var _pointer: IntPtr) := TexCoordPointervINTEL(size, &type, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointervINTEL(size: Int32; &type: DummyEnum; _pointer: pointer) := z_TexCoordPointervINTEL(size, &type, _pointer); - - {$endregion INTEL_parallel_arrays} - - {$region INTEL_map_texture} - - public z_MapTexture2DINTEL := GetGLFuncOrNil&('glMapTexture2DINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: array of Int32; layout: array of DummyEnum): pointer := MapTexture2DINTEL(texture, level, access, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stride,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(layout,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: array of Int32; var layout: DummyEnum): pointer := MapTexture2DINTEL(texture, level, access, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stride,0)), @layout); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: array of Int32; layout: pointer): pointer := MapTexture2DINTEL(texture, level, access, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(stride,0)), layout); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; var stride: Int32; layout: array of DummyEnum): pointer := MapTexture2DINTEL(texture, level, access, @stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(layout,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; var stride: Int32; var layout: DummyEnum): pointer := MapTexture2DINTEL(texture, level, access, @stride, @layout); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; var stride: Int32; layout: pointer): pointer := MapTexture2DINTEL(texture, level, access, @stride, layout); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: pointer; layout: array of DummyEnum): pointer := MapTexture2DINTEL(texture, level, access, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(layout,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: pointer; var layout: DummyEnum): pointer := MapTexture2DINTEL(texture, level, access, stride, @layout); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: pointer; layout: pointer): pointer := z_MapTexture2DINTEL(texture, level, access, stride, layout); - - public z_UnmapTexture2DINTEL := GetGLFuncOrNil&('glUnmapTexture2DINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UnmapTexture2DINTEL(texture: UInt32; level: Int32) := z_UnmapTexture2DINTEL(texture, level); - - public z_SyncTextureINTEL := GetGLFuncOrNil&('glSyncTextureINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SyncTextureINTEL(texture: UInt32) := z_SyncTextureINTEL(texture); - - {$endregion INTEL_map_texture} - - {$region INTEL_texture_scissor} - - public z_TexScissorINTEL := GetGLFuncOrNil&('glTexScissorINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexScissorINTEL(target: DummyEnum; tlow: single; thigh: single) := z_TexScissorINTEL(target, tlow, thigh); - - public z_TexScissorFuncINTEL := GetGLFuncOrNil&('glTexScissorFuncINTEL'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexScissorFuncINTEL(target: DummyEnum; lfunc: DummyEnum; hfunc: DummyEnum) := z_TexScissorFuncINTEL(target, lfunc, hfunc); - - {$endregion INTEL_texture_scissor} + public z_TessellationModeAMD_adr := GetFuncAdr('glTessellationModeAMD'); + public z_TessellationModeAMD_ovr_0 := GetFuncOrNil&(z_TessellationModeAMD_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TessellationModeAMD(mode: DummyEnum); + begin + z_TessellationModeAMD_ovr_0(mode); + end; end; - gl_KHR = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glElementArrayAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ElementPointerAPPLE_adr := GetFuncAdr('glElementPointerAPPLE'); + public z_ElementPointerAPPLE_ovr_0 := GetFuncOrNil&(z_ElementPointerAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ElementPointerAPPLE(&type: ElementPointerTypeATI; pointer: IntPtr); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_ElementPointerAPPLE_ovr_0(&type, pointer); end; - {$region KHR_blend_equation_advanced} + public z_DrawElementArrayAPPLE_adr := GetFuncAdr('glDrawElementArrayAPPLE'); + public z_DrawElementArrayAPPLE_ovr_0 := GetFuncOrNil&(z_DrawElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementArrayAPPLE(mode: PrimitiveType; first: Int32; count: Int32); + begin + z_DrawElementArrayAPPLE_ovr_0(mode, first, count); + end; - public z_BlendBarrierKHR := GetGLFuncOrNil&('glBlendBarrierKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendBarrierKHR := z_BlendBarrierKHR; + public z_DrawRangeElementArrayAPPLE_adr := GetFuncAdr('glDrawRangeElementArrayAPPLE'); + public z_DrawRangeElementArrayAPPLE_ovr_0 := GetFuncOrNil&(z_DrawRangeElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: Int32; count: Int32); + begin + z_DrawRangeElementArrayAPPLE_ovr_0(mode, start, &end, first, count); + end; - {$endregion KHR_blend_equation_advanced} + public z_MultiDrawElementArrayAPPLE_adr := GetFuncAdr('glMultiDrawElementArrayAPPLE'); + public z_MultiDrawElementArrayAPPLE_ovr_0 := GetFuncOrNil&(z_MultiDrawElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; first: array of Int32; count: array of Int32; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_0(mode, first[0], count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; first: array of Int32; var count: Int32; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_0(mode, first[0], count, primcount); + end; + public z_MultiDrawElementArrayAPPLE_ovr_2 := GetFuncOrNil&(z_MultiDrawElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; first: array of Int32; count: IntPtr; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_2(mode, first[0], count, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; var first: Int32; count: array of Int32; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_0(mode, first, count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; var first: Int32; var count: Int32; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_0(mode, first, count, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; var first: Int32; count: IntPtr; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_2(mode, first, count, primcount); + end; + public z_MultiDrawElementArrayAPPLE_ovr_6 := GetFuncOrNil&(z_MultiDrawElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; first: IntPtr; count: array of Int32; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_6(mode, first, count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; first: IntPtr; var count: Int32; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_6(mode, first, count, primcount); + end; + public z_MultiDrawElementArrayAPPLE_ovr_8 := GetFuncOrNil&(z_MultiDrawElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementArrayAPPLE(mode: PrimitiveType; first: IntPtr; count: IntPtr; primcount: Int32); + begin + z_MultiDrawElementArrayAPPLE_ovr_8(mode, first, count, primcount); + end; - {$region KHR_debug} - - public z_DebugMessageControlKHR := GetGLFuncOrNil&('glDebugMessageControlKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlKHR(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; ids: array of UInt32; enabled: boolean) := DebugMessageControlKHR(source, &type, severity, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlKHR(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; var ids: UInt32; enabled: boolean) := DebugMessageControlKHR(source, &type, severity, count, @ids, enabled); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlKHR(source: DebugSourceType; &type: DebugMessageType; severity: DebugSeverityLevel; count: Int32; ids: pointer; enabled: boolean) := z_DebugMessageControlKHR(source, &type, severity, count, ids, enabled); - - public z_DebugMessageInsertKHR := GetGLFuncOrNil&('glDebugMessageInsertKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertKHR(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; buf: string); begin var ptr_6 := Marshal.StringToHGlobalAnsi(buf); DebugMessageInsertKHR(source, &type, id, severity, length, ptr_6); Marshal.FreeHGlobal(ptr_6); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertKHR(source: DebugSourceType; &type: DebugMessageType; id: UInt32; severity: DebugSeverityLevel; length: Int32; buf: IntPtr) := z_DebugMessageInsertKHR(source, &type, id, severity, length, buf); - - public z_DebugMessageCallbackKHR := GetGLFuncOrNil&('glDebugMessageCallbackKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallbackKHR(callback: GLDEBUGPROC; userParam: pointer) := z_DebugMessageCallbackKHR(callback, userParam); - - public z_GetDebugMessageLogKHR := GetGLFuncOrNil&('glGetDebugMessageLogKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogKHR(count: UInt32; bufSize: Int32; sources: array of DebugSourceType; types: array of DebugMessageType; ids: array of UInt32; severities: array of DebugSeverityLevel; lengths: array of Int32; messageLog: IntPtr): UInt32 := GetDebugMessageLogKHR(count, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sources,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(types,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(severities,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lengths,0)), messageLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogKHR(count: UInt32; bufSize: Int32; var sources: DebugSourceType; var types: DebugMessageType; var ids: UInt32; var severities: DebugSeverityLevel; var lengths: Int32; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLogKHR(count, bufSize, @sources, @types, @ids, @severities, @lengths, ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogKHR(count: UInt32; bufSize: Int32; var sources: DebugSourceType; var types: DebugMessageType; var ids: UInt32; var severities: DebugSeverityLevel; var lengths: Int32; messageLog: IntPtr): UInt32 := GetDebugMessageLogKHR(count, bufSize, @sources, @types, @ids, @severities, @lengths, messageLog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogKHR(count: UInt32; bufSize: Int32; sources: pointer; types: pointer; ids: pointer; severities: pointer; lengths: pointer; messageLog: string): UInt32; begin var ptr_8 := Marshal.StringToHGlobalAnsi(messageLog); Result := GetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, ptr_8); Marshal.FreeHGlobal(ptr_8); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogKHR(count: UInt32; bufSize: Int32; sources: pointer; types: pointer; ids: pointer; severities: pointer; lengths: pointer; messageLog: IntPtr): UInt32 := z_GetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog); - - public z_GetPointervKHR := GetGLFuncOrNil&('glGetPointervKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervKHR(pname: GLGetQueries; ¶ms: array of IntPtr) := GetPointervKHR(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervKHR(pname: GLGetQueries; var ¶ms: IntPtr) := GetPointervKHR(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervKHR(pname: GLGetQueries; ¶ms: pointer) := z_GetPointervKHR(pname, ¶ms); - - public z_PushDebugGroupKHR := GetGLFuncOrNil&('glPushDebugGroupKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushDebugGroupKHR(source: DummyEnum; id: UInt32; length: Int32; message: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(message); PushDebugGroupKHR(source, id, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushDebugGroupKHR(source: DummyEnum; id: UInt32; length: Int32; message: IntPtr) := z_PushDebugGroupKHR(source, id, length, message); - - public z_PopDebugGroupKHR := GetGLFuncOrNil&('glPopDebugGroupKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopDebugGroupKHR := z_PopDebugGroupKHR; - - public z_ObjectLabelKHR := GetGLFuncOrNil&('glObjectLabelKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectLabelKHR(identifier: DummyEnum; name: UInt32; length: Int32; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); ObjectLabelKHR(identifier, name, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectLabelKHR(identifier: DummyEnum; name: UInt32; length: Int32; &label: IntPtr) := z_ObjectLabelKHR(identifier, name, length, &label); - - public z_GetObjectLabelKHR := GetGLFuncOrNil&('glGetObjectLabelKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelKHR(identifier: DummyEnum; name: UInt32; bufSize: Int32; length: array of Int32; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabelKHR(identifier, name, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelKHR(identifier: DummyEnum; name: UInt32; bufSize: Int32; length: array of Int32; &label: IntPtr) := GetObjectLabelKHR(identifier, name, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelKHR(identifier: DummyEnum; name: UInt32; bufSize: Int32; var length: Int32; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabelKHR(identifier, name, bufSize, @length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelKHR(identifier: DummyEnum; name: UInt32; bufSize: Int32; var length: Int32; &label: IntPtr) := GetObjectLabelKHR(identifier, name, bufSize, @length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelKHR(identifier: DummyEnum; name: UInt32; bufSize: Int32; length: pointer; &label: string); begin var ptr_5 := Marshal.StringToHGlobalAnsi(&label); GetObjectLabelKHR(identifier, name, bufSize, length, ptr_5); Marshal.FreeHGlobal(ptr_5); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelKHR(identifier: DummyEnum; name: UInt32; bufSize: Int32; length: pointer; &label: IntPtr) := z_GetObjectLabelKHR(identifier, name, bufSize, length, &label); - - public z_ObjectPtrLabelKHR := GetGLFuncOrNil&('glObjectPtrLabelKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabelKHR(ptr: pointer; length: Int32; &label: string); begin var ptr_3 := Marshal.StringToHGlobalAnsi(&label); ObjectPtrLabelKHR(ptr, length, ptr_3); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ObjectPtrLabelKHR(ptr: pointer; length: Int32; &label: IntPtr) := z_ObjectPtrLabelKHR(ptr, length, &label); - - public z_GetObjectPtrLabelKHR := GetGLFuncOrNil&('glGetObjectPtrLabelKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabelKHR(ptr: pointer; bufSize: Int32; length: array of Int32; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); GetObjectPtrLabelKHR(ptr, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabelKHR(ptr: pointer; bufSize: Int32; length: array of Int32; &label: IntPtr) := GetObjectPtrLabelKHR(ptr, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabelKHR(ptr: pointer; bufSize: Int32; var length: Int32; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); GetObjectPtrLabelKHR(ptr, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabelKHR(ptr: pointer; bufSize: Int32; var length: Int32; &label: IntPtr) := GetObjectPtrLabelKHR(ptr, bufSize, @length, &label); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabelKHR(ptr: pointer; bufSize: Int32; length: pointer; &label: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(&label); GetObjectPtrLabelKHR(ptr, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectPtrLabelKHR(ptr: pointer; bufSize: Int32; length: pointer; &label: IntPtr) := z_GetObjectPtrLabelKHR(ptr, bufSize, length, &label); - - {$endregion KHR_debug} - - {$region KHR_robustness} - - public z_GetGraphicsResetStatusKHR := GetGLFuncOrNil&('glGetGraphicsResetStatusKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGraphicsResetStatusKHR: DummyEnum := z_GetGraphicsResetStatusKHR; - - public z_ReadnPixelsKHR := GetGLFuncOrNil&('glReadnPixelsKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixelsKHR(x: Int32; y: Int32; width: Int32; height: Int32; format: DummyEnum; &type: DummyEnum; bufSize: Int32; data: pointer) := z_ReadnPixelsKHR(x, y, width, height, format, &type, bufSize, data); - - public z_GetnUniformfvKHR := GetGLFuncOrNil&('glGetnUniformfvKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvKHR(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of single) := GetnUniformfvKHR(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvKHR(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: single) := GetnUniformfvKHR(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvKHR(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformfvKHR(&program, location, bufSize, ¶ms); - - public z_GetnUniformivKHR := GetGLFuncOrNil&('glGetnUniformivKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivKHR(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of Int32) := GetnUniformivKHR(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivKHR(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: Int32) := GetnUniformivKHR(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivKHR(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformivKHR(&program, location, bufSize, ¶ms); - - public z_GetnUniformuivKHR := GetGLFuncOrNil&('glGetnUniformuivKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivKHR(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of UInt32) := GetnUniformuivKHR(&program, location, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivKHR(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: UInt32) := GetnUniformuivKHR(&program, location, bufSize, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivKHR(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: pointer) := z_GetnUniformuivKHR(&program, location, bufSize, ¶ms); - - {$endregion KHR_robustness} - - {$region KHR_parallel_shader_compile} - - public z_MaxShaderCompilerThreadsKHR := GetGLFuncOrNil&('glMaxShaderCompilerThreadsKHR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaxShaderCompilerThreadsKHR(count: UInt32) := z_MaxShaderCompilerThreadsKHR(count); - - {$endregion KHR_parallel_shader_compile} + public z_MultiDrawRangeElementArrayAPPLE_adr := GetFuncAdr('glMultiDrawRangeElementArrayAPPLE'); + public z_MultiDrawRangeElementArrayAPPLE_ovr_0 := GetFuncOrNil&(z_MultiDrawRangeElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: array of Int32; count: array of Int32; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_0(mode, start, &end, first[0], count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: array of Int32; var count: Int32; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_0(mode, start, &end, first[0], count, primcount); + end; + public z_MultiDrawRangeElementArrayAPPLE_ovr_2 := GetFuncOrNil&(z_MultiDrawRangeElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: array of Int32; count: IntPtr; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_2(mode, start, &end, first[0], count, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; var first: Int32; count: array of Int32; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_0(mode, start, &end, first, count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; var first: Int32; var count: Int32; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_0(mode, start, &end, first, count, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; var first: Int32; count: IntPtr; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_2(mode, start, &end, first, count, primcount); + end; + public z_MultiDrawRangeElementArrayAPPLE_ovr_6 := GetFuncOrNil&(z_MultiDrawRangeElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: IntPtr; count: array of Int32; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_6(mode, start, &end, first, count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: IntPtr; var count: Int32; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_6(mode, start, &end, first, count, primcount); + end; + public z_MultiDrawRangeElementArrayAPPLE_ovr_8 := GetFuncOrNil&(z_MultiDrawRangeElementArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawRangeElementArrayAPPLE(mode: PrimitiveType; start: UInt32; &end: UInt32; first: IntPtr; count: IntPtr; primcount: Int32); + begin + z_MultiDrawRangeElementArrayAPPLE_ovr_8(mode, start, &end, first, count, primcount); + end; end; - gl_MESA = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glFenceAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenFencesAPPLE_adr := GetFuncAdr('glGenFencesAPPLE'); + public z_GenFencesAPPLE_ovr_0 := GetFuncOrNil&(z_GenFencesAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesAPPLE(n: Int32; fences: array of UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_GenFencesAPPLE_ovr_0(n, fences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesAPPLE(n: Int32; var fences: UInt32); + begin + z_GenFencesAPPLE_ovr_0(n, fences); + end; + public z_GenFencesAPPLE_ovr_2 := GetFuncOrNil&(z_GenFencesAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesAPPLE(n: Int32; fences: IntPtr); + begin + z_GenFencesAPPLE_ovr_2(n, fences); end; - {$region MESA_framebuffer_flip_y} + public z_DeleteFencesAPPLE_adr := GetFuncAdr('glDeleteFencesAPPLE'); + public z_DeleteFencesAPPLE_ovr_0 := GetFuncOrNil&(z_DeleteFencesAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesAPPLE(n: Int32; fences: array of UInt32); + begin + z_DeleteFencesAPPLE_ovr_0(n, fences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesAPPLE(n: Int32; var fences: UInt32); + begin + z_DeleteFencesAPPLE_ovr_0(n, fences); + end; + public z_DeleteFencesAPPLE_ovr_2 := GetFuncOrNil&(z_DeleteFencesAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesAPPLE(n: Int32; fences: IntPtr); + begin + z_DeleteFencesAPPLE_ovr_2(n, fences); + end; - public z_FramebufferParameteriMESA := GetGLFuncOrNil&('glFramebufferParameteriMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferParameteriMESA(target: DummyEnum; pname: DummyEnum; param: Int32) := z_FramebufferParameteriMESA(target, pname, param); + public z_SetFenceAPPLE_adr := GetFuncAdr('glSetFenceAPPLE'); + public z_SetFenceAPPLE_ovr_0 := GetFuncOrNil&(z_SetFenceAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFenceAPPLE(fence: UInt32); + begin + z_SetFenceAPPLE_ovr_0(fence); + end; - public z_GetFramebufferParameterivMESA := GetGLFuncOrNil&('glGetFramebufferParameterivMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivMESA(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetFramebufferParameterivMESA(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivMESA(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetFramebufferParameterivMESA(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivMESA(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetFramebufferParameterivMESA(target, pname, ¶ms); + public z_IsFenceAPPLE_adr := GetFuncAdr('glIsFenceAPPLE'); + public z_IsFenceAPPLE_ovr_0 := GetFuncOrNil&(z_IsFenceAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFenceAPPLE(fence: UInt32): boolean; + begin + Result := z_IsFenceAPPLE_ovr_0(fence); + end; - {$endregion MESA_framebuffer_flip_y} + public z_TestFenceAPPLE_adr := GetFuncAdr('glTestFenceAPPLE'); + public z_TestFenceAPPLE_ovr_0 := GetFuncOrNil&(z_TestFenceAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function TestFenceAPPLE(fence: UInt32): boolean; + begin + Result := z_TestFenceAPPLE_ovr_0(fence); + end; - {$region MESA_resize_buffers} + public z_FinishFenceAPPLE_adr := GetFuncAdr('glFinishFenceAPPLE'); + public z_FinishFenceAPPLE_ovr_0 := GetFuncOrNil&(z_FinishFenceAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishFenceAPPLE(fence: UInt32); + begin + z_FinishFenceAPPLE_ovr_0(fence); + end; - public z_ResizeBuffersMESA := GetGLFuncOrNil&('glResizeBuffersMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResizeBuffersMESA := z_ResizeBuffersMESA; + public z_TestObjectAPPLE_adr := GetFuncAdr('glTestObjectAPPLE'); + public z_TestObjectAPPLE_ovr_0 := GetFuncOrNil&(z_TestObjectAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function TestObjectAPPLE(object: ObjectTypeAPPLE; name: UInt32): boolean; + begin + Result := z_TestObjectAPPLE_ovr_0(object, name); + end; - {$endregion MESA_resize_buffers} - - {$region MESA_window_pos} - - public z_WindowPos2dMESA := GetGLFuncOrNil&('glWindowPos2dMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dMESA(x: double; y: double) := z_WindowPos2dMESA(x, y); - - public z_WindowPos2fMESA := GetGLFuncOrNil&('glWindowPos2fMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fMESA(x: single; y: single) := z_WindowPos2fMESA(x, y); - - public z_WindowPos2iMESA := GetGLFuncOrNil&('glWindowPos2iMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iMESA(x: Int32; y: Int32) := z_WindowPos2iMESA(x, y); - - public z_WindowPos2sMESA := GetGLFuncOrNil&('glWindowPos2sMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sMESA(x: Int16; y: Int16) := z_WindowPos2sMESA(x, y); - - public z_WindowPos2ivMESA := GetGLFuncOrNil&('glWindowPos2ivMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivMESA(v: array of Int32) := WindowPos2ivMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivMESA(var v: Int32) := WindowPos2ivMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivMESA(v: pointer) := z_WindowPos2ivMESA(v); - - public z_WindowPos2svMESA := GetGLFuncOrNil&('glWindowPos2svMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svMESA(v: array of Int16) := WindowPos2svMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svMESA(var v: Int16) := WindowPos2svMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svMESA(v: pointer) := z_WindowPos2svMESA(v); - - public z_WindowPos2fvMESA := GetGLFuncOrNil&('glWindowPos2fvMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvMESA(v: array of single) := WindowPos2fvMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvMESA(var v: single) := WindowPos2fvMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvMESA(v: pointer) := z_WindowPos2fvMESA(v); - - public z_WindowPos2dvMESA := GetGLFuncOrNil&('glWindowPos2dvMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvMESA(v: array of double) := WindowPos2dvMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvMESA(var v: double) := WindowPos2dvMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvMESA(v: pointer) := z_WindowPos2dvMESA(v); - - public z_WindowPos3iMESA := GetGLFuncOrNil&('glWindowPos3iMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iMESA(x: Int32; y: Int32; z: Int32) := z_WindowPos3iMESA(x, y, z); - - public z_WindowPos3sMESA := GetGLFuncOrNil&('glWindowPos3sMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sMESA(x: Int16; y: Int16; z: Int16) := z_WindowPos3sMESA(x, y, z); - - public z_WindowPos3fMESA := GetGLFuncOrNil&('glWindowPos3fMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fMESA(x: single; y: single; z: single) := z_WindowPos3fMESA(x, y, z); - - public z_WindowPos3dMESA := GetGLFuncOrNil&('glWindowPos3dMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dMESA(x: double; y: double; z: double) := z_WindowPos3dMESA(x, y, z); - - public z_WindowPos3ivMESA := GetGLFuncOrNil&('glWindowPos3ivMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivMESA(v: array of Int32) := WindowPos3ivMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivMESA(var v: Int32) := WindowPos3ivMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivMESA(v: pointer) := z_WindowPos3ivMESA(v); - - public z_WindowPos3svMESA := GetGLFuncOrNil&('glWindowPos3svMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svMESA(v: array of Int16) := WindowPos3svMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svMESA(var v: Int16) := WindowPos3svMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svMESA(v: pointer) := z_WindowPos3svMESA(v); - - public z_WindowPos3fvMESA := GetGLFuncOrNil&('glWindowPos3fvMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvMESA(v: array of single) := WindowPos3fvMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvMESA(var v: single) := WindowPos3fvMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvMESA(v: pointer) := z_WindowPos3fvMESA(v); - - public z_WindowPos3dvMESA := GetGLFuncOrNil&('glWindowPos3dvMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvMESA(v: array of double) := WindowPos3dvMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvMESA(var v: double) := WindowPos3dvMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvMESA(v: pointer) := z_WindowPos3dvMESA(v); - - public z_WindowPos4iMESA := GetGLFuncOrNil&('glWindowPos4iMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4iMESA(x: Int32; y: Int32; z: Int32; w: Int32) := z_WindowPos4iMESA(x, y, z, w); - - public z_WindowPos4sMESA := GetGLFuncOrNil&('glWindowPos4sMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4sMESA(x: Int16; y: Int16; z: Int16; w: Int16) := z_WindowPos4sMESA(x, y, z, w); - - public z_WindowPos4fMESA := GetGLFuncOrNil&('glWindowPos4fMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fMESA(x: single; y: single; z: single; w: single) := z_WindowPos4fMESA(x, y, z, w); - - public z_WindowPos4dMESA := GetGLFuncOrNil&('glWindowPos4dMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dMESA(x: double; y: double; z: double; w: double) := z_WindowPos4dMESA(x, y, z, w); - - public z_WindowPos4ivMESA := GetGLFuncOrNil&('glWindowPos4ivMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4ivMESA(v: array of Int32) := WindowPos4ivMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4ivMESA(var v: Int32) := WindowPos4ivMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4ivMESA(v: pointer) := z_WindowPos4ivMESA(v); - - public z_WindowPos4svMESA := GetGLFuncOrNil&('glWindowPos4svMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4svMESA(v: array of Int16) := WindowPos4svMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4svMESA(var v: Int16) := WindowPos4svMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4svMESA(v: pointer) := z_WindowPos4svMESA(v); - - public z_WindowPos4fvMESA := GetGLFuncOrNil&('glWindowPos4fvMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fvMESA(v: array of single) := WindowPos4fvMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fvMESA(var v: single) := WindowPos4fvMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fvMESA(v: pointer) := z_WindowPos4fvMESA(v); - - public z_WindowPos4dvMESA := GetGLFuncOrNil&('glWindowPos4dvMESA'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dvMESA(v: array of double) := WindowPos4dvMESA(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dvMESA(var v: double) := WindowPos4dvMESA(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dvMESA(v: pointer) := z_WindowPos4dvMESA(v); - - {$endregion MESA_window_pos} + public z_FinishObjectAPPLE_adr := GetFuncAdr('glFinishObjectAPPLE'); + public z_FinishObjectAPPLE_ovr_0 := GetFuncOrNil&(z_FinishObjectAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishObjectAPPLE(object: ObjectTypeAPPLE; name: Int32); + begin + z_FinishObjectAPPLE_ovr_0(object, name); + end; end; - gl_NV = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glFlushBufferRangeAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BufferParameteriAPPLE_adr := GetFuncAdr('glBufferParameteriAPPLE'); + public z_BufferParameteriAPPLE_ovr_0 := GetFuncOrNil&(z_BufferParameteriAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferParameteriAPPLE(target: DummyEnum; pname: DummyEnum; param: Int32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_BufferParameteriAPPLE_ovr_0(target, pname, param); end; - {$region NV_transform_feedback} - - public z_BeginTransformFeedbackNV := GetGLFuncOrNil&('glBeginTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginTransformFeedbackNV(primitiveMode: DummyEnum) := z_BeginTransformFeedbackNV(primitiveMode); - - public z_EndTransformFeedbackNV := GetGLFuncOrNil&('glEndTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTransformFeedbackNV := z_EndTransformFeedbackNV; - - public z_GetVaryingLocationNV := GetGLFuncOrNil&('glGetVaryingLocationNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVaryingLocationNV(&program: UInt32; name: string): Int32; begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); Result := GetVaryingLocationNV(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVaryingLocationNV(&program: UInt32; name: IntPtr): Int32 := z_GetVaryingLocationNV(&program, name); - - public z_GetActiveVaryingNV := GetGLFuncOrNil&('glGetActiveVaryingNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: pointer; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, @length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: pointer; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, @length, size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: array of Int32; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(size,0)), &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, @size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, @size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, @size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, @size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; var size: Int32; &type: pointer; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, @size, &type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: array of DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&type,0)), name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, size, @&type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; var &type: DummyEnum; name: IntPtr) := GetActiveVaryingNV(&program, index, bufSize, length, size, @&type, name); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: string); begin var ptr_7 := Marshal.StringToHGlobalAnsi(name); GetActiveVaryingNV(&program, index, bufSize, length, size, &type, ptr_7); Marshal.FreeHGlobal(ptr_7); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: pointer; size: pointer; &type: pointer; name: IntPtr) := z_GetActiveVaryingNV(&program, index, bufSize, length, size, &type, name); - - public z_ActiveVaryingNV := GetGLFuncOrNil&('glActiveVaryingNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveVaryingNV(&program: UInt32; name: string); begin var ptr_2 := Marshal.StringToHGlobalAnsi(name); ActiveVaryingNV(&program, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveVaryingNV(&program: UInt32; name: IntPtr) := z_ActiveVaryingNV(&program, name); - - {$endregion NV_transform_feedback} - - {$region NV_alpha_to_coverage_dither_control} - - public z_AlphaToCoverageDitherControlNV := GetGLFuncOrNil&('glAlphaToCoverageDitherControlNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaToCoverageDitherControlNV(mode: DummyEnum) := z_AlphaToCoverageDitherControlNV(mode); - - {$endregion NV_alpha_to_coverage_dither_control} - - {$region NV_vertex_program} - - public z_BindProgramNV := GetGLFuncOrNil&('glBindProgramNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramNV(target: DummyEnum; id: UInt32) := z_BindProgramNV(target, id); - - public z_DeleteProgramsNV := GetGLFuncOrNil&('glDeleteProgramsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsNV(n: Int32; programs: array of UInt32) := DeleteProgramsNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsNV(n: Int32; var programs: UInt32) := DeleteProgramsNV(n, @programs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsNV(n: Int32; programs: pointer) := z_DeleteProgramsNV(n, programs); - - public z_ExecuteProgramNV := GetGLFuncOrNil&('glExecuteProgramNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExecuteProgramNV(target: DummyEnum; id: UInt32; ¶ms: array of single) := ExecuteProgramNV(target, id, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExecuteProgramNV(target: DummyEnum; id: UInt32; var ¶ms: single) := ExecuteProgramNV(target, id, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExecuteProgramNV(target: DummyEnum; id: UInt32; ¶ms: pointer) := z_ExecuteProgramNV(target, id, ¶ms); - - public z_GenProgramsNV := GetGLFuncOrNil&('glGenProgramsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsNV(n: Int32; programs: array of UInt32) := GenProgramsNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsNV(n: Int32; var programs: UInt32) := GenProgramsNV(n, @programs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsNV(n: Int32; programs: pointer) := z_GenProgramsNV(n, programs); - - public z_AreProgramsResidentNV := GetGLFuncOrNil&('glAreProgramsResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: array of UInt32; residences: array of boolean): boolean := AreProgramsResidentNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: array of UInt32; var residences: boolean): boolean := AreProgramsResidentNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0)), @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: array of UInt32; residences: pointer): boolean := AreProgramsResidentNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0)), residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; var programs: UInt32; residences: array of boolean): boolean := AreProgramsResidentNV(n, @programs, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; var programs: UInt32; var residences: boolean): boolean := AreProgramsResidentNV(n, @programs, @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; var programs: UInt32; residences: pointer): boolean := AreProgramsResidentNV(n, @programs, residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: pointer; residences: array of boolean): boolean := AreProgramsResidentNV(n, programs, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(residences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: pointer; var residences: boolean): boolean := AreProgramsResidentNV(n, programs, @residences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: pointer; residences: pointer): boolean := z_AreProgramsResidentNV(n, programs, residences); - - public z_RequestResidentProgramsNV := GetGLFuncOrNil&('glRequestResidentProgramsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RequestResidentProgramsNV(n: Int32; programs: array of UInt32) := RequestResidentProgramsNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RequestResidentProgramsNV(n: Int32; var programs: UInt32) := RequestResidentProgramsNV(n, @programs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RequestResidentProgramsNV(n: Int32; programs: pointer) := z_RequestResidentProgramsNV(n, programs); - - public z_GetProgramParameterfvNV := GetGLFuncOrNil&('glGetProgramParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterfvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: array of single) := GetProgramParameterfvNV(target, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterfvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; var ¶ms: single) := GetProgramParameterfvNV(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterfvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetProgramParameterfvNV(target, index, pname, ¶ms); - - public z_GetProgramParameterdvNV := GetGLFuncOrNil&('glGetProgramParameterdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterdvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: array of double) := GetProgramParameterdvNV(target, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterdvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; var ¶ms: double) := GetProgramParameterdvNV(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterdvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetProgramParameterdvNV(target, index, pname, ¶ms); - - public z_GetProgramivNV := GetGLFuncOrNil&('glGetProgramivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivNV(id: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetProgramivNV(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivNV(id: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetProgramivNV(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivNV(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetProgramivNV(id, pname, ¶ms); - - public z_GetProgramStringNV := GetGLFuncOrNil&('glGetProgramStringNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringNV(id: UInt32; pname: DummyEnum; &program: array of Byte) := GetProgramStringNV(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&program,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringNV(id: UInt32; pname: DummyEnum; var &program: Byte) := GetProgramStringNV(id, pname, @&program); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringNV(id: UInt32; pname: DummyEnum; &program: pointer) := z_GetProgramStringNV(id, pname, &program); - - public z_GetTrackMatrixivNV := GetGLFuncOrNil&('glGetTrackMatrixivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTrackMatrixivNV(target: DummyEnum; address: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetTrackMatrixivNV(target, address, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTrackMatrixivNV(target: DummyEnum; address: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetTrackMatrixivNV(target, address, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTrackMatrixivNV(target: DummyEnum; address: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetTrackMatrixivNV(target, address, pname, ¶ms); - - public z_GetVertexAttribdvNV := GetGLFuncOrNil&('glGetVertexAttribdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvNV(index: UInt32; pname: DummyEnum; ¶ms: array of double) := GetVertexAttribdvNV(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvNV(index: UInt32; pname: DummyEnum; var ¶ms: double) := GetVertexAttribdvNV(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvNV(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribdvNV(index, pname, ¶ms); - - public z_GetVertexAttribfvNV := GetGLFuncOrNil&('glGetVertexAttribfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvNV(index: UInt32; pname: DummyEnum; ¶ms: array of single) := GetVertexAttribfvNV(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvNV(index: UInt32; pname: DummyEnum; var ¶ms: single) := GetVertexAttribfvNV(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvNV(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribfvNV(index, pname, ¶ms); - - public z_GetVertexAttribivNV := GetGLFuncOrNil&('glGetVertexAttribivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivNV(index: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetVertexAttribivNV(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivNV(index: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetVertexAttribivNV(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivNV(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribivNV(index, pname, ¶ms); - - public z_GetVertexAttribPointervNV := GetGLFuncOrNil&('glGetVertexAttribPointervNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervNV(index: UInt32; pname: DummyEnum; _pointer: array of IntPtr) := GetVertexAttribPointervNV(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervNV(index: UInt32; pname: DummyEnum; var _pointer: IntPtr) := GetVertexAttribPointervNV(index, pname, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervNV(index: UInt32; pname: DummyEnum; _pointer: pointer) := z_GetVertexAttribPointervNV(index, pname, _pointer); - - public z_IsProgramNV := GetGLFuncOrNil&('glIsProgramNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramNV(id: UInt32): boolean := z_IsProgramNV(id); - - public z_LoadProgramNV := GetGLFuncOrNil&('glLoadProgramNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadProgramNV(target: DummyEnum; id: UInt32; len: Int32; &program: array of Byte) := LoadProgramNV(target, id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(&program,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadProgramNV(target: DummyEnum; id: UInt32; len: Int32; var &program: Byte) := LoadProgramNV(target, id, len, @&program); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadProgramNV(target: DummyEnum; id: UInt32; len: Int32; &program: pointer) := z_LoadProgramNV(target, id, len, &program); - - public z_ProgramParameter4fNV := GetGLFuncOrNil&('glProgramParameter4fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fNV(target: DummyEnum; index: UInt32; x: single; y: single; z: single; w: single) := z_ProgramParameter4fNV(target, index, x, y, z, w); - - public z_ProgramParameter4dNV := GetGLFuncOrNil&('glProgramParameter4dNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dNV(target: DummyEnum; index: UInt32; x: double; y: double; z: double; w: double) := z_ProgramParameter4dNV(target, index, x, y, z, w); - - public z_ProgramParameter4dvNV := GetGLFuncOrNil&('glProgramParameter4dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dvNV(target: DummyEnum; index: UInt32; v: array of double) := ProgramParameter4dvNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dvNV(target: DummyEnum; index: UInt32; var v: double) := ProgramParameter4dvNV(target, index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dvNV(target: DummyEnum; index: UInt32; v: pointer) := z_ProgramParameter4dvNV(target, index, v); - - public z_ProgramParameter4fvNV := GetGLFuncOrNil&('glProgramParameter4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fvNV(target: DummyEnum; index: UInt32; v: array of single) := ProgramParameter4fvNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fvNV(target: DummyEnum; index: UInt32; var v: single) := ProgramParameter4fvNV(target, index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fvNV(target: DummyEnum; index: UInt32; v: pointer) := z_ProgramParameter4fvNV(target, index, v); - - public z_ProgramParameters4dvNV := GetGLFuncOrNil&('glProgramParameters4dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4dvNV(target: DummyEnum; index: UInt32; count: Int32; v: array of double) := ProgramParameters4dvNV(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4dvNV(target: DummyEnum; index: UInt32; count: Int32; var v: double) := ProgramParameters4dvNV(target, index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4dvNV(target: DummyEnum; index: UInt32; count: Int32; v: pointer) := z_ProgramParameters4dvNV(target, index, count, v); - - public z_ProgramParameters4fvNV := GetGLFuncOrNil&('glProgramParameters4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4fvNV(target: DummyEnum; index: UInt32; count: Int32; v: array of single) := ProgramParameters4fvNV(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4fvNV(target: DummyEnum; index: UInt32; count: Int32; var v: single) := ProgramParameters4fvNV(target, index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4fvNV(target: DummyEnum; index: UInt32; count: Int32; v: pointer) := z_ProgramParameters4fvNV(target, index, count, v); - - public z_TrackMatrixNV := GetGLFuncOrNil&('glTrackMatrixNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TrackMatrixNV(target: DummyEnum; address: UInt32; matrix: DummyEnum; transform: DummyEnum) := z_TrackMatrixNV(target, address, matrix, transform); - - public z_VertexAttribPointerNV := GetGLFuncOrNil&('glVertexAttribPointerNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointerNV(index: UInt32; fsize: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_VertexAttribPointerNV(index, fsize, &type, stride, _pointer); - - public z_VertexAttrib1sNV := GetGLFuncOrNil&('glVertexAttrib1sNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sNV(index: UInt32; x: Int16) := z_VertexAttrib1sNV(index, x); - - public z_VertexAttrib1fNV := GetGLFuncOrNil&('glVertexAttrib1fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fNV(index: UInt32; x: single) := z_VertexAttrib1fNV(index, x); - - public z_VertexAttrib1dNV := GetGLFuncOrNil&('glVertexAttrib1dNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dNV(index: UInt32; x: double) := z_VertexAttrib1dNV(index, x); - - public z_VertexAttrib2sNV := GetGLFuncOrNil&('glVertexAttrib2sNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sNV(index: UInt32; x: Int16; y: Int16) := z_VertexAttrib2sNV(index, x, y); - - public z_VertexAttrib2fNV := GetGLFuncOrNil&('glVertexAttrib2fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fNV(index: UInt32; x: single; y: single) := z_VertexAttrib2fNV(index, x, y); - - public z_VertexAttrib2dNV := GetGLFuncOrNil&('glVertexAttrib2dNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dNV(index: UInt32; x: double; y: double) := z_VertexAttrib2dNV(index, x, y); - - public z_VertexAttrib3sNV := GetGLFuncOrNil&('glVertexAttrib3sNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sNV(index: UInt32; x: Int16; y: Int16; z: Int16) := z_VertexAttrib3sNV(index, x, y, z); - - public z_VertexAttrib3fNV := GetGLFuncOrNil&('glVertexAttrib3fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fNV(index: UInt32; x: single; y: single; z: single) := z_VertexAttrib3fNV(index, x, y, z); - - public z_VertexAttrib3dNV := GetGLFuncOrNil&('glVertexAttrib3dNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dNV(index: UInt32; x: double; y: double; z: double) := z_VertexAttrib3dNV(index, x, y, z); - - public z_VertexAttrib4sNV := GetGLFuncOrNil&('glVertexAttrib4sNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sNV(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16) := z_VertexAttrib4sNV(index, x, y, z, w); - - public z_VertexAttrib4fNV := GetGLFuncOrNil&('glVertexAttrib4fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fNV(index: UInt32; x: single; y: single; z: single; w: single) := z_VertexAttrib4fNV(index, x, y, z, w); - - public z_VertexAttrib4dNV := GetGLFuncOrNil&('glVertexAttrib4dNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dNV(index: UInt32; x: double; y: double; z: double; w: double) := z_VertexAttrib4dNV(index, x, y, z, w); - - public z_VertexAttrib4ubNV := GetGLFuncOrNil&('glVertexAttrib4ubNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubNV(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte) := z_VertexAttrib4ubNV(index, x, y, z, w); - - public z_VertexAttrib1svNV := GetGLFuncOrNil&('glVertexAttrib1svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svNV(index: UInt32; v: array of Int16) := VertexAttrib1svNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svNV(index: UInt32; var v: Int16) := VertexAttrib1svNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svNV(index: UInt32; v: pointer) := z_VertexAttrib1svNV(index, v); - - public z_VertexAttrib1fvNV := GetGLFuncOrNil&('glVertexAttrib1fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvNV(index: UInt32; v: array of single) := VertexAttrib1fvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvNV(index: UInt32; var v: single) := VertexAttrib1fvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvNV(index: UInt32; v: pointer) := z_VertexAttrib1fvNV(index, v); - - public z_VertexAttrib1dvNV := GetGLFuncOrNil&('glVertexAttrib1dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvNV(index: UInt32; v: array of double) := VertexAttrib1dvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvNV(index: UInt32; var v: double) := VertexAttrib1dvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvNV(index: UInt32; v: pointer) := z_VertexAttrib1dvNV(index, v); - - public z_VertexAttrib2svNV := GetGLFuncOrNil&('glVertexAttrib2svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svNV(index: UInt32; v: array of Int16) := VertexAttrib2svNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svNV(index: UInt32; var v: Int16) := VertexAttrib2svNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svNV(index: UInt32; v: pointer) := z_VertexAttrib2svNV(index, v); - - public z_VertexAttrib2fvNV := GetGLFuncOrNil&('glVertexAttrib2fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvNV(index: UInt32; v: array of single) := VertexAttrib2fvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvNV(index: UInt32; var v: single) := VertexAttrib2fvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvNV(index: UInt32; v: pointer) := z_VertexAttrib2fvNV(index, v); - - public z_VertexAttrib2dvNV := GetGLFuncOrNil&('glVertexAttrib2dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvNV(index: UInt32; v: array of double) := VertexAttrib2dvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvNV(index: UInt32; var v: double) := VertexAttrib2dvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvNV(index: UInt32; v: pointer) := z_VertexAttrib2dvNV(index, v); - - public z_VertexAttrib3svNV := GetGLFuncOrNil&('glVertexAttrib3svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svNV(index: UInt32; v: array of Int16) := VertexAttrib3svNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svNV(index: UInt32; var v: Int16) := VertexAttrib3svNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svNV(index: UInt32; v: pointer) := z_VertexAttrib3svNV(index, v); - - public z_VertexAttrib3fvNV := GetGLFuncOrNil&('glVertexAttrib3fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvNV(index: UInt32; v: array of single) := VertexAttrib3fvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvNV(index: UInt32; var v: single) := VertexAttrib3fvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvNV(index: UInt32; v: pointer) := z_VertexAttrib3fvNV(index, v); - - public z_VertexAttrib3dvNV := GetGLFuncOrNil&('glVertexAttrib3dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvNV(index: UInt32; v: array of double) := VertexAttrib3dvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvNV(index: UInt32; var v: double) := VertexAttrib3dvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvNV(index: UInt32; v: pointer) := z_VertexAttrib3dvNV(index, v); - - public z_VertexAttrib4svNV := GetGLFuncOrNil&('glVertexAttrib4svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svNV(index: UInt32; v: array of Int16) := VertexAttrib4svNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svNV(index: UInt32; var v: Int16) := VertexAttrib4svNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svNV(index: UInt32; v: pointer) := z_VertexAttrib4svNV(index, v); - - public z_VertexAttrib4fvNV := GetGLFuncOrNil&('glVertexAttrib4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvNV(index: UInt32; v: array of single) := VertexAttrib4fvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvNV(index: UInt32; var v: single) := VertexAttrib4fvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvNV(index: UInt32; v: pointer) := z_VertexAttrib4fvNV(index, v); - - public z_VertexAttrib4dvNV := GetGLFuncOrNil&('glVertexAttrib4dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvNV(index: UInt32; v: array of double) := VertexAttrib4dvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvNV(index: UInt32; var v: double) := VertexAttrib4dvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvNV(index: UInt32; v: pointer) := z_VertexAttrib4dvNV(index, v); - - public z_VertexAttrib4ubvNV := GetGLFuncOrNil&('glVertexAttrib4ubvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvNV(index: UInt32; v: array of Byte) := VertexAttrib4ubvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvNV(index: UInt32; var v: Byte) := VertexAttrib4ubvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvNV(index: UInt32; v: pointer) := z_VertexAttrib4ubvNV(index, v); - - public z_VertexAttribs1svNV := GetGLFuncOrNil&('glVertexAttribs1svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1svNV(index: UInt32; count: Int32; v: array of Int16) := VertexAttribs1svNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1svNV(index: UInt32; count: Int32; var v: Int16) := VertexAttribs1svNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1svNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs1svNV(index, count, v); - - public z_VertexAttribs1fvNV := GetGLFuncOrNil&('glVertexAttribs1fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1fvNV(index: UInt32; count: Int32; v: array of single) := VertexAttribs1fvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1fvNV(index: UInt32; count: Int32; var v: single) := VertexAttribs1fvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1fvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs1fvNV(index, count, v); - - public z_VertexAttribs1dvNV := GetGLFuncOrNil&('glVertexAttribs1dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1dvNV(index: UInt32; count: Int32; v: array of double) := VertexAttribs1dvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1dvNV(index: UInt32; count: Int32; var v: double) := VertexAttribs1dvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1dvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs1dvNV(index, count, v); - - public z_VertexAttribs2svNV := GetGLFuncOrNil&('glVertexAttribs2svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2svNV(index: UInt32; count: Int32; v: array of Int16) := VertexAttribs2svNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2svNV(index: UInt32; count: Int32; var v: Int16) := VertexAttribs2svNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2svNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs2svNV(index, count, v); - - public z_VertexAttribs2fvNV := GetGLFuncOrNil&('glVertexAttribs2fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2fvNV(index: UInt32; count: Int32; v: array of single) := VertexAttribs2fvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2fvNV(index: UInt32; count: Int32; var v: single) := VertexAttribs2fvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2fvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs2fvNV(index, count, v); - - public z_VertexAttribs2dvNV := GetGLFuncOrNil&('glVertexAttribs2dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2dvNV(index: UInt32; count: Int32; v: array of double) := VertexAttribs2dvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2dvNV(index: UInt32; count: Int32; var v: double) := VertexAttribs2dvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2dvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs2dvNV(index, count, v); - - public z_VertexAttribs3svNV := GetGLFuncOrNil&('glVertexAttribs3svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3svNV(index: UInt32; count: Int32; v: array of Int16) := VertexAttribs3svNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3svNV(index: UInt32; count: Int32; var v: Int16) := VertexAttribs3svNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3svNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs3svNV(index, count, v); - - public z_VertexAttribs3fvNV := GetGLFuncOrNil&('glVertexAttribs3fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3fvNV(index: UInt32; count: Int32; v: array of single) := VertexAttribs3fvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3fvNV(index: UInt32; count: Int32; var v: single) := VertexAttribs3fvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3fvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs3fvNV(index, count, v); - - public z_VertexAttribs3dvNV := GetGLFuncOrNil&('glVertexAttribs3dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3dvNV(index: UInt32; count: Int32; v: array of double) := VertexAttribs3dvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3dvNV(index: UInt32; count: Int32; var v: double) := VertexAttribs3dvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3dvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs3dvNV(index, count, v); - - public z_VertexAttribs4svNV := GetGLFuncOrNil&('glVertexAttribs4svNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4svNV(index: UInt32; count: Int32; v: array of Int16) := VertexAttribs4svNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4svNV(index: UInt32; count: Int32; var v: Int16) := VertexAttribs4svNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4svNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs4svNV(index, count, v); - - public z_VertexAttribs4fvNV := GetGLFuncOrNil&('glVertexAttribs4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4fvNV(index: UInt32; count: Int32; v: array of single) := VertexAttribs4fvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4fvNV(index: UInt32; count: Int32; var v: single) := VertexAttribs4fvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4fvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs4fvNV(index, count, v); - - public z_VertexAttribs4dvNV := GetGLFuncOrNil&('glVertexAttribs4dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4dvNV(index: UInt32; count: Int32; v: array of double) := VertexAttribs4dvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4dvNV(index: UInt32; count: Int32; var v: double) := VertexAttribs4dvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4dvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs4dvNV(index, count, v); - - public z_VertexAttribs4ubvNV := GetGLFuncOrNil&('glVertexAttribs4ubvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4ubvNV(index: UInt32; count: Int32; v: array of Byte) := VertexAttribs4ubvNV(index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4ubvNV(index: UInt32; count: Int32; var v: Byte) := VertexAttribs4ubvNV(index, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4ubvNV(index: UInt32; count: Int32; v: pointer) := z_VertexAttribs4ubvNV(index, count, v); - - {$endregion NV_vertex_program} - - {$region NV_conditional_render} - - public z_BeginConditionalRenderNV := GetGLFuncOrNil&('glBeginConditionalRenderNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginConditionalRenderNV(id: UInt32; mode: DummyEnum) := z_BeginConditionalRenderNV(id, mode); - - public z_EndConditionalRenderNV := GetGLFuncOrNil&('glEndConditionalRenderNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndConditionalRenderNV := z_EndConditionalRenderNV; - - {$endregion NV_conditional_render} - - {$region NV_occlusion_query} - - public z_GenOcclusionQueriesNV := GetGLFuncOrNil&('glGenOcclusionQueriesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenOcclusionQueriesNV(n: Int32; ids: array of UInt32) := GenOcclusionQueriesNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenOcclusionQueriesNV(n: Int32; var ids: UInt32) := GenOcclusionQueriesNV(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenOcclusionQueriesNV(n: Int32; ids: pointer) := z_GenOcclusionQueriesNV(n, ids); - - public z_DeleteOcclusionQueriesNV := GetGLFuncOrNil&('glDeleteOcclusionQueriesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteOcclusionQueriesNV(n: Int32; ids: array of UInt32) := DeleteOcclusionQueriesNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteOcclusionQueriesNV(n: Int32; var ids: UInt32) := DeleteOcclusionQueriesNV(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteOcclusionQueriesNV(n: Int32; ids: pointer) := z_DeleteOcclusionQueriesNV(n, ids); - - public z_IsOcclusionQueryNV := GetGLFuncOrNil&('glIsOcclusionQueryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsOcclusionQueryNV(id: UInt32): boolean := z_IsOcclusionQueryNV(id); - - public z_BeginOcclusionQueryNV := GetGLFuncOrNil&('glBeginOcclusionQueryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginOcclusionQueryNV(id: UInt32) := z_BeginOcclusionQueryNV(id); - - public z_EndOcclusionQueryNV := GetGLFuncOrNil&('glEndOcclusionQueryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndOcclusionQueryNV := z_EndOcclusionQueryNV; - - public z_GetOcclusionQueryivNV := GetGLFuncOrNil&('glGetOcclusionQueryivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryivNV(id: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetOcclusionQueryivNV(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryivNV(id: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetOcclusionQueryivNV(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryivNV(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetOcclusionQueryivNV(id, pname, ¶ms); - - public z_GetOcclusionQueryuivNV := GetGLFuncOrNil&('glGetOcclusionQueryuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryuivNV(id: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetOcclusionQueryuivNV(id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryuivNV(id: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetOcclusionQueryuivNV(id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryuivNV(id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetOcclusionQueryuivNV(id, pname, ¶ms); - - {$endregion NV_occlusion_query} - - {$region NV_parameter_buffer_object NV_transform_feedback} - - public z_BindBufferRangeNV := GetGLFuncOrNil&('glBindBufferRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferRangeNV(target: DummyEnum; index: UInt32; buffer: UInt32; offset: IntPtr; size: UIntPtr) := z_BindBufferRangeNV(target, index, buffer, offset, size); - - public z_BindBufferBaseNV := GetGLFuncOrNil&('glBindBufferBaseNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferBaseNV(target: DummyEnum; index: UInt32; buffer: UInt32) := z_BindBufferBaseNV(target, index, buffer); - - {$endregion NV_parameter_buffer_object NV_transform_feedback} - - {$region ARB_transform_feedback3 NV_parameter_buffer_object NV_transform_feedback} - - public z_BindBufferOffsetNV := GetGLFuncOrNil&('glBindBufferOffsetNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferOffsetNV(target: DummyEnum; index: UInt32; buffer: UInt32; offset: IntPtr) := z_BindBufferOffsetNV(target, index, buffer, offset); - - {$endregion ARB_transform_feedback3 NV_parameter_buffer_object NV_transform_feedback} - - {$region NV_shading_rate_image} - - public z_BindShadingRateImageNV := GetGLFuncOrNil&('glBindShadingRateImageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindShadingRateImageNV(texture: UInt32) := z_BindShadingRateImageNV(texture); - - public z_ShadingRateImagePaletteNV := GetGLFuncOrNil&('glShadingRateImagePaletteNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImagePaletteNV(viewport: UInt32; first: UInt32; count: Int32; rates: array of DummyEnum) := ShadingRateImagePaletteNV(viewport, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(rates,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImagePaletteNV(viewport: UInt32; first: UInt32; count: Int32; var rates: DummyEnum) := ShadingRateImagePaletteNV(viewport, first, count, @rates); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImagePaletteNV(viewport: UInt32; first: UInt32; count: Int32; rates: pointer) := z_ShadingRateImagePaletteNV(viewport, first, count, rates); - - public z_GetShadingRateImagePaletteNV := GetGLFuncOrNil&('glGetShadingRateImagePaletteNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateImagePaletteNV(viewport: UInt32; entry: UInt32; rate: array of DummyEnum) := GetShadingRateImagePaletteNV(viewport, entry, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(rate,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateImagePaletteNV(viewport: UInt32; entry: UInt32; var rate: DummyEnum) := GetShadingRateImagePaletteNV(viewport, entry, @rate); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateImagePaletteNV(viewport: UInt32; entry: UInt32; rate: pointer) := z_GetShadingRateImagePaletteNV(viewport, entry, rate); - - public z_ShadingRateSampleOrderCustomNV := GetGLFuncOrNil&('glShadingRateSampleOrderCustomNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderCustomNV(rate: DummyEnum; samples: UInt32; locations: array of Int32) := ShadingRateSampleOrderCustomNV(rate, samples, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(locations,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderCustomNV(rate: DummyEnum; samples: UInt32; var locations: Int32) := ShadingRateSampleOrderCustomNV(rate, samples, @locations); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderCustomNV(rate: DummyEnum; samples: UInt32; locations: pointer) := z_ShadingRateSampleOrderCustomNV(rate, samples, locations); - - public z_GetShadingRateSampleLocationivNV := GetGLFuncOrNil&('glGetShadingRateSampleLocationivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateSampleLocationivNV(rate: DummyEnum; samples: UInt32; index: UInt32; location: array of Int32) := GetShadingRateSampleLocationivNV(rate, samples, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(location,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateSampleLocationivNV(rate: DummyEnum; samples: UInt32; index: UInt32; var location: Int32) := GetShadingRateSampleLocationivNV(rate, samples, index, @location); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateSampleLocationivNV(rate: DummyEnum; samples: UInt32; index: UInt32; location: pointer) := z_GetShadingRateSampleLocationivNV(rate, samples, index, location); - - public z_ShadingRateSampleOrderNV := GetGLFuncOrNil&('glShadingRateSampleOrderNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderNV(order: DummyEnum) := z_ShadingRateSampleOrderNV(order); - - {$endregion NV_shading_rate_image} - - {$region NV_transform_feedback2} - - public z_BindTransformFeedbackNV := GetGLFuncOrNil&('glBindTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTransformFeedbackNV(target: DummyEnum; id: UInt32) := z_BindTransformFeedbackNV(target, id); - - public z_DeleteTransformFeedbacksNV := GetGLFuncOrNil&('glDeleteTransformFeedbacksNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacksNV(n: Int32; ids: array of UInt32) := DeleteTransformFeedbacksNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacksNV(n: Int32; var ids: UInt32) := DeleteTransformFeedbacksNV(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacksNV(n: Int32; ids: pointer) := z_DeleteTransformFeedbacksNV(n, ids); - - public z_GenTransformFeedbacksNV := GetGLFuncOrNil&('glGenTransformFeedbacksNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacksNV(n: Int32; ids: array of UInt32) := GenTransformFeedbacksNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ids,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacksNV(n: Int32; var ids: UInt32) := GenTransformFeedbacksNV(n, @ids); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacksNV(n: Int32; ids: pointer) := z_GenTransformFeedbacksNV(n, ids); - - public z_IsTransformFeedbackNV := GetGLFuncOrNil&('glIsTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTransformFeedbackNV(id: UInt32): boolean := z_IsTransformFeedbackNV(id); - - public z_PauseTransformFeedbackNV := GetGLFuncOrNil&('glPauseTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PauseTransformFeedbackNV := z_PauseTransformFeedbackNV; - - public z_ResumeTransformFeedbackNV := GetGLFuncOrNil&('glResumeTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResumeTransformFeedbackNV := z_ResumeTransformFeedbackNV; - - public z_DrawTransformFeedbackNV := GetGLFuncOrNil&('glDrawTransformFeedbackNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackNV(mode: DummyEnum; id: UInt32) := z_DrawTransformFeedbackNV(mode, id); - - {$endregion NV_transform_feedback2} - - {$region NV_blend_equation_advanced} - - public z_BlendParameteriNV := GetGLFuncOrNil&('glBlendParameteriNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendParameteriNV(pname: DummyEnum; value: Int32) := z_BlendParameteriNV(pname, value); - - public z_BlendBarrierNV := GetGLFuncOrNil&('glBlendBarrierNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendBarrierNV := z_BlendBarrierNV; - - {$endregion NV_blend_equation_advanced} - - {$region NV_framebuffer_blit} - - public z_BlitFramebufferNV := GetGLFuncOrNil&('glBlitFramebufferNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitFramebufferNV(srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_BlitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - {$endregion NV_framebuffer_blit} - - {$region NV_vertex_buffer_unified_memory} - - public z_BufferAddressRangeNV := GetGLFuncOrNil&('glBufferAddressRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferAddressRangeNV(pname: DummyEnum; index: UInt32; address: UInt64; length: UIntPtr) := z_BufferAddressRangeNV(pname, index, address, length); - - public z_VertexFormatNV := GetGLFuncOrNil&('glVertexFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexFormatNV(size: Int32; &type: DummyEnum; stride: Int32) := z_VertexFormatNV(size, &type, stride); - - public z_NormalFormatNV := GetGLFuncOrNil&('glNormalFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalFormatNV(&type: DummyEnum; stride: Int32) := z_NormalFormatNV(&type, stride); - - public z_ColorFormatNV := GetGLFuncOrNil&('glColorFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFormatNV(size: Int32; &type: DummyEnum; stride: Int32) := z_ColorFormatNV(size, &type, stride); - - public z_IndexFormatNV := GetGLFuncOrNil&('glIndexFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexFormatNV(&type: DummyEnum; stride: Int32) := z_IndexFormatNV(&type, stride); - - public z_TexCoordFormatNV := GetGLFuncOrNil&('glTexCoordFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordFormatNV(size: Int32; &type: DummyEnum; stride: Int32) := z_TexCoordFormatNV(size, &type, stride); - - public z_EdgeFlagFormatNV := GetGLFuncOrNil&('glEdgeFlagFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagFormatNV(stride: Int32) := z_EdgeFlagFormatNV(stride); - - public z_SecondaryColorFormatNV := GetGLFuncOrNil&('glSecondaryColorFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorFormatNV(size: Int32; &type: DummyEnum; stride: Int32) := z_SecondaryColorFormatNV(size, &type, stride); - - public z_FogCoordFormatNV := GetGLFuncOrNil&('glFogCoordFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordFormatNV(&type: DummyEnum; stride: Int32) := z_FogCoordFormatNV(&type, stride); - - public z_VertexAttribFormatNV := GetGLFuncOrNil&('glVertexAttribFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribFormatNV(index: UInt32; size: Int32; &type: DummyEnum; normalized: boolean; stride: Int32) := z_VertexAttribFormatNV(index, size, &type, normalized, stride); - - public z_VertexAttribIFormatNV := GetGLFuncOrNil&('glVertexAttribIFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIFormatNV(index: UInt32; size: Int32; &type: DummyEnum; stride: Int32) := z_VertexAttribIFormatNV(index, size, &type, stride); - - public z_GetIntegerui64i_vNV := GetGLFuncOrNil&('glGetIntegerui64i_vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64i_vNV(value: GLGetQueries; index: UInt32; result: array of UInt64) := GetIntegerui64i_vNV(value, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(result,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64i_vNV(value: GLGetQueries; index: UInt32; var result: UInt64) := GetIntegerui64i_vNV(value, index, @result); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64i_vNV(value: GLGetQueries; index: UInt32; result: pointer) := z_GetIntegerui64i_vNV(value, index, result); - - {$endregion NV_vertex_buffer_unified_memory} - - {$region NV_memory_attachment} - - public z_GetMemoryObjectDetachedResourcesuivNV := GetGLFuncOrNil&('glGetMemoryObjectDetachedResourcesuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectDetachedResourcesuivNV(memory: UInt32; pname: DummyEnum; first: Int32; count: Int32; ¶ms: array of UInt32) := GetMemoryObjectDetachedResourcesuivNV(memory, pname, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectDetachedResourcesuivNV(memory: UInt32; pname: DummyEnum; first: Int32; count: Int32; var ¶ms: UInt32) := GetMemoryObjectDetachedResourcesuivNV(memory, pname, first, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectDetachedResourcesuivNV(memory: UInt32; pname: DummyEnum; first: Int32; count: Int32; ¶ms: pointer) := z_GetMemoryObjectDetachedResourcesuivNV(memory, pname, first, count, ¶ms); - - public z_ResetMemoryObjectParameterNV := GetGLFuncOrNil&('glResetMemoryObjectParameterNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetMemoryObjectParameterNV(memory: UInt32; pname: DummyEnum) := z_ResetMemoryObjectParameterNV(memory, pname); - - public z_TexAttachMemoryNV := GetGLFuncOrNil&('glTexAttachMemoryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexAttachMemoryNV(target: DummyEnum; memory: UInt32; offset: UInt64) := z_TexAttachMemoryNV(target, memory, offset); - - public z_BufferAttachMemoryNV := GetGLFuncOrNil&('glBufferAttachMemoryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferAttachMemoryNV(target: DummyEnum; memory: UInt32; offset: UInt64) := z_BufferAttachMemoryNV(target, memory, offset); - - public z_TextureAttachMemoryNV := GetGLFuncOrNil&('glTextureAttachMemoryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureAttachMemoryNV(texture: UInt32; memory: UInt32; offset: UInt64) := z_TextureAttachMemoryNV(texture, memory, offset); - - public z_NamedBufferAttachMemoryNV := GetGLFuncOrNil&('glNamedBufferAttachMemoryNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferAttachMemoryNV(buffer: UInt32; memory: UInt32; offset: UInt64) := z_NamedBufferAttachMemoryNV(buffer, memory, offset); - - {$endregion NV_memory_attachment} - - {$region NV_command_list} - - public z_CreateStatesNV := GetGLFuncOrNil&('glCreateStatesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateStatesNV(n: Int32; states: array of UInt32) := CreateStatesNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateStatesNV(n: Int32; var states: UInt32) := CreateStatesNV(n, @states); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateStatesNV(n: Int32; states: pointer) := z_CreateStatesNV(n, states); - - public z_DeleteStatesNV := GetGLFuncOrNil&('glDeleteStatesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteStatesNV(n: Int32; states: array of UInt32) := DeleteStatesNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteStatesNV(n: Int32; var states: UInt32) := DeleteStatesNV(n, @states); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteStatesNV(n: Int32; states: pointer) := z_DeleteStatesNV(n, states); - - public z_IsStateNV := GetGLFuncOrNil&('glIsStateNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsStateNV(state: UInt32): boolean := z_IsStateNV(state); - - public z_StateCaptureNV := GetGLFuncOrNil&('glStateCaptureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StateCaptureNV(state: UInt32; mode: DummyEnum) := z_StateCaptureNV(state, mode); - - public z_GetCommandHeaderNV := GetGLFuncOrNil&('glGetCommandHeaderNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCommandHeaderNV(tokenID: DummyEnum; size: UInt32): UInt32 := z_GetCommandHeaderNV(tokenID, size); - - public z_GetStageIndexNV := GetGLFuncOrNil&('glGetStageIndexNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetStageIndexNV(shadertype: DummyEnum): UInt16 := z_GetStageIndexNV(shadertype); - - public z_DrawCommandsNV := GetGLFuncOrNil&('glDrawCommandsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: array of IntPtr; sizes: pointer; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; var indirects: IntPtr; var sizes: Int32; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, @indirects, @sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; var indirects: IntPtr; sizes: pointer; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, @indirects, sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: pointer; sizes: array of Int32; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: pointer; var sizes: Int32; count: UInt32) := DrawCommandsNV(primitiveMode, buffer, indirects, @sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: pointer; sizes: pointer; count: UInt32) := z_DrawCommandsNV(primitiveMode, buffer, indirects, sizes, count); - - public z_DrawCommandsAddressNV := GetGLFuncOrNil&('glDrawCommandsAddressNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: array of UInt64; sizes: array of Int32; count: UInt32) := DrawCommandsAddressNV(primitiveMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: array of UInt64; var sizes: Int32; count: UInt32) := DrawCommandsAddressNV(primitiveMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: array of UInt64; sizes: pointer; count: UInt32) := DrawCommandsAddressNV(primitiveMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; var indirects: UInt64; sizes: array of Int32; count: UInt32) := DrawCommandsAddressNV(primitiveMode, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; var indirects: UInt64; var sizes: Int32; count: UInt32) := DrawCommandsAddressNV(primitiveMode, @indirects, @sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; var indirects: UInt64; sizes: pointer; count: UInt32) := DrawCommandsAddressNV(primitiveMode, @indirects, sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: pointer; sizes: array of Int32; count: UInt32) := DrawCommandsAddressNV(primitiveMode, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: pointer; var sizes: Int32; count: UInt32) := DrawCommandsAddressNV(primitiveMode, indirects, @sizes, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: pointer; sizes: pointer; count: UInt32) := z_DrawCommandsAddressNV(primitiveMode, indirects, sizes, count); - - public z_DrawCommandsStatesNV := GetGLFuncOrNil&('glDrawCommandsStatesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, @indirects, sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesNV(buffer, indirects, sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := z_DrawCommandsStatesNV(buffer, indirects, sizes, states, fbos, count); - - public z_DrawCommandsStatesAddressNV := GetGLFuncOrNil&('glDrawCommandsStatesAddressNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(@indirects, sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := DrawCommandsStatesAddressNV(indirects, sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: pointer; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := z_DrawCommandsStatesAddressNV(indirects, sizes, states, fbos, count); - - public z_CreateCommandListsNV := GetGLFuncOrNil&('glCreateCommandListsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateCommandListsNV(n: Int32; lists: array of UInt32) := CreateCommandListsNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lists,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateCommandListsNV(n: Int32; var lists: UInt32) := CreateCommandListsNV(n, @lists); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateCommandListsNV(n: Int32; lists: pointer) := z_CreateCommandListsNV(n, lists); - - public z_DeleteCommandListsNV := GetGLFuncOrNil&('glDeleteCommandListsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteCommandListsNV(n: Int32; lists: array of UInt32) := DeleteCommandListsNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(lists,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteCommandListsNV(n: Int32; var lists: UInt32) := DeleteCommandListsNV(n, @lists); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteCommandListsNV(n: Int32; lists: pointer) := z_DeleteCommandListsNV(n, lists); - - public z_IsCommandListNV := GetGLFuncOrNil&('glIsCommandListNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsCommandListNV(list: UInt32): boolean := z_IsCommandListNV(list); - - public z_ListDrawCommandsStatesClientNV := GetGLFuncOrNil&('glListDrawCommandsStatesClientNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(indirects,0)), sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, @indirects, sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(sizes,0)), states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: pointer; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, @sizes, states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; states: array of UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; states: array of UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; states: array of UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(states,0)), fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; var states: UInt32; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, @states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; var states: UInt32; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, @states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; var states: UInt32; fbos: pointer; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, @states, fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; states: pointer; fbos: array of UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, states, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fbos,0)), count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; states: pointer; var fbos: UInt32; count: UInt32) := ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, states, @fbos, count); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: pointer; states: pointer; fbos: pointer; count: UInt32) := z_ListDrawCommandsStatesClientNV(list, segment, indirects, sizes, states, fbos, count); - - public z_CommandListSegmentsNV := GetGLFuncOrNil&('glCommandListSegmentsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CommandListSegmentsNV(list: UInt32; segments: UInt32) := z_CommandListSegmentsNV(list, segments); - - public z_CompileCommandListNV := GetGLFuncOrNil&('glCompileCommandListNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileCommandListNV(list: UInt32) := z_CompileCommandListNV(list); - - public z_CallCommandListNV := GetGLFuncOrNil&('glCallCommandListNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CallCommandListNV(list: UInt32) := z_CallCommandListNV(list); - - {$endregion NV_command_list} - - {$region NV_depth_buffer_float} - - public z_DepthRangedNV := GetGLFuncOrNil&('glDepthRangedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangedNV(zNear: double; zFar: double) := z_DepthRangedNV(zNear, zFar); - - public z_ClearDepthdNV := GetGLFuncOrNil&('glClearDepthdNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthdNV(depth: double) := z_ClearDepthdNV(depth); - - public z_DepthBoundsdNV := GetGLFuncOrNil&('glDepthBoundsdNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthBoundsdNV(zmin: double; zmax: double) := z_DepthBoundsdNV(zmin, zmax); - - {$endregion NV_depth_buffer_float} - - {$region NV_half_float} - - public z_Vertex2hNV := GetGLFuncOrNil&('glVertex2hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hNV(x: half; y: half) := z_Vertex2hNV(x, y); - - public z_Vertex2hvNV := GetGLFuncOrNil&('glVertex2hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hvNV(v: array of half) := Vertex2hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hvNV(var v: half) := Vertex2hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hvNV(v: pointer) := z_Vertex2hvNV(v); - - public z_Vertex3hNV := GetGLFuncOrNil&('glVertex3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hNV(x: half; y: half; z: half) := z_Vertex3hNV(x, y, z); - - public z_Vertex3hvNV := GetGLFuncOrNil&('glVertex3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hvNV(v: array of half) := Vertex3hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hvNV(var v: half) := Vertex3hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hvNV(v: pointer) := z_Vertex3hvNV(v); - - public z_Vertex4hNV := GetGLFuncOrNil&('glVertex4hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hNV(x: half; y: half; z: half; w: half) := z_Vertex4hNV(x, y, z, w); - - public z_Vertex4hvNV := GetGLFuncOrNil&('glVertex4hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hvNV(v: array of half) := Vertex4hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hvNV(var v: half) := Vertex4hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hvNV(v: pointer) := z_Vertex4hvNV(v); - - public z_Normal3hNV := GetGLFuncOrNil&('glNormal3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hNV(nx: half; ny: half; nz: half) := z_Normal3hNV(nx, ny, nz); - - public z_Normal3hvNV := GetGLFuncOrNil&('glNormal3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hvNV(v: array of half) := Normal3hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hvNV(var v: half) := Normal3hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hvNV(v: pointer) := z_Normal3hvNV(v); - - public z_Color3hNV := GetGLFuncOrNil&('glColor3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hNV(red: half; green: half; blue: half) := z_Color3hNV(red, green, blue); - - public z_Color3hvNV := GetGLFuncOrNil&('glColor3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hvNV(v: array of half) := Color3hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hvNV(var v: half) := Color3hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hvNV(v: pointer) := z_Color3hvNV(v); - - public z_Color4hNV := GetGLFuncOrNil&('glColor4hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hNV(red: half; green: half; blue: half; alpha: half) := z_Color4hNV(red, green, blue, alpha); - - public z_Color4hvNV := GetGLFuncOrNil&('glColor4hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hvNV(v: array of half) := Color4hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hvNV(var v: half) := Color4hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hvNV(v: pointer) := z_Color4hvNV(v); - - public z_TexCoord1hNV := GetGLFuncOrNil&('glTexCoord1hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hNV(s: half) := z_TexCoord1hNV(s); - - public z_TexCoord1hvNV := GetGLFuncOrNil&('glTexCoord1hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hvNV(v: array of half) := TexCoord1hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hvNV(var v: half) := TexCoord1hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hvNV(v: pointer) := z_TexCoord1hvNV(v); - - public z_TexCoord2hNV := GetGLFuncOrNil&('glTexCoord2hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hNV(s: half; t: half) := z_TexCoord2hNV(s, t); - - public z_TexCoord2hvNV := GetGLFuncOrNil&('glTexCoord2hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hvNV(v: array of half) := TexCoord2hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hvNV(var v: half) := TexCoord2hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hvNV(v: pointer) := z_TexCoord2hvNV(v); - - public z_TexCoord3hNV := GetGLFuncOrNil&('glTexCoord3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hNV(s: half; t: half; r: half) := z_TexCoord3hNV(s, t, r); - - public z_TexCoord3hvNV := GetGLFuncOrNil&('glTexCoord3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hvNV(v: array of half) := TexCoord3hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hvNV(var v: half) := TexCoord3hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hvNV(v: pointer) := z_TexCoord3hvNV(v); - - public z_TexCoord4hNV := GetGLFuncOrNil&('glTexCoord4hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hNV(s: half; t: half; r: half; q: half) := z_TexCoord4hNV(s, t, r, q); - - public z_TexCoord4hvNV := GetGLFuncOrNil&('glTexCoord4hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hvNV(v: array of half) := TexCoord4hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hvNV(var v: half) := TexCoord4hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hvNV(v: pointer) := z_TexCoord4hvNV(v); - - public z_MultiTexCoord1hNV := GetGLFuncOrNil&('glMultiTexCoord1hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hNV(target: DummyEnum; s: half) := z_MultiTexCoord1hNV(target, s); - - public z_MultiTexCoord1hvNV := GetGLFuncOrNil&('glMultiTexCoord1hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hvNV(target: DummyEnum; v: array of half) := MultiTexCoord1hvNV(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hvNV(target: DummyEnum; var v: half) := MultiTexCoord1hvNV(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hvNV(target: DummyEnum; v: pointer) := z_MultiTexCoord1hvNV(target, v); - - public z_MultiTexCoord2hNV := GetGLFuncOrNil&('glMultiTexCoord2hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hNV(target: DummyEnum; s: half; t: half) := z_MultiTexCoord2hNV(target, s, t); - - public z_MultiTexCoord2hvNV := GetGLFuncOrNil&('glMultiTexCoord2hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hvNV(target: DummyEnum; v: array of half) := MultiTexCoord2hvNV(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hvNV(target: DummyEnum; var v: half) := MultiTexCoord2hvNV(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hvNV(target: DummyEnum; v: pointer) := z_MultiTexCoord2hvNV(target, v); - - public z_MultiTexCoord3hNV := GetGLFuncOrNil&('glMultiTexCoord3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hNV(target: DummyEnum; s: half; t: half; r: half) := z_MultiTexCoord3hNV(target, s, t, r); - - public z_MultiTexCoord3hvNV := GetGLFuncOrNil&('glMultiTexCoord3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hvNV(target: DummyEnum; v: array of half) := MultiTexCoord3hvNV(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hvNV(target: DummyEnum; var v: half) := MultiTexCoord3hvNV(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hvNV(target: DummyEnum; v: pointer) := z_MultiTexCoord3hvNV(target, v); - - public z_MultiTexCoord4hNV := GetGLFuncOrNil&('glMultiTexCoord4hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hNV(target: DummyEnum; s: half; t: half; r: half; q: half) := z_MultiTexCoord4hNV(target, s, t, r, q); - - public z_MultiTexCoord4hvNV := GetGLFuncOrNil&('glMultiTexCoord4hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hvNV(target: DummyEnum; v: array of half) := MultiTexCoord4hvNV(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hvNV(target: DummyEnum; var v: half) := MultiTexCoord4hvNV(target, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hvNV(target: DummyEnum; v: pointer) := z_MultiTexCoord4hvNV(target, v); - - public z_VertexAttrib1hNV := GetGLFuncOrNil&('glVertexAttrib1hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hNV(index: UInt32; x: half) := z_VertexAttrib1hNV(index, x); - - public z_VertexAttrib1hvNV := GetGLFuncOrNil&('glVertexAttrib1hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hvNV(index: UInt32; v: array of half) := VertexAttrib1hvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hvNV(index: UInt32; var v: half) := VertexAttrib1hvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hvNV(index: UInt32; v: pointer) := z_VertexAttrib1hvNV(index, v); - - public z_VertexAttrib2hNV := GetGLFuncOrNil&('glVertexAttrib2hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hNV(index: UInt32; x: half; y: half) := z_VertexAttrib2hNV(index, x, y); - - public z_VertexAttrib2hvNV := GetGLFuncOrNil&('glVertexAttrib2hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hvNV(index: UInt32; v: array of half) := VertexAttrib2hvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hvNV(index: UInt32; var v: half) := VertexAttrib2hvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hvNV(index: UInt32; v: pointer) := z_VertexAttrib2hvNV(index, v); - - public z_VertexAttrib3hNV := GetGLFuncOrNil&('glVertexAttrib3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hNV(index: UInt32; x: half; y: half; z: half) := z_VertexAttrib3hNV(index, x, y, z); - - public z_VertexAttrib3hvNV := GetGLFuncOrNil&('glVertexAttrib3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hvNV(index: UInt32; v: array of half) := VertexAttrib3hvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hvNV(index: UInt32; var v: half) := VertexAttrib3hvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hvNV(index: UInt32; v: pointer) := z_VertexAttrib3hvNV(index, v); - - public z_VertexAttrib4hNV := GetGLFuncOrNil&('glVertexAttrib4hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hNV(index: UInt32; x: half; y: half; z: half; w: half) := z_VertexAttrib4hNV(index, x, y, z, w); - - public z_VertexAttrib4hvNV := GetGLFuncOrNil&('glVertexAttrib4hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hvNV(index: UInt32; v: array of half) := VertexAttrib4hvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hvNV(index: UInt32; var v: half) := VertexAttrib4hvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hvNV(index: UInt32; v: pointer) := z_VertexAttrib4hvNV(index, v); - - public z_VertexAttribs1hvNV := GetGLFuncOrNil&('glVertexAttribs1hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1hvNV(index: UInt32; n: Int32; v: array of half) := VertexAttribs1hvNV(index, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1hvNV(index: UInt32; n: Int32; var v: half) := VertexAttribs1hvNV(index, n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1hvNV(index: UInt32; n: Int32; v: pointer) := z_VertexAttribs1hvNV(index, n, v); - - public z_VertexAttribs2hvNV := GetGLFuncOrNil&('glVertexAttribs2hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2hvNV(index: UInt32; n: Int32; v: array of half) := VertexAttribs2hvNV(index, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2hvNV(index: UInt32; n: Int32; var v: half) := VertexAttribs2hvNV(index, n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2hvNV(index: UInt32; n: Int32; v: pointer) := z_VertexAttribs2hvNV(index, n, v); - - public z_VertexAttribs3hvNV := GetGLFuncOrNil&('glVertexAttribs3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3hvNV(index: UInt32; n: Int32; v: array of half) := VertexAttribs3hvNV(index, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3hvNV(index: UInt32; n: Int32; var v: half) := VertexAttribs3hvNV(index, n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3hvNV(index: UInt32; n: Int32; v: pointer) := z_VertexAttribs3hvNV(index, n, v); - - public z_VertexAttribs4hvNV := GetGLFuncOrNil&('glVertexAttribs4hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4hvNV(index: UInt32; n: Int32; v: array of half) := VertexAttribs4hvNV(index, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4hvNV(index: UInt32; n: Int32; var v: half) := VertexAttribs4hvNV(index, n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4hvNV(index: UInt32; n: Int32; v: pointer) := z_VertexAttribs4hvNV(index, n, v); - - public z_FogCoordhNV := GetGLFuncOrNil&('glFogCoordhNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhNV(fog: half) := z_FogCoordhNV(fog); - - public z_FogCoordhvNV := GetGLFuncOrNil&('glFogCoordhvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhvNV(fog: array of half) := FogCoordhvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fog,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhvNV(var fog: half) := FogCoordhvNV(@fog); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhvNV(fog: pointer) := z_FogCoordhvNV(fog); - - public z_SecondaryColor3hNV := GetGLFuncOrNil&('glSecondaryColor3hNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hNV(red: half; green: half; blue: half) := z_SecondaryColor3hNV(red, green, blue); - - public z_SecondaryColor3hvNV := GetGLFuncOrNil&('glSecondaryColor3hvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hvNV(v: array of half) := SecondaryColor3hvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hvNV(var v: half) := SecondaryColor3hvNV(@v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hvNV(v: pointer) := z_SecondaryColor3hvNV(v); - - public z_VertexWeighthNV := GetGLFuncOrNil&('glVertexWeighthNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthNV(weight: half) := z_VertexWeighthNV(weight); - - public z_VertexWeighthvNV := GetGLFuncOrNil&('glVertexWeighthvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthvNV(weight: array of half) := VertexWeighthvNV(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weight,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthvNV(var weight: half) := VertexWeighthvNV(@weight); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthvNV(weight: pointer) := z_VertexWeighthvNV(weight); - - {$endregion NV_half_float} - - {$region NV_register_combiners} - - public z_CombinerParameterfvNV := GetGLFuncOrNil&('glCombinerParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfvNV(pname: DummyEnum; ¶ms: array of single) := CombinerParameterfvNV(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfvNV(pname: DummyEnum; var ¶ms: single) := CombinerParameterfvNV(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfvNV(pname: DummyEnum; ¶ms: pointer) := z_CombinerParameterfvNV(pname, ¶ms); - - public z_CombinerParameterivNV := GetGLFuncOrNil&('glCombinerParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterivNV(pname: DummyEnum; ¶ms: array of Int32) := CombinerParameterivNV(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterivNV(pname: DummyEnum; var ¶ms: Int32) := CombinerParameterivNV(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterivNV(pname: DummyEnum; ¶ms: pointer) := z_CombinerParameterivNV(pname, ¶ms); - - public z_CombinerParameterfNV := GetGLFuncOrNil&('glCombinerParameterfNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfNV(pname: DummyEnum; param: single) := z_CombinerParameterfNV(pname, param); - - public z_CombinerParameteriNV := GetGLFuncOrNil&('glCombinerParameteriNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameteriNV(pname: DummyEnum; param: Int32) := z_CombinerParameteriNV(pname, param); - - public z_CombinerInputNV := GetGLFuncOrNil&('glCombinerInputNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerInputNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; input: DummyEnum; mapping: DummyEnum; componentUsage: DummyEnum) := z_CombinerInputNV(stage, portion, variable, input, mapping, componentUsage); - - public z_CombinerOutputNV := GetGLFuncOrNil&('glCombinerOutputNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerOutputNV(stage: DummyEnum; portion: DummyEnum; abOutput: DummyEnum; cdOutput: DummyEnum; sumOutput: DummyEnum; scale: DummyEnum; bias: DummyEnum; abDotProduct: boolean; cdDotProduct: boolean; muxSum: boolean) := z_CombinerOutputNV(stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum); - - public z_FinalCombinerInputNV := GetGLFuncOrNil&('glFinalCombinerInputNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinalCombinerInputNV(variable: DummyEnum; input: DummyEnum; mapping: DummyEnum; componentUsage: DummyEnum) := z_FinalCombinerInputNV(variable, input, mapping, componentUsage); - - public z_GetCombinerInputParameterfvNV := GetGLFuncOrNil&('glGetCombinerInputParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterfvNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetCombinerInputParameterfvNV(stage, portion, variable, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterfvNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetCombinerInputParameterfvNV(stage, portion, variable, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterfvNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetCombinerInputParameterfvNV(stage, portion, variable, pname, ¶ms); - - public z_GetCombinerInputParameterivNV := GetGLFuncOrNil&('glGetCombinerInputParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterivNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetCombinerInputParameterivNV(stage, portion, variable, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterivNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetCombinerInputParameterivNV(stage, portion, variable, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterivNV(stage: DummyEnum; portion: DummyEnum; variable: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetCombinerInputParameterivNV(stage, portion, variable, pname, ¶ms); - - public z_GetCombinerOutputParameterfvNV := GetGLFuncOrNil&('glGetCombinerOutputParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterfvNV(stage: DummyEnum; portion: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetCombinerOutputParameterfvNV(stage, portion, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterfvNV(stage: DummyEnum; portion: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetCombinerOutputParameterfvNV(stage, portion, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterfvNV(stage: DummyEnum; portion: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetCombinerOutputParameterfvNV(stage, portion, pname, ¶ms); - - public z_GetCombinerOutputParameterivNV := GetGLFuncOrNil&('glGetCombinerOutputParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterivNV(stage: DummyEnum; portion: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetCombinerOutputParameterivNV(stage, portion, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterivNV(stage: DummyEnum; portion: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetCombinerOutputParameterivNV(stage, portion, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterivNV(stage: DummyEnum; portion: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetCombinerOutputParameterivNV(stage, portion, pname, ¶ms); - - public z_GetFinalCombinerInputParameterfvNV := GetGLFuncOrNil&('glGetFinalCombinerInputParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterfvNV(variable: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetFinalCombinerInputParameterfvNV(variable, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterfvNV(variable: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetFinalCombinerInputParameterfvNV(variable, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterfvNV(variable: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetFinalCombinerInputParameterfvNV(variable, pname, ¶ms); - - public z_GetFinalCombinerInputParameterivNV := GetGLFuncOrNil&('glGetFinalCombinerInputParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterivNV(variable: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetFinalCombinerInputParameterivNV(variable, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterivNV(variable: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetFinalCombinerInputParameterivNV(variable, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterivNV(variable: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetFinalCombinerInputParameterivNV(variable, pname, ¶ms); - - {$endregion NV_register_combiners} - - {$region NV_register_combiners2} - - public z_CombinerStageParameterfvNV := GetGLFuncOrNil&('glCombinerStageParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerStageParameterfvNV(stage: DummyEnum; pname: DummyEnum; ¶ms: array of single) := CombinerStageParameterfvNV(stage, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerStageParameterfvNV(stage: DummyEnum; pname: DummyEnum; var ¶ms: single) := CombinerStageParameterfvNV(stage, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerStageParameterfvNV(stage: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_CombinerStageParameterfvNV(stage, pname, ¶ms); - - public z_GetCombinerStageParameterfvNV := GetGLFuncOrNil&('glGetCombinerStageParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerStageParameterfvNV(stage: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetCombinerStageParameterfvNV(stage, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerStageParameterfvNV(stage: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetCombinerStageParameterfvNV(stage, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerStageParameterfvNV(stage: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetCombinerStageParameterfvNV(stage, pname, ¶ms); - - {$endregion NV_register_combiners2} - - {$region NV_conservative_raster_dilate} - - public z_ConservativeRasterParameterfNV := GetGLFuncOrNil&('glConservativeRasterParameterfNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConservativeRasterParameterfNV(pname: DummyEnum; value: single) := z_ConservativeRasterParameterfNV(pname, value); - - {$endregion NV_conservative_raster_dilate} - - {$region NV_conservative_raster_pre_snap_triangles} - - public z_ConservativeRasterParameteriNV := GetGLFuncOrNil&('glConservativeRasterParameteriNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConservativeRasterParameteriNV(pname: DummyEnum; param: Int32) := z_ConservativeRasterParameteriNV(pname, param); - - {$endregion NV_conservative_raster_pre_snap_triangles} - - {$region NV_copy_buffer} - - public z_CopyBufferSubDataNV := GetGLFuncOrNil&('glCopyBufferSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyBufferSubDataNV(readTarget: DummyEnum; writeTarget: DummyEnum; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_CopyBufferSubDataNV(readTarget, writeTarget, readOffset, writeOffset, size); - - {$endregion NV_copy_buffer} - - {$region NV_copy_image} - - public z_CopyImageSubDataNV := GetGLFuncOrNil&('glCopyImageSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubDataNV(srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32) := z_CopyImageSubDataNV(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); - - {$endregion NV_copy_image} - - {$region NV_path_rendering} - - public z_PathCommandsNV := GetGLFuncOrNil&('glPathCommandsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCommandsNV(path: UInt32; numCommands: Int32; commands: array of Byte; numCoords: Int32; coordType: DummyEnum; coords: pointer) := PathCommandsNV(path, numCommands, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(commands,0)), numCoords, coordType, coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCommandsNV(path: UInt32; numCommands: Int32; var commands: Byte; numCoords: Int32; coordType: DummyEnum; coords: pointer) := PathCommandsNV(path, numCommands, @commands, numCoords, coordType, coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCommandsNV(path: UInt32; numCommands: Int32; commands: pointer; numCoords: Int32; coordType: DummyEnum; coords: pointer) := z_PathCommandsNV(path, numCommands, commands, numCoords, coordType, coords); - - public z_PathCoordsNV := GetGLFuncOrNil&('glPathCoordsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCoordsNV(path: UInt32; numCoords: Int32; coordType: DummyEnum; coords: pointer) := z_PathCoordsNV(path, numCoords, coordType, coords); - - public z_PathSubCommandsNV := GetGLFuncOrNil&('glPathSubCommandsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCommandsNV(path: UInt32; commandStart: Int32; commandsToDelete: Int32; numCommands: Int32; commands: array of Byte; numCoords: Int32; coordType: DummyEnum; coords: pointer) := PathSubCommandsNV(path, commandStart, commandsToDelete, numCommands, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(commands,0)), numCoords, coordType, coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCommandsNV(path: UInt32; commandStart: Int32; commandsToDelete: Int32; numCommands: Int32; var commands: Byte; numCoords: Int32; coordType: DummyEnum; coords: pointer) := PathSubCommandsNV(path, commandStart, commandsToDelete, numCommands, @commands, numCoords, coordType, coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCommandsNV(path: UInt32; commandStart: Int32; commandsToDelete: Int32; numCommands: Int32; commands: pointer; numCoords: Int32; coordType: DummyEnum; coords: pointer) := z_PathSubCommandsNV(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); - - public z_PathSubCoordsNV := GetGLFuncOrNil&('glPathSubCoordsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCoordsNV(path: UInt32; coordStart: Int32; numCoords: Int32; coordType: DummyEnum; coords: pointer) := z_PathSubCoordsNV(path, coordStart, numCoords, coordType, coords); - - public z_PathStringNV := GetGLFuncOrNil&('glPathStringNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathStringNV(path: UInt32; format: DummyEnum; length: Int32; pathString: pointer) := z_PathStringNV(path, format, length, pathString); - - public z_PathGlyphsNV := GetGLFuncOrNil&('glPathGlyphsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathGlyphsNV(firstPathName: UInt32; fontTarget: DummyEnum; fontName: pointer; fontStyle: DummyFlags; numGlyphs: Int32; &type: DummyEnum; charcodes: pointer; handleMissingGlyphs: DummyEnum; pathParameterTemplate: UInt32; emScale: single) := z_PathGlyphsNV(firstPathName, fontTarget, fontName, fontStyle, numGlyphs, &type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); - - public z_PathGlyphRangeNV := GetGLFuncOrNil&('glPathGlyphRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathGlyphRangeNV(firstPathName: UInt32; fontTarget: DummyEnum; fontName: pointer; fontStyle: DummyFlags; firstGlyph: UInt32; numGlyphs: Int32; handleMissingGlyphs: DummyEnum; pathParameterTemplate: UInt32; emScale: single) := z_PathGlyphRangeNV(firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); - - public z_PathGlyphIndexArrayNV := GetGLFuncOrNil&('glPathGlyphIndexArrayNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PathGlyphIndexArrayNV(firstPathName: UInt32; fontTarget: DummyEnum; fontName: pointer; fontStyle: DummyFlags; firstGlyphIndex: UInt32; numGlyphs: Int32; pathParameterTemplate: UInt32; emScale: single): DummyEnum := z_PathGlyphIndexArrayNV(firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); - - public z_PathMemoryGlyphIndexArrayNV := GetGLFuncOrNil&('glPathMemoryGlyphIndexArrayNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PathMemoryGlyphIndexArrayNV(firstPathName: UInt32; fontTarget: DummyEnum; fontSize: UIntPtr; fontData: pointer; faceIndex: Int32; firstGlyphIndex: UInt32; numGlyphs: Int32; pathParameterTemplate: UInt32; emScale: single): DummyEnum := z_PathMemoryGlyphIndexArrayNV(firstPathName, fontTarget, fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); - - public z_PathGlyphIndexRangeNV := GetGLFuncOrNil&('glPathGlyphIndexRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PathGlyphIndexRangeNV(fontTarget: DummyEnum; fontName: pointer; fontStyle: DummyFlags; pathParameterTemplate: UInt32; emScale: single; baseAndCount: Vec2ui): DummyEnum := z_PathGlyphIndexRangeNV(fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); - - public z_WeightPathsNV := GetGLFuncOrNil&('glWeightPathsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: array of UInt32; weights: array of single) := WeightPathsNV(resultPath, numPaths, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(paths,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: array of UInt32; var weights: single) := WeightPathsNV(resultPath, numPaths, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(paths,0)), @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: array of UInt32; weights: pointer) := WeightPathsNV(resultPath, numPaths, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(paths,0)), weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; var paths: UInt32; weights: array of single) := WeightPathsNV(resultPath, numPaths, @paths, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; var paths: UInt32; var weights: single) := WeightPathsNV(resultPath, numPaths, @paths, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; var paths: UInt32; weights: pointer) := WeightPathsNV(resultPath, numPaths, @paths, weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: pointer; weights: array of single) := WeightPathsNV(resultPath, numPaths, paths, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: pointer; var weights: single) := WeightPathsNV(resultPath, numPaths, paths, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: pointer; weights: pointer) := z_WeightPathsNV(resultPath, numPaths, paths, weights); - - public z_CopyPathNV := GetGLFuncOrNil&('glCopyPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyPathNV(resultPath: UInt32; srcPath: UInt32) := z_CopyPathNV(resultPath, srcPath); - - public z_InterpolatePathsNV := GetGLFuncOrNil&('glInterpolatePathsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InterpolatePathsNV(resultPath: UInt32; pathA: UInt32; pathB: UInt32; weight: single) := z_InterpolatePathsNV(resultPath, pathA, pathB, weight); - - public z_TransformPathNV := GetGLFuncOrNil&('glTransformPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformPathNV(resultPath: UInt32; srcPath: UInt32; transformType: DummyEnum; transformValues: array of single) := TransformPathNV(resultPath, srcPath, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformPathNV(resultPath: UInt32; srcPath: UInt32; transformType: DummyEnum; var transformValues: single) := TransformPathNV(resultPath, srcPath, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformPathNV(resultPath: UInt32; srcPath: UInt32; transformType: DummyEnum; transformValues: pointer) := z_TransformPathNV(resultPath, srcPath, transformType, transformValues); - - public z_PathParameterivNV := GetGLFuncOrNil&('glPathParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterivNV(path: UInt32; pname: DummyEnum; value: array of Int32) := PathParameterivNV(path, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterivNV(path: UInt32; pname: DummyEnum; var value: Int32) := PathParameterivNV(path, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterivNV(path: UInt32; pname: DummyEnum; value: pointer) := z_PathParameterivNV(path, pname, value); - - public z_PathParameteriNV := GetGLFuncOrNil&('glPathParameteriNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameteriNV(path: UInt32; pname: DummyEnum; value: Int32) := z_PathParameteriNV(path, pname, value); - - public z_PathParameterfvNV := GetGLFuncOrNil&('glPathParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfvNV(path: UInt32; pname: DummyEnum; value: array of single) := PathParameterfvNV(path, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfvNV(path: UInt32; pname: DummyEnum; var value: single) := PathParameterfvNV(path, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfvNV(path: UInt32; pname: DummyEnum; value: pointer) := z_PathParameterfvNV(path, pname, value); - - public z_PathParameterfNV := GetGLFuncOrNil&('glPathParameterfNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfNV(path: UInt32; pname: DummyEnum; value: single) := z_PathParameterfNV(path, pname, value); - - public z_PathDashArrayNV := GetGLFuncOrNil&('glPathDashArrayNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathDashArrayNV(path: UInt32; dashCount: Int32; dashArray: array of single) := PathDashArrayNV(path, dashCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dashArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathDashArrayNV(path: UInt32; dashCount: Int32; var dashArray: single) := PathDashArrayNV(path, dashCount, @dashArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathDashArrayNV(path: UInt32; dashCount: Int32; dashArray: pointer) := z_PathDashArrayNV(path, dashCount, dashArray); - - public z_GenPathsNV := GetGLFuncOrNil&('glGenPathsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenPathsNV(range: Int32): UInt32 := z_GenPathsNV(range); - - public z_DeletePathsNV := GetGLFuncOrNil&('glDeletePathsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePathsNV(path: UInt32; range: Int32) := z_DeletePathsNV(path, range); - - public z_IsPathNV := GetGLFuncOrNil&('glIsPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsPathNV(path: UInt32): boolean := z_IsPathNV(path); - - public z_PathStencilFuncNV := GetGLFuncOrNil&('glPathStencilFuncNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathStencilFuncNV(func: DummyEnum; ref: Int32; mask: UInt32) := z_PathStencilFuncNV(func, ref, mask); - - public z_PathStencilDepthOffsetNV := GetGLFuncOrNil&('glPathStencilDepthOffsetNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathStencilDepthOffsetNV(factor: single; units: single) := z_PathStencilDepthOffsetNV(factor, units); - - public z_StencilFillPathNV := GetGLFuncOrNil&('glStencilFillPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathNV(path: UInt32; fillMode: DummyEnum; mask: UInt32) := z_StencilFillPathNV(path, fillMode, mask); - - public z_StencilStrokePathNV := GetGLFuncOrNil&('glStencilStrokePathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathNV(path: UInt32; reference: Int32; mask: UInt32) := z_StencilStrokePathNV(path, reference, mask); - - public z_StencilFillPathInstancedNV := GetGLFuncOrNil&('glStencilFillPathInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; transformType: DummyEnum; transformValues: array of single) := StencilFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; transformType: DummyEnum; var transformValues: single) := StencilFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; transformType: DummyEnum; transformValues: pointer) := z_StencilFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); - - public z_StencilStrokePathInstancedNV := GetGLFuncOrNil&('glStencilStrokePathInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; reference: Int32; mask: UInt32; transformType: DummyEnum; transformValues: array of single) := StencilStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; reference: Int32; mask: UInt32; transformType: DummyEnum; var transformValues: single) := StencilStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; reference: Int32; mask: UInt32; transformType: DummyEnum; transformValues: pointer) := z_StencilStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); - - public z_PathCoverDepthFuncNV := GetGLFuncOrNil&('glPathCoverDepthFuncNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCoverDepthFuncNV(func: DummyEnum) := z_PathCoverDepthFuncNV(func); - - public z_PathColorGenNV := GetGLFuncOrNil&('glPathColorGenNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathColorGenNV(color: DummyEnum; genMode: DummyEnum; colorFormat: DummyEnum; coeffs: array of single) := PathColorGenNV(color, genMode, colorFormat, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coeffs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathColorGenNV(color: DummyEnum; genMode: DummyEnum; colorFormat: DummyEnum; var coeffs: single) := PathColorGenNV(color, genMode, colorFormat, @coeffs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathColorGenNV(color: DummyEnum; genMode: DummyEnum; colorFormat: DummyEnum; coeffs: pointer) := z_PathColorGenNV(color, genMode, colorFormat, coeffs); - - public z_PathTexGenNV := GetGLFuncOrNil&('glPathTexGenNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathTexGenNV(texCoordSet: DummyEnum; genMode: DummyEnum; components: Int32; coeffs: array of single) := PathTexGenNV(texCoordSet, genMode, components, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coeffs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathTexGenNV(texCoordSet: DummyEnum; genMode: DummyEnum; components: Int32; var coeffs: single) := PathTexGenNV(texCoordSet, genMode, components, @coeffs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathTexGenNV(texCoordSet: DummyEnum; genMode: DummyEnum; components: Int32; coeffs: pointer) := z_PathTexGenNV(texCoordSet, genMode, components, coeffs); - - public z_PathFogGenNV := GetGLFuncOrNil&('glPathFogGenNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathFogGenNV(genMode: DummyEnum) := z_PathFogGenNV(genMode); - - public z_CoverFillPathNV := GetGLFuncOrNil&('glCoverFillPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathNV(path: UInt32; coverMode: DummyEnum) := z_CoverFillPathNV(path, coverMode); - - public z_CoverStrokePathNV := GetGLFuncOrNil&('glCoverStrokePathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathNV(path: UInt32; coverMode: DummyEnum) := z_CoverStrokePathNV(path, coverMode); - - public z_CoverFillPathInstancedNV := GetGLFuncOrNil&('glCoverFillPathInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: array of single) := CoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; coverMode: DummyEnum; transformType: DummyEnum; var transformValues: single) := CoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: pointer) := z_CoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); - - public z_CoverStrokePathInstancedNV := GetGLFuncOrNil&('glCoverStrokePathInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: array of single) := CoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; coverMode: DummyEnum; transformType: DummyEnum; var transformValues: single) := CoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: pointer) := z_CoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); - - public z_StencilThenCoverFillPathNV := GetGLFuncOrNil&('glStencilThenCoverFillPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathNV(path: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum) := z_StencilThenCoverFillPathNV(path, fillMode, mask, coverMode); - - public z_StencilThenCoverStrokePathNV := GetGLFuncOrNil&('glStencilThenCoverStrokePathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathNV(path: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum) := z_StencilThenCoverStrokePathNV(path, reference, mask, coverMode); - - public z_StencilThenCoverFillPathInstancedNV := GetGLFuncOrNil&('glStencilThenCoverFillPathInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: array of single) := StencilThenCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; var transformValues: single) := StencilThenCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: pointer) := z_StencilThenCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); - - public z_StencilThenCoverStrokePathInstancedNV := GetGLFuncOrNil&('glStencilThenCoverStrokePathInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: array of single) := StencilThenCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(transformValues,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; var transformValues: single) := StencilThenCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, @transformValues); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: pointer) := z_StencilThenCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); - - public z_ProgramPathFragmentInputGenNV := GetGLFuncOrNil&('glProgramPathFragmentInputGenNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramPathFragmentInputGenNV(&program: UInt32; location: Int32; genMode: DummyEnum; components: Int32; coeffs: array of single) := ProgramPathFragmentInputGenNV(&program, location, genMode, components, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coeffs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramPathFragmentInputGenNV(&program: UInt32; location: Int32; genMode: DummyEnum; components: Int32; var coeffs: single) := ProgramPathFragmentInputGenNV(&program, location, genMode, components, @coeffs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramPathFragmentInputGenNV(&program: UInt32; location: Int32; genMode: DummyEnum; components: Int32; coeffs: pointer) := z_ProgramPathFragmentInputGenNV(&program, location, genMode, components, coeffs); - - public z_GetPathParameterivNV := GetGLFuncOrNil&('glGetPathParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterivNV(path: UInt32; pname: DummyEnum; value: array of Int32) := GetPathParameterivNV(path, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterivNV(path: UInt32; pname: DummyEnum; var value: Int32) := GetPathParameterivNV(path, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterivNV(path: UInt32; pname: DummyEnum; value: pointer) := z_GetPathParameterivNV(path, pname, value); - - public z_GetPathParameterfvNV := GetGLFuncOrNil&('glGetPathParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterfvNV(path: UInt32; pname: DummyEnum; value: array of single) := GetPathParameterfvNV(path, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterfvNV(path: UInt32; pname: DummyEnum; var value: single) := GetPathParameterfvNV(path, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterfvNV(path: UInt32; pname: DummyEnum; value: pointer) := z_GetPathParameterfvNV(path, pname, value); - - public z_GetPathCommandsNV := GetGLFuncOrNil&('glGetPathCommandsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCommandsNV(path: UInt32; commands: array of Byte) := GetPathCommandsNV(path, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(commands,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCommandsNV(path: UInt32; var commands: Byte) := GetPathCommandsNV(path, @commands); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCommandsNV(path: UInt32; commands: pointer) := z_GetPathCommandsNV(path, commands); - - public z_GetPathCoordsNV := GetGLFuncOrNil&('glGetPathCoordsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCoordsNV(path: UInt32; coords: array of single) := GetPathCoordsNV(path, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCoordsNV(path: UInt32; var coords: single) := GetPathCoordsNV(path, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCoordsNV(path: UInt32; coords: pointer) := z_GetPathCoordsNV(path, coords); - - public z_GetPathDashArrayNV := GetGLFuncOrNil&('glGetPathDashArrayNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathDashArrayNV(path: UInt32; dashArray: array of single) := GetPathDashArrayNV(path, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(dashArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathDashArrayNV(path: UInt32; var dashArray: single) := GetPathDashArrayNV(path, @dashArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathDashArrayNV(path: UInt32; dashArray: pointer) := z_GetPathDashArrayNV(path, dashArray); - - public z_GetPathMetricsNV := GetGLFuncOrNil&('glGetPathMetricsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricsNV(metricQueryMask: DummyFlags; numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; stride: Int32; metrics: array of single) := GetPathMetricsNV(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(metrics,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricsNV(metricQueryMask: DummyFlags; numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; stride: Int32; var metrics: single) := GetPathMetricsNV(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, @metrics); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricsNV(metricQueryMask: DummyFlags; numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; stride: Int32; metrics: pointer) := z_GetPathMetricsNV(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); - - public z_GetPathMetricRangeNV := GetGLFuncOrNil&('glGetPathMetricRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricRangeNV(metricQueryMask: DummyFlags; firstPathName: UInt32; numPaths: Int32; stride: Int32; metrics: array of single) := GetPathMetricRangeNV(metricQueryMask, firstPathName, numPaths, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(metrics,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricRangeNV(metricQueryMask: DummyFlags; firstPathName: UInt32; numPaths: Int32; stride: Int32; var metrics: single) := GetPathMetricRangeNV(metricQueryMask, firstPathName, numPaths, stride, @metrics); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricRangeNV(metricQueryMask: DummyFlags; firstPathName: UInt32; numPaths: Int32; stride: Int32; metrics: pointer) := z_GetPathMetricRangeNV(metricQueryMask, firstPathName, numPaths, stride, metrics); - - public z_GetPathSpacingNV := GetGLFuncOrNil&('glGetPathSpacingNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathSpacingNV(pathListMode: DummyEnum; numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; advanceScale: single; kerningScale: single; transformType: DummyEnum; returnedSpacing: array of single) := GetPathSpacingNV(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(returnedSpacing,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathSpacingNV(pathListMode: DummyEnum; numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; advanceScale: single; kerningScale: single; transformType: DummyEnum; var returnedSpacing: single) := GetPathSpacingNV(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, @returnedSpacing); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathSpacingNV(pathListMode: DummyEnum; numPaths: Int32; pathNameType: DummyEnum; paths: pointer; pathBase: UInt32; advanceScale: single; kerningScale: single; transformType: DummyEnum; returnedSpacing: pointer) := z_GetPathSpacingNV(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); - - public z_GetPathColorGenivNV := GetGLFuncOrNil&('glGetPathColorGenivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenivNV(color: DummyEnum; pname: DummyEnum; value: array of Int32) := GetPathColorGenivNV(color, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenivNV(color: DummyEnum; pname: DummyEnum; var value: Int32) := GetPathColorGenivNV(color, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenivNV(color: DummyEnum; pname: DummyEnum; value: pointer) := z_GetPathColorGenivNV(color, pname, value); - - public z_GetPathColorGenfvNV := GetGLFuncOrNil&('glGetPathColorGenfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenfvNV(color: DummyEnum; pname: DummyEnum; value: array of single) := GetPathColorGenfvNV(color, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenfvNV(color: DummyEnum; pname: DummyEnum; var value: single) := GetPathColorGenfvNV(color, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenfvNV(color: DummyEnum; pname: DummyEnum; value: pointer) := z_GetPathColorGenfvNV(color, pname, value); - - public z_GetPathTexGenivNV := GetGLFuncOrNil&('glGetPathTexGenivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenivNV(texCoordSet: DummyEnum; pname: DummyEnum; value: array of Int32) := GetPathTexGenivNV(texCoordSet, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenivNV(texCoordSet: DummyEnum; pname: DummyEnum; var value: Int32) := GetPathTexGenivNV(texCoordSet, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenivNV(texCoordSet: DummyEnum; pname: DummyEnum; value: pointer) := z_GetPathTexGenivNV(texCoordSet, pname, value); - - public z_GetPathTexGenfvNV := GetGLFuncOrNil&('glGetPathTexGenfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenfvNV(texCoordSet: DummyEnum; pname: DummyEnum; value: array of single) := GetPathTexGenfvNV(texCoordSet, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenfvNV(texCoordSet: DummyEnum; pname: DummyEnum; var value: single) := GetPathTexGenfvNV(texCoordSet, pname, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenfvNV(texCoordSet: DummyEnum; pname: DummyEnum; value: pointer) := z_GetPathTexGenfvNV(texCoordSet, pname, value); - - public z_IsPointInFillPathNV := GetGLFuncOrNil&('glIsPointInFillPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsPointInFillPathNV(path: UInt32; mask: UInt32; x: single; y: single): boolean := z_IsPointInFillPathNV(path, mask, x, y); - - public z_IsPointInStrokePathNV := GetGLFuncOrNil&('glIsPointInStrokePathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsPointInStrokePathNV(path: UInt32; x: single; y: single): boolean := z_IsPointInStrokePathNV(path, x, y); - - public z_GetPathLengthNV := GetGLFuncOrNil&('glGetPathLengthNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPathLengthNV(path: UInt32; startSegment: Int32; numSegments: Int32): single := z_GetPathLengthNV(path, startSegment, numSegments); - - public z_PointAlongPathNV := GetGLFuncOrNil&('glPointAlongPathNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), @y, tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: pointer; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(x,0)), y, tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, @y, tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: pointer; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, @x, y, tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: array of single; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(y,0)), tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; var y: single; tangentX: pointer; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, @y, tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; tangentX: array of single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; tangentX: array of single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; tangentX: array of single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentX,0)), tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; var tangentX: single; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, @tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; var tangentX: single; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, @tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; var tangentX: single; tangentY: pointer): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, @tangentX, tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; tangentX: pointer; tangentY: array of single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, tangentX, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tangentY,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; tangentX: pointer; var tangentY: single): boolean := PointAlongPathNV(path, startSegment, numSegments, distance, x, y, tangentX, @tangentY); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: pointer; y: pointer; tangentX: pointer; tangentY: pointer): boolean := z_PointAlongPathNV(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); - - public z_MatrixLoad3x2fNV := GetGLFuncOrNil&('glMatrixLoad3x2fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x2fNV(matrixMode: DummyEnum; m: array of single) := MatrixLoad3x2fNV(matrixMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x2fNV(matrixMode: DummyEnum; var m: single) := MatrixLoad3x2fNV(matrixMode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x2fNV(matrixMode: DummyEnum; m: pointer) := z_MatrixLoad3x2fNV(matrixMode, m); - - public z_MatrixLoad3x3fNV := GetGLFuncOrNil&('glMatrixLoad3x3fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x3fNV(matrixMode: DummyEnum; m: array of single) := MatrixLoad3x3fNV(matrixMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x3fNV(matrixMode: DummyEnum; var m: single) := MatrixLoad3x3fNV(matrixMode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x3fNV(matrixMode: DummyEnum; m: pointer) := z_MatrixLoad3x3fNV(matrixMode, m); - - public z_MatrixLoadTranspose3x3fNV := GetGLFuncOrNil&('glMatrixLoadTranspose3x3fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTranspose3x3fNV(matrixMode: DummyEnum; m: array of single) := MatrixLoadTranspose3x3fNV(matrixMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTranspose3x3fNV(matrixMode: DummyEnum; var m: single) := MatrixLoadTranspose3x3fNV(matrixMode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTranspose3x3fNV(matrixMode: DummyEnum; m: pointer) := z_MatrixLoadTranspose3x3fNV(matrixMode, m); - - public z_MatrixMult3x2fNV := GetGLFuncOrNil&('glMatrixMult3x2fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x2fNV(matrixMode: DummyEnum; m: array of single) := MatrixMult3x2fNV(matrixMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x2fNV(matrixMode: DummyEnum; var m: single) := MatrixMult3x2fNV(matrixMode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x2fNV(matrixMode: DummyEnum; m: pointer) := z_MatrixMult3x2fNV(matrixMode, m); - - public z_MatrixMult3x3fNV := GetGLFuncOrNil&('glMatrixMult3x3fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x3fNV(matrixMode: DummyEnum; m: array of single) := MatrixMult3x3fNV(matrixMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x3fNV(matrixMode: DummyEnum; var m: single) := MatrixMult3x3fNV(matrixMode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x3fNV(matrixMode: DummyEnum; m: pointer) := z_MatrixMult3x3fNV(matrixMode, m); - - public z_MatrixMultTranspose3x3fNV := GetGLFuncOrNil&('glMatrixMultTranspose3x3fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTranspose3x3fNV(matrixMode: DummyEnum; m: array of single) := MatrixMultTranspose3x3fNV(matrixMode, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTranspose3x3fNV(matrixMode: DummyEnum; var m: single) := MatrixMultTranspose3x3fNV(matrixMode, @m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTranspose3x3fNV(matrixMode: DummyEnum; m: pointer) := z_MatrixMultTranspose3x3fNV(matrixMode, m); - - public z_GetProgramResourcefvNV := GetGLFuncOrNil&('glGetProgramResourcefvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, @length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, @length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: pointer; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: pointer; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: pointer; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(props,0)), count, length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, @length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, @length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: pointer; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: pointer; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: pointer; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, @props, count, length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: array of Int32; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: array of Int32; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: array of Int32; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; var length: Int32; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; var length: Int32; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, @length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; var length: Int32; ¶ms: pointer) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, @length, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: pointer; ¶ms: array of single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: pointer; var ¶ms: single) := GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, length, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; programInterface: DummyEnum; index: UInt32; propCount: Int32; props: pointer; count: Int32; length: pointer; ¶ms: pointer) := z_GetProgramResourcefvNV(&program, programInterface, index, propCount, props, count, length, ¶ms); - - {$endregion NV_path_rendering} - - {$region NV_coverage_sample} - - public z_CoverageMaskNV := GetGLFuncOrNil&('glCoverageMaskNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageMaskNV(mask: boolean) := z_CoverageMaskNV(mask); - - public z_CoverageOperationNV := GetGLFuncOrNil&('glCoverageOperationNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageOperationNV(operation: DummyEnum) := z_CoverageOperationNV(operation); - - {$endregion NV_coverage_sample} - - {$region NV_framebuffer_mixed_samples} - - public z_CoverageModulationTableNV := GetGLFuncOrNil&('glCoverageModulationTableNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationTableNV(n: Int32; v: array of single) := CoverageModulationTableNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationTableNV(n: Int32; var v: single) := CoverageModulationTableNV(n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationTableNV(n: Int32; v: pointer) := z_CoverageModulationTableNV(n, v); - - public z_GetCoverageModulationTableNV := GetGLFuncOrNil&('glGetCoverageModulationTableNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCoverageModulationTableNV(bufSize: Int32; v: array of single) := GetCoverageModulationTableNV(bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCoverageModulationTableNV(bufSize: Int32; var v: single) := GetCoverageModulationTableNV(bufSize, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCoverageModulationTableNV(bufSize: Int32; v: pointer) := z_GetCoverageModulationTableNV(bufSize, v); - - public z_CoverageModulationNV := GetGLFuncOrNil&('glCoverageModulationNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationNV(components: DummyEnum) := z_CoverageModulationNV(components); - - {$endregion NV_framebuffer_mixed_samples} - - {$region NV_fence} - - public z_GenFencesNV := GetGLFuncOrNil&('glGenFencesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesNV(n: Int32; fences: array of UInt32) := GenFencesNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesNV(n: Int32; var fences: UInt32) := GenFencesNV(n, @fences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesNV(n: Int32; fences: pointer) := z_GenFencesNV(n, fences); - - public z_DeleteFencesNV := GetGLFuncOrNil&('glDeleteFencesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesNV(n: Int32; fences: array of UInt32) := DeleteFencesNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fences,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesNV(n: Int32; var fences: UInt32) := DeleteFencesNV(n, @fences); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesNV(n: Int32; fences: pointer) := z_DeleteFencesNV(n, fences); - - public z_SetFenceNV := GetGLFuncOrNil&('glSetFenceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFenceNV(fence: UInt32; condition: DummyEnum) := z_SetFenceNV(fence, condition); - - public z_TestFenceNV := GetGLFuncOrNil&('glTestFenceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function TestFenceNV(fence: UInt32): boolean := z_TestFenceNV(fence); - - public z_FinishFenceNV := GetGLFuncOrNil&('glFinishFenceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishFenceNV(fence: UInt32) := z_FinishFenceNV(fence); - - public z_IsFenceNV := GetGLFuncOrNil&('glIsFenceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFenceNV(fence: UInt32): boolean := z_IsFenceNV(fence); - - public z_GetFenceivNV := GetGLFuncOrNil&('glGetFenceivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFenceivNV(fence: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetFenceivNV(fence, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFenceivNV(fence: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetFenceivNV(fence, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFenceivNV(fence: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetFenceivNV(fence, pname, ¶ms); - - {$endregion NV_fence} - - {$region NV_query_resource_tag} - - public z_GenQueryResourceTagNV := GetGLFuncOrNil&('glGenQueryResourceTagNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueryResourceTagNV(n: Int32; tagIds: array of Int32) := GenQueryResourceTagNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tagIds,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueryResourceTagNV(n: Int32; var tagIds: Int32) := GenQueryResourceTagNV(n, @tagIds); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueryResourceTagNV(n: Int32; tagIds: pointer) := z_GenQueryResourceTagNV(n, tagIds); - - public z_DeleteQueryResourceTagNV := GetGLFuncOrNil&('glDeleteQueryResourceTagNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueryResourceTagNV(n: Int32; tagIds: array of Int32) := DeleteQueryResourceTagNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tagIds,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueryResourceTagNV(n: Int32; var tagIds: Int32) := DeleteQueryResourceTagNV(n, @tagIds); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueryResourceTagNV(n: Int32; tagIds: pointer) := z_DeleteQueryResourceTagNV(n, tagIds); - - public z_QueryResourceTagNV := GetGLFuncOrNil&('glQueryResourceTagNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryResourceTagNV(tagId: Int32; tagString: string); begin var ptr_2 := Marshal.StringToHGlobalAnsi(tagString); QueryResourceTagNV(tagId, ptr_2); Marshal.FreeHGlobal(ptr_2); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryResourceTagNV(tagId: Int32; tagString: IntPtr) := z_QueryResourceTagNV(tagId, tagString); - - {$endregion NV_query_resource_tag} - - {$region NV_viewport_array} - - public z_ViewportArrayvNV := GetGLFuncOrNil&('glViewportArrayvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayvNV(first: UInt32; count: Int32; v: array of single) := ViewportArrayvNV(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayvNV(first: UInt32; count: Int32; var v: single) := ViewportArrayvNV(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayvNV(first: UInt32; count: Int32; v: pointer) := z_ViewportArrayvNV(first, count, v); - - public z_ViewportIndexedfNV := GetGLFuncOrNil&('glViewportIndexedfNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfNV(index: UInt32; x: single; y: single; w: single; h: single) := z_ViewportIndexedfNV(index, x, y, w, h); - - public z_ViewportIndexedfvNV := GetGLFuncOrNil&('glViewportIndexedfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfvNV(index: UInt32; v: array of single) := ViewportIndexedfvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfvNV(index: UInt32; var v: single) := ViewportIndexedfvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfvNV(index: UInt32; v: pointer) := z_ViewportIndexedfvNV(index, v); - - public z_ScissorArrayvNV := GetGLFuncOrNil&('glScissorArrayvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayvNV(first: UInt32; count: Int32; v: array of Int32) := ScissorArrayvNV(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayvNV(first: UInt32; count: Int32; var v: Int32) := ScissorArrayvNV(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayvNV(first: UInt32; count: Int32; v: pointer) := z_ScissorArrayvNV(first, count, v); - - public z_ScissorIndexedNV := GetGLFuncOrNil&('glScissorIndexedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedNV(index: UInt32; left: Int32; bottom: Int32; width: Int32; height: Int32) := z_ScissorIndexedNV(index, left, bottom, width, height); - - public z_ScissorIndexedvNV := GetGLFuncOrNil&('glScissorIndexedvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedvNV(index: UInt32; v: array of Int32) := ScissorIndexedvNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedvNV(index: UInt32; var v: Int32) := ScissorIndexedvNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedvNV(index: UInt32; v: pointer) := z_ScissorIndexedvNV(index, v); - - public z_DepthRangeArrayfvNV := GetGLFuncOrNil&('glDepthRangeArrayfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayfvNV(first: UInt32; count: Int32; v: array of single) := DepthRangeArrayfvNV(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayfvNV(first: UInt32; count: Int32; var v: single) := DepthRangeArrayfvNV(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayfvNV(first: UInt32; count: Int32; v: pointer) := z_DepthRangeArrayfvNV(first, count, v); - - public z_DepthRangeIndexedfNV := GetGLFuncOrNil&('glDepthRangeIndexedfNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeIndexedfNV(index: UInt32; n: single; f: single) := z_DepthRangeIndexedfNV(index, n, f); - - public z_GetFloati_vNV := GetGLFuncOrNil&('glGetFloati_vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vNV(target: GLGetQueries; index: UInt32; data: array of single) := GetFloati_vNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vNV(target: GLGetQueries; index: UInt32; var data: single) := GetFloati_vNV(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vNV(target: GLGetQueries; index: UInt32; data: pointer) := z_GetFloati_vNV(target, index, data); - - public z_EnableiNV := GetGLFuncOrNil&('glEnableiNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableiNV(target: DummyEnum; index: UInt32) := z_EnableiNV(target, index); - - public z_DisableiNV := GetGLFuncOrNil&('glDisableiNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableiNV(target: DummyEnum; index: UInt32) := z_DisableiNV(target, index); - - public z_IsEnablediNV := GetGLFuncOrNil&('glIsEnablediNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnablediNV(target: DummyEnum; index: UInt32): boolean := z_IsEnablediNV(target, index); - - {$endregion NV_viewport_array} - - {$region NV_draw_instanced} - - public z_DrawArraysInstancedNV := GetGLFuncOrNil&('glDrawArraysInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedNV(mode: DummyEnum; first: Int32; count: Int32; primcount: Int32) := z_DrawArraysInstancedNV(mode, first, count, primcount); - - public z_DrawElementsInstancedNV := GetGLFuncOrNil&('glDrawElementsInstancedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedNV(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; primcount: Int32) := z_DrawElementsInstancedNV(mode, count, &type, indices, primcount); - - {$endregion NV_draw_instanced} - - {$region NV_draw_buffers} - - public z_DrawBuffersNV := GetGLFuncOrNil&('glDrawBuffersNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersNV(n: Int32; bufs: array of DummyEnum) := DrawBuffersNV(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufs,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersNV(n: Int32; var bufs: DummyEnum) := DrawBuffersNV(n, @bufs); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersNV(n: Int32; bufs: pointer) := z_DrawBuffersNV(n, bufs); - - {$endregion NV_draw_buffers} - - {$region NV_mesh_shader} - - public z_DrawMeshTasksNV := GetGLFuncOrNil&('glDrawMeshTasksNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawMeshTasksNV(first: UInt32; count: UInt32) := z_DrawMeshTasksNV(first, count); - - public z_DrawMeshTasksIndirectNV := GetGLFuncOrNil&('glDrawMeshTasksIndirectNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawMeshTasksIndirectNV(indirect: IntPtr) := z_DrawMeshTasksIndirectNV(indirect); - - public z_MultiDrawMeshTasksIndirectNV := GetGLFuncOrNil&('glMultiDrawMeshTasksIndirectNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawMeshTasksIndirectNV(indirect: IntPtr; drawcount: Int32; stride: Int32) := z_MultiDrawMeshTasksIndirectNV(indirect, drawcount, stride); - - public z_MultiDrawMeshTasksIndirectCountNV := GetGLFuncOrNil&('glMultiDrawMeshTasksIndirectCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawMeshTasksIndirectCountNV(indirect: IntPtr; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32) := z_MultiDrawMeshTasksIndirectCountNV(indirect, drawcount, maxdrawcount, stride); - - {$endregion NV_mesh_shader} - - {$region NV_draw_texture} - - public z_DrawTextureNV := GetGLFuncOrNil&('glDrawTextureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTextureNV(texture: UInt32; sampler: UInt32; x0: single; y0: single; x1: single; y1: single; z: single; s0: single; t0: single; s1: single; t1: single) := z_DrawTextureNV(texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); - - {$endregion NV_draw_texture} - - {$region NV_draw_vulkan_image} - - public z_DrawVkImageNV := GetGLFuncOrNil&('glDrawVkImageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawVkImageNV(vkImage: UInt64; sampler: UInt32; x0: single; y0: single; x1: single; y1: single; z: single; s0: single; t0: single; s1: single; t1: single) := z_DrawVkImageNV(vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); - - public z_GetVkProcAddrNV := GetGLFuncOrNil&('glGetVkProcAddrNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVkProcAddrNV(name: string): GLVULKANPROCNV; begin var ptr_1 := Marshal.StringToHGlobalAnsi(name); Result := GetVkProcAddrNV(ptr_1); Marshal.FreeHGlobal(ptr_1); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVkProcAddrNV(name: IntPtr): GLVULKANPROCNV := z_GetVkProcAddrNV(name); - - public z_WaitVkSemaphoreNV := GetGLFuncOrNil&('glWaitVkSemaphoreNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitVkSemaphoreNV(vkSemaphore: UInt64) := z_WaitVkSemaphoreNV(vkSemaphore); - - public z_SignalVkSemaphoreNV := GetGLFuncOrNil&('glSignalVkSemaphoreNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalVkSemaphoreNV(vkSemaphore: UInt64) := z_SignalVkSemaphoreNV(vkSemaphore); - - public z_SignalVkFenceNV := GetGLFuncOrNil&('glSignalVkFenceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalVkFenceNV(vkFence: UInt64) := z_SignalVkFenceNV(vkFence); - - {$endregion NV_draw_vulkan_image} - - {$region NV_evaluators} - - public z_MapControlPointsNV := GetGLFuncOrNil&('glMapControlPointsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapControlPointsNV(target: DummyEnum; index: UInt32; &type: DummyEnum; ustride: Int32; vstride: Int32; uorder: Int32; vorder: Int32; &packed: boolean; points: pointer) := z_MapControlPointsNV(target, index, &type, ustride, vstride, uorder, vorder, &packed, points); - - public z_MapParameterivNV := GetGLFuncOrNil&('glMapParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterivNV(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := MapParameterivNV(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterivNV(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := MapParameterivNV(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterivNV(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MapParameterivNV(target, pname, ¶ms); - - public z_MapParameterfvNV := GetGLFuncOrNil&('glMapParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterfvNV(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := MapParameterfvNV(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterfvNV(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := MapParameterfvNV(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterfvNV(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_MapParameterfvNV(target, pname, ¶ms); - - public z_GetMapControlPointsNV := GetGLFuncOrNil&('glGetMapControlPointsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapControlPointsNV(target: DummyEnum; index: UInt32; &type: DummyEnum; ustride: Int32; vstride: Int32; &packed: boolean; points: pointer) := z_GetMapControlPointsNV(target, index, &type, ustride, vstride, &packed, points); - - public z_GetMapParameterivNV := GetGLFuncOrNil&('glGetMapParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterivNV(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetMapParameterivNV(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterivNV(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetMapParameterivNV(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterivNV(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMapParameterivNV(target, pname, ¶ms); - - public z_GetMapParameterfvNV := GetGLFuncOrNil&('glGetMapParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterfvNV(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetMapParameterfvNV(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterfvNV(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetMapParameterfvNV(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterfvNV(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMapParameterfvNV(target, pname, ¶ms); - - public z_GetMapAttribParameterivNV := GetGLFuncOrNil&('glGetMapAttribParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterivNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetMapAttribParameterivNV(target, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterivNV(target: DummyEnum; index: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetMapAttribParameterivNV(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterivNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetMapAttribParameterivNV(target, index, pname, ¶ms); - - public z_GetMapAttribParameterfvNV := GetGLFuncOrNil&('glGetMapAttribParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterfvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: array of single) := GetMapAttribParameterfvNV(target, index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterfvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; var ¶ms: single) := GetMapAttribParameterfvNV(target, index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterfvNV(target: DummyEnum; index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetMapAttribParameterfvNV(target, index, pname, ¶ms); - - public z_EvalMapsNV := GetGLFuncOrNil&('glEvalMapsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalMapsNV(target: DummyEnum; mode: DummyEnum) := z_EvalMapsNV(target, mode); - - {$endregion NV_evaluators} - - {$region NV_pixel_data_range} - - public z_PixelDataRangeNV := GetGLFuncOrNil&('glPixelDataRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelDataRangeNV(target: DummyEnum; length: Int32; _pointer: pointer) := z_PixelDataRangeNV(target, length, _pointer); - - public z_FlushPixelDataRangeNV := GetGLFuncOrNil&('glFlushPixelDataRangeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushPixelDataRangeNV(target: DummyEnum) := z_FlushPixelDataRangeNV(target); - - {$endregion NV_pixel_data_range} - - {$region NV_fragment_coverage_to_color} - - public z_FragmentCoverageColorNV := GetGLFuncOrNil&('glFragmentCoverageColorNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentCoverageColorNV(color: UInt32) := z_FragmentCoverageColorNV(color); - - {$endregion NV_fragment_coverage_to_color} - - {$region NV_sample_locations} - - public z_FramebufferSampleLocationsfvNV := GetGLFuncOrNil&('glFramebufferSampleLocationsfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvNV(target: DummyEnum; start: UInt32; count: Int32; v: array of single) := FramebufferSampleLocationsfvNV(target, start, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvNV(target: DummyEnum; start: UInt32; count: Int32; var v: single) := FramebufferSampleLocationsfvNV(target, start, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvNV(target: DummyEnum; start: UInt32; count: Int32; v: pointer) := z_FramebufferSampleLocationsfvNV(target, start, count, v); - - public z_NamedFramebufferSampleLocationsfvNV := GetGLFuncOrNil&('glNamedFramebufferSampleLocationsfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvNV(framebuffer: UInt32; start: UInt32; count: Int32; v: array of single) := NamedFramebufferSampleLocationsfvNV(framebuffer, start, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvNV(framebuffer: UInt32; start: UInt32; count: Int32; var v: single) := NamedFramebufferSampleLocationsfvNV(framebuffer, start, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvNV(framebuffer: UInt32; start: UInt32; count: Int32; v: pointer) := z_NamedFramebufferSampleLocationsfvNV(framebuffer, start, count, v); - - public z_ResolveDepthValuesNV := GetGLFuncOrNil&('glResolveDepthValuesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResolveDepthValuesNV := z_ResolveDepthValuesNV; - - {$endregion NV_sample_locations} - - {$region NV_shader_buffer_load} - - public z_MakeBufferResidentNV := GetGLFuncOrNil&('glMakeBufferResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeBufferResidentNV(target: DummyEnum; access: DummyEnum) := z_MakeBufferResidentNV(target, access); - - public z_MakeBufferNonResidentNV := GetGLFuncOrNil&('glMakeBufferNonResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeBufferNonResidentNV(target: DummyEnum) := z_MakeBufferNonResidentNV(target); - - public z_IsBufferResidentNV := GetGLFuncOrNil&('glIsBufferResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsBufferResidentNV(target: DummyEnum): boolean := z_IsBufferResidentNV(target); - - public z_MakeNamedBufferResidentNV := GetGLFuncOrNil&('glMakeNamedBufferResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeNamedBufferResidentNV(buffer: UInt32; access: DummyEnum) := z_MakeNamedBufferResidentNV(buffer, access); - - public z_MakeNamedBufferNonResidentNV := GetGLFuncOrNil&('glMakeNamedBufferNonResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeNamedBufferNonResidentNV(buffer: UInt32) := z_MakeNamedBufferNonResidentNV(buffer); - - public z_IsNamedBufferResidentNV := GetGLFuncOrNil&('glIsNamedBufferResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNamedBufferResidentNV(buffer: UInt32): boolean := z_IsNamedBufferResidentNV(buffer); - - public z_GetBufferParameterui64vNV := GetGLFuncOrNil&('glGetBufferParameterui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterui64vNV(target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt64) := GetBufferParameterui64vNV(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterui64vNV(target: DummyEnum; pname: DummyEnum; var ¶ms: UInt64) := GetBufferParameterui64vNV(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterui64vNV(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetBufferParameterui64vNV(target, pname, ¶ms); - - public z_GetNamedBufferParameterui64vNV := GetGLFuncOrNil&('glGetNamedBufferParameterui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterui64vNV(buffer: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetNamedBufferParameterui64vNV(buffer, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterui64vNV(buffer: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetNamedBufferParameterui64vNV(buffer, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterui64vNV(buffer: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetNamedBufferParameterui64vNV(buffer, pname, ¶ms); - - public z_GetIntegerui64vNV := GetGLFuncOrNil&('glGetIntegerui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64vNV(value: GLGetQueries; result: array of UInt64) := GetIntegerui64vNV(value, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(result,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64vNV(value: GLGetQueries; var result: UInt64) := GetIntegerui64vNV(value, @result); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64vNV(value: GLGetQueries; result: pointer) := z_GetIntegerui64vNV(value, result); - - public z_Uniformui64NV := GetGLFuncOrNil&('glUniformui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64NV(location: Int32; value: UInt64) := z_Uniformui64NV(location, value); - - public z_Uniformui64vNV := GetGLFuncOrNil&('glUniformui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64vNV(location: Int32; count: Int32; value: array of UInt64) := Uniformui64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64vNV(location: Int32; count: Int32; var value: UInt64) := Uniformui64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64vNV(location: Int32; count: Int32; value: pointer) := z_Uniformui64vNV(location, count, value); - - public z_ProgramUniformui64NV := GetGLFuncOrNil&('glProgramUniformui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64NV(&program: UInt32; location: Int32; value: UInt64) := z_ProgramUniformui64NV(&program, location, value); - - public z_ProgramUniformui64vNV := GetGLFuncOrNil&('glProgramUniformui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniformui64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniformui64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniformui64vNV(&program, location, count, value); - - {$endregion NV_shader_buffer_load} - - {$region NV_bindless_texture} - - public z_GetTextureHandleNV := GetGLFuncOrNil&('glGetTextureHandleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureHandleNV(texture: UInt32): UInt64 := z_GetTextureHandleNV(texture); - - public z_GetTextureSamplerHandleNV := GetGLFuncOrNil&('glGetTextureSamplerHandleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureSamplerHandleNV(texture: UInt32; sampler: UInt32): UInt64 := z_GetTextureSamplerHandleNV(texture, sampler); - - public z_MakeTextureHandleResidentNV := GetGLFuncOrNil&('glMakeTextureHandleResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleResidentNV(handle: UInt64) := z_MakeTextureHandleResidentNV(handle); - - public z_MakeTextureHandleNonResidentNV := GetGLFuncOrNil&('glMakeTextureHandleNonResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleNonResidentNV(handle: UInt64) := z_MakeTextureHandleNonResidentNV(handle); - - public z_GetImageHandleNV := GetGLFuncOrNil&('glGetImageHandleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetImageHandleNV(texture: UInt32; level: Int32; layered: boolean; layer: Int32; format: DummyEnum): UInt64 := z_GetImageHandleNV(texture, level, layered, layer, format); - - public z_MakeImageHandleResidentNV := GetGLFuncOrNil&('glMakeImageHandleResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleResidentNV(handle: UInt64; access: DummyEnum) := z_MakeImageHandleResidentNV(handle, access); - - public z_MakeImageHandleNonResidentNV := GetGLFuncOrNil&('glMakeImageHandleNonResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleNonResidentNV(handle: UInt64) := z_MakeImageHandleNonResidentNV(handle); - - public z_UniformHandleui64NV := GetGLFuncOrNil&('glUniformHandleui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64NV(location: Int32; value: UInt64) := z_UniformHandleui64NV(location, value); - - public z_UniformHandleui64vNV := GetGLFuncOrNil&('glUniformHandleui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vNV(location: Int32; count: Int32; value: array of UInt64) := UniformHandleui64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vNV(location: Int32; count: Int32; var value: UInt64) := UniformHandleui64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vNV(location: Int32; count: Int32; value: pointer) := z_UniformHandleui64vNV(location, count, value); - - public z_ProgramUniformHandleui64NV := GetGLFuncOrNil&('glProgramUniformHandleui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64NV(&program: UInt32; location: Int32; value: UInt64) := z_ProgramUniformHandleui64NV(&program, location, value); - - public z_ProgramUniformHandleui64vNV := GetGLFuncOrNil&('glProgramUniformHandleui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vNV(&program: UInt32; location: Int32; count: Int32; values: array of UInt64) := ProgramUniformHandleui64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vNV(&program: UInt32; location: Int32; count: Int32; var values: UInt64) := ProgramUniformHandleui64vNV(&program, location, count, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vNV(&program: UInt32; location: Int32; count: Int32; values: pointer) := z_ProgramUniformHandleui64vNV(&program, location, count, values); - - public z_IsTextureHandleResidentNV := GetGLFuncOrNil&('glIsTextureHandleResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTextureHandleResidentNV(handle: UInt64): boolean := z_IsTextureHandleResidentNV(handle); - - public z_IsImageHandleResidentNV := GetGLFuncOrNil&('glIsImageHandleResidentNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsImageHandleResidentNV(handle: UInt64): boolean := z_IsImageHandleResidentNV(handle); - - {$endregion NV_bindless_texture} - - {$region NV_internalformat_sample_query} - - public z_GetInternalformatSampleivNV := GetGLFuncOrNil&('glGetInternalformatSampleivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformatSampleivNV(target: DummyEnum; internalformat: DummyEnum; samples: Int32; pname: DummyEnum; count: Int32; ¶ms: array of Int32) := GetInternalformatSampleivNV(target, internalformat, samples, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformatSampleivNV(target: DummyEnum; internalformat: DummyEnum; samples: Int32; pname: DummyEnum; count: Int32; var ¶ms: Int32) := GetInternalformatSampleivNV(target, internalformat, samples, pname, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformatSampleivNV(target: DummyEnum; internalformat: DummyEnum; samples: Int32; pname: DummyEnum; count: Int32; ¶ms: pointer) := z_GetInternalformatSampleivNV(target, internalformat, samples, pname, count, ¶ms); - - {$endregion NV_internalformat_sample_query} - - {$region NV_explicit_multisample} - - public z_GetMultisamplefvNV := GetGLFuncOrNil&('glGetMultisamplefvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefvNV(pname: DummyEnum; index: UInt32; val: array of single) := GetMultisamplefvNV(pname, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(val,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefvNV(pname: DummyEnum; index: UInt32; var val: single) := GetMultisamplefvNV(pname, index, @val); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefvNV(pname: DummyEnum; index: UInt32; val: pointer) := z_GetMultisamplefvNV(pname, index, val); - - public z_SampleMaskIndexedNV := GetGLFuncOrNil&('glSampleMaskIndexedNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaskIndexedNV(index: UInt32; mask: DummyFlags) := z_SampleMaskIndexedNV(index, mask); - - public z_TexRenderbufferNV := GetGLFuncOrNil&('glTexRenderbufferNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexRenderbufferNV(target: DummyEnum; renderbuffer: UInt32) := z_TexRenderbufferNV(target, renderbuffer); - - {$endregion NV_explicit_multisample} - - {$region NV_gpu_program4} - - public z_ProgramLocalParameterI4iNV := GetGLFuncOrNil&('glProgramLocalParameterI4iNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4iNV(target: DummyEnum; index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32) := z_ProgramLocalParameterI4iNV(target, index, x, y, z, w); - - public z_ProgramLocalParameterI4ivNV := GetGLFuncOrNil&('glProgramLocalParameterI4ivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4ivNV(target: DummyEnum; index: UInt32; ¶ms: array of Int32) := ProgramLocalParameterI4ivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4ivNV(target: DummyEnum; index: UInt32; var ¶ms: Int32) := ProgramLocalParameterI4ivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4ivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramLocalParameterI4ivNV(target, index, ¶ms); - - public z_ProgramLocalParametersI4ivNV := GetGLFuncOrNil&('glProgramLocalParametersI4ivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4ivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of Int32) := ProgramLocalParametersI4ivNV(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4ivNV(target: DummyEnum; index: UInt32; count: Int32; var ¶ms: Int32) := ProgramLocalParametersI4ivNV(target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4ivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_ProgramLocalParametersI4ivNV(target, index, count, ¶ms); - - public z_ProgramLocalParameterI4uiNV := GetGLFuncOrNil&('glProgramLocalParameterI4uiNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uiNV(target: DummyEnum; index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32) := z_ProgramLocalParameterI4uiNV(target, index, x, y, z, w); - - public z_ProgramLocalParameterI4uivNV := GetGLFuncOrNil&('glProgramLocalParameterI4uivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uivNV(target: DummyEnum; index: UInt32; ¶ms: array of UInt32) := ProgramLocalParameterI4uivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uivNV(target: DummyEnum; index: UInt32; var ¶ms: UInt32) := ProgramLocalParameterI4uivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramLocalParameterI4uivNV(target, index, ¶ms); - - public z_ProgramLocalParametersI4uivNV := GetGLFuncOrNil&('glProgramLocalParametersI4uivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4uivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of UInt32) := ProgramLocalParametersI4uivNV(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4uivNV(target: DummyEnum; index: UInt32; count: Int32; var ¶ms: UInt32) := ProgramLocalParametersI4uivNV(target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4uivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_ProgramLocalParametersI4uivNV(target, index, count, ¶ms); - - public z_ProgramEnvParameterI4iNV := GetGLFuncOrNil&('glProgramEnvParameterI4iNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4iNV(target: DummyEnum; index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32) := z_ProgramEnvParameterI4iNV(target, index, x, y, z, w); - - public z_ProgramEnvParameterI4ivNV := GetGLFuncOrNil&('glProgramEnvParameterI4ivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4ivNV(target: DummyEnum; index: UInt32; ¶ms: array of Int32) := ProgramEnvParameterI4ivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4ivNV(target: DummyEnum; index: UInt32; var ¶ms: Int32) := ProgramEnvParameterI4ivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4ivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramEnvParameterI4ivNV(target, index, ¶ms); - - public z_ProgramEnvParametersI4ivNV := GetGLFuncOrNil&('glProgramEnvParametersI4ivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4ivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of Int32) := ProgramEnvParametersI4ivNV(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4ivNV(target: DummyEnum; index: UInt32; count: Int32; var ¶ms: Int32) := ProgramEnvParametersI4ivNV(target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4ivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_ProgramEnvParametersI4ivNV(target, index, count, ¶ms); - - public z_ProgramEnvParameterI4uiNV := GetGLFuncOrNil&('glProgramEnvParameterI4uiNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uiNV(target: DummyEnum; index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32) := z_ProgramEnvParameterI4uiNV(target, index, x, y, z, w); - - public z_ProgramEnvParameterI4uivNV := GetGLFuncOrNil&('glProgramEnvParameterI4uivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uivNV(target: DummyEnum; index: UInt32; ¶ms: array of UInt32) := ProgramEnvParameterI4uivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uivNV(target: DummyEnum; index: UInt32; var ¶ms: UInt32) := ProgramEnvParameterI4uivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_ProgramEnvParameterI4uivNV(target, index, ¶ms); - - public z_ProgramEnvParametersI4uivNV := GetGLFuncOrNil&('glProgramEnvParametersI4uivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4uivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: array of UInt32) := ProgramEnvParametersI4uivNV(target, index, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4uivNV(target: DummyEnum; index: UInt32; count: Int32; var ¶ms: UInt32) := ProgramEnvParametersI4uivNV(target, index, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4uivNV(target: DummyEnum; index: UInt32; count: Int32; ¶ms: pointer) := z_ProgramEnvParametersI4uivNV(target, index, count, ¶ms); - - public z_GetProgramLocalParameterIivNV := GetGLFuncOrNil&('glGetProgramLocalParameterIivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIivNV(target: DummyEnum; index: UInt32; ¶ms: array of Int32) := GetProgramLocalParameterIivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIivNV(target: DummyEnum; index: UInt32; var ¶ms: Int32) := GetProgramLocalParameterIivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramLocalParameterIivNV(target, index, ¶ms); - - public z_GetProgramLocalParameterIuivNV := GetGLFuncOrNil&('glGetProgramLocalParameterIuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIuivNV(target: DummyEnum; index: UInt32; ¶ms: array of UInt32) := GetProgramLocalParameterIuivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIuivNV(target: DummyEnum; index: UInt32; var ¶ms: UInt32) := GetProgramLocalParameterIuivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIuivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramLocalParameterIuivNV(target, index, ¶ms); - - public z_GetProgramEnvParameterIivNV := GetGLFuncOrNil&('glGetProgramEnvParameterIivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIivNV(target: DummyEnum; index: UInt32; ¶ms: array of Int32) := GetProgramEnvParameterIivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIivNV(target: DummyEnum; index: UInt32; var ¶ms: Int32) := GetProgramEnvParameterIivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramEnvParameterIivNV(target, index, ¶ms); - - public z_GetProgramEnvParameterIuivNV := GetGLFuncOrNil&('glGetProgramEnvParameterIuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIuivNV(target: DummyEnum; index: UInt32; ¶ms: array of UInt32) := GetProgramEnvParameterIuivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIuivNV(target: DummyEnum; index: UInt32; var ¶ms: UInt32) := GetProgramEnvParameterIuivNV(target, index, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIuivNV(target: DummyEnum; index: UInt32; ¶ms: pointer) := z_GetProgramEnvParameterIuivNV(target, index, ¶ms); - - {$endregion NV_gpu_program4} - - {$region NV_fragment_program} - - public z_ProgramNamedParameter4fNV := GetGLFuncOrNil&('glProgramNamedParameter4fNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fNV(id: UInt32; len: Int32; name: array of Byte; x: single; y: single; z: single; w: single) := ProgramNamedParameter4fNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), x, y, z, w); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fNV(id: UInt32; len: Int32; var name: Byte; x: single; y: single; z: single; w: single) := ProgramNamedParameter4fNV(id, len, @name, x, y, z, w); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fNV(id: UInt32; len: Int32; name: pointer; x: single; y: single; z: single; w: single) := z_ProgramNamedParameter4fNV(id, len, name, x, y, z, w); - - public z_ProgramNamedParameter4dNV := GetGLFuncOrNil&('glProgramNamedParameter4dNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dNV(id: UInt32; len: Int32; name: array of Byte; x: double; y: double; z: double; w: double) := ProgramNamedParameter4dNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), x, y, z, w); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dNV(id: UInt32; len: Int32; var name: Byte; x: double; y: double; z: double; w: double) := ProgramNamedParameter4dNV(id, len, @name, x, y, z, w); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dNV(id: UInt32; len: Int32; name: pointer; x: double; y: double; z: double; w: double) := z_ProgramNamedParameter4dNV(id, len, name, x, y, z, w); - - public z_ProgramNamedParameter4fvNV := GetGLFuncOrNil&('glProgramNamedParameter4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: array of Byte; v: array of single) := ProgramNamedParameter4fvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: array of Byte; var v: single) := ProgramNamedParameter4fvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: array of Byte; v: pointer) := ProgramNamedParameter4fvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; var name: Byte; v: array of single) := ProgramNamedParameter4fvNV(id, len, @name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; var name: Byte; var v: single) := ProgramNamedParameter4fvNV(id, len, @name, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; var name: Byte; v: pointer) := ProgramNamedParameter4fvNV(id, len, @name, v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: pointer; v: array of single) := ProgramNamedParameter4fvNV(id, len, name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: pointer; var v: single) := ProgramNamedParameter4fvNV(id, len, name, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: pointer; v: pointer) := z_ProgramNamedParameter4fvNV(id, len, name, v); - - public z_ProgramNamedParameter4dvNV := GetGLFuncOrNil&('glProgramNamedParameter4dvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: array of Byte; v: array of double) := ProgramNamedParameter4dvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: array of Byte; var v: double) := ProgramNamedParameter4dvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: array of Byte; v: pointer) := ProgramNamedParameter4dvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; var name: Byte; v: array of double) := ProgramNamedParameter4dvNV(id, len, @name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; var name: Byte; var v: double) := ProgramNamedParameter4dvNV(id, len, @name, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; var name: Byte; v: pointer) := ProgramNamedParameter4dvNV(id, len, @name, v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: pointer; v: array of double) := ProgramNamedParameter4dvNV(id, len, name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: pointer; var v: double) := ProgramNamedParameter4dvNV(id, len, name, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: pointer; v: pointer) := z_ProgramNamedParameter4dvNV(id, len, name, v); - - public z_GetProgramNamedParameterfvNV := GetGLFuncOrNil&('glGetProgramNamedParameterfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: array of single) := GetProgramNamedParameterfvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: array of Byte; var ¶ms: single) := GetProgramNamedParameterfvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: pointer) := GetProgramNamedParameterfvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: array of single) := GetProgramNamedParameterfvNV(id, len, @name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; var name: Byte; var ¶ms: single) := GetProgramNamedParameterfvNV(id, len, @name, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: pointer) := GetProgramNamedParameterfvNV(id, len, @name, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: pointer; ¶ms: array of single) := GetProgramNamedParameterfvNV(id, len, name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: pointer; var ¶ms: single) := GetProgramNamedParameterfvNV(id, len, name, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: pointer; ¶ms: pointer) := z_GetProgramNamedParameterfvNV(id, len, name, ¶ms); - - public z_GetProgramNamedParameterdvNV := GetGLFuncOrNil&('glGetProgramNamedParameterdvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: array of double) := GetProgramNamedParameterdvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: array of Byte; var ¶ms: double) := GetProgramNamedParameterdvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: pointer) := GetProgramNamedParameterdvNV(id, len, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(name,0)), ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: array of double) := GetProgramNamedParameterdvNV(id, len, @name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; var name: Byte; var ¶ms: double) := GetProgramNamedParameterdvNV(id, len, @name, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: pointer) := GetProgramNamedParameterdvNV(id, len, @name, ¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: pointer; ¶ms: array of double) := GetProgramNamedParameterdvNV(id, len, name, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: pointer; var ¶ms: double) := GetProgramNamedParameterdvNV(id, len, name, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: pointer; ¶ms: pointer) := z_GetProgramNamedParameterdvNV(id, len, name, ¶ms); - - {$endregion NV_fragment_program} - - {$region ARB_shader_subroutine} - - public z_ProgramSubroutineParametersuivNV := GetGLFuncOrNil&('glProgramSubroutineParametersuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramSubroutineParametersuivNV(target: DummyEnum; count: Int32; ¶ms: array of UInt32) := ProgramSubroutineParametersuivNV(target, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramSubroutineParametersuivNV(target: DummyEnum; count: Int32; var ¶ms: UInt32) := ProgramSubroutineParametersuivNV(target, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramSubroutineParametersuivNV(target: DummyEnum; count: Int32; ¶ms: pointer) := z_ProgramSubroutineParametersuivNV(target, count, ¶ms); - - public z_GetProgramSubroutineParameteruivNV := GetGLFuncOrNil&('glGetProgramSubroutineParameteruivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramSubroutineParameteruivNV(target: DummyEnum; index: UInt32; param: array of UInt32) := GetProgramSubroutineParameteruivNV(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramSubroutineParameteruivNV(target: DummyEnum; index: UInt32; var param: UInt32) := GetProgramSubroutineParameteruivNV(target, index, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramSubroutineParameteruivNV(target: DummyEnum; index: UInt32; param: pointer) := z_GetProgramSubroutineParameteruivNV(target, index, param); - - {$endregion ARB_shader_subroutine} - - {$region ARB_transform_feedback3 NV_transform_feedback} - - public z_TransformFeedbackAttribsNV := GetGLFuncOrNil&('glTransformFeedbackAttribsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackAttribsNV(count: Int32; attribs: array of Int32; bufferMode: DummyEnum) := TransformFeedbackAttribsNV(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribs,0)), bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackAttribsNV(count: Int32; var attribs: Int32; bufferMode: DummyEnum) := TransformFeedbackAttribsNV(count, @attribs, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackAttribsNV(count: Int32; attribs: pointer; bufferMode: DummyEnum) := z_TransformFeedbackAttribsNV(count, attribs, bufferMode); - - public z_TransformFeedbackVaryingsNV := GetGLFuncOrNil&('glTransformFeedbackVaryingsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsNV(&program: UInt32; count: Int32; locations: array of Int32; bufferMode: DummyEnum) := TransformFeedbackVaryingsNV(&program, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(locations,0)), bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsNV(&program: UInt32; count: Int32; var locations: Int32; bufferMode: DummyEnum) := TransformFeedbackVaryingsNV(&program, count, @locations, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsNV(&program: UInt32; count: Int32; locations: pointer; bufferMode: DummyEnum) := z_TransformFeedbackVaryingsNV(&program, count, locations, bufferMode); - - public z_GetTransformFeedbackVaryingNV := GetGLFuncOrNil&('glGetTransformFeedbackVaryingNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingNV(&program: UInt32; index: UInt32; location: array of Int32) := GetTransformFeedbackVaryingNV(&program, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(location,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingNV(&program: UInt32; index: UInt32; var location: Int32) := GetTransformFeedbackVaryingNV(&program, index, @location); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingNV(&program: UInt32; index: UInt32; location: pointer) := z_GetTransformFeedbackVaryingNV(&program, index, location); - - {$endregion ARB_transform_feedback3 NV_transform_feedback} - - {$region AMD_gpu_shader_int64 NV_gpu_shader5} - - public z_Uniform1i64NV := GetGLFuncOrNil&('glUniform1i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64NV(location: Int32; x: Int64) := z_Uniform1i64NV(location, x); - - public z_Uniform2i64NV := GetGLFuncOrNil&('glUniform2i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64NV(location: Int32; x: Int64; y: Int64) := z_Uniform2i64NV(location, x, y); - - public z_Uniform3i64NV := GetGLFuncOrNil&('glUniform3i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64NV(location: Int32; x: Int64; y: Int64; z: Int64) := z_Uniform3i64NV(location, x, y, z); - - public z_Uniform4i64NV := GetGLFuncOrNil&('glUniform4i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64NV(location: Int32; x: Int64; y: Int64; z: Int64; w: Int64) := z_Uniform4i64NV(location, x, y, z, w); - - public z_Uniform1i64vNV := GetGLFuncOrNil&('glUniform1i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vNV(location: Int32; count: Int32; value: array of Int64) := Uniform1i64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vNV(location: Int32; count: Int32; var value: Int64) := Uniform1i64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform1i64vNV(location, count, value); - - public z_Uniform2i64vNV := GetGLFuncOrNil&('glUniform2i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vNV(location: Int32; count: Int32; value: array of Int64) := Uniform2i64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vNV(location: Int32; count: Int32; var value: Int64) := Uniform2i64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform2i64vNV(location, count, value); - - public z_Uniform3i64vNV := GetGLFuncOrNil&('glUniform3i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vNV(location: Int32; count: Int32; value: array of Int64) := Uniform3i64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vNV(location: Int32; count: Int32; var value: Int64) := Uniform3i64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform3i64vNV(location, count, value); - - public z_Uniform4i64vNV := GetGLFuncOrNil&('glUniform4i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vNV(location: Int32; count: Int32; value: array of Int64) := Uniform4i64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vNV(location: Int32; count: Int32; var value: Int64) := Uniform4i64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform4i64vNV(location, count, value); - - public z_Uniform1ui64NV := GetGLFuncOrNil&('glUniform1ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64NV(location: Int32; x: UInt64) := z_Uniform1ui64NV(location, x); - - public z_Uniform2ui64NV := GetGLFuncOrNil&('glUniform2ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64NV(location: Int32; x: UInt64; y: UInt64) := z_Uniform2ui64NV(location, x, y); - - public z_Uniform3ui64NV := GetGLFuncOrNil&('glUniform3ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64NV(location: Int32; x: UInt64; y: UInt64; z: UInt64) := z_Uniform3ui64NV(location, x, y, z); - - public z_Uniform4ui64NV := GetGLFuncOrNil&('glUniform4ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64NV(location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64) := z_Uniform4ui64NV(location, x, y, z, w); - - public z_Uniform1ui64vNV := GetGLFuncOrNil&('glUniform1ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vNV(location: Int32; count: Int32; value: array of UInt64) := Uniform1ui64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vNV(location: Int32; count: Int32; var value: UInt64) := Uniform1ui64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform1ui64vNV(location, count, value); - - public z_Uniform2ui64vNV := GetGLFuncOrNil&('glUniform2ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vNV(location: Int32; count: Int32; value: array of UInt64) := Uniform2ui64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vNV(location: Int32; count: Int32; var value: UInt64) := Uniform2ui64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform2ui64vNV(location, count, value); - - public z_Uniform3ui64vNV := GetGLFuncOrNil&('glUniform3ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vNV(location: Int32; count: Int32; value: array of UInt64) := Uniform3ui64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vNV(location: Int32; count: Int32; var value: UInt64) := Uniform3ui64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform3ui64vNV(location, count, value); - - public z_Uniform4ui64vNV := GetGLFuncOrNil&('glUniform4ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vNV(location: Int32; count: Int32; value: array of UInt64) := Uniform4ui64vNV(location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vNV(location: Int32; count: Int32; var value: UInt64) := Uniform4ui64vNV(location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vNV(location: Int32; count: Int32; value: pointer) := z_Uniform4ui64vNV(location, count, value); - - public z_GetUniformi64vNV := GetGLFuncOrNil&('glGetUniformi64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vNV(&program: UInt32; location: Int32; ¶ms: array of Int64) := GetUniformi64vNV(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vNV(&program: UInt32; location: Int32; var ¶ms: Int64) := GetUniformi64vNV(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vNV(&program: UInt32; location: Int32; ¶ms: pointer) := z_GetUniformi64vNV(&program, location, ¶ms); - - public z_ProgramUniform1i64NV := GetGLFuncOrNil&('glProgramUniform1i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64NV(&program: UInt32; location: Int32; x: Int64) := z_ProgramUniform1i64NV(&program, location, x); - - public z_ProgramUniform2i64NV := GetGLFuncOrNil&('glProgramUniform2i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64NV(&program: UInt32; location: Int32; x: Int64; y: Int64) := z_ProgramUniform2i64NV(&program, location, x, y); - - public z_ProgramUniform3i64NV := GetGLFuncOrNil&('glProgramUniform3i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64NV(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64) := z_ProgramUniform3i64NV(&program, location, x, y, z); - - public z_ProgramUniform4i64NV := GetGLFuncOrNil&('glProgramUniform4i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64NV(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64; w: Int64) := z_ProgramUniform4i64NV(&program, location, x, y, z, w); - - public z_ProgramUniform1i64vNV := GetGLFuncOrNil&('glProgramUniform1i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform1i64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform1i64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1i64vNV(&program, location, count, value); - - public z_ProgramUniform2i64vNV := GetGLFuncOrNil&('glProgramUniform2i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform2i64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform2i64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2i64vNV(&program, location, count, value); - - public z_ProgramUniform3i64vNV := GetGLFuncOrNil&('glProgramUniform3i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform3i64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform3i64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3i64vNV(&program, location, count, value); - - public z_ProgramUniform4i64vNV := GetGLFuncOrNil&('glProgramUniform4i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64) := ProgramUniform4i64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64) := ProgramUniform4i64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4i64vNV(&program, location, count, value); - - public z_ProgramUniform1ui64NV := GetGLFuncOrNil&('glProgramUniform1ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64NV(&program: UInt32; location: Int32; x: UInt64) := z_ProgramUniform1ui64NV(&program, location, x); - - public z_ProgramUniform2ui64NV := GetGLFuncOrNil&('glProgramUniform2ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64NV(&program: UInt32; location: Int32; x: UInt64; y: UInt64) := z_ProgramUniform2ui64NV(&program, location, x, y); - - public z_ProgramUniform3ui64NV := GetGLFuncOrNil&('glProgramUniform3ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64NV(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64) := z_ProgramUniform3ui64NV(&program, location, x, y, z); - - public z_ProgramUniform4ui64NV := GetGLFuncOrNil&('glProgramUniform4ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64NV(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64) := z_ProgramUniform4ui64NV(&program, location, x, y, z, w); - - public z_ProgramUniform1ui64vNV := GetGLFuncOrNil&('glProgramUniform1ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform1ui64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform1ui64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform1ui64vNV(&program, location, count, value); - - public z_ProgramUniform2ui64vNV := GetGLFuncOrNil&('glProgramUniform2ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform2ui64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform2ui64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform2ui64vNV(&program, location, count, value); - - public z_ProgramUniform3ui64vNV := GetGLFuncOrNil&('glProgramUniform3ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform3ui64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform3ui64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform3ui64vNV(&program, location, count, value); - - public z_ProgramUniform4ui64vNV := GetGLFuncOrNil&('glProgramUniform4ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64) := ProgramUniform4ui64vNV(&program, location, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64) := ProgramUniform4ui64vNV(&program, location, count, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vNV(&program: UInt32; location: Int32; count: Int32; value: pointer) := z_ProgramUniform4ui64vNV(&program, location, count, value); - - {$endregion AMD_gpu_shader_int64 NV_gpu_shader5} - - {$region AMD_gpu_shader_int64 NV_gpu_shader5 NV_shader_buffer_load} - - public z_GetUniformui64vNV := GetGLFuncOrNil&('glGetUniformui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vNV(&program: UInt32; location: Int32; ¶ms: array of UInt64) := GetUniformui64vNV(&program, location, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vNV(&program: UInt32; location: Int32; var ¶ms: UInt64) := GetUniformui64vNV(&program, location, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vNV(&program: UInt32; location: Int32; ¶ms: pointer) := z_GetUniformui64vNV(&program, location, ¶ms); - - {$endregion AMD_gpu_shader_int64 NV_gpu_shader5 NV_shader_buffer_load} - - {$region NV_vertex_attrib_integer_64bit} - - public z_VertexAttribL1i64NV := GetGLFuncOrNil&('glVertexAttribL1i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64NV(index: UInt32; x: Int64) := z_VertexAttribL1i64NV(index, x); - - public z_VertexAttribL2i64NV := GetGLFuncOrNil&('glVertexAttribL2i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64NV(index: UInt32; x: Int64; y: Int64) := z_VertexAttribL2i64NV(index, x, y); - - public z_VertexAttribL3i64NV := GetGLFuncOrNil&('glVertexAttribL3i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64NV(index: UInt32; x: Int64; y: Int64; z: Int64) := z_VertexAttribL3i64NV(index, x, y, z); - - public z_VertexAttribL4i64NV := GetGLFuncOrNil&('glVertexAttribL4i64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64NV(index: UInt32; x: Int64; y: Int64; z: Int64; w: Int64) := z_VertexAttribL4i64NV(index, x, y, z, w); - - public z_VertexAttribL1i64vNV := GetGLFuncOrNil&('glVertexAttribL1i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64vNV(index: UInt32; v: array of Int64) := VertexAttribL1i64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64vNV(index: UInt32; var v: Int64) := VertexAttribL1i64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64vNV(index: UInt32; v: pointer) := z_VertexAttribL1i64vNV(index, v); - - public z_VertexAttribL2i64vNV := GetGLFuncOrNil&('glVertexAttribL2i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64vNV(index: UInt32; v: array of Int64) := VertexAttribL2i64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64vNV(index: UInt32; var v: Int64) := VertexAttribL2i64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64vNV(index: UInt32; v: pointer) := z_VertexAttribL2i64vNV(index, v); - - public z_VertexAttribL3i64vNV := GetGLFuncOrNil&('glVertexAttribL3i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64vNV(index: UInt32; v: array of Int64) := VertexAttribL3i64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64vNV(index: UInt32; var v: Int64) := VertexAttribL3i64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64vNV(index: UInt32; v: pointer) := z_VertexAttribL3i64vNV(index, v); - - public z_VertexAttribL4i64vNV := GetGLFuncOrNil&('glVertexAttribL4i64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64vNV(index: UInt32; v: array of Int64) := VertexAttribL4i64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64vNV(index: UInt32; var v: Int64) := VertexAttribL4i64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64vNV(index: UInt32; v: pointer) := z_VertexAttribL4i64vNV(index, v); - - public z_VertexAttribL1ui64NV := GetGLFuncOrNil&('glVertexAttribL1ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64NV(index: UInt32; x: UInt64) := z_VertexAttribL1ui64NV(index, x); - - public z_VertexAttribL2ui64NV := GetGLFuncOrNil&('glVertexAttribL2ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64NV(index: UInt32; x: UInt64; y: UInt64) := z_VertexAttribL2ui64NV(index, x, y); - - public z_VertexAttribL3ui64NV := GetGLFuncOrNil&('glVertexAttribL3ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64NV(index: UInt32; x: UInt64; y: UInt64; z: UInt64) := z_VertexAttribL3ui64NV(index, x, y, z); - - public z_VertexAttribL4ui64NV := GetGLFuncOrNil&('glVertexAttribL4ui64NV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64NV(index: UInt32; x: UInt64; y: UInt64; z: UInt64; w: UInt64) := z_VertexAttribL4ui64NV(index, x, y, z, w); - - public z_VertexAttribL1ui64vNV := GetGLFuncOrNil&('glVertexAttribL1ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vNV(index: UInt32; v: array of UInt64) := VertexAttribL1ui64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vNV(index: UInt32; var v: UInt64) := VertexAttribL1ui64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vNV(index: UInt32; v: pointer) := z_VertexAttribL1ui64vNV(index, v); - - public z_VertexAttribL2ui64vNV := GetGLFuncOrNil&('glVertexAttribL2ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64vNV(index: UInt32; v: array of UInt64) := VertexAttribL2ui64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64vNV(index: UInt32; var v: UInt64) := VertexAttribL2ui64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64vNV(index: UInt32; v: pointer) := z_VertexAttribL2ui64vNV(index, v); - - public z_VertexAttribL3ui64vNV := GetGLFuncOrNil&('glVertexAttribL3ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64vNV(index: UInt32; v: array of UInt64) := VertexAttribL3ui64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64vNV(index: UInt32; var v: UInt64) := VertexAttribL3ui64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64vNV(index: UInt32; v: pointer) := z_VertexAttribL3ui64vNV(index, v); - - public z_VertexAttribL4ui64vNV := GetGLFuncOrNil&('glVertexAttribL4ui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64vNV(index: UInt32; v: array of UInt64) := VertexAttribL4ui64vNV(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64vNV(index: UInt32; var v: UInt64) := VertexAttribL4ui64vNV(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64vNV(index: UInt32; v: pointer) := z_VertexAttribL4ui64vNV(index, v); - - public z_GetVertexAttribLi64vNV := GetGLFuncOrNil&('glGetVertexAttribLi64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLi64vNV(index: UInt32; pname: DummyEnum; ¶ms: array of Int64) := GetVertexAttribLi64vNV(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLi64vNV(index: UInt32; pname: DummyEnum; var ¶ms: Int64) := GetVertexAttribLi64vNV(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLi64vNV(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribLi64vNV(index, pname, ¶ms); - - public z_GetVertexAttribLui64vNV := GetGLFuncOrNil&('glGetVertexAttribLui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vNV(index: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := GetVertexAttribLui64vNV(index, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vNV(index: UInt32; pname: DummyEnum; var ¶ms: UInt64) := GetVertexAttribLui64vNV(index, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vNV(index: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetVertexAttribLui64vNV(index, pname, ¶ms); - - public z_VertexAttribLFormatNV := GetGLFuncOrNil&('glVertexAttribLFormatNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLFormatNV(index: UInt32; size: Int32; &type: DummyEnum; stride: Int32) := z_VertexAttribLFormatNV(index, size, &type, stride); - - {$endregion NV_vertex_attrib_integer_64bit} - - {$region NV_gpu_multicast} - - public z_RenderGpuMaskNV := GetGLFuncOrNil&('glRenderGpuMaskNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderGpuMaskNV(mask: DummyFlags) := z_RenderGpuMaskNV(mask); - - public z_MulticastBufferSubDataNV := GetGLFuncOrNil&('glMulticastBufferSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastBufferSubDataNV(gpuMask: DummyFlags; buffer: UInt32; offset: IntPtr; size: UIntPtr; data: pointer) := z_MulticastBufferSubDataNV(gpuMask, buffer, offset, size, data); - - public z_MulticastCopyBufferSubDataNV := GetGLFuncOrNil&('glMulticastCopyBufferSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastCopyBufferSubDataNV(readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr) := z_MulticastCopyBufferSubDataNV(readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size); - - public z_MulticastCopyImageSubDataNV := GetGLFuncOrNil&('glMulticastCopyImageSubDataNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastCopyImageSubDataNV(srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32) := z_MulticastCopyImageSubDataNV(srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); - - public z_MulticastBlitFramebufferNV := GetGLFuncOrNil&('glMulticastBlitFramebufferNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastBlitFramebufferNV(srcGpu: UInt32; dstGpu: UInt32; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_MulticastBlitFramebufferNV(srcGpu, dstGpu, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - public z_MulticastFramebufferSampleLocationsfvNV := GetGLFuncOrNil&('glMulticastFramebufferSampleLocationsfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastFramebufferSampleLocationsfvNV(gpu: UInt32; framebuffer: UInt32; start: UInt32; count: Int32; v: array of single) := MulticastFramebufferSampleLocationsfvNV(gpu, framebuffer, start, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastFramebufferSampleLocationsfvNV(gpu: UInt32; framebuffer: UInt32; start: UInt32; count: Int32; var v: single) := MulticastFramebufferSampleLocationsfvNV(gpu, framebuffer, start, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastFramebufferSampleLocationsfvNV(gpu: UInt32; framebuffer: UInt32; start: UInt32; count: Int32; v: pointer) := z_MulticastFramebufferSampleLocationsfvNV(gpu, framebuffer, start, count, v); - - public z_MulticastBarrierNV := GetGLFuncOrNil&('glMulticastBarrierNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastBarrierNV := z_MulticastBarrierNV; - - public z_MulticastWaitSyncNV := GetGLFuncOrNil&('glMulticastWaitSyncNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastWaitSyncNV(signalGpu: UInt32; waitGpuMask: DummyFlags) := z_MulticastWaitSyncNV(signalGpu, waitGpuMask); - - public z_MulticastGetQueryObjectivNV := GetGLFuncOrNil&('glMulticastGetQueryObjectivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of Int32) := MulticastGetQueryObjectivNV(gpu, id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: Int32) := MulticastGetQueryObjectivNV(gpu, id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_MulticastGetQueryObjectivNV(gpu, id, pname, ¶ms); - - public z_MulticastGetQueryObjectuivNV := GetGLFuncOrNil&('glMulticastGetQueryObjectuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectuivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := MulticastGetQueryObjectuivNV(gpu, id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectuivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: UInt32) := MulticastGetQueryObjectuivNV(gpu, id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectuivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_MulticastGetQueryObjectuivNV(gpu, id, pname, ¶ms); - - public z_MulticastGetQueryObjecti64vNV := GetGLFuncOrNil&('glMulticastGetQueryObjecti64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjecti64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of Int64) := MulticastGetQueryObjecti64vNV(gpu, id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjecti64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: Int64) := MulticastGetQueryObjecti64vNV(gpu, id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjecti64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_MulticastGetQueryObjecti64vNV(gpu, id, pname, ¶ms); - - public z_MulticastGetQueryObjectui64vNV := GetGLFuncOrNil&('glMulticastGetQueryObjectui64vNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectui64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of UInt64) := MulticastGetQueryObjectui64vNV(gpu, id, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectui64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: UInt64) := MulticastGetQueryObjectui64vNV(gpu, id, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectui64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: pointer) := z_MulticastGetQueryObjectui64vNV(gpu, id, pname, ¶ms); - - {$endregion NV_gpu_multicast} - - {$region NV_bindless_multi_draw_indirect_count} - - public z_MultiDrawArraysIndirectBindlessCountNV := GetGLFuncOrNil&('glMultiDrawArraysIndirectBindlessCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectBindlessCountNV(mode: DummyEnum; indirect: pointer; drawCount: Int32; maxDrawCount: Int32; stride: Int32; vertexBufferCount: Int32) := z_MultiDrawArraysIndirectBindlessCountNV(mode, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); - - public z_MultiDrawElementsIndirectBindlessCountNV := GetGLFuncOrNil&('glMultiDrawElementsIndirectBindlessCountNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectBindlessCountNV(mode: DummyEnum; &type: DummyEnum; indirect: pointer; drawCount: Int32; maxDrawCount: Int32; stride: Int32; vertexBufferCount: Int32) := z_MultiDrawElementsIndirectBindlessCountNV(mode, &type, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); - - {$endregion NV_bindless_multi_draw_indirect_count} - - {$region NV_bindless_multi_draw_indirect} - - public z_MultiDrawArraysIndirectBindlessNV := GetGLFuncOrNil&('glMultiDrawArraysIndirectBindlessNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectBindlessNV(mode: DummyEnum; indirect: pointer; drawCount: Int32; stride: Int32; vertexBufferCount: Int32) := z_MultiDrawArraysIndirectBindlessNV(mode, indirect, drawCount, stride, vertexBufferCount); - - public z_MultiDrawElementsIndirectBindlessNV := GetGLFuncOrNil&('glMultiDrawElementsIndirectBindlessNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectBindlessNV(mode: DummyEnum; &type: DummyEnum; indirect: pointer; drawCount: Int32; stride: Int32; vertexBufferCount: Int32) := z_MultiDrawElementsIndirectBindlessNV(mode, &type, indirect, drawCount, stride, vertexBufferCount); - - {$endregion NV_bindless_multi_draw_indirect} - - {$region NV_point_sprite} - - public z_PointParameteriNV := GetGLFuncOrNil&('glPointParameteriNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriNV(pname: DummyEnum; param: Int32) := z_PointParameteriNV(pname, param); - - public z_PointParameterivNV := GetGLFuncOrNil&('glPointParameterivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterivNV(pname: DummyEnum; ¶ms: array of Int32) := PointParameterivNV(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterivNV(pname: DummyEnum; var ¶ms: Int32) := PointParameterivNV(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterivNV(pname: DummyEnum; ¶ms: pointer) := z_PointParameterivNV(pname, ¶ms); - - {$endregion NV_point_sprite} - - {$region NV_polygon_mode} - - public z_PolygonModeNV := GetGLFuncOrNil&('glPolygonModeNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonModeNV(face: DummyEnum; mode: DummyEnum) := z_PolygonModeNV(face, mode); - - {$endregion NV_polygon_mode} - - {$region NV_primitive_restart} - - public z_PrimitiveRestartNV := GetGLFuncOrNil&('glPrimitiveRestartNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveRestartNV := z_PrimitiveRestartNV; - - public z_PrimitiveRestartIndexNV := GetGLFuncOrNil&('glPrimitiveRestartIndexNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveRestartIndexNV(index: UInt32) := z_PrimitiveRestartIndexNV(index); - - {$endregion NV_primitive_restart} - - {$region NV_parameter_buffer_object} - - public z_ProgramBufferParametersfvNV := GetGLFuncOrNil&('glProgramBufferParametersfvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersfvNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: array of single) := ProgramBufferParametersfvNV(target, bindingIndex, wordIndex, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersfvNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; var ¶ms: single) := ProgramBufferParametersfvNV(target, bindingIndex, wordIndex, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersfvNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: pointer) := z_ProgramBufferParametersfvNV(target, bindingIndex, wordIndex, count, ¶ms); - - public z_ProgramBufferParametersIivNV := GetGLFuncOrNil&('glProgramBufferParametersIivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIivNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: array of Int32) := ProgramBufferParametersIivNV(target, bindingIndex, wordIndex, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIivNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; var ¶ms: Int32) := ProgramBufferParametersIivNV(target, bindingIndex, wordIndex, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIivNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: pointer) := z_ProgramBufferParametersIivNV(target, bindingIndex, wordIndex, count, ¶ms); - - public z_ProgramBufferParametersIuivNV := GetGLFuncOrNil&('glProgramBufferParametersIuivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIuivNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: array of UInt32) := ProgramBufferParametersIuivNV(target, bindingIndex, wordIndex, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIuivNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; var ¶ms: UInt32) := ProgramBufferParametersIuivNV(target, bindingIndex, wordIndex, count, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIuivNV(target: DummyEnum; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: pointer) := z_ProgramBufferParametersIuivNV(target, bindingIndex, wordIndex, count, ¶ms); - - {$endregion NV_parameter_buffer_object} - - {$region NV_geometry_program4} - - public z_ProgramVertexLimitNV := GetGLFuncOrNil&('glProgramVertexLimitNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramVertexLimitNV(target: DummyEnum; limit: Int32) := z_ProgramVertexLimitNV(target, limit); - - {$endregion NV_geometry_program4} - - {$region NV_query_resource} - - public z_QueryResourceNV := GetGLFuncOrNil&('glQueryResourceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryResourceNV(queryType: DummyEnum; tagId: Int32; count: UInt32; buffer: array of Int32): Int32 := QueryResourceNV(queryType, tagId, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryResourceNV(queryType: DummyEnum; tagId: Int32; count: UInt32; var buffer: Int32): Int32 := QueryResourceNV(queryType, tagId, count, @buffer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryResourceNV(queryType: DummyEnum; tagId: Int32; count: UInt32; buffer: pointer): Int32 := z_QueryResourceNV(queryType, tagId, count, buffer); - - {$endregion NV_query_resource} - - {$region NV_read_buffer NV_read_buffer_front} - - public z_ReadBufferNV := GetGLFuncOrNil&('glReadBufferNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadBufferNV(mode: DummyEnum) := z_ReadBufferNV(mode); - - {$endregion NV_read_buffer NV_read_buffer_front} - - {$region NV_framebuffer_multisample_coverage} - - public z_RenderbufferStorageMultisampleCoverageNV := GetGLFuncOrNil&('glRenderbufferStorageMultisampleCoverageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleCoverageNV(target: DummyEnum; coverageSamples: Int32; colorSamples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleCoverageNV(target, coverageSamples, colorSamples, internalformat, width, height); - - {$endregion NV_framebuffer_multisample_coverage} - - {$region NV_framebuffer_multisample} - - public z_RenderbufferStorageMultisampleNV := GetGLFuncOrNil&('glRenderbufferStorageMultisampleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleNV(target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageMultisampleNV(target, samples, internalformat, width, height); - - {$endregion NV_framebuffer_multisample} - - {$region NV_scissor_exclusive} - - public z_ScissorExclusiveArrayvNV := GetGLFuncOrNil&('glScissorExclusiveArrayvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveArrayvNV(first: UInt32; count: Int32; v: array of Int32) := ScissorExclusiveArrayvNV(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveArrayvNV(first: UInt32; count: Int32; var v: Int32) := ScissorExclusiveArrayvNV(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveArrayvNV(first: UInt32; count: Int32; v: pointer) := z_ScissorExclusiveArrayvNV(first, count, v); - - public z_ScissorExclusiveNV := GetGLFuncOrNil&('glScissorExclusiveNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveNV(x: Int32; y: Int32; width: Int32; height: Int32) := z_ScissorExclusiveNV(x, y, width, height); - - {$endregion NV_scissor_exclusive} - - {$region NV_shading_rate_image NV_shading_rate_image} - - public z_ShadingRateImageBarrierNV := GetGLFuncOrNil&('glShadingRateImageBarrierNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImageBarrierNV(synchronize: boolean) := z_ShadingRateImageBarrierNV(synchronize); - - {$endregion NV_shading_rate_image NV_shading_rate_image} - - {$region NV_3dvision_settings} - - public z_StereoParameterfNV := GetGLFuncOrNil&('glStereoParameterfNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StereoParameterfNV(pname: DummyEnum; param: single) := z_StereoParameterfNV(pname, param); - - public z_StereoParameteriNV := GetGLFuncOrNil&('glStereoParameteriNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StereoParameteriNV(pname: DummyEnum; param: Int32) := z_StereoParameteriNV(pname, param); - - {$endregion NV_3dvision_settings} - - {$region NV_conservative_raster} - - public z_SubpixelPrecisionBiasNV := GetGLFuncOrNil&('glSubpixelPrecisionBiasNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SubpixelPrecisionBiasNV(xbits: UInt32; ybits: UInt32) := z_SubpixelPrecisionBiasNV(xbits, ybits); - - {$endregion NV_conservative_raster} - - {$region NV_texture_multisample} - - public z_TexImage2DMultisampleCoverageNV := GetGLFuncOrNil&('glTexImage2DMultisampleCoverageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2DMultisampleCoverageNV(target: DummyEnum; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; fixedSampleLocations: boolean) := z_TexImage2DMultisampleCoverageNV(target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); - - public z_TexImage3DMultisampleCoverageNV := GetGLFuncOrNil&('glTexImage3DMultisampleCoverageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DMultisampleCoverageNV(target: DummyEnum; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean) := z_TexImage3DMultisampleCoverageNV(target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); - - public z_TextureImage2DMultisampleNV := GetGLFuncOrNil&('glTextureImage2DMultisampleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage2DMultisampleNV(texture: UInt32; target: DummyEnum; samples: Int32; internalFormat: Int32; width: Int32; height: Int32; fixedSampleLocations: boolean) := z_TextureImage2DMultisampleNV(texture, target, samples, internalFormat, width, height, fixedSampleLocations); - - public z_TextureImage3DMultisampleNV := GetGLFuncOrNil&('glTextureImage3DMultisampleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage3DMultisampleNV(texture: UInt32; target: DummyEnum; samples: Int32; internalFormat: Int32; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean) := z_TextureImage3DMultisampleNV(texture, target, samples, internalFormat, width, height, depth, fixedSampleLocations); - - public z_TextureImage2DMultisampleCoverageNV := GetGLFuncOrNil&('glTextureImage2DMultisampleCoverageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage2DMultisampleCoverageNV(texture: UInt32; target: DummyEnum; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; fixedSampleLocations: boolean) := z_TextureImage2DMultisampleCoverageNV(texture, target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); - - public z_TextureImage3DMultisampleCoverageNV := GetGLFuncOrNil&('glTextureImage3DMultisampleCoverageNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage3DMultisampleCoverageNV(texture: UInt32; target: DummyEnum; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean) := z_TextureImage3DMultisampleCoverageNV(texture, target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); - - {$endregion NV_texture_multisample} - - {$region NV_texture_barrier} - - public z_TextureBarrierNV := GetGLFuncOrNil&('glTextureBarrierNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBarrierNV := z_TextureBarrierNV; - - {$endregion NV_texture_barrier} - - {$region ARB_transform_feedback3} - - public z_TransformFeedbackStreamAttribsNV := GetGLFuncOrNil&('glTransformFeedbackStreamAttribsNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: array of Int32; nbuffers: Int32; bufstreams: array of Int32; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribs,0)), nbuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufstreams,0)), bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: array of Int32; nbuffers: Int32; var bufstreams: Int32; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribs,0)), nbuffers, @bufstreams, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: array of Int32; nbuffers: Int32; bufstreams: pointer; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(attribs,0)), nbuffers, bufstreams, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; var attribs: Int32; nbuffers: Int32; bufstreams: array of Int32; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, @attribs, nbuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufstreams,0)), bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; var attribs: Int32; nbuffers: Int32; var bufstreams: Int32; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, @attribs, nbuffers, @bufstreams, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; var attribs: Int32; nbuffers: Int32; bufstreams: pointer; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, @attribs, nbuffers, bufstreams, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: pointer; nbuffers: Int32; bufstreams: array of Int32; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, attribs, nbuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bufstreams,0)), bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: pointer; nbuffers: Int32; var bufstreams: Int32; bufferMode: DummyEnum) := TransformFeedbackStreamAttribsNV(count, attribs, nbuffers, @bufstreams, bufferMode); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: pointer; nbuffers: Int32; bufstreams: pointer; bufferMode: DummyEnum) := z_TransformFeedbackStreamAttribsNV(count, attribs, nbuffers, bufstreams, bufferMode); - - {$endregion ARB_transform_feedback3} - - {$region NV_non_square_matrices} - - public z_UniformMatrix2x3fvNV := GetGLFuncOrNil&('glUniformMatrix2x3fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fvNV(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix2x3fvNV(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fvNV(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix2x3fvNV(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x3fvNV(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2x3fvNV(location, count, transpose, value); - - public z_UniformMatrix3x2fvNV := GetGLFuncOrNil&('glUniformMatrix3x2fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fvNV(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix3x2fvNV(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fvNV(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix3x2fvNV(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x2fvNV(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3x2fvNV(location, count, transpose, value); - - public z_UniformMatrix2x4fvNV := GetGLFuncOrNil&('glUniformMatrix2x4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fvNV(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix2x4fvNV(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fvNV(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix2x4fvNV(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2x4fvNV(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix2x4fvNV(location, count, transpose, value); - - public z_UniformMatrix4x2fvNV := GetGLFuncOrNil&('glUniformMatrix4x2fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fvNV(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix4x2fvNV(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fvNV(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix4x2fvNV(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x2fvNV(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4x2fvNV(location, count, transpose, value); - - public z_UniformMatrix3x4fvNV := GetGLFuncOrNil&('glUniformMatrix3x4fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fvNV(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix3x4fvNV(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fvNV(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix3x4fvNV(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3x4fvNV(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix3x4fvNV(location, count, transpose, value); - - public z_UniformMatrix4x3fvNV := GetGLFuncOrNil&('glUniformMatrix4x3fvNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fvNV(location: Int32; count: Int32; transpose: boolean; value: array of single) := UniformMatrix4x3fvNV(location, count, transpose, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(value,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fvNV(location: Int32; count: Int32; transpose: boolean; var value: single) := UniformMatrix4x3fvNV(location, count, transpose, @value); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4x3fvNV(location: Int32; count: Int32; transpose: boolean; value: pointer) := z_UniformMatrix4x3fvNV(location, count, transpose, value); - - {$endregion NV_non_square_matrices} - - {$region NV_vdpau_interop} - - public z_VDPAUInitNV := GetGLFuncOrNil&('glVDPAUInitNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUInitNV(vdpDevice: pointer; getProcAddress: pointer) := z_VDPAUInitNV(vdpDevice, getProcAddress); - - public z_VDPAUFiniNV := GetGLFuncOrNil&('glVDPAUFiniNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUFiniNV := z_VDPAUFiniNV; - - public z_VDPAURegisterVideoSurfaceNV := GetGLFuncOrNil&('glVDPAURegisterVideoSurfaceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; textureNames: array of UInt32): GLvdpauSurfaceNV := VDPAURegisterVideoSurfaceNV(vdpSurface, target, numTextureNames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textureNames,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; var textureNames: UInt32): GLvdpauSurfaceNV := VDPAURegisterVideoSurfaceNV(vdpSurface, target, numTextureNames, @textureNames); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; textureNames: pointer): GLvdpauSurfaceNV := z_VDPAURegisterVideoSurfaceNV(vdpSurface, target, numTextureNames, textureNames); - - public z_VDPAURegisterOutputSurfaceNV := GetGLFuncOrNil&('glVDPAURegisterOutputSurfaceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterOutputSurfaceNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; textureNames: array of UInt32): GLvdpauSurfaceNV := VDPAURegisterOutputSurfaceNV(vdpSurface, target, numTextureNames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textureNames,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterOutputSurfaceNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; var textureNames: UInt32): GLvdpauSurfaceNV := VDPAURegisterOutputSurfaceNV(vdpSurface, target, numTextureNames, @textureNames); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterOutputSurfaceNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; textureNames: pointer): GLvdpauSurfaceNV := z_VDPAURegisterOutputSurfaceNV(vdpSurface, target, numTextureNames, textureNames); - - public z_VDPAUIsSurfaceNV := GetGLFuncOrNil&('glVDPAUIsSurfaceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAUIsSurfaceNV(surface: GLvdpauSurfaceNV): boolean := z_VDPAUIsSurfaceNV(surface); - - public z_VDPAUUnregisterSurfaceNV := GetGLFuncOrNil&('glVDPAUUnregisterSurfaceNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnregisterSurfaceNV(surface: GLvdpauSurfaceNV) := z_VDPAUUnregisterSurfaceNV(surface); - - public z_VDPAUGetSurfaceivNV := GetGLFuncOrNil&('glVDPAUGetSurfaceivNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: array of Int32; values: array of Int32) := VDPAUGetSurfaceivNV(surface, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: array of Int32; var values: Int32) := VDPAUGetSurfaceivNV(surface, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: array of Int32; values: pointer) := VDPAUGetSurfaceivNV(surface, pname, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; var length: Int32; values: array of Int32) := VDPAUGetSurfaceivNV(surface, pname, count, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; var length: Int32; var values: Int32) := VDPAUGetSurfaceivNV(surface, pname, count, @length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; var length: Int32; values: pointer) := VDPAUGetSurfaceivNV(surface, pname, count, @length, values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: pointer; values: array of Int32) := VDPAUGetSurfaceivNV(surface, pname, count, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(values,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: pointer; var values: Int32) := VDPAUGetSurfaceivNV(surface, pname, count, length, @values); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: pointer; values: pointer) := z_VDPAUGetSurfaceivNV(surface, pname, count, length, values); - - public z_VDPAUSurfaceAccessNV := GetGLFuncOrNil&('glVDPAUSurfaceAccessNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUSurfaceAccessNV(surface: GLvdpauSurfaceNV; access: DummyEnum) := z_VDPAUSurfaceAccessNV(surface, access); - - public z_VDPAUMapSurfacesNV := GetGLFuncOrNil&('glVDPAUMapSurfacesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUMapSurfacesNV(numSurfaces: Int32; surfaces: array of GLvdpauSurfaceNV) := VDPAUMapSurfacesNV(numSurfaces, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(surfaces,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUMapSurfacesNV(numSurfaces: Int32; var surfaces: GLvdpauSurfaceNV) := VDPAUMapSurfacesNV(numSurfaces, @surfaces); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUMapSurfacesNV(numSurfaces: Int32; surfaces: pointer) := z_VDPAUMapSurfacesNV(numSurfaces, surfaces); - - public z_VDPAUUnmapSurfacesNV := GetGLFuncOrNil&('glVDPAUUnmapSurfacesNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnmapSurfacesNV(numSurface: Int32; surfaces: array of GLvdpauSurfaceNV) := VDPAUUnmapSurfacesNV(numSurface, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(surfaces,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnmapSurfacesNV(numSurface: Int32; var surfaces: GLvdpauSurfaceNV) := VDPAUUnmapSurfacesNV(numSurface, @surfaces); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnmapSurfacesNV(numSurface: Int32; surfaces: pointer) := z_VDPAUUnmapSurfacesNV(numSurface, surfaces); - - {$endregion NV_vdpau_interop} - - {$region NV_vdpau_interop2} - - public z_VDPAURegisterVideoSurfaceWithPictureStructureNV := GetGLFuncOrNil&('glVDPAURegisterVideoSurfaceWithPictureStructureNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; textureNames: array of UInt32; isFrameStructure: boolean): GLvdpauSurfaceNV := VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface, target, numTextureNames, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textureNames,0)), isFrameStructure); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; var textureNames: UInt32; isFrameStructure: boolean): GLvdpauSurfaceNV := VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface, target, numTextureNames, @textureNames, isFrameStructure); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface: pointer; target: DummyEnum; numTextureNames: Int32; textureNames: pointer; isFrameStructure: boolean): GLvdpauSurfaceNV := z_VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface, target, numTextureNames, textureNames, isFrameStructure); - - {$endregion NV_vdpau_interop2} - - {$region NV_instanced_arrays} - - public z_VertexAttribDivisorNV := GetGLFuncOrNil&('glVertexAttribDivisorNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisorNV(index: UInt32; divisor: UInt32) := z_VertexAttribDivisorNV(index, divisor); - - {$endregion NV_instanced_arrays} - - {$region NV_clip_space_w_scaling} - - public z_ViewportPositionWScaleNV := GetGLFuncOrNil&('glViewportPositionWScaleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportPositionWScaleNV(index: UInt32; xcoeff: single; ycoeff: single) := z_ViewportPositionWScaleNV(index, xcoeff, ycoeff); - - {$endregion NV_clip_space_w_scaling} - - {$region NV_viewport_swizzle} - - public z_ViewportSwizzleNV := GetGLFuncOrNil&('glViewportSwizzleNV'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportSwizzleNV(index: UInt32; swizzlex: DummyEnum; swizzley: DummyEnum; swizzlez: DummyEnum; swizzlew: DummyEnum) := z_ViewportSwizzleNV(index, swizzlex, swizzley, swizzlez, swizzlew); - - {$endregion NV_viewport_swizzle} + public z_FlushMappedBufferRangeAPPLE_adr := GetFuncAdr('glFlushMappedBufferRangeAPPLE'); + public z_FlushMappedBufferRangeAPPLE_ovr_0 := GetFuncOrNil&(z_FlushMappedBufferRangeAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedBufferRangeAPPLE(target: BufferTargetARB; offset: IntPtr; size: IntPtr); + begin + z_FlushMappedBufferRangeAPPLE_ovr_0(target, offset, size); + end; end; - gl_NVX = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glObjectPurgeableAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ObjectPurgeableAPPLE_adr := GetFuncAdr('glObjectPurgeableAPPLE'); + public z_ObjectPurgeableAPPLE_ovr_0 := GetFuncOrNil&(z_ObjectPurgeableAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ObjectPurgeableAPPLE(objectType: DummyEnum; name: UInt32; option: DummyEnum): DummyEnum; begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + Result := z_ObjectPurgeableAPPLE_ovr_0(objectType, name, option); end; - {$region NVX_gpu_multicast2} + public z_ObjectUnpurgeableAPPLE_adr := GetFuncAdr('glObjectUnpurgeableAPPLE'); + public z_ObjectUnpurgeableAPPLE_ovr_0 := GetFuncOrNil&(z_ObjectUnpurgeableAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ObjectUnpurgeableAPPLE(objectType: DummyEnum; name: UInt32; option: DummyEnum): DummyEnum; + begin + Result := z_ObjectUnpurgeableAPPLE_ovr_0(objectType, name, option); + end; - public z_AsyncCopyImageSubDataNVX := GetGLFuncOrNil&('glAsyncCopyImageSubDataNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitValueArray,0)), srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; waitValueArray: pointer; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := z_AsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - - public z_AsyncCopyBufferSubDataNVX := GetGLFuncOrNil&('glAsyncCopyBufferSubDataNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(waitSemaphoreArray,0)), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, @waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0)), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, @fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalSemaphoreArray,0)), signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: pointer): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, @signalSemaphoreArray, signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: array of UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(signalValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; var signalValueArray: UInt64): UInt32 := AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, @signalValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: pointer; fenceValueArray: pointer; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: UIntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: pointer; signalValueArray: pointer): UInt32 := z_AsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); - - public z_UploadGpuMaskNVX := GetGLFuncOrNil&('glUploadGpuMaskNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UploadGpuMaskNVX(mask: DummyFlags) := z_UploadGpuMaskNVX(mask); - - public z_MulticastViewportArrayvNVX := GetGLFuncOrNil&('glMulticastViewportArrayvNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: array of single) := MulticastViewportArrayvNVX(gpu, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; var v: single) := MulticastViewportArrayvNVX(gpu, first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: pointer) := z_MulticastViewportArrayvNVX(gpu, first, count, v); - - public z_MulticastScissorArrayvNVX := GetGLFuncOrNil&('glMulticastScissorArrayvNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastScissorArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: array of Int32) := MulticastScissorArrayvNVX(gpu, first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastScissorArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; var v: Int32) := MulticastScissorArrayvNVX(gpu, first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastScissorArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: pointer) := z_MulticastScissorArrayvNVX(gpu, first, count, v); - - public z_MulticastViewportPositionWScaleNVX := GetGLFuncOrNil&('glMulticastViewportPositionWScaleNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportPositionWScaleNVX(gpu: UInt32; index: UInt32; xcoeff: single; ycoeff: single) := z_MulticastViewportPositionWScaleNVX(gpu, index, xcoeff, ycoeff); - - {$endregion NVX_gpu_multicast2} - - {$region NVX_conditional_render} - - public z_BeginConditionalRenderNVX := GetGLFuncOrNil&('glBeginConditionalRenderNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginConditionalRenderNVX(id: UInt32) := z_BeginConditionalRenderNVX(id); - - public z_EndConditionalRenderNVX := GetGLFuncOrNil&('glEndConditionalRenderNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndConditionalRenderNVX := z_EndConditionalRenderNVX; - - {$endregion NVX_conditional_render} - - {$region NVX_progress_fence} - - public z_CreateProgressFenceNVX := GetGLFuncOrNil&('glCreateProgressFenceNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateProgressFenceNVX: UInt32 := z_CreateProgressFenceNVX; - - public z_SignalSemaphoreui64NVX := GetGLFuncOrNil&('glSignalSemaphoreui64NVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: array of UInt64) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; var fenceValueArray: UInt64) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: pointer) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: array of UInt64) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, @semaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; var fenceValueArray: UInt64) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, @semaphoreArray, @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: pointer) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, @semaphoreArray, fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: pointer; fenceValueArray: array of UInt64) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, semaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: pointer; var fenceValueArray: UInt64) := SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, semaphoreArray, @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: pointer; fenceValueArray: pointer) := z_SignalSemaphoreui64NVX(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); - - public z_WaitSemaphoreui64NVX := GetGLFuncOrNil&('glWaitSemaphoreui64NVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: array of UInt64) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; var fenceValueArray: UInt64) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: pointer) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: array of UInt64) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, @semaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; var fenceValueArray: UInt64) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, @semaphoreArray, @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: pointer) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, @semaphoreArray, fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: pointer; fenceValueArray: array of UInt64) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, semaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: pointer; var fenceValueArray: UInt64) := WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, semaphoreArray, @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: pointer; fenceValueArray: pointer) := z_WaitSemaphoreui64NVX(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); - - public z_ClientWaitSemaphoreui64NVX := GetGLFuncOrNil&('glClientWaitSemaphoreui64NVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: array of UInt64) := ClientWaitSemaphoreui64NVX(fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: array of UInt32; var fenceValueArray: UInt64) := ClientWaitSemaphoreui64NVX(fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: pointer) := ClientWaitSemaphoreui64NVX(fenceObjectCount, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(semaphoreArray,0)), fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: array of UInt64) := ClientWaitSemaphoreui64NVX(fenceObjectCount, @semaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; var semaphoreArray: UInt32; var fenceValueArray: UInt64) := ClientWaitSemaphoreui64NVX(fenceObjectCount, @semaphoreArray, @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: pointer) := ClientWaitSemaphoreui64NVX(fenceObjectCount, @semaphoreArray, fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: pointer; fenceValueArray: array of UInt64) := ClientWaitSemaphoreui64NVX(fenceObjectCount, semaphoreArray, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(fenceValueArray,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: pointer; var fenceValueArray: UInt64) := ClientWaitSemaphoreui64NVX(fenceObjectCount, semaphoreArray, @fenceValueArray); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: pointer; fenceValueArray: pointer) := z_ClientWaitSemaphoreui64NVX(fenceObjectCount, semaphoreArray, fenceValueArray); - - {$endregion NVX_progress_fence} - - {$region NVX_linked_gpu_multicast} - - public z_LGPUNamedBufferSubDataNVX := GetGLFuncOrNil&('glLGPUNamedBufferSubDataNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LGPUNamedBufferSubDataNVX(gpuMask: DummyFlags; buffer: UInt32; offset: IntPtr; size: UIntPtr; data: pointer) := z_LGPUNamedBufferSubDataNVX(gpuMask, buffer, offset, size, data); - - public z_LGPUCopyImageSubDataNVX := GetGLFuncOrNil&('glLGPUCopyImageSubDataNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LGPUCopyImageSubDataNVX(sourceGpu: UInt32; destinationGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srxY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32) := z_LGPUCopyImageSubDataNVX(sourceGpu, destinationGpuMask, srcName, srcTarget, srcLevel, srcX, srxY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); - - public z_LGPUInterlockNVX := GetGLFuncOrNil&('glLGPUInterlockNVX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LGPUInterlockNVX := z_LGPUInterlockNVX; - - {$endregion NVX_linked_gpu_multicast} + public z_GetObjectParameterivAPPLE_adr := GetFuncAdr('glGetObjectParameterivAPPLE'); + public z_GetObjectParameterivAPPLE_ovr_0 := GetFuncOrNil&(z_GetObjectParameterivAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivAPPLE(objectType: DummyEnum; name: UInt32; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetObjectParameterivAPPLE_ovr_0(objectType, name, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivAPPLE(objectType: DummyEnum; name: UInt32; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetObjectParameterivAPPLE_ovr_0(objectType, name, pname, ¶ms); + end; + public z_GetObjectParameterivAPPLE_ovr_2 := GetFuncOrNil&(z_GetObjectParameterivAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivAPPLE(objectType: DummyEnum; name: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetObjectParameterivAPPLE_ovr_2(objectType, name, pname, ¶ms); + end; end; - gl_OES = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glTextureRangeAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TextureRangeAPPLE_adr := GetFuncAdr('glTextureRangeAPPLE'); + public z_TextureRangeAPPLE_ovr_0 := GetFuncOrNil&(z_TextureRangeAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureRangeAPPLE(target: DummyEnum; length: Int32; pointer: IntPtr); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_TextureRangeAPPLE_ovr_0(target, length, pointer); end; - {$region OES_fixed_point} - - public z_Vertex2xOES := GetGLFuncOrNil&('glVertex2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xOES(x: fixed) := z_Vertex2xOES(x); - - public z_Vertex3xOES := GetGLFuncOrNil&('glVertex3xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xOES(x: fixed; y: fixed) := z_Vertex3xOES(x, y); - - public z_Vertex4xOES := GetGLFuncOrNil&('glVertex4xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xOES(x: fixed; y: fixed; z: fixed) := z_Vertex4xOES(x, y, z); - - public z_Vertex2xvOES := GetGLFuncOrNil&('glVertex2xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xvOES(coords: array of fixed) := Vertex2xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xvOES(var coords: fixed) := Vertex2xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xvOES(coords: pointer) := z_Vertex2xvOES(coords); - - public z_Vertex3xvOES := GetGLFuncOrNil&('glVertex3xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xvOES(coords: array of fixed) := Vertex3xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xvOES(var coords: fixed) := Vertex3xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xvOES(coords: pointer) := z_Vertex3xvOES(coords); - - public z_Vertex4xvOES := GetGLFuncOrNil&('glVertex4xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xvOES(coords: array of fixed) := Vertex4xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xvOES(var coords: fixed) := Vertex4xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xvOES(coords: pointer) := z_Vertex4xvOES(coords); - - public z_Normal3xOES := GetGLFuncOrNil&('glNormal3xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xOES(nx: fixed; ny: fixed; nz: fixed) := z_Normal3xOES(nx, ny, nz); - - public z_Normal3xvOES := GetGLFuncOrNil&('glNormal3xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xvOES(coords: array of fixed) := Normal3xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xvOES(var coords: fixed) := Normal3xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xvOES(coords: pointer) := z_Normal3xvOES(coords); - - public z_TexCoord1xOES := GetGLFuncOrNil&('glTexCoord1xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xOES(s: fixed) := z_TexCoord1xOES(s); - - public z_TexCoord2xOES := GetGLFuncOrNil&('glTexCoord2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xOES(s: fixed; t: fixed) := z_TexCoord2xOES(s, t); - - public z_TexCoord3xOES := GetGLFuncOrNil&('glTexCoord3xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xOES(s: fixed; t: fixed; r: fixed) := z_TexCoord3xOES(s, t, r); - - public z_TexCoord4xOES := GetGLFuncOrNil&('glTexCoord4xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xOES(s: fixed; t: fixed; r: fixed; q: fixed) := z_TexCoord4xOES(s, t, r, q); - - public z_TexCoord1xvOES := GetGLFuncOrNil&('glTexCoord1xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xvOES(coords: array of fixed) := TexCoord1xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xvOES(var coords: fixed) := TexCoord1xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xvOES(coords: pointer) := z_TexCoord1xvOES(coords); - - public z_TexCoord2xvOES := GetGLFuncOrNil&('glTexCoord2xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xvOES(coords: array of fixed) := TexCoord2xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xvOES(var coords: fixed) := TexCoord2xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xvOES(coords: pointer) := z_TexCoord2xvOES(coords); - - public z_TexCoord3xvOES := GetGLFuncOrNil&('glTexCoord3xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xvOES(coords: array of fixed) := TexCoord3xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xvOES(var coords: fixed) := TexCoord3xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xvOES(coords: pointer) := z_TexCoord3xvOES(coords); - - public z_TexCoord4xvOES := GetGLFuncOrNil&('glTexCoord4xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xvOES(coords: array of fixed) := TexCoord4xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xvOES(var coords: fixed) := TexCoord4xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xvOES(coords: pointer) := z_TexCoord4xvOES(coords); - - public z_MultiTexCoord1xOES := GetGLFuncOrNil&('glMultiTexCoord1xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xOES(texture: DummyEnum; s: fixed) := z_MultiTexCoord1xOES(texture, s); - - public z_MultiTexCoord2xOES := GetGLFuncOrNil&('glMultiTexCoord2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xOES(texture: DummyEnum; s: fixed; t: fixed) := z_MultiTexCoord2xOES(texture, s, t); - - public z_MultiTexCoord3xOES := GetGLFuncOrNil&('glMultiTexCoord3xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xOES(texture: DummyEnum; s: fixed; t: fixed; r: fixed) := z_MultiTexCoord3xOES(texture, s, t, r); - - public z_MultiTexCoord4xOES := GetGLFuncOrNil&('glMultiTexCoord4xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xOES(texture: DummyEnum; s: fixed; t: fixed; r: fixed; q: fixed) := z_MultiTexCoord4xOES(texture, s, t, r, q); - - public z_MultiTexCoord1xvOES := GetGLFuncOrNil&('glMultiTexCoord1xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xvOES(texture: DummyEnum; coords: array of fixed) := MultiTexCoord1xvOES(texture, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xvOES(texture: DummyEnum; var coords: fixed) := MultiTexCoord1xvOES(texture, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xvOES(texture: DummyEnum; coords: pointer) := z_MultiTexCoord1xvOES(texture, coords); - - public z_MultiTexCoord2xvOES := GetGLFuncOrNil&('glMultiTexCoord2xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xvOES(texture: DummyEnum; coords: array of fixed) := MultiTexCoord2xvOES(texture, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xvOES(texture: DummyEnum; var coords: fixed) := MultiTexCoord2xvOES(texture, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xvOES(texture: DummyEnum; coords: pointer) := z_MultiTexCoord2xvOES(texture, coords); - - public z_MultiTexCoord3xvOES := GetGLFuncOrNil&('glMultiTexCoord3xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xvOES(texture: DummyEnum; coords: array of fixed) := MultiTexCoord3xvOES(texture, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xvOES(texture: DummyEnum; var coords: fixed) := MultiTexCoord3xvOES(texture, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xvOES(texture: DummyEnum; coords: pointer) := z_MultiTexCoord3xvOES(texture, coords); - - public z_MultiTexCoord4xvOES := GetGLFuncOrNil&('glMultiTexCoord4xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xvOES(texture: DummyEnum; coords: array of fixed) := MultiTexCoord4xvOES(texture, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xvOES(texture: DummyEnum; var coords: fixed) := MultiTexCoord4xvOES(texture, @coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xvOES(texture: DummyEnum; coords: pointer) := z_MultiTexCoord4xvOES(texture, coords); - - public z_Color3xOES := GetGLFuncOrNil&('glColor3xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xOES(red: fixed; green: fixed; blue: fixed) := z_Color3xOES(red, green, blue); - - public z_Color4xOES := GetGLFuncOrNil&('glColor4xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xOES(red: fixed; green: fixed; blue: fixed; alpha: fixed) := z_Color4xOES(red, green, blue, alpha); - - public z_Color3xvOES := GetGLFuncOrNil&('glColor3xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xvOES(components: array of fixed) := Color3xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(components,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xvOES(var components: fixed) := Color3xvOES(@components); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xvOES(components: pointer) := z_Color3xvOES(components); - - public z_Color4xvOES := GetGLFuncOrNil&('glColor4xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xvOES(components: array of fixed) := Color4xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(components,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xvOES(var components: fixed) := Color4xvOES(@components); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xvOES(components: pointer) := z_Color4xvOES(components); - - public z_IndexxOES := GetGLFuncOrNil&('glIndexxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxOES(component: fixed) := z_IndexxOES(component); - - public z_IndexxvOES := GetGLFuncOrNil&('glIndexxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxvOES(component: array of fixed) := IndexxvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(component,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxvOES(var component: fixed) := IndexxvOES(@component); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxvOES(component: pointer) := z_IndexxvOES(component); - - public z_RectxOES := GetGLFuncOrNil&('glRectxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxOES(x1: fixed; y1: fixed; x2: fixed; y2: fixed) := z_RectxOES(x1, y1, x2, y2); - - public z_RectxvOES := GetGLFuncOrNil&('glRectxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: array of fixed; v2: array of fixed) := RectxvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v1,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v2,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: array of fixed; var v2: fixed) := RectxvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v1,0)), @v2); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: array of fixed; v2: pointer) := RectxvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v1,0)), v2); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(var v1: fixed; v2: array of fixed) := RectxvOES(@v1, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v2,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(var v1: fixed; var v2: fixed) := RectxvOES(@v1, @v2); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(var v1: fixed; v2: pointer) := RectxvOES(@v1, v2); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: pointer; v2: array of fixed) := RectxvOES(v1, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v2,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: pointer; var v2: fixed) := RectxvOES(v1, @v2); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: pointer; v2: pointer) := z_RectxvOES(v1, v2); - - public z_DepthRangexOES := GetGLFuncOrNil&('glDepthRangexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangexOES(n: fixed; f: fixed) := z_DepthRangexOES(n, f); - - public z_LoadMatrixxOES := GetGLFuncOrNil&('glLoadMatrixxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixxOES(m: array of fixed) := LoadMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixxOES(var m: fixed) := LoadMatrixxOES(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixxOES(m: pointer) := z_LoadMatrixxOES(m); - - public z_MultMatrixxOES := GetGLFuncOrNil&('glMultMatrixxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixxOES(m: array of fixed) := MultMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixxOES(var m: fixed) := MultMatrixxOES(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixxOES(m: pointer) := z_MultMatrixxOES(m); - - public z_LoadTransposeMatrixxOES := GetGLFuncOrNil&('glLoadTransposeMatrixxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixxOES(m: array of fixed) := LoadTransposeMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixxOES(var m: fixed) := LoadTransposeMatrixxOES(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixxOES(m: pointer) := z_LoadTransposeMatrixxOES(m); - - public z_MultTransposeMatrixxOES := GetGLFuncOrNil&('glMultTransposeMatrixxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixxOES(m: array of fixed) := MultTransposeMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(m,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixxOES(var m: fixed) := MultTransposeMatrixxOES(@m); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixxOES(m: pointer) := z_MultTransposeMatrixxOES(m); - - public z_RotatexOES := GetGLFuncOrNil&('glRotatexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RotatexOES(angle: fixed; x: fixed; y: fixed; z: fixed) := z_RotatexOES(angle, x, y, z); - - public z_ScalexOES := GetGLFuncOrNil&('glScalexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScalexOES(x: fixed; y: fixed; z: fixed) := z_ScalexOES(x, y, z); - - public z_TranslatexOES := GetGLFuncOrNil&('glTranslatexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TranslatexOES(x: fixed; y: fixed; z: fixed) := z_TranslatexOES(x, y, z); - - public z_FrustumxOES := GetGLFuncOrNil&('glFrustumxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrustumxOES(l: fixed; r: fixed; b: fixed; t: fixed; n: fixed; f: fixed) := z_FrustumxOES(l, r, b, t, n, f); - - public z_OrthoxOES := GetGLFuncOrNil&('glOrthoxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure OrthoxOES(l: fixed; r: fixed; b: fixed; t: fixed; n: fixed; f: fixed) := z_OrthoxOES(l, r, b, t, n, f); - - public z_ClipPlanexOES := GetGLFuncOrNil&('glClipPlanexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexOES(plane: DummyEnum; equation: array of fixed) := ClipPlanexOES(plane, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexOES(plane: DummyEnum; var equation: fixed) := ClipPlanexOES(plane, @equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexOES(plane: DummyEnum; equation: pointer) := z_ClipPlanexOES(plane, equation); - - public z_GetClipPlanexOES := GetGLFuncOrNil&('glGetClipPlanexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanexOES(plane: DummyEnum; equation: array of fixed) := GetClipPlanexOES(plane, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanexOES(plane: DummyEnum; var equation: fixed) := GetClipPlanexOES(plane, @equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanexOES(plane: DummyEnum; equation: pointer) := z_GetClipPlanexOES(plane, equation); - - public z_RasterPos2xOES := GetGLFuncOrNil&('glRasterPos2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xOES(x: fixed; y: fixed) := z_RasterPos2xOES(x, y); - - public z_RasterPos3xOES := GetGLFuncOrNil&('glRasterPos3xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xOES(x: fixed; y: fixed; z: fixed) := z_RasterPos3xOES(x, y, z); - - public z_RasterPos4xOES := GetGLFuncOrNil&('glRasterPos4xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xOES(x: fixed; y: fixed; z: fixed; w: fixed) := z_RasterPos4xOES(x, y, z, w); - - public z_RasterPos2xvOES := GetGLFuncOrNil&('glRasterPos2xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xvOES(coords: array of fixed) := RasterPos2xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xvOES(var coords: fixed) := RasterPos2xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xvOES(coords: pointer) := z_RasterPos2xvOES(coords); - - public z_RasterPos3xvOES := GetGLFuncOrNil&('glRasterPos3xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xvOES(coords: array of fixed) := RasterPos3xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xvOES(var coords: fixed) := RasterPos3xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xvOES(coords: pointer) := z_RasterPos3xvOES(coords); - - public z_RasterPos4xvOES := GetGLFuncOrNil&('glRasterPos4xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xvOES(coords: array of fixed) := RasterPos4xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xvOES(var coords: fixed) := RasterPos4xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xvOES(coords: pointer) := z_RasterPos4xvOES(coords); - - public z_MaterialxOES := GetGLFuncOrNil&('glMaterialxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxOES(face: DummyEnum; pname: DummyEnum; param: fixed) := z_MaterialxOES(face, pname, param); - - public z_MaterialxvOES := GetGLFuncOrNil&('glMaterialxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxvOES(face: DummyEnum; pname: DummyEnum; param: array of fixed) := MaterialxvOES(face, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxvOES(face: DummyEnum; pname: DummyEnum; var param: fixed) := MaterialxvOES(face, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxvOES(face: DummyEnum; pname: DummyEnum; param: pointer) := z_MaterialxvOES(face, pname, param); - - public z_GetMaterialxOES := GetGLFuncOrNil&('glGetMaterialxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialxOES(face: DummyEnum; pname: DummyEnum; param: fixed) := z_GetMaterialxOES(face, pname, param); - - public z_LightxOES := GetGLFuncOrNil&('glLightxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxOES(light: DummyEnum; pname: DummyEnum; param: fixed) := z_LightxOES(light, pname, param); - - public z_LightxvOES := GetGLFuncOrNil&('glLightxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxvOES(light: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := LightxvOES(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxvOES(light: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := LightxvOES(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxvOES(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_LightxvOES(light, pname, ¶ms); - - public z_GetLightxOES := GetGLFuncOrNil&('glGetLightxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxOES(light: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetLightxOES(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxOES(light: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetLightxOES(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxOES(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetLightxOES(light, pname, ¶ms); - - public z_LightModelxOES := GetGLFuncOrNil&('glLightModelxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxOES(pname: DummyEnum; param: fixed) := z_LightModelxOES(pname, param); - - public z_LightModelxvOES := GetGLFuncOrNil&('glLightModelxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxvOES(pname: DummyEnum; param: array of fixed) := LightModelxvOES(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxvOES(pname: DummyEnum; var param: fixed) := LightModelxvOES(pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxvOES(pname: DummyEnum; param: pointer) := z_LightModelxvOES(pname, param); - - public z_PointSizexOES := GetGLFuncOrNil&('glPointSizexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointSizexOES(size: fixed) := z_PointSizexOES(size); - - public z_PointParameterxvOES := GetGLFuncOrNil&('glPointParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterxvOES(pname: DummyEnum; ¶ms: array of fixed) := PointParameterxvOES(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterxvOES(pname: DummyEnum; var ¶ms: fixed) := PointParameterxvOES(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterxvOES(pname: DummyEnum; ¶ms: pointer) := z_PointParameterxvOES(pname, ¶ms); - - public z_LineWidthxOES := GetGLFuncOrNil&('glLineWidthxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LineWidthxOES(width: fixed) := z_LineWidthxOES(width); - - public z_PolygonOffsetxOES := GetGLFuncOrNil&('glPolygonOffsetxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetxOES(factor: fixed; units: fixed) := z_PolygonOffsetxOES(factor, units); - - public z_PixelTransferxOES := GetGLFuncOrNil&('glPixelTransferxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransferxOES(pname: DummyEnum; param: fixed) := z_PixelTransferxOES(pname, param); - - public z_ConvolutionParameterxOES := GetGLFuncOrNil&('glConvolutionParameterxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxOES(target: DummyEnum; pname: DummyEnum; param: fixed) := z_ConvolutionParameterxOES(target, pname, param); - - public z_ConvolutionParameterxvOES := GetGLFuncOrNil&('glConvolutionParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := ConvolutionParameterxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := ConvolutionParameterxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ConvolutionParameterxvOES(target, pname, ¶ms); - - public z_GetConvolutionParameterxvOES := GetGLFuncOrNil&('glGetConvolutionParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetConvolutionParameterxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetConvolutionParameterxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetConvolutionParameterxvOES(target, pname, ¶ms); - - public z_GetHistogramParameterxvOES := GetGLFuncOrNil&('glGetHistogramParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetHistogramParameterxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetHistogramParameterxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetHistogramParameterxvOES(target, pname, ¶ms); - - public z_PixelZoomxOES := GetGLFuncOrNil&('glPixelZoomxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelZoomxOES(xfactor: fixed; yfactor: fixed) := z_PixelZoomxOES(xfactor, yfactor); - - public z_BitmapxOES := GetGLFuncOrNil&('glBitmapxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BitmapxOES(width: Int32; height: Int32; xorig: fixed; yorig: fixed; xmove: fixed; ymove: fixed; bitmap: array of Byte) := BitmapxOES(width, height, xorig, yorig, xmove, ymove, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(bitmap,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BitmapxOES(width: Int32; height: Int32; xorig: fixed; yorig: fixed; xmove: fixed; ymove: fixed; var bitmap: Byte) := BitmapxOES(width, height, xorig, yorig, xmove, ymove, @bitmap); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BitmapxOES(width: Int32; height: Int32; xorig: fixed; yorig: fixed; xmove: fixed; ymove: fixed; bitmap: pointer) := z_BitmapxOES(width, height, xorig, yorig, xmove, ymove, bitmap); - - public z_TexParameterxOES := GetGLFuncOrNil&('glTexParameterxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxOES(target: DummyEnum; pname: DummyEnum; param: fixed) := z_TexParameterxOES(target, pname, param); - - public z_TexParameterxvOES := GetGLFuncOrNil&('glTexParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := TexParameterxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := TexParameterxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexParameterxvOES(target, pname, ¶ms); - - public z_GetTexParameterxvOES := GetGLFuncOrNil&('glGetTexParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetTexParameterxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetTexParameterxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexParameterxvOES(target, pname, ¶ms); - - public z_GetTexLevelParameterxvOES := GetGLFuncOrNil&('glGetTexLevelParameterxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterxvOES(target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: array of fixed) := GetTexLevelParameterxvOES(target, level, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterxvOES(target: DummyEnum; level: Int32; pname: DummyEnum; var ¶ms: fixed) := GetTexLevelParameterxvOES(target, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterxvOES(target: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: pointer) := z_GetTexLevelParameterxvOES(target, level, pname, ¶ms); - - public z_PrioritizeTexturesxOES := GetGLFuncOrNil&('glPrioritizeTexturesxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: array of UInt32; priorities: array of fixed) := PrioritizeTexturesxOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: array of UInt32; var priorities: fixed) := PrioritizeTexturesxOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: array of UInt32; priorities: pointer) := PrioritizeTexturesxOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; var textures: UInt32; priorities: array of fixed) := PrioritizeTexturesxOES(n, @textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; var textures: UInt32; var priorities: fixed) := PrioritizeTexturesxOES(n, @textures, @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; var textures: UInt32; priorities: pointer) := PrioritizeTexturesxOES(n, @textures, priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: pointer; priorities: array of fixed) := PrioritizeTexturesxOES(n, textures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(priorities,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: pointer; var priorities: fixed) := PrioritizeTexturesxOES(n, textures, @priorities); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: pointer; priorities: pointer) := z_PrioritizeTexturesxOES(n, textures, priorities); - - public z_TexEnvxOES := GetGLFuncOrNil&('glTexEnvxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxOES(target: DummyEnum; pname: DummyEnum; param: fixed) := z_TexEnvxOES(target, pname, param); - - public z_TexEnvxvOES := GetGLFuncOrNil&('glTexEnvxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := TexEnvxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := TexEnvxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexEnvxvOES(target, pname, ¶ms); - - public z_GetTexEnvxvOES := GetGLFuncOrNil&('glGetTexEnvxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetTexEnvxvOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetTexEnvxvOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexEnvxvOES(target, pname, ¶ms); - - public z_FogxOES := GetGLFuncOrNil&('glFogxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxOES(pname: DummyEnum; param: fixed) := z_FogxOES(pname, param); - - public z_FogxvOES := GetGLFuncOrNil&('glFogxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxvOES(pname: DummyEnum; param: array of fixed) := FogxvOES(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxvOES(pname: DummyEnum; var param: fixed) := FogxvOES(pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxvOES(pname: DummyEnum; param: pointer) := z_FogxvOES(pname, param); - - public z_SampleCoveragexOES := GetGLFuncOrNil&('glSampleCoveragexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleCoveragexOES(value: Int32; invert: boolean) := z_SampleCoveragexOES(value, invert); - - public z_AlphaFuncxOES := GetGLFuncOrNil&('glAlphaFuncxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFuncxOES(func: DummyEnum; ref: fixed) := z_AlphaFuncxOES(func, ref); - - public z_BlendColorxOES := GetGLFuncOrNil&('glBlendColorxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendColorxOES(red: fixed; green: fixed; blue: fixed; alpha: fixed) := z_BlendColorxOES(red, green, blue, alpha); - - public z_ClearColorxOES := GetGLFuncOrNil&('glClearColorxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColorxOES(red: fixed; green: fixed; blue: fixed; alpha: fixed) := z_ClearColorxOES(red, green, blue, alpha); - - public z_ClearDepthxOES := GetGLFuncOrNil&('glClearDepthxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthxOES(depth: fixed) := z_ClearDepthxOES(depth); - - public z_ClearAccumxOES := GetGLFuncOrNil&('glClearAccumxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearAccumxOES(red: fixed; green: fixed; blue: fixed; alpha: fixed) := z_ClearAccumxOES(red, green, blue, alpha); - - public z_AccumxOES := GetGLFuncOrNil&('glAccumxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AccumxOES(op: DummyEnum; value: fixed) := z_AccumxOES(op, value); - - public z_Map1xOES := GetGLFuncOrNil&('glMap1xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1xOES(target: DummyEnum; u1: fixed; u2: fixed; stride: Int32; order: Int32; points: fixed) := z_Map1xOES(target, u1, u2, stride, order, points); - - public z_Map2xOES := GetGLFuncOrNil&('glMap2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2xOES(target: DummyEnum; u1: fixed; u2: fixed; ustride: Int32; uorder: Int32; v1: fixed; v2: fixed; vstride: Int32; vorder: Int32; points: fixed) := z_Map2xOES(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); - - public z_MapGrid1xOES := GetGLFuncOrNil&('glMapGrid1xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid1xOES(n: Int32; u1: fixed; u2: fixed) := z_MapGrid1xOES(n, u1, u2); - - public z_MapGrid2xOES := GetGLFuncOrNil&('glMapGrid2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid2xOES(n: Int32; u1: fixed; u2: fixed; v1: fixed; v2: fixed) := z_MapGrid2xOES(n, u1, u2, v1, v2); - - public z_GetMapxvOES := GetGLFuncOrNil&('glGetMapxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapxvOES(target: DummyEnum; query: DummyEnum; v: array of fixed) := GetMapxvOES(target, query, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapxvOES(target: DummyEnum; query: DummyEnum; var v: fixed) := GetMapxvOES(target, query, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapxvOES(target: DummyEnum; query: DummyEnum; v: pointer) := z_GetMapxvOES(target, query, v); - - public z_EvalCoord1xOES := GetGLFuncOrNil&('glEvalCoord1xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xOES(u: fixed) := z_EvalCoord1xOES(u); - - public z_EvalCoord2xOES := GetGLFuncOrNil&('glEvalCoord2xOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xOES(u: fixed; v: fixed) := z_EvalCoord2xOES(u, v); - - public z_EvalCoord1xvOES := GetGLFuncOrNil&('glEvalCoord1xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xvOES(coords: array of fixed) := EvalCoord1xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xvOES(var coords: fixed) := EvalCoord1xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xvOES(coords: pointer) := z_EvalCoord1xvOES(coords); - - public z_EvalCoord2xvOES := GetGLFuncOrNil&('glEvalCoord2xvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xvOES(coords: array of fixed) := EvalCoord2xvOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(coords,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xvOES(var coords: fixed) := EvalCoord2xvOES(@coords); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xvOES(coords: pointer) := z_EvalCoord2xvOES(coords); - - public z_FeedbackBufferxOES := GetGLFuncOrNil&('glFeedbackBufferxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBufferxOES(n: Int32; &type: DummyEnum; buffer: array of fixed) := FeedbackBufferxOES(n, &type, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBufferxOES(n: Int32; &type: DummyEnum; var buffer: fixed) := FeedbackBufferxOES(n, &type, @buffer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBufferxOES(n: Int32; &type: DummyEnum; buffer: pointer) := z_FeedbackBufferxOES(n, &type, buffer); - - public z_PassThroughxOES := GetGLFuncOrNil&('glPassThroughxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PassThroughxOES(token: fixed) := z_PassThroughxOES(token); - - public z_GetFixedvOES := GetGLFuncOrNil&('glGetFixedvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFixedvOES(pname: DummyEnum; ¶ms: array of fixed) := GetFixedvOES(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFixedvOES(pname: DummyEnum; var ¶ms: fixed) := GetFixedvOES(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFixedvOES(pname: DummyEnum; ¶ms: pointer) := z_GetFixedvOES(pname, ¶ms); - - {$endregion OES_fixed_point} - - {$region OES_framebuffer_object} - - public z_IsRenderbufferOES := GetGLFuncOrNil&('glIsRenderbufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsRenderbufferOES(renderbuffer: UInt32): boolean := z_IsRenderbufferOES(renderbuffer); - - public z_BindRenderbufferOES := GetGLFuncOrNil&('glBindRenderbufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindRenderbufferOES(target: DummyEnum; renderbuffer: UInt32) := z_BindRenderbufferOES(target, renderbuffer); - - public z_DeleteRenderbuffersOES := GetGLFuncOrNil&('glDeleteRenderbuffersOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersOES(n: Int32; renderbuffers: array of UInt32) := DeleteRenderbuffersOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersOES(n: Int32; var renderbuffers: UInt32) := DeleteRenderbuffersOES(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersOES(n: Int32; renderbuffers: pointer) := z_DeleteRenderbuffersOES(n, renderbuffers); - - public z_GenRenderbuffersOES := GetGLFuncOrNil&('glGenRenderbuffersOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersOES(n: Int32; renderbuffers: array of UInt32) := GenRenderbuffersOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersOES(n: Int32; var renderbuffers: UInt32) := GenRenderbuffersOES(n, @renderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersOES(n: Int32; renderbuffers: pointer) := z_GenRenderbuffersOES(n, renderbuffers); - - public z_RenderbufferStorageOES := GetGLFuncOrNil&('glRenderbufferStorageOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageOES(target: DummyEnum; internalformat: DummyEnum; width: Int32; height: Int32) := z_RenderbufferStorageOES(target, internalformat, width, height); - - public z_GetRenderbufferParameterivOES := GetGLFuncOrNil&('glGetRenderbufferParameterivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetRenderbufferParameterivOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivOES(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetRenderbufferParameterivOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetRenderbufferParameterivOES(target, pname, ¶ms); - - public z_IsFramebufferOES := GetGLFuncOrNil&('glIsFramebufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFramebufferOES(framebuffer: UInt32): boolean := z_IsFramebufferOES(framebuffer); - - public z_BindFramebufferOES := GetGLFuncOrNil&('glBindFramebufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFramebufferOES(target: DummyEnum; framebuffer: UInt32) := z_BindFramebufferOES(target, framebuffer); - - public z_DeleteFramebuffersOES := GetGLFuncOrNil&('glDeleteFramebuffersOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersOES(n: Int32; framebuffers: array of UInt32) := DeleteFramebuffersOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersOES(n: Int32; var framebuffers: UInt32) := DeleteFramebuffersOES(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersOES(n: Int32; framebuffers: pointer) := z_DeleteFramebuffersOES(n, framebuffers); - - public z_GenFramebuffersOES := GetGLFuncOrNil&('glGenFramebuffersOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersOES(n: Int32; framebuffers: array of UInt32) := GenFramebuffersOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersOES(n: Int32; var framebuffers: UInt32) := GenFramebuffersOES(n, @framebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersOES(n: Int32; framebuffers: pointer) := z_GenFramebuffersOES(n, framebuffers); - - public z_CheckFramebufferStatusOES := GetGLFuncOrNil&('glCheckFramebufferStatusOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckFramebufferStatusOES(target: DummyEnum): DummyEnum := z_CheckFramebufferStatusOES(target); - - public z_FramebufferTexture2DOES := GetGLFuncOrNil&('glFramebufferTexture2DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2DOES(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32) := z_FramebufferTexture2DOES(target, attachment, textarget, texture, level); - - public z_FramebufferRenderbufferOES := GetGLFuncOrNil&('glFramebufferRenderbufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferRenderbufferOES(target: DummyEnum; attachment: DummyEnum; renderbuffertarget: DummyEnum; renderbuffer: UInt32) := z_FramebufferRenderbufferOES(target, attachment, renderbuffertarget, renderbuffer); - - public z_GetFramebufferAttachmentParameterivOES := GetGLFuncOrNil&('glGetFramebufferAttachmentParameterivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivOES(target: DummyEnum; attachment: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetFramebufferAttachmentParameterivOES(target, attachment, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivOES(target: DummyEnum; attachment: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetFramebufferAttachmentParameterivOES(target, attachment, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivOES(target: DummyEnum; attachment: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetFramebufferAttachmentParameterivOES(target, attachment, pname, ¶ms); - - public z_GenerateMipmapOES := GetGLFuncOrNil&('glGenerateMipmapOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMipmapOES(target: DummyEnum) := z_GenerateMipmapOES(target); - - {$endregion OES_framebuffer_object} - - {$region OES_vertex_array_object} - - public z_BindVertexArrayOES := GetGLFuncOrNil&('glBindVertexArrayOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexArrayOES(&array: UInt32) := z_BindVertexArrayOES(&array); - - public z_DeleteVertexArraysOES := GetGLFuncOrNil&('glDeleteVertexArraysOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysOES(n: Int32; arrays: array of UInt32) := DeleteVertexArraysOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysOES(n: Int32; var arrays: UInt32) := DeleteVertexArraysOES(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysOES(n: Int32; arrays: pointer) := z_DeleteVertexArraysOES(n, arrays); - - public z_GenVertexArraysOES := GetGLFuncOrNil&('glGenVertexArraysOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysOES(n: Int32; arrays: array of UInt32) := GenVertexArraysOES(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(arrays,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysOES(n: Int32; var arrays: UInt32) := GenVertexArraysOES(n, @arrays); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysOES(n: Int32; arrays: pointer) := z_GenVertexArraysOES(n, arrays); - - public z_IsVertexArrayOES := GetGLFuncOrNil&('glIsVertexArrayOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexArrayOES(&array: UInt32): boolean := z_IsVertexArrayOES(&array); - - {$endregion OES_vertex_array_object} - - {$region OES_draw_buffers_indexed} - - public z_BlendEquationiOES := GetGLFuncOrNil&('glBlendEquationiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationiOES(buf: UInt32; mode: DummyEnum) := z_BlendEquationiOES(buf, mode); - - public z_BlendEquationSeparateiOES := GetGLFuncOrNil&('glBlendEquationSeparateiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateiOES(buf: UInt32; modeRGB: DummyEnum; modeAlpha: DummyEnum) := z_BlendEquationSeparateiOES(buf, modeRGB, modeAlpha); - - public z_BlendFunciOES := GetGLFuncOrNil&('glBlendFunciOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunciOES(buf: UInt32; src: DummyEnum; dst: DummyEnum) := z_BlendFunciOES(buf, src, dst); - - public z_BlendFuncSeparateiOES := GetGLFuncOrNil&('glBlendFuncSeparateiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateiOES(buf: UInt32; srcRGB: DummyEnum; dstRGB: DummyEnum; srcAlpha: DummyEnum; dstAlpha: DummyEnum) := z_BlendFuncSeparateiOES(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); - - public z_ColorMaskiOES := GetGLFuncOrNil&('glColorMaskiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaskiOES(index: UInt32; r: boolean; g: boolean; b: boolean; a: boolean) := z_ColorMaskiOES(index, r, g, b, a); - - {$endregion OES_draw_buffers_indexed} - - {$region OES_blend_subtract} - - public z_BlendEquationOES := GetGLFuncOrNil&('glBlendEquationOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationOES(mode: DummyEnum) := z_BlendEquationOES(mode); - - {$endregion OES_blend_subtract} - - {$region OES_blend_equation_separate} - - public z_BlendEquationSeparateOES := GetGLFuncOrNil&('glBlendEquationSeparateOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateOES(modeRGB: DummyEnum; modeAlpha: DummyEnum) := z_BlendEquationSeparateOES(modeRGB, modeAlpha); - - {$endregion OES_blend_equation_separate} - - {$region OES_blend_func_separate} - - public z_BlendFuncSeparateOES := GetGLFuncOrNil&('glBlendFuncSeparateOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateOES(srcRGB: DummyEnum; dstRGB: DummyEnum; srcAlpha: DummyEnum; dstAlpha: DummyEnum) := z_BlendFuncSeparateOES(srcRGB, dstRGB, srcAlpha, dstAlpha); - - {$endregion OES_blend_func_separate} - - {$region OES_single_precision} - - public z_DepthRangefOES := GetGLFuncOrNil&('glDepthRangefOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangefOES(n: single; f: single) := z_DepthRangefOES(n, f); - - public z_FrustumfOES := GetGLFuncOrNil&('glFrustumfOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrustumfOES(l: single; r: single; b: single; t: single; n: single; f: single) := z_FrustumfOES(l, r, b, t, n, f); - - public z_OrthofOES := GetGLFuncOrNil&('glOrthofOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure OrthofOES(l: single; r: single; b: single; t: single; n: single; f: single) := z_OrthofOES(l, r, b, t, n, f); - - public z_ClipPlanefOES := GetGLFuncOrNil&('glClipPlanefOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefOES(plane: DummyEnum; equation: array of single) := ClipPlanefOES(plane, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefOES(plane: DummyEnum; var equation: single) := ClipPlanefOES(plane, @equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefOES(plane: DummyEnum; equation: pointer) := z_ClipPlanefOES(plane, equation); - - public z_GetClipPlanefOES := GetGLFuncOrNil&('glGetClipPlanefOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanefOES(plane: DummyEnum; equation: array of single) := GetClipPlanefOES(plane, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanefOES(plane: DummyEnum; var equation: single) := GetClipPlanefOES(plane, @equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanefOES(plane: DummyEnum; equation: pointer) := z_GetClipPlanefOES(plane, equation); - - public z_ClearDepthfOES := GetGLFuncOrNil&('glClearDepthfOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthfOES(depth: single) := z_ClearDepthfOES(depth); - - {$endregion OES_single_precision} - - {$region OES_texture_3D} - - public z_TexImage3DOES := GetGLFuncOrNil&('glTexImage3DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DOES(target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; border: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TexImage3DOES(target, level, internalformat, width, height, depth, border, format, &type, pixels); - - public z_TexSubImage3DOES := GetGLFuncOrNil&('glTexSubImage3DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3DOES(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; &type: DummyEnum; pixels: pointer) := z_TexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); - - public z_CopyTexSubImage3DOES := GetGLFuncOrNil&('glCopyTexSubImage3DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage3DOES(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32) := z_CopyTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, x, y, width, height); - - public z_CompressedTexImage3DOES := GetGLFuncOrNil&('glCompressedTexImage3DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3DOES(target: DummyEnum; level: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: pointer) := z_CompressedTexImage3DOES(target, level, internalformat, width, height, depth, border, imageSize, data); - - public z_CompressedTexSubImage3DOES := GetGLFuncOrNil&('glCompressedTexSubImage3DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3DOES(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; imageSize: Int32; data: pointer) := z_CompressedTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - - public z_FramebufferTexture3DOES := GetGLFuncOrNil&('glFramebufferTexture3DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture3DOES(target: DummyEnum; attachment: DummyEnum; textarget: DummyEnum; texture: UInt32; level: Int32; zoffset: Int32) := z_FramebufferTexture3DOES(target, attachment, textarget, texture, level, zoffset); - - {$endregion OES_texture_3D} - - {$region OES_copy_image} - - public z_CopyImageSubDataOES := GetGLFuncOrNil&('glCopyImageSubDataOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubDataOES(srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32) := z_CopyImageSubDataOES(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); - - {$endregion OES_copy_image} - - {$region OES_matrix_palette} - - public z_CurrentPaletteMatrixOES := GetGLFuncOrNil&('glCurrentPaletteMatrixOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CurrentPaletteMatrixOES(matrixpaletteindex: UInt32) := z_CurrentPaletteMatrixOES(matrixpaletteindex); - - public z_LoadPaletteFromModelViewMatrixOES := GetGLFuncOrNil&('glLoadPaletteFromModelViewMatrixOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadPaletteFromModelViewMatrixOES := z_LoadPaletteFromModelViewMatrixOES; - - public z_MatrixIndexPointerOES := GetGLFuncOrNil&('glMatrixIndexPointerOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexPointerOES(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_MatrixIndexPointerOES(size, &type, stride, _pointer); - - public z_WeightPointerOES := GetGLFuncOrNil&('glWeightPointerOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPointerOES(size: Int32; &type: DummyEnum; stride: Int32; _pointer: pointer) := z_WeightPointerOES(size, &type, stride, _pointer); - - {$endregion OES_matrix_palette} - - {$region OES_viewport_array} - - public z_ViewportArrayvOES := GetGLFuncOrNil&('glViewportArrayvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayvOES(first: UInt32; count: Int32; v: array of single) := ViewportArrayvOES(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayvOES(first: UInt32; count: Int32; var v: single) := ViewportArrayvOES(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportArrayvOES(first: UInt32; count: Int32; v: pointer) := z_ViewportArrayvOES(first, count, v); - - public z_ViewportIndexedfOES := GetGLFuncOrNil&('glViewportIndexedfOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfOES(index: UInt32; x: single; y: single; w: single; h: single) := z_ViewportIndexedfOES(index, x, y, w, h); - - public z_ViewportIndexedfvOES := GetGLFuncOrNil&('glViewportIndexedfvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfvOES(index: UInt32; v: array of single) := ViewportIndexedfvOES(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfvOES(index: UInt32; var v: single) := ViewportIndexedfvOES(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportIndexedfvOES(index: UInt32; v: pointer) := z_ViewportIndexedfvOES(index, v); - - public z_ScissorArrayvOES := GetGLFuncOrNil&('glScissorArrayvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayvOES(first: UInt32; count: Int32; v: array of Int32) := ScissorArrayvOES(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayvOES(first: UInt32; count: Int32; var v: Int32) := ScissorArrayvOES(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorArrayvOES(first: UInt32; count: Int32; v: pointer) := z_ScissorArrayvOES(first, count, v); - - public z_ScissorIndexedOES := GetGLFuncOrNil&('glScissorIndexedOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedOES(index: UInt32; left: Int32; bottom: Int32; width: Int32; height: Int32) := z_ScissorIndexedOES(index, left, bottom, width, height); - - public z_ScissorIndexedvOES := GetGLFuncOrNil&('glScissorIndexedvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedvOES(index: UInt32; v: array of Int32) := ScissorIndexedvOES(index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedvOES(index: UInt32; var v: Int32) := ScissorIndexedvOES(index, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorIndexedvOES(index: UInt32; v: pointer) := z_ScissorIndexedvOES(index, v); - - public z_DepthRangeArrayfvOES := GetGLFuncOrNil&('glDepthRangeArrayfvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayfvOES(first: UInt32; count: Int32; v: array of single) := DepthRangeArrayfvOES(first, count, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayfvOES(first: UInt32; count: Int32; var v: single) := DepthRangeArrayfvOES(first, count, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeArrayfvOES(first: UInt32; count: Int32; v: pointer) := z_DepthRangeArrayfvOES(first, count, v); - - public z_DepthRangeIndexedfOES := GetGLFuncOrNil&('glDepthRangeIndexedfOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangeIndexedfOES(index: UInt32; n: single; f: single) := z_DepthRangeIndexedfOES(index, n, f); - - public z_GetFloati_vOES := GetGLFuncOrNil&('glGetFloati_vOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vOES(target: GLGetQueries; index: UInt32; data: array of single) := GetFloati_vOES(target, index, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(data,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vOES(target: GLGetQueries; index: UInt32; var data: single) := GetFloati_vOES(target, index, @data); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vOES(target: GLGetQueries; index: UInt32; data: pointer) := z_GetFloati_vOES(target, index, data); - - {$endregion OES_viewport_array} - - {$region OES_draw_buffers_indexed OES_viewport_array} - - public z_EnableiOES := GetGLFuncOrNil&('glEnableiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableiOES(target: DummyEnum; index: UInt32) := z_EnableiOES(target, index); - - public z_DisableiOES := GetGLFuncOrNil&('glDisableiOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableiOES(target: DummyEnum; index: UInt32) := z_DisableiOES(target, index); - - public z_IsEnablediOES := GetGLFuncOrNil&('glIsEnablediOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnablediOES(target: DummyEnum; index: UInt32): boolean := z_IsEnablediOES(target, index); - - {$endregion OES_draw_buffers_indexed OES_viewport_array} - - {$region OES_draw_elements_base_vertex} - - public z_DrawElementsBaseVertexOES := GetGLFuncOrNil&('glDrawElementsBaseVertexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsBaseVertexOES(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; basevertex: Int32) := z_DrawElementsBaseVertexOES(mode, count, &type, indices, basevertex); - - public z_DrawRangeElementsBaseVertexOES := GetGLFuncOrNil&('glDrawRangeElementsBaseVertexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsBaseVertexOES(mode: DummyEnum; start: UInt32; &end: UInt32; count: Int32; &type: DummyEnum; indices: pointer; basevertex: Int32) := z_DrawRangeElementsBaseVertexOES(mode, start, &end, count, &type, indices, basevertex); - - public z_DrawElementsInstancedBaseVertexOES := GetGLFuncOrNil&('glDrawElementsInstancedBaseVertexOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedBaseVertexOES(mode: DummyEnum; count: Int32; &type: DummyEnum; indices: pointer; instancecount: Int32; basevertex: Int32) := z_DrawElementsInstancedBaseVertexOES(mode, count, &type, indices, instancecount, basevertex); - - {$endregion OES_draw_elements_base_vertex} - - {$region OES_EGL_image} - - public z_EGLImageTargetRenderbufferStorageOES := GetGLFuncOrNil&('glEGLImageTargetRenderbufferStorageOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetRenderbufferStorageOES(target: DummyEnum; image: GLeglImageOES) := z_EGLImageTargetRenderbufferStorageOES(target, image); - - {$endregion OES_EGL_image} - - {$region OES_EGL_image OES_EGL_image_external} - - public z_EGLImageTargetTexture2DOES := GetGLFuncOrNil&('glEGLImageTargetTexture2DOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexture2DOES(target: DummyEnum; image: GLeglImageOES) := z_EGLImageTargetTexture2DOES(target, image); - - {$endregion OES_EGL_image OES_EGL_image_external} - - {$region OES_geometry_shader} - - public z_FramebufferTextureOES := GetGLFuncOrNil&('glFramebufferTextureOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureOES(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32) := z_FramebufferTextureOES(target, attachment, texture, level); - - {$endregion OES_geometry_shader} - - {$region OES_mapbuffer} - - public z_GetBufferPointervOES := GetGLFuncOrNil&('glGetBufferPointervOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of IntPtr) := GetBufferPointervOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervOES(target: DummyEnum; pname: DummyEnum; var ¶ms: IntPtr) := GetBufferPointervOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetBufferPointervOES(target, pname, ¶ms); - - public z_MapBufferOES := GetGLFuncOrNil&('glMapBufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBufferOES(target: DummyEnum; access: DummyEnum): pointer := z_MapBufferOES(target, access); - - public z_UnmapBufferOES := GetGLFuncOrNil&('glUnmapBufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapBufferOES(target: DummyEnum): boolean := z_UnmapBufferOES(target); - - {$endregion OES_mapbuffer} - - public z_GetLightxvOES := GetGLFuncOrNil&('glGetLightxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxvOES(light: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetLightxvOES(light, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxvOES(light: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetLightxvOES(light, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxvOES(light: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetLightxvOES(light, pname, ¶ms); - - public z_GetMaterialxvOES := GetGLFuncOrNil&('glGetMaterialxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialxvOES(face: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetMaterialxvOES(face, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialxvOES(face: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetMaterialxvOES(face, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialxvOES(face: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetMaterialxvOES(face, pname, ¶ms); - - {$region OES_get_program_binary} - - public z_GetProgramBinaryOES := GetGLFuncOrNil&('glGetProgramBinaryOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; length: array of Int32; binaryFormat: array of DummyEnum; binary: pointer) := GetProgramBinaryOES(&program, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binaryFormat,0)), binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; length: array of Int32; var binaryFormat: DummyEnum; binary: pointer) := GetProgramBinaryOES(&program, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), @binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; length: array of Int32; binaryFormat: pointer; binary: pointer) := GetProgramBinaryOES(&program, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; var length: Int32; binaryFormat: array of DummyEnum; binary: pointer) := GetProgramBinaryOES(&program, bufSize, @length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binaryFormat,0)), binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; var length: Int32; var binaryFormat: DummyEnum; binary: pointer) := GetProgramBinaryOES(&program, bufSize, @length, @binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; var length: Int32; binaryFormat: pointer; binary: pointer) := GetProgramBinaryOES(&program, bufSize, @length, binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; length: pointer; binaryFormat: array of DummyEnum; binary: pointer) := GetProgramBinaryOES(&program, bufSize, length, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(binaryFormat,0)), binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; length: pointer; var binaryFormat: DummyEnum; binary: pointer) := GetProgramBinaryOES(&program, bufSize, length, @binaryFormat, binary); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramBinaryOES(&program: UInt32; bufSize: Int32; length: pointer; binaryFormat: pointer; binary: pointer) := z_GetProgramBinaryOES(&program, bufSize, length, binaryFormat, binary); - - public z_ProgramBinaryOES := GetGLFuncOrNil&('glProgramBinaryOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBinaryOES(&program: UInt32; binaryFormat: DummyEnum; binary: pointer; length: Int32) := z_ProgramBinaryOES(&program, binaryFormat, binary, length); - - {$endregion OES_get_program_binary} - - {$region OES_texture_border_clamp} - - public z_TexParameterIivOES := GetGLFuncOrNil&('glTexParameterIivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TexParameterIivOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivOES(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TexParameterIivOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexParameterIivOES(target, pname, ¶ms); - - public z_TexParameterIuivOES := GetGLFuncOrNil&('glTexParameterIuivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := TexParameterIuivOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivOES(target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := TexParameterIuivOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexParameterIuivOES(target, pname, ¶ms); - - public z_GetTexParameterIivOES := GetGLFuncOrNil&('glGetTexParameterIivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTexParameterIivOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivOES(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTexParameterIivOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexParameterIivOES(target, pname, ¶ms); - - public z_GetTexParameterIuivOES := GetGLFuncOrNil&('glGetTexParameterIuivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of UInt32) := GetTexParameterIuivOES(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivOES(target: DummyEnum; pname: DummyEnum; var ¶ms: UInt32) := GetTexParameterIuivOES(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivOES(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexParameterIuivOES(target, pname, ¶ms); - - public z_SamplerParameterIivOES := GetGLFuncOrNil&('glSamplerParameterIivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIivOES(sampler: UInt32; pname: DummyEnum; param: array of Int32) := SamplerParameterIivOES(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIivOES(sampler: UInt32; pname: DummyEnum; var param: Int32) := SamplerParameterIivOES(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIivOES(sampler: UInt32; pname: DummyEnum; param: pointer) := z_SamplerParameterIivOES(sampler, pname, param); - - public z_SamplerParameterIuivOES := GetGLFuncOrNil&('glSamplerParameterIuivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuivOES(sampler: UInt32; pname: DummyEnum; param: array of UInt32) := SamplerParameterIuivOES(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(param,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuivOES(sampler: UInt32; pname: DummyEnum; var param: UInt32) := SamplerParameterIuivOES(sampler, pname, @param); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplerParameterIuivOES(sampler: UInt32; pname: DummyEnum; param: pointer) := z_SamplerParameterIuivOES(sampler, pname, param); - - public z_GetSamplerParameterIivOES := GetGLFuncOrNil&('glGetSamplerParameterIivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIivOES(sampler: UInt32; pname: DummyEnum; ¶ms: array of Int32) := GetSamplerParameterIivOES(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIivOES(sampler: UInt32; pname: DummyEnum; var ¶ms: Int32) := GetSamplerParameterIivOES(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIivOES(sampler: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetSamplerParameterIivOES(sampler, pname, ¶ms); - - public z_GetSamplerParameterIuivOES := GetGLFuncOrNil&('glGetSamplerParameterIuivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuivOES(sampler: UInt32; pname: DummyEnum; ¶ms: array of UInt32) := GetSamplerParameterIuivOES(sampler, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuivOES(sampler: UInt32; pname: DummyEnum; var ¶ms: UInt32) := GetSamplerParameterIuivOES(sampler, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSamplerParameterIuivOES(sampler: UInt32; pname: DummyEnum; ¶ms: pointer) := z_GetSamplerParameterIuivOES(sampler, pname, ¶ms); - - {$endregion OES_texture_border_clamp} - - {$region OES_texture_cube_map} - - public z_TexGenfOES := GetGLFuncOrNil&('glTexGenfOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfOES(coord: DummyEnum; pname: DummyEnum; param: single) := z_TexGenfOES(coord, pname, param); - - public z_TexGenfvOES := GetGLFuncOrNil&('glTexGenfvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: array of single) := TexGenfvOES(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfvOES(coord: DummyEnum; pname: DummyEnum; var ¶ms: single) := TexGenfvOES(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenfvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexGenfvOES(coord, pname, ¶ms); - - public z_TexGeniOES := GetGLFuncOrNil&('glTexGeniOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGeniOES(coord: DummyEnum; pname: DummyEnum; param: Int32) := z_TexGeniOES(coord, pname, param); - - public z_TexGenivOES := GetGLFuncOrNil&('glTexGenivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenivOES(coord: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := TexGenivOES(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenivOES(coord: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := TexGenivOES(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenivOES(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexGenivOES(coord, pname, ¶ms); - - public z_GetTexGenfvOES := GetGLFuncOrNil&('glGetTexGenfvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetTexGenfvOES(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfvOES(coord: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetTexGenfvOES(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenfvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexGenfvOES(coord, pname, ¶ms); - - public z_GetTexGenivOES := GetGLFuncOrNil&('glGetTexGenivOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenivOES(coord: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetTexGenivOES(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenivOES(coord: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetTexGenivOES(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenivOES(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexGenivOES(coord, pname, ¶ms); - - {$endregion OES_texture_cube_map} - - {$region OES_fixed_point OES_texture_cube_map} - - public z_TexGenxOES := GetGLFuncOrNil&('glTexGenxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxOES(coord: DummyEnum; pname: DummyEnum; param: fixed) := z_TexGenxOES(coord, pname, param); - - public z_TexGenxvOES := GetGLFuncOrNil&('glTexGenxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := TexGenxvOES(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxvOES(coord: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := TexGenxvOES(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_TexGenxvOES(coord, pname, ¶ms); - - public z_GetTexGenxvOES := GetGLFuncOrNil&('glGetTexGenxvOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenxvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: array of fixed) := GetTexGenxvOES(coord, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenxvOES(coord: DummyEnum; pname: DummyEnum; var ¶ms: fixed) := GetTexGenxvOES(coord, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenxvOES(coord: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetTexGenxvOES(coord, pname, ¶ms); - - {$endregion OES_fixed_point OES_texture_cube_map} - - {$region OES_sample_shading} - - public z_MinSampleShadingOES := GetGLFuncOrNil&('glMinSampleShadingOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinSampleShadingOES(value: single) := z_MinSampleShadingOES(value); - - {$endregion OES_sample_shading} - - {$region OES_tessellation_shader} - - public z_PatchParameteriOES := GetGLFuncOrNil&('glPatchParameteriOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PatchParameteriOES(pname: DummyEnum; value: Int32) := z_PatchParameteriOES(pname, value); - - {$endregion OES_tessellation_shader} - - {$region OES_point_size_array} - - public z_PointSizePointerOES := GetGLFuncOrNil&('glPointSizePointerOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointSizePointerOES(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_PointSizePointerOES(&type, stride, _pointer); - - {$endregion OES_point_size_array} - - {$region OES_primitive_bounding_box} - - public z_PrimitiveBoundingBoxOES := GetGLFuncOrNil&('glPrimitiveBoundingBoxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveBoundingBoxOES(minX: single; minY: single; minZ: single; minW: single; maxX: single; maxY: single; maxZ: single; maxW: single) := z_PrimitiveBoundingBoxOES(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - - {$endregion OES_primitive_bounding_box} - - {$region OES_query_matrix} - - public z_QueryMatrixxOES := GetGLFuncOrNil&('glQueryMatrixxOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: array of fixed; exponent: array of Int32): DummyFlags := QueryMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mantissa,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(exponent,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: array of fixed; var exponent: Int32): DummyFlags := QueryMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mantissa,0)), @exponent); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: array of fixed; exponent: pointer): DummyFlags := QueryMatrixxOES(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(mantissa,0)), exponent); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(var mantissa: fixed; exponent: array of Int32): DummyFlags := QueryMatrixxOES(@mantissa, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(exponent,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(var mantissa: fixed; var exponent: Int32): DummyFlags := QueryMatrixxOES(@mantissa, @exponent); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(var mantissa: fixed; exponent: pointer): DummyFlags := QueryMatrixxOES(@mantissa, exponent); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: pointer; exponent: array of Int32): DummyFlags := QueryMatrixxOES(mantissa, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(exponent,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: pointer; var exponent: Int32): DummyFlags := QueryMatrixxOES(mantissa, @exponent); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: pointer; exponent: pointer): DummyFlags := z_QueryMatrixxOES(mantissa, exponent); - - {$endregion OES_query_matrix} - - {$region OES_texture_buffer} - - public z_TexBufferOES := GetGLFuncOrNil&('glTexBufferOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferOES(target: DummyEnum; internalformat: DummyEnum; buffer: UInt32) := z_TexBufferOES(target, internalformat, buffer); - - public z_TexBufferRangeOES := GetGLFuncOrNil&('glTexBufferRangeOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferRangeOES(target: DummyEnum; internalformat: DummyEnum; buffer: UInt32; offset: IntPtr; size: UIntPtr) := z_TexBufferRangeOES(target, internalformat, buffer, offset, size); - - {$endregion OES_texture_buffer} - - {$region OES_texture_storage_multisample_2d_array} - - public z_TexStorage3DMultisampleOES := GetGLFuncOrNil&('glTexStorage3DMultisampleOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorage3DMultisampleOES(target: DummyEnum; samples: Int32; internalformat: DummyEnum; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean) := z_TexStorage3DMultisampleOES(target, samples, internalformat, width, height, depth, fixedsamplelocations); - - {$endregion OES_texture_storage_multisample_2d_array} - - {$region OES_texture_view} - - public z_TextureViewOES := GetGLFuncOrNil&('glTextureViewOES'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureViewOES(texture: UInt32; target: DummyEnum; origtexture: UInt32; internalformat: DummyEnum; minlevel: UInt32; numlevels: UInt32; minlayer: UInt32; numlayers: UInt32) := z_TextureViewOES(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); - - {$endregion OES_texture_view} + public z_GetTexParameterPointervAPPLE_adr := GetFuncAdr('glGetTexParameterPointervAPPLE'); + public z_GetTexParameterPointervAPPLE_ovr_0 := GetFuncOrNil&(z_GetTexParameterPointervAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterPointervAPPLE(target: DummyEnum; pname: DummyEnum; ¶ms: array of IntPtr); + begin + z_GetTexParameterPointervAPPLE_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterPointervAPPLE(target: DummyEnum; pname: DummyEnum; var ¶ms: IntPtr); + begin + z_GetTexParameterPointervAPPLE_ovr_0(target, pname, ¶ms); + end; + public z_GetTexParameterPointervAPPLE_ovr_2 := GetFuncOrNil&(z_GetTexParameterPointervAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterPointervAPPLE(target: DummyEnum; pname: DummyEnum; ¶ms: pointer); + begin + z_GetTexParameterPointervAPPLE_ovr_2(target, pname, ¶ms); + end; end; - gl_OVR = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glVertexArrayObjectAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BindVertexArrayAPPLE_adr := GetFuncAdr('glBindVertexArrayAPPLE'); + public z_BindVertexArrayAPPLE_ovr_0 := GetFuncOrNil&(z_BindVertexArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexArrayAPPLE(&array: UInt32); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_BindVertexArrayAPPLE_ovr_0(&array); end; - {$region OVR_multiview_multisampled_render_to_texture} + public z_DeleteVertexArraysAPPLE_adr := GetFuncAdr('glDeleteVertexArraysAPPLE'); + public z_DeleteVertexArraysAPPLE_ovr_0 := GetFuncOrNil&(z_DeleteVertexArraysAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysAPPLE(n: Int32; arrays: array of UInt32); + begin + z_DeleteVertexArraysAPPLE_ovr_0(n, arrays[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysAPPLE(n: Int32; var arrays: UInt32); + begin + z_DeleteVertexArraysAPPLE_ovr_0(n, arrays); + end; + public z_DeleteVertexArraysAPPLE_ovr_2 := GetFuncOrNil&(z_DeleteVertexArraysAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexArraysAPPLE(n: Int32; arrays: IntPtr); + begin + z_DeleteVertexArraysAPPLE_ovr_2(n, arrays); + end; - public z_FramebufferTextureMultisampleMultiviewOVR := GetGLFuncOrNil&('glFramebufferTextureMultisampleMultiviewOVR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureMultisampleMultiviewOVR(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; samples: Int32; baseViewIndex: Int32; numViews: Int32) := z_FramebufferTextureMultisampleMultiviewOVR(target, attachment, texture, level, samples, baseViewIndex, numViews); + public z_GenVertexArraysAPPLE_adr := GetFuncAdr('glGenVertexArraysAPPLE'); + public z_GenVertexArraysAPPLE_ovr_0 := GetFuncOrNil&(z_GenVertexArraysAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysAPPLE(n: Int32; arrays: array of UInt32); + begin + z_GenVertexArraysAPPLE_ovr_0(n, arrays[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysAPPLE(n: Int32; var arrays: UInt32); + begin + z_GenVertexArraysAPPLE_ovr_0(n, arrays); + end; + public z_GenVertexArraysAPPLE_ovr_2 := GetFuncOrNil&(z_GenVertexArraysAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenVertexArraysAPPLE(n: Int32; arrays: IntPtr); + begin + z_GenVertexArraysAPPLE_ovr_2(n, arrays); + end; - {$endregion OVR_multiview_multisampled_render_to_texture} - - {$region OVR_multiview} - - public z_FramebufferTextureMultiviewOVR := GetGLFuncOrNil&('glFramebufferTextureMultiviewOVR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureMultiviewOVR(target: DummyEnum; attachment: DummyEnum; texture: UInt32; level: Int32; baseViewIndex: Int32; numViews: Int32) := z_FramebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, numViews); - - public z_NamedFramebufferTextureMultiviewOVR := GetGLFuncOrNil&('glNamedFramebufferTextureMultiviewOVR'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureMultiviewOVR(framebuffer: UInt32; attachment: DummyEnum; texture: UInt32; level: Int32; baseViewIndex: Int32; numViews: Int32) := z_NamedFramebufferTextureMultiviewOVR(framebuffer, attachment, texture, level, baseViewIndex, numViews); - - {$endregion OVR_multiview} + public z_IsVertexArrayAPPLE_adr := GetFuncAdr('glIsVertexArrayAPPLE'); + public z_IsVertexArrayAPPLE_ovr_0 := GetFuncOrNil&(z_IsVertexArrayAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexArrayAPPLE(&array: UInt32): boolean; + begin + Result := z_IsVertexArrayAPPLE_ovr_0(&array); + end; end; - gl_PGI = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glVertexArrayRangeAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexArrayRangeAPPLE_adr := GetFuncAdr('glVertexArrayRangeAPPLE'); + public z_VertexArrayRangeAPPLE_ovr_0 := GetFuncOrNil&(z_VertexArrayRangeAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayRangeAPPLE(length: Int32; pointer: IntPtr); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_VertexArrayRangeAPPLE_ovr_0(length, pointer); end; - {$region PGI_misc_hints} + public z_FlushVertexArrayRangeAPPLE_adr := GetFuncAdr('glFlushVertexArrayRangeAPPLE'); + public z_FlushVertexArrayRangeAPPLE_ovr_0 := GetFuncOrNil&(z_FlushVertexArrayRangeAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushVertexArrayRangeAPPLE(length: Int32; pointer: IntPtr); + begin + z_FlushVertexArrayRangeAPPLE_ovr_0(length, pointer); + end; - public z_HintPGI := GetGLFuncOrNil&('glHintPGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure HintPGI(target: DummyEnum; mode: Int32) := z_HintPGI(target, mode); - - {$endregion PGI_misc_hints} + public z_VertexArrayParameteriAPPLE_adr := GetFuncAdr('glVertexArrayParameteriAPPLE'); + public z_VertexArrayParameteriAPPLE_ovr_0 := GetFuncOrNil&(z_VertexArrayParameteriAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayParameteriAPPLE(pname: VertexArrayPNameAPPLE; param: Int32); + begin + z_VertexArrayParameteriAPPLE_ovr_0(pname, param); + end; end; - gl_QCOM = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glVertexProgramEvaluatorsAPPLE = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_EnableVertexAttribAPPLE_adr := GetFuncAdr('glEnableVertexAttribAPPLE'); + public z_EnableVertexAttribAPPLE_ovr_0 := GetFuncOrNil&(z_EnableVertexAttribAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribAPPLE(index: UInt32; pname: DummyEnum); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_EnableVertexAttribAPPLE_ovr_0(index, pname); end; - {$region QCOM_alpha_test} + public z_DisableVertexAttribAPPLE_adr := GetFuncAdr('glDisableVertexAttribAPPLE'); + public z_DisableVertexAttribAPPLE_ovr_0 := GetFuncOrNil&(z_DisableVertexAttribAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribAPPLE(index: UInt32; pname: DummyEnum); + begin + z_DisableVertexAttribAPPLE_ovr_0(index, pname); + end; - public z_AlphaFuncQCOM := GetGLFuncOrNil&('glAlphaFuncQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFuncQCOM(func: DummyEnum; ref: single) := z_AlphaFuncQCOM(func, ref); + public z_IsVertexAttribEnabledAPPLE_adr := GetFuncAdr('glIsVertexAttribEnabledAPPLE'); + public z_IsVertexAttribEnabledAPPLE_ovr_0 := GetFuncOrNil&(z_IsVertexAttribEnabledAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVertexAttribEnabledAPPLE(index: UInt32; pname: DummyEnum): boolean; + begin + Result := z_IsVertexAttribEnabledAPPLE_ovr_0(index, pname); + end; - {$endregion QCOM_alpha_test} + public z_MapVertexAttrib1dAPPLE_adr := GetFuncAdr('glMapVertexAttrib1dAPPLE'); + public z_MapVertexAttrib1dAPPLE_ovr_0 := GetFuncOrNil&(z_MapVertexAttrib1dAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1dAPPLE(index: UInt32; size: UInt32; u1: real; u2: real; stride: Int32; order: Int32; points: array of real); + begin + z_MapVertexAttrib1dAPPLE_ovr_0(index, size, u1, u2, stride, order, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1dAPPLE(index: UInt32; size: UInt32; u1: real; u2: real; stride: Int32; order: Int32; var points: real); + begin + z_MapVertexAttrib1dAPPLE_ovr_0(index, size, u1, u2, stride, order, points); + end; + public z_MapVertexAttrib1dAPPLE_ovr_2 := GetFuncOrNil&(z_MapVertexAttrib1dAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1dAPPLE(index: UInt32; size: UInt32; u1: real; u2: real; stride: Int32; order: Int32; points: IntPtr); + begin + z_MapVertexAttrib1dAPPLE_ovr_2(index, size, u1, u2, stride, order, points); + end; - {$region QCOM_driver_control} + public z_MapVertexAttrib1fAPPLE_adr := GetFuncAdr('glMapVertexAttrib1fAPPLE'); + public z_MapVertexAttrib1fAPPLE_ovr_0 := GetFuncOrNil&(z_MapVertexAttrib1fAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; stride: Int32; order: Int32; points: array of single); + begin + z_MapVertexAttrib1fAPPLE_ovr_0(index, size, u1, u2, stride, order, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; stride: Int32; order: Int32; var points: single); + begin + z_MapVertexAttrib1fAPPLE_ovr_0(index, size, u1, u2, stride, order, points); + end; + public z_MapVertexAttrib1fAPPLE_ovr_2 := GetFuncOrNil&(z_MapVertexAttrib1fAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib1fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; stride: Int32; order: Int32; points: IntPtr); + begin + z_MapVertexAttrib1fAPPLE_ovr_2(index, size, u1, u2, stride, order, points); + end; - public z_GetDriverControlsQCOM := GetGLFuncOrNil&('glGetDriverControlsQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(num: array of Int32; size: Int32; driverControls: array of UInt32) := GetDriverControlsQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(num,0)), size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(driverControls,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(num: array of Int32; size: Int32; var driverControls: UInt32) := GetDriverControlsQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(num,0)), size, @driverControls); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(num: array of Int32; size: Int32; driverControls: pointer) := GetDriverControlsQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(num,0)), size, driverControls); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(var num: Int32; size: Int32; driverControls: array of UInt32) := GetDriverControlsQCOM(@num, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(driverControls,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(var num: Int32; size: Int32; var driverControls: UInt32) := GetDriverControlsQCOM(@num, size, @driverControls); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(var num: Int32; size: Int32; driverControls: pointer) := GetDriverControlsQCOM(@num, size, driverControls); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(num: pointer; size: Int32; driverControls: array of UInt32) := GetDriverControlsQCOM(num, size, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(driverControls,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(num: pointer; size: Int32; var driverControls: UInt32) := GetDriverControlsQCOM(num, size, @driverControls); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlsQCOM(num: pointer; size: Int32; driverControls: pointer) := z_GetDriverControlsQCOM(num, size, driverControls); + public z_MapVertexAttrib2dAPPLE_adr := GetFuncAdr('glMapVertexAttrib2dAPPLE'); + public z_MapVertexAttrib2dAPPLE_ovr_0 := GetFuncOrNil&(z_MapVertexAttrib2dAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2dAPPLE(index: UInt32; size: UInt32; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; points: array of real); + begin + z_MapVertexAttrib2dAPPLE_ovr_0(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2dAPPLE(index: UInt32; size: UInt32; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; var points: real); + begin + z_MapVertexAttrib2dAPPLE_ovr_0(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + end; + public z_MapVertexAttrib2dAPPLE_ovr_2 := GetFuncOrNil&(z_MapVertexAttrib2dAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2dAPPLE(index: UInt32; size: UInt32; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; points: IntPtr); + begin + z_MapVertexAttrib2dAPPLE_ovr_2(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + end; - public z_GetDriverControlStringQCOM := GetGLFuncOrNil&('glGetDriverControlStringQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlStringQCOM(driverControl: UInt32; bufSize: Int32; length: array of Int32; driverControlString: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(driverControlString); GetDriverControlStringQCOM(driverControl, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlStringQCOM(driverControl: UInt32; bufSize: Int32; length: array of Int32; driverControlString: IntPtr) := GetDriverControlStringQCOM(driverControl, bufSize, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0)), driverControlString); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlStringQCOM(driverControl: UInt32; bufSize: Int32; var length: Int32; driverControlString: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(driverControlString); GetDriverControlStringQCOM(driverControl, bufSize, @length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlStringQCOM(driverControl: UInt32; bufSize: Int32; var length: Int32; driverControlString: IntPtr) := GetDriverControlStringQCOM(driverControl, bufSize, @length, driverControlString); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlStringQCOM(driverControl: UInt32; bufSize: Int32; length: pointer; driverControlString: string); begin var ptr_4 := Marshal.StringToHGlobalAnsi(driverControlString); GetDriverControlStringQCOM(driverControl, bufSize, length, ptr_4); Marshal.FreeHGlobal(ptr_4); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDriverControlStringQCOM(driverControl: UInt32; bufSize: Int32; length: pointer; driverControlString: IntPtr) := z_GetDriverControlStringQCOM(driverControl, bufSize, length, driverControlString); - - public z_EnableDriverControlQCOM := GetGLFuncOrNil&('glEnableDriverControlQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableDriverControlQCOM(driverControl: UInt32) := z_EnableDriverControlQCOM(driverControl); - - public z_DisableDriverControlQCOM := GetGLFuncOrNil&('glDisableDriverControlQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableDriverControlQCOM(driverControl: UInt32) := z_DisableDriverControlQCOM(driverControl); - - {$endregion QCOM_driver_control} - - {$region QCOM_tiled_rendering} - - public z_StartTilingQCOM := GetGLFuncOrNil&('glStartTilingQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StartTilingQCOM(x: UInt32; y: UInt32; width: UInt32; height: UInt32; preserveMask: DummyFlags) := z_StartTilingQCOM(x, y, width, height, preserveMask); - - public z_EndTilingQCOM := GetGLFuncOrNil&('glEndTilingQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTilingQCOM(preserveMask: DummyFlags) := z_EndTilingQCOM(preserveMask); - - {$endregion QCOM_tiled_rendering} - - {$region QCOM_extended_get} - - public z_ExtGetTexturesQCOM := GetGLFuncOrNil&('glExtGetTexturesQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(textures: array of UInt32; maxTextures: Int32; numTextures: array of Int32) := ExtGetTexturesQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), maxTextures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numTextures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(textures: array of UInt32; maxTextures: Int32; var numTextures: Int32) := ExtGetTexturesQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), maxTextures, @numTextures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(textures: array of UInt32; maxTextures: Int32; numTextures: pointer) := ExtGetTexturesQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(textures,0)), maxTextures, numTextures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(var textures: UInt32; maxTextures: Int32; numTextures: array of Int32) := ExtGetTexturesQCOM(@textures, maxTextures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numTextures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(var textures: UInt32; maxTextures: Int32; var numTextures: Int32) := ExtGetTexturesQCOM(@textures, maxTextures, @numTextures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(var textures: UInt32; maxTextures: Int32; numTextures: pointer) := ExtGetTexturesQCOM(@textures, maxTextures, numTextures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(textures: pointer; maxTextures: Int32; numTextures: array of Int32) := ExtGetTexturesQCOM(textures, maxTextures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numTextures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(textures: pointer; maxTextures: Int32; var numTextures: Int32) := ExtGetTexturesQCOM(textures, maxTextures, @numTextures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexturesQCOM(textures: pointer; maxTextures: Int32; numTextures: pointer) := z_ExtGetTexturesQCOM(textures, maxTextures, numTextures); - - public z_ExtGetBuffersQCOM := GetGLFuncOrNil&('glExtGetBuffersQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(buffers: array of UInt32; maxBuffers: Int32; numBuffers: array of Int32) := ExtGetBuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), maxBuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numBuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(buffers: array of UInt32; maxBuffers: Int32; var numBuffers: Int32) := ExtGetBuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), maxBuffers, @numBuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(buffers: array of UInt32; maxBuffers: Int32; numBuffers: pointer) := ExtGetBuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(buffers,0)), maxBuffers, numBuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(var buffers: UInt32; maxBuffers: Int32; numBuffers: array of Int32) := ExtGetBuffersQCOM(@buffers, maxBuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numBuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(var buffers: UInt32; maxBuffers: Int32; var numBuffers: Int32) := ExtGetBuffersQCOM(@buffers, maxBuffers, @numBuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(var buffers: UInt32; maxBuffers: Int32; numBuffers: pointer) := ExtGetBuffersQCOM(@buffers, maxBuffers, numBuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(buffers: pointer; maxBuffers: Int32; numBuffers: array of Int32) := ExtGetBuffersQCOM(buffers, maxBuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numBuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(buffers: pointer; maxBuffers: Int32; var numBuffers: Int32) := ExtGetBuffersQCOM(buffers, maxBuffers, @numBuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBuffersQCOM(buffers: pointer; maxBuffers: Int32; numBuffers: pointer) := z_ExtGetBuffersQCOM(buffers, maxBuffers, numBuffers); - - public z_ExtGetRenderbuffersQCOM := GetGLFuncOrNil&('glExtGetRenderbuffersQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(renderbuffers: array of UInt32; maxRenderbuffers: Int32; numRenderbuffers: array of Int32) := ExtGetRenderbuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0)), maxRenderbuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numRenderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(renderbuffers: array of UInt32; maxRenderbuffers: Int32; var numRenderbuffers: Int32) := ExtGetRenderbuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0)), maxRenderbuffers, @numRenderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(renderbuffers: array of UInt32; maxRenderbuffers: Int32; numRenderbuffers: pointer) := ExtGetRenderbuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(renderbuffers,0)), maxRenderbuffers, numRenderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(var renderbuffers: UInt32; maxRenderbuffers: Int32; numRenderbuffers: array of Int32) := ExtGetRenderbuffersQCOM(@renderbuffers, maxRenderbuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numRenderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(var renderbuffers: UInt32; maxRenderbuffers: Int32; var numRenderbuffers: Int32) := ExtGetRenderbuffersQCOM(@renderbuffers, maxRenderbuffers, @numRenderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(var renderbuffers: UInt32; maxRenderbuffers: Int32; numRenderbuffers: pointer) := ExtGetRenderbuffersQCOM(@renderbuffers, maxRenderbuffers, numRenderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(renderbuffers: pointer; maxRenderbuffers: Int32; numRenderbuffers: array of Int32) := ExtGetRenderbuffersQCOM(renderbuffers, maxRenderbuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numRenderbuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(renderbuffers: pointer; maxRenderbuffers: Int32; var numRenderbuffers: Int32) := ExtGetRenderbuffersQCOM(renderbuffers, maxRenderbuffers, @numRenderbuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetRenderbuffersQCOM(renderbuffers: pointer; maxRenderbuffers: Int32; numRenderbuffers: pointer) := z_ExtGetRenderbuffersQCOM(renderbuffers, maxRenderbuffers, numRenderbuffers); - - public z_ExtGetFramebuffersQCOM := GetGLFuncOrNil&('glExtGetFramebuffersQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(framebuffers: array of UInt32; maxFramebuffers: Int32; numFramebuffers: array of Int32) := ExtGetFramebuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0)), maxFramebuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numFramebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(framebuffers: array of UInt32; maxFramebuffers: Int32; var numFramebuffers: Int32) := ExtGetFramebuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0)), maxFramebuffers, @numFramebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(framebuffers: array of UInt32; maxFramebuffers: Int32; numFramebuffers: pointer) := ExtGetFramebuffersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(framebuffers,0)), maxFramebuffers, numFramebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(var framebuffers: UInt32; maxFramebuffers: Int32; numFramebuffers: array of Int32) := ExtGetFramebuffersQCOM(@framebuffers, maxFramebuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numFramebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(var framebuffers: UInt32; maxFramebuffers: Int32; var numFramebuffers: Int32) := ExtGetFramebuffersQCOM(@framebuffers, maxFramebuffers, @numFramebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(var framebuffers: UInt32; maxFramebuffers: Int32; numFramebuffers: pointer) := ExtGetFramebuffersQCOM(@framebuffers, maxFramebuffers, numFramebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(framebuffers: pointer; maxFramebuffers: Int32; numFramebuffers: array of Int32) := ExtGetFramebuffersQCOM(framebuffers, maxFramebuffers, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numFramebuffers,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(framebuffers: pointer; maxFramebuffers: Int32; var numFramebuffers: Int32) := ExtGetFramebuffersQCOM(framebuffers, maxFramebuffers, @numFramebuffers); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetFramebuffersQCOM(framebuffers: pointer; maxFramebuffers: Int32; numFramebuffers: pointer) := z_ExtGetFramebuffersQCOM(framebuffers, maxFramebuffers, numFramebuffers); - - public z_ExtGetTexLevelParameterivQCOM := GetGLFuncOrNil&('glExtGetTexLevelParameterivQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexLevelParameterivQCOM(texture: UInt32; face: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: array of Int32) := ExtGetTexLevelParameterivQCOM(texture, face, level, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexLevelParameterivQCOM(texture: UInt32; face: DummyEnum; level: Int32; pname: DummyEnum; var ¶ms: Int32) := ExtGetTexLevelParameterivQCOM(texture, face, level, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexLevelParameterivQCOM(texture: UInt32; face: DummyEnum; level: Int32; pname: DummyEnum; ¶ms: pointer) := z_ExtGetTexLevelParameterivQCOM(texture, face, level, pname, ¶ms); - - public z_ExtTexObjectStateOverrideiQCOM := GetGLFuncOrNil&('glExtTexObjectStateOverrideiQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtTexObjectStateOverrideiQCOM(target: DummyEnum; pname: DummyEnum; param: Int32) := z_ExtTexObjectStateOverrideiQCOM(target, pname, param); - - public z_ExtGetTexSubImageQCOM := GetGLFuncOrNil&('glExtGetTexSubImageQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetTexSubImageQCOM(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: DummyEnum; &type: DummyEnum; texels: pointer) := z_ExtGetTexSubImageQCOM(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, texels); - - public z_ExtGetBufferPointervQCOM := GetGLFuncOrNil&('glExtGetBufferPointervQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBufferPointervQCOM(target: DummyEnum; ¶ms: array of IntPtr) := ExtGetBufferPointervQCOM(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBufferPointervQCOM(target: DummyEnum; var ¶ms: IntPtr) := ExtGetBufferPointervQCOM(target, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetBufferPointervQCOM(target: DummyEnum; ¶ms: pointer) := z_ExtGetBufferPointervQCOM(target, ¶ms); - - {$endregion QCOM_extended_get} - - {$region QCOM_extended_get2} - - public z_ExtGetShadersQCOM := GetGLFuncOrNil&('glExtGetShadersQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(shaders: array of UInt32; maxShaders: Int32; numShaders: array of Int32) := ExtGetShadersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0)), maxShaders, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numShaders,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(shaders: array of UInt32; maxShaders: Int32; var numShaders: Int32) := ExtGetShadersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0)), maxShaders, @numShaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(shaders: array of UInt32; maxShaders: Int32; numShaders: pointer) := ExtGetShadersQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(shaders,0)), maxShaders, numShaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(var shaders: UInt32; maxShaders: Int32; numShaders: array of Int32) := ExtGetShadersQCOM(@shaders, maxShaders, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numShaders,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(var shaders: UInt32; maxShaders: Int32; var numShaders: Int32) := ExtGetShadersQCOM(@shaders, maxShaders, @numShaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(var shaders: UInt32; maxShaders: Int32; numShaders: pointer) := ExtGetShadersQCOM(@shaders, maxShaders, numShaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(shaders: pointer; maxShaders: Int32; numShaders: array of Int32) := ExtGetShadersQCOM(shaders, maxShaders, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numShaders,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(shaders: pointer; maxShaders: Int32; var numShaders: Int32) := ExtGetShadersQCOM(shaders, maxShaders, @numShaders); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetShadersQCOM(shaders: pointer; maxShaders: Int32; numShaders: pointer) := z_ExtGetShadersQCOM(shaders, maxShaders, numShaders); - - public z_ExtGetProgramsQCOM := GetGLFuncOrNil&('glExtGetProgramsQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(programs: array of UInt32; maxPrograms: Int32; numPrograms: array of Int32) := ExtGetProgramsQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0)), maxPrograms, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numPrograms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(programs: array of UInt32; maxPrograms: Int32; var numPrograms: Int32) := ExtGetProgramsQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0)), maxPrograms, @numPrograms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(programs: array of UInt32; maxPrograms: Int32; numPrograms: pointer) := ExtGetProgramsQCOM(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(programs,0)), maxPrograms, numPrograms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(var programs: UInt32; maxPrograms: Int32; numPrograms: array of Int32) := ExtGetProgramsQCOM(@programs, maxPrograms, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numPrograms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(var programs: UInt32; maxPrograms: Int32; var numPrograms: Int32) := ExtGetProgramsQCOM(@programs, maxPrograms, @numPrograms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(var programs: UInt32; maxPrograms: Int32; numPrograms: pointer) := ExtGetProgramsQCOM(@programs, maxPrograms, numPrograms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(programs: pointer; maxPrograms: Int32; numPrograms: array of Int32) := ExtGetProgramsQCOM(programs, maxPrograms, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(numPrograms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(programs: pointer; maxPrograms: Int32; var numPrograms: Int32) := ExtGetProgramsQCOM(programs, maxPrograms, @numPrograms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramsQCOM(programs: pointer; maxPrograms: Int32; numPrograms: pointer) := z_ExtGetProgramsQCOM(programs, maxPrograms, numPrograms); - - public z_ExtIsProgramBinaryQCOM := GetGLFuncOrNil&('glExtIsProgramBinaryQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ExtIsProgramBinaryQCOM(&program: UInt32): boolean := z_ExtIsProgramBinaryQCOM(&program); - - public z_ExtGetProgramBinarySourceQCOM := GetGLFuncOrNil&('glExtGetProgramBinarySourceQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramBinarySourceQCOM(&program: UInt32; shadertype: DummyEnum; source: string; length: array of Int32); begin var ptr_3 := Marshal.StringToHGlobalAnsi(source); ExtGetProgramBinarySourceQCOM(&program, shadertype, ptr_3, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramBinarySourceQCOM(&program: UInt32; shadertype: DummyEnum; source: string; var length: Int32); begin var ptr_3 := Marshal.StringToHGlobalAnsi(source); ExtGetProgramBinarySourceQCOM(&program, shadertype, ptr_3, @length); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramBinarySourceQCOM(&program: UInt32; shadertype: DummyEnum; source: string; length: pointer); begin var ptr_3 := Marshal.StringToHGlobalAnsi(source); ExtGetProgramBinarySourceQCOM(&program, shadertype, ptr_3, length); Marshal.FreeHGlobal(ptr_3); end; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramBinarySourceQCOM(&program: UInt32; shadertype: DummyEnum; source: IntPtr; length: array of Int32) := ExtGetProgramBinarySourceQCOM(&program, shadertype, source, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(length,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramBinarySourceQCOM(&program: UInt32; shadertype: DummyEnum; source: IntPtr; var length: Int32) := ExtGetProgramBinarySourceQCOM(&program, shadertype, source, @length); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtGetProgramBinarySourceQCOM(&program: UInt32; shadertype: DummyEnum; source: IntPtr; length: pointer) := z_ExtGetProgramBinarySourceQCOM(&program, shadertype, source, length); - - {$endregion QCOM_extended_get2} - - {$region QCOM_shader_framebuffer_fetch_noncoherent} - - public z_FramebufferFetchBarrierQCOM := GetGLFuncOrNil&('glFramebufferFetchBarrierQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFetchBarrierQCOM := z_FramebufferFetchBarrierQCOM; - - {$endregion QCOM_shader_framebuffer_fetch_noncoherent} - - {$region QCOM_framebuffer_foveated} - - public z_FramebufferFoveationConfigQCOM := GetGLFuncOrNil&('glFramebufferFoveationConfigQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFoveationConfigQCOM(framebuffer: UInt32; numLayers: UInt32; focalPointsPerLayer: UInt32; requestedFeatures: UInt32; providedFeatures: array of UInt32) := FramebufferFoveationConfigQCOM(framebuffer, numLayers, focalPointsPerLayer, requestedFeatures, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(providedFeatures,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFoveationConfigQCOM(framebuffer: UInt32; numLayers: UInt32; focalPointsPerLayer: UInt32; requestedFeatures: UInt32; var providedFeatures: UInt32) := FramebufferFoveationConfigQCOM(framebuffer, numLayers, focalPointsPerLayer, requestedFeatures, @providedFeatures); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFoveationConfigQCOM(framebuffer: UInt32; numLayers: UInt32; focalPointsPerLayer: UInt32; requestedFeatures: UInt32; providedFeatures: pointer) := z_FramebufferFoveationConfigQCOM(framebuffer, numLayers, focalPointsPerLayer, requestedFeatures, providedFeatures); - - public z_FramebufferFoveationParametersQCOM := GetGLFuncOrNil&('glFramebufferFoveationParametersQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFoveationParametersQCOM(framebuffer: UInt32; layer: UInt32; focalPoint: UInt32; focalX: single; focalY: single; gainX: single; gainY: single; foveaArea: single) := z_FramebufferFoveationParametersQCOM(framebuffer, layer, focalPoint, focalX, focalY, gainX, gainY, foveaArea); - - {$endregion QCOM_framebuffer_foveated} - - {$region QCOM_texture_foveated} - - public z_TextureFoveationParametersQCOM := GetGLFuncOrNil&('glTextureFoveationParametersQCOM'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureFoveationParametersQCOM(texture: UInt32; layer: UInt32; focalPoint: UInt32; focalX: single; focalY: single; gainX: single; gainY: single; foveaArea: single) := z_TextureFoveationParametersQCOM(texture, layer, focalPoint, focalX, focalY, gainX, gainY, foveaArea); - - {$endregion QCOM_texture_foveated} + public z_MapVertexAttrib2fAPPLE_adr := GetFuncAdr('glMapVertexAttrib2fAPPLE'); + public z_MapVertexAttrib2fAPPLE_ovr_0 := GetFuncOrNil&(z_MapVertexAttrib2fAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: array of single); + begin + z_MapVertexAttrib2fAPPLE_ovr_0(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; var points: single); + begin + z_MapVertexAttrib2fAPPLE_ovr_0(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + end; + public z_MapVertexAttrib2fAPPLE_ovr_2 := GetFuncOrNil&(z_MapVertexAttrib2fAPPLE_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapVertexAttrib2fAPPLE(index: UInt32; size: UInt32; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; points: IntPtr); + begin + z_MapVertexAttrib2fAPPLE_ovr_2(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + end; end; - gl_SGI = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glES2CompatibilityARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; - - {$region SGI_color_table} - - public z_ColorTableSGI := GetGLFuncOrNil&('glColorTableSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableSGI(target: DummyEnum; internalformat: DummyEnum; width: Int32; format: DummyEnum; &type: DummyEnum; table: pointer) := z_ColorTableSGI(target, internalformat, width, format, &type, table); - - public z_CopyColorTableSGI := GetGLFuncOrNil&('glCopyColorTableSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyColorTableSGI(target: DummyEnum; internalformat: DummyEnum; x: Int32; y: Int32; width: Int32) := z_CopyColorTableSGI(target, internalformat, x, y, width); - - public z_ColorTableParameterivSGI := GetGLFuncOrNil&('glColorTableParameterivSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := ColorTableParameterivSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterivSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := ColorTableParameterivSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ColorTableParameterivSGI(target, pname, ¶ms); - - public z_ColorTableParameterfvSGI := GetGLFuncOrNil&('glColorTableParameterfvSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := ColorTableParameterfvSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfvSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := ColorTableParameterfvSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_ColorTableParameterfvSGI(target, pname, ¶ms); - - public z_GetColorTableSGI := GetGLFuncOrNil&('glGetColorTableSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableSGI(target: DummyEnum; format: DummyEnum; &type: DummyEnum; table: pointer) := z_GetColorTableSGI(target, format, &type, table); - - public z_GetColorTableParameterivSGI := GetGLFuncOrNil&('glGetColorTableParameterivSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetColorTableParameterivSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetColorTableParameterivSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetColorTableParameterivSGI(target, pname, ¶ms); - - public z_GetColorTableParameterfvSGI := GetGLFuncOrNil&('glGetColorTableParameterfvSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetColorTableParameterfvSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetColorTableParameterfvSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetColorTableParameterfvSGI(target, pname, ¶ms); - - {$endregion SGI_color_table} - - {$region SGI_fft} - - public z_PixelTransformSGI := GetGLFuncOrNil&('glPixelTransformSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformSGI(target: DummyEnum) := z_PixelTransformSGI(target); - - public z_PixelTransformParameterfSGI := GetGLFuncOrNil&('glPixelTransformParameterfSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfSGI(target: DummyEnum; pname: DummyEnum; param: single) := z_PixelTransformParameterfSGI(target, pname, param); - - public z_PixelTransformParameterfvSGI := GetGLFuncOrNil&('glPixelTransformParameterfvSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := PixelTransformParameterfvSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := PixelTransformParameterfvSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_PixelTransformParameterfvSGI(target, pname, ¶ms); - - public z_PixelTransformParameteriSGI := GetGLFuncOrNil&('glPixelTransformParameteriSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameteriSGI(target: DummyEnum; pname: DummyEnum; param: Int32) := z_PixelTransformParameteriSGI(target, pname, param); - - public z_PixelTransformParameterivSGI := GetGLFuncOrNil&('glPixelTransformParameterivSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := PixelTransformParameterivSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := PixelTransformParameterivSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_PixelTransformParameterivSGI(target, pname, ¶ms); - - public z_GetPixelTransformParameterfvSGI := GetGLFuncOrNil&('glGetPixelTransformParameterfvSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of single) := GetPixelTransformParameterfvSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: single) := GetPixelTransformParameterfvSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetPixelTransformParameterfvSGI(target, pname, ¶ms); - - public z_GetPixelTransformParameterivSGI := GetGLFuncOrNil&('glGetPixelTransformParameterivSGI'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32) := GetPixelTransformParameterivSGI(target, pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivSGI(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32) := GetPixelTransformParameterivSGI(target, pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivSGI(target: DummyEnum; pname: DummyEnum; ¶ms: pointer) := z_GetPixelTransformParameterivSGI(target, pname, ¶ms); - - {$endregion SGI_fft} + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); end; - gl_SGIS = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glES31CompatibilityARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; - - {$region SGIS_detail_texture} - - public z_DetailTexFuncSGIS := GetGLFuncOrNil&('glDetailTexFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetailTexFuncSGIS(target: DummyEnum; n: Int32; points: array of single) := DetailTexFuncSGIS(target, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetailTexFuncSGIS(target: DummyEnum; n: Int32; var points: single) := DetailTexFuncSGIS(target, n, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetailTexFuncSGIS(target: DummyEnum; n: Int32; points: pointer) := z_DetailTexFuncSGIS(target, n, points); - - public z_GetDetailTexFuncSGIS := GetGLFuncOrNil&('glGetDetailTexFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDetailTexFuncSGIS(target: DummyEnum; points: array of single) := GetDetailTexFuncSGIS(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDetailTexFuncSGIS(target: DummyEnum; var points: single) := GetDetailTexFuncSGIS(target, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDetailTexFuncSGIS(target: DummyEnum; points: pointer) := z_GetDetailTexFuncSGIS(target, points); - - {$endregion SGIS_detail_texture} - - {$region SGIS_fog_function} - - public z_FogFuncSGIS := GetGLFuncOrNil&('glFogFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogFuncSGIS(n: Int32; points: array of single) := FogFuncSGIS(n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogFuncSGIS(n: Int32; var points: single) := FogFuncSGIS(n, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogFuncSGIS(n: Int32; points: pointer) := z_FogFuncSGIS(n, points); - - public z_GetFogFuncSGIS := GetGLFuncOrNil&('glGetFogFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFogFuncSGIS(points: array of single) := GetFogFuncSGIS(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFogFuncSGIS(var points: single) := GetFogFuncSGIS(@points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFogFuncSGIS(points: pointer) := z_GetFogFuncSGIS(points); - - {$endregion SGIS_fog_function} - - {$region SGIS_pixel_texture} - - public z_PixelTexGenParameteriSGIS := GetGLFuncOrNil&('glPixelTexGenParameteriSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameteriSGIS(pname: DummyEnum; param: Int32) := z_PixelTexGenParameteriSGIS(pname, param); - - public z_PixelTexGenParameterfSGIS := GetGLFuncOrNil&('glPixelTexGenParameterfSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfSGIS(pname: DummyEnum; param: single) := z_PixelTexGenParameterfSGIS(pname, param); - - public z_GetPixelTexGenParameterivSGIS := GetGLFuncOrNil&('glGetPixelTexGenParameterivSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterivSGIS(pname: DummyEnum; ¶ms: array of Int32) := GetPixelTexGenParameterivSGIS(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterivSGIS(pname: DummyEnum; var ¶ms: Int32) := GetPixelTexGenParameterivSGIS(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterivSGIS(pname: DummyEnum; ¶ms: pointer) := z_GetPixelTexGenParameterivSGIS(pname, ¶ms); - - public z_GetPixelTexGenParameterfvSGIS := GetGLFuncOrNil&('glGetPixelTexGenParameterfvSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterfvSGIS(pname: DummyEnum; ¶ms: array of single) := GetPixelTexGenParameterfvSGIS(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterfvSGIS(pname: DummyEnum; var ¶ms: single) := GetPixelTexGenParameterfvSGIS(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterfvSGIS(pname: DummyEnum; ¶ms: pointer) := z_GetPixelTexGenParameterfvSGIS(pname, ¶ms); - - public z_PixelTexGenParameterivSGIS := GetGLFuncOrNil&('glPixelTexGenParameterivSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterivSGIS(pname: DummyEnum; ¶ms: array of Int32) := PixelTexGenParameterivSGIS(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterivSGIS(pname: DummyEnum; var ¶ms: Int32) := PixelTexGenParameterivSGIS(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterivSGIS(pname: DummyEnum; ¶ms: pointer) := z_PixelTexGenParameterivSGIS(pname, ¶ms); - - public z_PixelTexGenParameterfvSGIS := GetGLFuncOrNil&('glPixelTexGenParameterfvSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfvSGIS(pname: DummyEnum; ¶ms: array of single) := PixelTexGenParameterfvSGIS(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfvSGIS(pname: DummyEnum; var ¶ms: single) := PixelTexGenParameterfvSGIS(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfvSGIS(pname: DummyEnum; ¶ms: pointer) := z_PixelTexGenParameterfvSGIS(pname, ¶ms); - - {$endregion SGIS_pixel_texture} - - {$region SGIS_sharpen_texture} - - public z_SharpenTexFuncSGIS := GetGLFuncOrNil&('glSharpenTexFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SharpenTexFuncSGIS(target: DummyEnum; n: Int32; points: array of single) := SharpenTexFuncSGIS(target, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SharpenTexFuncSGIS(target: DummyEnum; n: Int32; var points: single) := SharpenTexFuncSGIS(target, n, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SharpenTexFuncSGIS(target: DummyEnum; n: Int32; points: pointer) := z_SharpenTexFuncSGIS(target, n, points); - - public z_GetSharpenTexFuncSGIS := GetGLFuncOrNil&('glGetSharpenTexFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSharpenTexFuncSGIS(target: DummyEnum; points: array of single) := GetSharpenTexFuncSGIS(target, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSharpenTexFuncSGIS(target: DummyEnum; var points: single) := GetSharpenTexFuncSGIS(target, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSharpenTexFuncSGIS(target: DummyEnum; points: pointer) := z_GetSharpenTexFuncSGIS(target, points); - - {$endregion SGIS_sharpen_texture} - - {$region SGIS_texture_filter4} - - public z_TexFilterFuncSGIS := GetGLFuncOrNil&('glTexFilterFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexFilterFuncSGIS(target: DummyEnum; filter: DummyEnum; n: Int32; weights: array of single) := TexFilterFuncSGIS(target, filter, n, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexFilterFuncSGIS(target: DummyEnum; filter: DummyEnum; n: Int32; var weights: single) := TexFilterFuncSGIS(target, filter, n, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexFilterFuncSGIS(target: DummyEnum; filter: DummyEnum; n: Int32; weights: pointer) := z_TexFilterFuncSGIS(target, filter, n, weights); - - public z_GetTexFilterFuncSGIS := GetGLFuncOrNil&('glGetTexFilterFuncSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexFilterFuncSGIS(target: DummyEnum; filter: DummyEnum; weights: array of single) := GetTexFilterFuncSGIS(target, filter, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(weights,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexFilterFuncSGIS(target: DummyEnum; filter: DummyEnum; var weights: single) := GetTexFilterFuncSGIS(target, filter, @weights); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexFilterFuncSGIS(target: DummyEnum; filter: DummyEnum; weights: pointer) := z_GetTexFilterFuncSGIS(target, filter, weights); - - {$endregion SGIS_texture_filter4} - - {$region SGIS_multitexture} - - public z_InterleavedTextureCoordSetsSGIS := GetGLFuncOrNil&('glInterleavedTextureCoordSetsSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InterleavedTextureCoordSetsSGIS(factor: Int32) := z_InterleavedTextureCoordSetsSGIS(factor); - - public z_SelectTextureSGIS := GetGLFuncOrNil&('glSelectTextureSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectTextureSGIS(target: DummyEnum) := z_SelectTextureSGIS(target); - - public z_SelectTextureCoordSetSGIS := GetGLFuncOrNil&('glSelectTextureCoordSetSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectTextureCoordSetSGIS(target: DummyEnum) := z_SelectTextureCoordSetSGIS(target); - - public z_SelectTextureTransformSGIS := GetGLFuncOrNil&('glSelectTextureTransformSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SelectTextureTransformSGIS(target: DummyEnum) := z_SelectTextureTransformSGIS(target); - - {$endregion SGIS_multitexture} - - {$region SGIS_shared_multisample} - - public z_MultisampleSubRectPosSGIS := GetGLFuncOrNil&('glMultisampleSubRectPosSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultisampleSubRectPosSGIS(x: Int32; y: Int32) := z_MultisampleSubRectPosSGIS(x, y); - - {$endregion SGIS_shared_multisample} - - {$region SGIS_multisample} - - public z_SampleMaskSGIS := GetGLFuncOrNil&('glSampleMaskSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaskSGIS(value: single; invert: boolean) := z_SampleMaskSGIS(value, invert); - - public z_SamplePatternSGIS := GetGLFuncOrNil&('glSamplePatternSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplePatternSGIS(pattern: DummyEnum) := z_SamplePatternSGIS(pattern); - - {$endregion SGIS_multisample} - - {$region SGIS_texture_color_mask} - - public z_TextureColorMaskSGIS := GetGLFuncOrNil&('glTextureColorMaskSGIS'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureColorMaskSGIS(red: boolean; green: boolean; blue: boolean; alpha: boolean) := z_TextureColorMaskSGIS(red, green, blue, alpha); - - {$endregion SGIS_texture_color_mask} + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); end; - gl_SGIX = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glES32CompatibilityARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PrimitiveBoundingBoxARB_adr := GetFuncAdr('glPrimitiveBoundingBoxARB'); + public z_PrimitiveBoundingBoxARB_ovr_0 := GetFuncOrNil&(z_PrimitiveBoundingBoxARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveBoundingBoxARB(minX: single; minY: single; minZ: single; minW: single; maxX: single; maxY: single; maxZ: single; maxW: single); begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + z_PrimitiveBoundingBoxARB_ovr_0(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); end; - {$region SGIX_polynomial_ffd} - - public z_DeformationMap3fSGIX := GetGLFuncOrNil&('glDeformationMap3fSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3fSGIX(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; w1: single; w2: single; wstride: Int32; worder: Int32; points: array of single) := DeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3fSGIX(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; w1: single; w2: single; wstride: Int32; worder: Int32; var points: single) := DeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3fSGIX(target: DummyEnum; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; w1: single; w2: single; wstride: Int32; worder: Int32; points: pointer) := z_DeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); - - public z_DeformationMap3dSGIX := GetGLFuncOrNil&('glDeformationMap3dSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3dSGIX(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; w1: double; w2: double; wstride: Int32; worder: Int32; points: array of double) := DeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(points,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3dSGIX(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; w1: double; w2: double; wstride: Int32; worder: Int32; var points: double) := DeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, @points); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3dSGIX(target: DummyEnum; u1: double; u2: double; ustride: Int32; uorder: Int32; v1: double; v2: double; vstride: Int32; vorder: Int32; w1: double; w2: double; wstride: Int32; worder: Int32; points: pointer) := z_DeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); - - public z_LoadIdentityDeformationMapSGIX := GetGLFuncOrNil&('glLoadIdentityDeformationMapSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadIdentityDeformationMapSGIX(mask: DummyFlags) := z_LoadIdentityDeformationMapSGIX(mask); - - public z_DeformSGIX := GetGLFuncOrNil&('glDeformSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformSGIX(mask: DummyFlags) := z_DeformSGIX(mask); - - {$endregion SGIX_polynomial_ffd} - - {$region SGIX_framezoom} - - public z_FrameZoomSGIX := GetGLFuncOrNil&('glFrameZoomSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrameZoomSGIX(factor: Int32) := z_FrameZoomSGIX(factor); - - {$endregion SGIX_framezoom} - - {$region SGIX_igloo_interface} - - public z_IglooInterfaceSGIX := GetGLFuncOrNil&('glIglooInterfaceSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IglooInterfaceSGIX(pname: DummyEnum; ¶ms: pointer) := z_IglooInterfaceSGIX(pname, ¶ms); - - {$endregion SGIX_igloo_interface} - - {$region SGIX_pixel_texture} - - public z_PixelTexGenSGIX := GetGLFuncOrNil&('glPixelTexGenSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenSGIX(mode: DummyEnum) := z_PixelTexGenSGIX(mode); - - {$endregion SGIX_pixel_texture} - - {$region SGIX_reference_plane} - - public z_ReferencePlaneSGIX := GetGLFuncOrNil&('glReferencePlaneSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReferencePlaneSGIX(equation: array of double) := ReferencePlaneSGIX(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(equation,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReferencePlaneSGIX(var equation: double) := ReferencePlaneSGIX(@equation); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReferencePlaneSGIX(equation: pointer) := z_ReferencePlaneSGIX(equation); - - {$endregion SGIX_reference_plane} - - {$region SGIX_sprite} - - public z_SpriteParameteriSGIX := GetGLFuncOrNil&('glSpriteParameteriSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameteriSGIX(pname: DummyEnum; param: Int32) := z_SpriteParameteriSGIX(pname, param); - - public z_SpriteParameterfSGIX := GetGLFuncOrNil&('glSpriteParameterfSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfSGIX(pname: DummyEnum; param: single) := z_SpriteParameterfSGIX(pname, param); - - public z_SpriteParameterivSGIX := GetGLFuncOrNil&('glSpriteParameterivSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterivSGIX(pname: DummyEnum; ¶ms: array of Int32) := SpriteParameterivSGIX(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterivSGIX(pname: DummyEnum; var ¶ms: Int32) := SpriteParameterivSGIX(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterivSGIX(pname: DummyEnum; ¶ms: pointer) := z_SpriteParameterivSGIX(pname, ¶ms); - - public z_SpriteParameterfvSGIX := GetGLFuncOrNil&('glSpriteParameterfvSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfvSGIX(pname: DummyEnum; ¶ms: array of single) := SpriteParameterfvSGIX(pname, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(¶ms,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfvSGIX(pname: DummyEnum; var ¶ms: single) := SpriteParameterfvSGIX(pname, @¶ms); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfvSGIX(pname: DummyEnum; ¶ms: pointer) := z_SpriteParameterfvSGIX(pname, ¶ms); - - {$endregion SGIX_sprite} - - {$region SGIX_tag_sample_buffer} - - public z_TagSampleBufferSGIX := GetGLFuncOrNil&('glTagSampleBufferSGIX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TagSampleBufferSGIX := z_TagSampleBufferSGIX; - - {$endregion SGIX_tag_sample_buffer} - end; - gl_SUN = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glBaseInstanceARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; - - {$region SUN_vertex} - - public z_Color4ubVertex2fSUN := GetGLFuncOrNil&('glColor4ubVertex2fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fSUN(r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single) := z_Color4ubVertex2fSUN(r, g, b, a, x, y); - - public z_Color4ubVertex2fvSUN := GetGLFuncOrNil&('glColor4ubVertex2fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(var c: Vec4ub; var v: Vec2f) := Color4ubVertex2fvSUN(@c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(c: array of Byte; v: array of single) := Color4ubVertex2fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(var c: Byte; var v: single) := Color4ubVertex2fvSUN(@c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(c: pointer; v: pointer) := z_Color4ubVertex2fvSUN(c, v); - - public z_Color4ubVertex3fSUN := GetGLFuncOrNil&('glColor4ubVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fSUN(r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single; z: single) := z_Color4ubVertex3fSUN(r, g, b, a, x, y, z); - - public z_Color4ubVertex3fvSUN := GetGLFuncOrNil&('glColor4ubVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(var c: Vec4ub; var v: Vec3f) := Color4ubVertex3fvSUN(@c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(c: array of Byte; v: array of single) := Color4ubVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(var c: Byte; var v: single) := Color4ubVertex3fvSUN(@c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(c: pointer; v: pointer) := z_Color4ubVertex3fvSUN(c, v); - - public z_Color3fVertex3fSUN := GetGLFuncOrNil&('glColor3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fSUN(r: single; g: single; b: single; x: single; y: single; z: single) := z_Color3fVertex3fSUN(r, g, b, x, y, z); - - public z_Color3fVertex3fvSUN := GetGLFuncOrNil&('glColor3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(var c: Vec3f; var v: Vec3f) := Color3fVertex3fvSUN(@c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(c: array of single; v: array of single) := Color3fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(var c: single; var v: single) := Color3fVertex3fvSUN(@c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(c: pointer; v: pointer) := z_Color3fVertex3fvSUN(c, v); - - public z_Normal3fVertex3fSUN := GetGLFuncOrNil&('glNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fSUN(nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_Normal3fVertex3fSUN(nx, ny, nz, x, y, z); - - public z_Normal3fVertex3fvSUN := GetGLFuncOrNil&('glNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(var n: Vec3f; var v: Vec3f) := Normal3fVertex3fvSUN(@n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(n: array of single; v: array of single) := Normal3fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(var n: single; var v: single) := Normal3fVertex3fvSUN(@n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(n: pointer; v: pointer) := z_Normal3fVertex3fvSUN(n, v); - - public z_Color4fNormal3fVertex3fSUN := GetGLFuncOrNil&('glColor4fNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fSUN(r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_Color4fNormal3fVertex3fSUN(r, g, b, a, nx, ny, nz, x, y, z); - - public z_Color4fNormal3fVertex3fvSUN := GetGLFuncOrNil&('glColor4fNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(var c: Vec4f; var n: Vec3f; var v: Vec3f) := Color4fNormal3fVertex3fvSUN(@c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(c: array of single; n: array of single; v: array of single) := Color4fNormal3fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(var c: single; var n: single; var v: single) := Color4fNormal3fVertex3fvSUN(@c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(c: pointer; n: pointer; v: pointer) := z_Color4fNormal3fVertex3fvSUN(c, n, v); - - public z_TexCoord2fVertex3fSUN := GetGLFuncOrNil&('glTexCoord2fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fSUN(s: single; t: single; x: single; y: single; z: single) := z_TexCoord2fVertex3fSUN(s, t, x, y, z); - - public z_TexCoord2fVertex3fvSUN := GetGLFuncOrNil&('glTexCoord2fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(var tc: Vec2f; var v: Vec3f) := TexCoord2fVertex3fvSUN(@tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(tc: array of single; v: array of single) := TexCoord2fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(var tc: single; var v: single) := TexCoord2fVertex3fvSUN(@tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(tc: pointer; v: pointer) := z_TexCoord2fVertex3fvSUN(tc, v); - - public z_TexCoord4fVertex4fSUN := GetGLFuncOrNil&('glTexCoord4fVertex4fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fSUN(s: single; t: single; p: single; q: single; x: single; y: single; z: single; w: single) := z_TexCoord4fVertex4fSUN(s, t, p, q, x, y, z, w); - - public z_TexCoord4fVertex4fvSUN := GetGLFuncOrNil&('glTexCoord4fVertex4fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(var tc: Vec4f; var v: Vec4f) := TexCoord4fVertex4fvSUN(@tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(tc: array of single; v: array of single) := TexCoord4fVertex4fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(var tc: single; var v: single) := TexCoord4fVertex4fvSUN(@tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(tc: pointer; v: pointer) := z_TexCoord4fVertex4fvSUN(tc, v); - - public z_TexCoord2fColor4ubVertex3fSUN := GetGLFuncOrNil&('glTexCoord2fColor4ubVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fSUN(s: single; t: single; r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single; z: single) := z_TexCoord2fColor4ubVertex3fSUN(s, t, r, g, b, a, x, y, z); - - public z_TexCoord2fColor4ubVertex3fvSUN := GetGLFuncOrNil&('glTexCoord2fColor4ubVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(var tc: Vec2f; var c: Vec4ub; var v: Vec3f) := TexCoord2fColor4ubVertex3fvSUN(@tc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(tc: array of single; c: array of Byte; v: array of single) := TexCoord2fColor4ubVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(var tc: single; var c: Byte; var v: single) := TexCoord2fColor4ubVertex3fvSUN(@tc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(tc: pointer; c: pointer; v: pointer) := z_TexCoord2fColor4ubVertex3fvSUN(tc, c, v); - - public z_TexCoord2fColor3fVertex3fSUN := GetGLFuncOrNil&('glTexCoord2fColor3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fSUN(s: single; t: single; r: single; g: single; b: single; x: single; y: single; z: single) := z_TexCoord2fColor3fVertex3fSUN(s, t, r, g, b, x, y, z); - - public z_TexCoord2fColor3fVertex3fvSUN := GetGLFuncOrNil&('glTexCoord2fColor3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(var tc: Vec2f; var c: Vec3f; var v: Vec3f) := TexCoord2fColor3fVertex3fvSUN(@tc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(tc: array of single; c: array of single; v: array of single) := TexCoord2fColor3fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(var tc: single; var c: single; var v: single) := TexCoord2fColor3fVertex3fvSUN(@tc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(tc: pointer; c: pointer; v: pointer) := z_TexCoord2fColor3fVertex3fvSUN(tc, c, v); - - public z_TexCoord2fNormal3fVertex3fSUN := GetGLFuncOrNil&('glTexCoord2fNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fSUN(s: single; t: single; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_TexCoord2fNormal3fVertex3fSUN(s, t, nx, ny, nz, x, y, z); - - public z_TexCoord2fNormal3fVertex3fvSUN := GetGLFuncOrNil&('glTexCoord2fNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(var tc: Vec2f; var n: Vec3f; var v: Vec3f) := TexCoord2fNormal3fVertex3fvSUN(@tc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(tc: array of single; n: array of single; v: array of single) := TexCoord2fNormal3fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(var tc: single; var n: single; var v: single) := TexCoord2fNormal3fVertex3fvSUN(@tc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(tc: pointer; n: pointer; v: pointer) := z_TexCoord2fNormal3fVertex3fvSUN(tc, n, v); - - public z_TexCoord2fColor4fNormal3fVertex3fSUN := GetGLFuncOrNil&('glTexCoord2fColor4fNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fSUN(s: single; t: single; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_TexCoord2fColor4fNormal3fVertex3fSUN(s, t, r, g, b, a, nx, ny, nz, x, y, z); - - public z_TexCoord2fColor4fNormal3fVertex3fvSUN := GetGLFuncOrNil&('glTexCoord2fColor4fNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(var tc: Vec2f; var c: Vec4f; var n: Vec3f; var v: Vec3f) := TexCoord2fColor4fNormal3fVertex3fvSUN(@tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(tc: array of single; c: array of single; n: array of single; v: array of single) := TexCoord2fColor4fNormal3fVertex3fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(var tc: single; var c: single; var n: single; var v: single) := TexCoord2fColor4fNormal3fVertex3fvSUN(@tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(tc: pointer; c: pointer; n: pointer; v: pointer) := z_TexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, v); - - public z_TexCoord4fColor4fNormal3fVertex4fSUN := GetGLFuncOrNil&('glTexCoord4fColor4fNormal3fVertex4fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fSUN(s: single; t: single; p: single; q: single; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single; w: single) := z_TexCoord4fColor4fNormal3fVertex4fSUN(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w); - - public z_TexCoord4fColor4fNormal3fVertex4fvSUN := GetGLFuncOrNil&('glTexCoord4fColor4fNormal3fVertex4fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(var tc: Vec4f; var c: Vec4f; var n: Vec3f; var v: Vec4f) := TexCoord4fColor4fNormal3fVertex4fvSUN(@tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(tc: array of single; c: array of single; n: array of single; v: array of single) := TexCoord4fColor4fNormal3fVertex4fvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(var tc: single; var c: single; var n: single; var v: single) := TexCoord4fColor4fNormal3fVertex4fvSUN(@tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(tc: pointer; c: pointer; n: pointer; v: pointer) := z_TexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, v); - - public z_ReplacementCodeuiVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fSUN(rc: UInt32; x: single; y: single; z: single) := z_ReplacementCodeuiVertex3fSUN(rc, x, y, z); - - public z_ReplacementCodeuiVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(var rc: UInt32; var v: Vec3f) := ReplacementCodeuiVertex3fvSUN(@rc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(var rc: UInt32; v: array of single) := ReplacementCodeuiVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(var rc: UInt32; var v: single) := ReplacementCodeuiVertex3fvSUN(@rc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(rc: pointer; var v: single) := ReplacementCodeuiVertex3fvSUN(rc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(rc: pointer; v: pointer) := z_ReplacementCodeuiVertex3fvSUN(rc, v); - - public z_ReplacementCodeuiColor4ubVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiColor4ubVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fSUN(rc: UInt32; r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single; z: single) := z_ReplacementCodeuiColor4ubVertex3fSUN(rc, r, g, b, a, x, y, z); - - public z_ReplacementCodeuiColor4ubVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiColor4ubVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(var rc: UInt32; var c: Vec4ub; var v: Vec3f) := ReplacementCodeuiColor4ubVertex3fvSUN(@rc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(var rc: UInt32; c: array of Byte; v: array of single) := ReplacementCodeuiColor4ubVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(var rc: UInt32; var c: Byte; var v: single) := ReplacementCodeuiColor4ubVertex3fvSUN(@rc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(rc: pointer; var c: Byte; var v: single) := ReplacementCodeuiColor4ubVertex3fvSUN(rc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(rc: pointer; c: pointer; v: pointer) := z_ReplacementCodeuiColor4ubVertex3fvSUN(rc, c, v); - - public z_ReplacementCodeuiColor3fVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiColor3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fSUN(rc: UInt32; r: single; g: single; b: single; x: single; y: single; z: single) := z_ReplacementCodeuiColor3fVertex3fSUN(rc, r, g, b, x, y, z); - - public z_ReplacementCodeuiColor3fVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiColor3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(var rc: UInt32; var c: Vec3f; var v: Vec3f) := ReplacementCodeuiColor3fVertex3fvSUN(@rc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(var rc: UInt32; c: array of single; v: array of single) := ReplacementCodeuiColor3fVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(var rc: UInt32; var c: single; var v: single) := ReplacementCodeuiColor3fVertex3fvSUN(@rc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(rc: pointer; var c: single; var v: single) := ReplacementCodeuiColor3fVertex3fvSUN(rc, @c, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(rc: pointer; c: pointer; v: pointer) := z_ReplacementCodeuiColor3fVertex3fvSUN(rc, c, v); - - public z_ReplacementCodeuiNormal3fVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fSUN(rc: UInt32; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_ReplacementCodeuiNormal3fVertex3fSUN(rc, nx, ny, nz, x, y, z); - - public z_ReplacementCodeuiNormal3fVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(var rc: UInt32; var n: Vec3f; var v: Vec3f) := ReplacementCodeuiNormal3fVertex3fvSUN(@rc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(var rc: UInt32; n: array of single; v: array of single) := ReplacementCodeuiNormal3fVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(var rc: UInt32; var n: single; var v: single) := ReplacementCodeuiNormal3fVertex3fvSUN(@rc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(rc: pointer; var n: single; var v: single) := ReplacementCodeuiNormal3fVertex3fvSUN(rc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(rc: pointer; n: pointer; v: pointer) := z_ReplacementCodeuiNormal3fVertex3fvSUN(rc, n, v); - - public z_ReplacementCodeuiColor4fNormal3fVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiColor4fNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fSUN(rc: UInt32; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_ReplacementCodeuiColor4fNormal3fVertex3fSUN(rc, r, g, b, a, nx, ny, nz, x, y, z); - - public z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiColor4fNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(var rc: UInt32; var c: Vec4f; var n: Vec3f; var v: Vec3f) := ReplacementCodeuiColor4fNormal3fVertex3fvSUN(@rc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(var rc: UInt32; c: array of single; n: array of single; v: array of single) := ReplacementCodeuiColor4fNormal3fVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(var rc: UInt32; var c: single; var n: single; var v: single) := ReplacementCodeuiColor4fNormal3fVertex3fvSUN(@rc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc: pointer; var c: single; var n: single; var v: single) := ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc: pointer; c: pointer; n: pointer; v: pointer) := z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, n, v); - - public z_ReplacementCodeuiTexCoord2fVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiTexCoord2fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fSUN(rc: UInt32; s: single; t: single; x: single; y: single; z: single) := z_ReplacementCodeuiTexCoord2fVertex3fSUN(rc, s, t, x, y, z); - - public z_ReplacementCodeuiTexCoord2fVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiTexCoord2fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(var rc: UInt32; var tc: Vec2f; var v: Vec3f) := ReplacementCodeuiTexCoord2fVertex3fvSUN(@rc, @tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(var rc: UInt32; tc: array of single; v: array of single) := ReplacementCodeuiTexCoord2fVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(var rc: UInt32; var tc: single; var v: single) := ReplacementCodeuiTexCoord2fVertex3fvSUN(@rc, @tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(rc: pointer; var tc: single; var v: single) := ReplacementCodeuiTexCoord2fVertex3fvSUN(rc, @tc, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(rc: pointer; tc: pointer; v: pointer) := z_ReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, v); - - public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc: UInt32; s: single; t: single; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc, s, t, nx, ny, nz, x, y, z); - - public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(var rc: UInt32; var tc: Vec2f; var n: Vec3f; var v: Vec3f) := ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(@rc, @tc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(var rc: UInt32; tc: array of single; n: array of single; v: array of single) := ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(var rc: UInt32; var tc: single; var n: single; var v: single) := ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(@rc, @tc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc: pointer; var tc: single; var n: single; var v: single) := ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, @tc, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc: pointer; tc: pointer; n: pointer; v: pointer) := z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, v); - - public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN := GetGLFuncOrNil&('glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc: UInt32; s: single; t: single; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single) := z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z); - - public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN := GetGLFuncOrNil&('glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(var rc: UInt32; var tc: Vec2f; var c: Vec4f; var n: Vec3f; var v: Vec3f) := ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(@rc, @tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(var rc: UInt32; tc: array of single; c: array of single; n: array of single; v: array of single) := ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(@rc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(tc,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(c,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(n,0)), pointer(Marshal.UnsafeAddrOfPinnedArrayElement(v,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(var rc: UInt32; var tc: single; var c: single; var n: single; var v: single) := ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(@rc, @tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc: pointer; var tc: single; var c: single; var n: single; var v: single) := ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, @tc, @c, @n, @v); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc: pointer; tc: pointer; c: pointer; n: pointer; v: pointer) := z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, v); - - {$endregion SUN_vertex} - - {$region SUN_mesh_array} - - public z_DrawMeshArraysSUN := GetGLFuncOrNil&('glDrawMeshArraysSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawMeshArraysSUN(mode: DummyEnum; first: Int32; count: Int32; width: Int32) := z_DrawMeshArraysSUN(mode, first, count, width); - - {$endregion SUN_mesh_array} - - {$region SUN_global_alpha} - - public z_GlobalAlphaFactorbSUN := GetGLFuncOrNil&('glGlobalAlphaFactorbSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorbSUN(factor: SByte) := z_GlobalAlphaFactorbSUN(factor); - - public z_GlobalAlphaFactorsSUN := GetGLFuncOrNil&('glGlobalAlphaFactorsSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorsSUN(factor: Int16) := z_GlobalAlphaFactorsSUN(factor); - - public z_GlobalAlphaFactoriSUN := GetGLFuncOrNil&('glGlobalAlphaFactoriSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactoriSUN(factor: Int32) := z_GlobalAlphaFactoriSUN(factor); - - public z_GlobalAlphaFactorfSUN := GetGLFuncOrNil&('glGlobalAlphaFactorfSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorfSUN(factor: single) := z_GlobalAlphaFactorfSUN(factor); - - public z_GlobalAlphaFactordSUN := GetGLFuncOrNil&('glGlobalAlphaFactordSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactordSUN(factor: double) := z_GlobalAlphaFactordSUN(factor); - - public z_GlobalAlphaFactorubSUN := GetGLFuncOrNil&('glGlobalAlphaFactorubSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorubSUN(factor: Byte) := z_GlobalAlphaFactorubSUN(factor); - - public z_GlobalAlphaFactorusSUN := GetGLFuncOrNil&('glGlobalAlphaFactorusSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorusSUN(factor: UInt16) := z_GlobalAlphaFactorusSUN(factor); - - public z_GlobalAlphaFactoruiSUN := GetGLFuncOrNil&('glGlobalAlphaFactoruiSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactoruiSUN(factor: UInt32) := z_GlobalAlphaFactoruiSUN(factor); - - {$endregion SUN_global_alpha} - - {$region SUN_triangle_list} - - public z_ReplacementCodeuiSUN := GetGLFuncOrNil&('glReplacementCodeuiSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiSUN(code: UInt32) := z_ReplacementCodeuiSUN(code); - - public z_ReplacementCodeusSUN := GetGLFuncOrNil&('glReplacementCodeusSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusSUN(code: UInt16) := z_ReplacementCodeusSUN(code); - - public z_ReplacementCodeubSUN := GetGLFuncOrNil&('glReplacementCodeubSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubSUN(code: Byte) := z_ReplacementCodeubSUN(code); - - public z_ReplacementCodeuivSUN := GetGLFuncOrNil&('glReplacementCodeuivSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuivSUN(code: array of UInt32) := ReplacementCodeuivSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(code,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuivSUN(var code: UInt32) := ReplacementCodeuivSUN(@code); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuivSUN(code: pointer) := z_ReplacementCodeuivSUN(code); - - public z_ReplacementCodeusvSUN := GetGLFuncOrNil&('glReplacementCodeusvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusvSUN(code: array of UInt16) := ReplacementCodeusvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(code,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusvSUN(var code: UInt16) := ReplacementCodeusvSUN(@code); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusvSUN(code: pointer) := z_ReplacementCodeusvSUN(code); - - public z_ReplacementCodeubvSUN := GetGLFuncOrNil&('glReplacementCodeubvSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubvSUN(code: array of Byte) := ReplacementCodeubvSUN(pointer(Marshal.UnsafeAddrOfPinnedArrayElement(code,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubvSUN(var code: Byte) := ReplacementCodeubvSUN(@code); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubvSUN(code: pointer) := z_ReplacementCodeubvSUN(code); - - public z_ReplacementCodePointerSUN := GetGLFuncOrNil&('glReplacementCodePointerSUN'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodePointerSUN(&type: DummyEnum; stride: Int32; _pointer: array of IntPtr) := ReplacementCodePointerSUN(&type, stride, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(_pointer,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodePointerSUN(&type: DummyEnum; stride: Int32; var _pointer: IntPtr) := ReplacementCodePointerSUN(&type, stride, @_pointer); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodePointerSUN(&type: DummyEnum; stride: Int32; _pointer: pointer) := z_ReplacementCodePointerSUN(&type, stride, _pointer); - - {$endregion SUN_triangle_list} + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); end; - gl_SUNX = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glBindlessTextureARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetTextureHandleARB_adr := GetFuncAdr('glGetTextureHandleARB'); + public z_GetTextureHandleARB_ovr_0 := GetFuncOrNil&(z_GetTextureHandleARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureHandleARB(texture: UInt32): UInt64; begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); + Result := z_GetTextureHandleARB_ovr_0(texture); end; - {$region SUNX_constant_data} + public z_GetTextureSamplerHandleARB_adr := GetFuncAdr('glGetTextureSamplerHandleARB'); + public z_GetTextureSamplerHandleARB_ovr_0 := GetFuncOrNil&(z_GetTextureSamplerHandleARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureSamplerHandleARB(texture: UInt32; sampler: UInt32): UInt64; + begin + Result := z_GetTextureSamplerHandleARB_ovr_0(texture, sampler); + end; - public z_FinishTextureSUNX := GetGLFuncOrNil&('glFinishTextureSUNX'); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishTextureSUNX := z_FinishTextureSUNX; + public z_MakeTextureHandleResidentARB_adr := GetFuncAdr('glMakeTextureHandleResidentARB'); + public z_MakeTextureHandleResidentARB_ovr_0 := GetFuncOrNil&(z_MakeTextureHandleResidentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleResidentARB(handle: UInt64); + begin + z_MakeTextureHandleResidentARB_ovr_0(handle); + end; - {$endregion SUNX_constant_data} + public z_MakeTextureHandleNonResidentARB_adr := GetFuncAdr('glMakeTextureHandleNonResidentARB'); + public z_MakeTextureHandleNonResidentARB_ovr_0 := GetFuncOrNil&(z_MakeTextureHandleNonResidentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleNonResidentARB(handle: UInt64); + begin + z_MakeTextureHandleNonResidentARB_ovr_0(handle); + end; + + public z_GetImageHandleARB_adr := GetFuncAdr('glGetImageHandleARB'); + public z_GetImageHandleARB_ovr_0 := GetFuncOrNil&(z_GetImageHandleARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetImageHandleARB(texture: UInt32; level: Int32; layered: boolean; layer: Int32; format: PixelFormat): UInt64; + begin + Result := z_GetImageHandleARB_ovr_0(texture, level, layered, layer, format); + end; + + public z_MakeImageHandleResidentARB_adr := GetFuncAdr('glMakeImageHandleResidentARB'); + public z_MakeImageHandleResidentARB_ovr_0 := GetFuncOrNil&(z_MakeImageHandleResidentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleResidentARB(handle: UInt64; access: DummyEnum); + begin + z_MakeImageHandleResidentARB_ovr_0(handle, access); + end; + + public z_MakeImageHandleNonResidentARB_adr := GetFuncAdr('glMakeImageHandleNonResidentARB'); + public z_MakeImageHandleNonResidentARB_ovr_0 := GetFuncOrNil&(z_MakeImageHandleNonResidentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleNonResidentARB(handle: UInt64); + begin + z_MakeImageHandleNonResidentARB_ovr_0(handle); + end; + + public z_UniformHandleui64ARB_adr := GetFuncAdr('glUniformHandleui64ARB'); + public z_UniformHandleui64ARB_ovr_0 := GetFuncOrNil&(z_UniformHandleui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64ARB(location: Int32; value: UInt64); + begin + z_UniformHandleui64ARB_ovr_0(location, value); + end; + + public z_UniformHandleui64vARB_adr := GetFuncAdr('glUniformHandleui64vARB'); + public z_UniformHandleui64vARB_ovr_0 := GetFuncOrNil&(z_UniformHandleui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vARB(location: Int32; count: Int32; value: array of UInt64); + begin + z_UniformHandleui64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vARB(location: Int32; count: Int32; var value: UInt64); + begin + z_UniformHandleui64vARB_ovr_0(location, count, value); + end; + public z_UniformHandleui64vARB_ovr_2 := GetFuncOrNil&(z_UniformHandleui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_UniformHandleui64vARB_ovr_2(location, count, value); + end; + + public z_ProgramUniformHandleui64ARB_adr := GetFuncAdr('glProgramUniformHandleui64ARB'); + public z_ProgramUniformHandleui64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniformHandleui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64ARB(&program: UInt32; location: Int32; value: UInt64); + begin + z_ProgramUniformHandleui64ARB_ovr_0(&program, location, value); + end; + + public z_ProgramUniformHandleui64vARB_adr := GetFuncAdr('glProgramUniformHandleui64vARB'); + public z_ProgramUniformHandleui64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniformHandleui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vARB(&program: UInt32; location: Int32; count: Int32; values: array of UInt64); + begin + z_ProgramUniformHandleui64vARB_ovr_0(&program, location, count, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vARB(&program: UInt32; location: Int32; count: Int32; var values: UInt64); + begin + z_ProgramUniformHandleui64vARB_ovr_0(&program, location, count, values); + end; + public z_ProgramUniformHandleui64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniformHandleui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vARB(&program: UInt32; location: Int32; count: Int32; values: IntPtr); + begin + z_ProgramUniformHandleui64vARB_ovr_2(&program, location, count, values); + end; + + public z_IsTextureHandleResidentARB_adr := GetFuncAdr('glIsTextureHandleResidentARB'); + public z_IsTextureHandleResidentARB_ovr_0 := GetFuncOrNil&(z_IsTextureHandleResidentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTextureHandleResidentARB(handle: UInt64): boolean; + begin + Result := z_IsTextureHandleResidentARB_ovr_0(handle); + end; + + public z_IsImageHandleResidentARB_adr := GetFuncAdr('glIsImageHandleResidentARB'); + public z_IsImageHandleResidentARB_ovr_0 := GetFuncOrNil&(z_IsImageHandleResidentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsImageHandleResidentARB(handle: UInt64): boolean; + begin + Result := z_IsImageHandleResidentARB_ovr_0(handle); + end; + + public z_VertexAttribL1ui64ARB_adr := GetFuncAdr('glVertexAttribL1ui64ARB'); + public z_VertexAttribL1ui64ARB_ovr_0 := GetFuncOrNil&(z_VertexAttribL1ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64ARB(index: UInt32; x: UInt64); + begin + z_VertexAttribL1ui64ARB_ovr_0(index, x); + end; + + public z_VertexAttribL1ui64vARB_adr := GetFuncAdr('glVertexAttribL1ui64vARB'); + public z_VertexAttribL1ui64vARB_ovr_0 := GetFuncOrNil&(z_VertexAttribL1ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vARB(index: UInt32; v: array of UInt64); + begin + z_VertexAttribL1ui64vARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vARB(index: UInt32; var v: UInt64); + begin + z_VertexAttribL1ui64vARB_ovr_0(index, v); + end; + public z_VertexAttribL1ui64vARB_ovr_2 := GetFuncOrNil&(z_VertexAttribL1ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vARB(index: UInt32; v: IntPtr); + begin + z_VertexAttribL1ui64vARB_ovr_2(index, v); + end; + + public z_GetVertexAttribLui64vARB_adr := GetFuncAdr('glGetVertexAttribLui64vARB'); + public z_GetVertexAttribLui64vARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribLui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vARB(index: UInt32; pname: VertexAttribEnum; ¶ms: array of UInt64); + begin + z_GetVertexAttribLui64vARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vARB(index: UInt32; pname: VertexAttribEnum; var ¶ms: UInt64); + begin + z_GetVertexAttribLui64vARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribLui64vARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribLui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vARB(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribLui64vARB_ovr_2(index, pname, ¶ms); + end; end; - gdi = sealed class - private static function _GetGLFuncAdr(lpszProc: IntPtr): IntPtr; + glBlendFuncExtendedARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; external 'opengl32.dll' name 'wglGetProcAddress'; - public static GetGLFuncAdr := _GetGLFuncAdr; - public static function GetGLFuncOrNil(fn: string): T; - begin - var str_ptr := Marshal.StringToHGlobalAnsi(fn); - var ptr := GetGLFuncAdr(str_ptr); - Marshal.FreeHGlobal(str_ptr); - Result := ptr=IntPtr.Zero ? default(T) : Marshal.GetDelegateForFunctionPointer&(ptr); - end; - - private static function _ChoosePixelFormat(hDc: GDI_DC; pPfd: pointer): Int32; external 'gdi32.dll' name 'ChoosePixelFormat'; - public static z_ChoosePixelFormat := _ChoosePixelFormat; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormat(hDc: GDI_DC; pPfd: array of GDI_PixelFormatDescriptor): Int32 := ChoosePixelFormat(hDc, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(pPfd,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormat(hDc: GDI_DC; var pPfd: GDI_PixelFormatDescriptor): Int32 := ChoosePixelFormat(hDc, @pPfd); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormat(hDc: GDI_DC; pPfd: pointer): Int32 := z_ChoosePixelFormat(hDc, pPfd); - - private static function _DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; ppfd: pointer): Int32; external 'gdi32.dll' name 'DescribePixelFormat'; - public static z_DescribePixelFormat := _DescribePixelFormat; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; ppfd: array of GDI_PixelFormatDescriptor): Int32 := DescribePixelFormat(hdc, ipfd, cjpfd, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ppfd,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; var ppfd: GDI_PixelFormatDescriptor): Int32 := DescribePixelFormat(hdc, ipfd, cjpfd, @ppfd); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DescribePixelFormat(hdc: GDI_DC; ipfd: Int32; cjpfd: UInt32; ppfd: pointer): Int32 := z_DescribePixelFormat(hdc, ipfd, cjpfd, ppfd); - - private static function _GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; ppfd: pointer): UInt32; external 'gdi32.dll' name 'GetEnhMetaFilePixelFormat'; - public static z_GetEnhMetaFilePixelFormat := _GetEnhMetaFilePixelFormat; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; ppfd: array of GDI_PixelFormatDescriptor): UInt32 := GetEnhMetaFilePixelFormat(hemf, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ppfd,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; var ppfd: GDI_PixelFormatDescriptor): UInt32 := GetEnhMetaFilePixelFormat(hemf, @ppfd); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetEnhMetaFilePixelFormat(hemf: GDI_HENHMetafile; ppfd: pointer): UInt32 := z_GetEnhMetaFilePixelFormat(hemf, ppfd); - - private static function _GetPixelFormat(hdc: GDI_DC): Int32; external 'gdi32.dll' name 'GetPixelFormat'; - public static z_GetPixelFormat := _GetPixelFormat; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormat(hdc: GDI_DC): Int32 := z_GetPixelFormat(hdc); - - private static function _SetPixelFormat(hdc: GDI_DC; ipfd: Int32; ppfd: pointer): UInt32; external 'gdi32.dll' name 'SetPixelFormat'; - public static z_SetPixelFormat := _SetPixelFormat; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPixelFormat(hdc: GDI_DC; ipfd: Int32; ppfd: array of GDI_PixelFormatDescriptor): UInt32 := SetPixelFormat(hdc, ipfd, pointer(Marshal.UnsafeAddrOfPinnedArrayElement(ppfd,0))); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPixelFormat(hdc: GDI_DC; ipfd: Int32; var ppfd: GDI_PixelFormatDescriptor): UInt32 := SetPixelFormat(hdc, ipfd, @ppfd); - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPixelFormat(hdc: GDI_DC; ipfd: Int32; ppfd: pointer): UInt32 := z_SetPixelFormat(hdc, ipfd, ppfd); - - private static function _SwapBuffers(hdc: GDI_DC): UInt32; external 'gdi32.dll' name 'SwapBuffers'; - public static z_SwapBuffers := _SwapBuffers; - public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SwapBuffers(hdc: GDI_DC): UInt32 := z_SwapBuffers(hdc); + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); end; + glBufferStorageARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glClEventARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CreateSyncFromCLeventARB_adr := GetFuncAdr('glCreateSyncFromCLeventARB'); + public z_CreateSyncFromCLeventARB_ovr_0 := GetFuncOrNil&(z_CreateSyncFromCLeventARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: array of cl_context; &event: array of cl_event; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_0(context[0], &event[0], flags); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: array of cl_context; var &event: cl_event; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_0(context[0], &event, flags); + end; + public z_CreateSyncFromCLeventARB_ovr_2 := GetFuncOrNil&(z_CreateSyncFromCLeventARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: array of cl_context; &event: IntPtr; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_2(context[0], &event, flags); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(var context: cl_context; &event: array of cl_event; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_0(context, &event[0], flags); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(var context: cl_context; var &event: cl_event; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_0(context, &event, flags); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(var context: cl_context; &event: IntPtr; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_2(context, &event, flags); + end; + public z_CreateSyncFromCLeventARB_ovr_6 := GetFuncOrNil&(z_CreateSyncFromCLeventARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: IntPtr; &event: array of cl_event; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_6(context, &event[0], flags); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: IntPtr; var &event: cl_event; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_6(context, &event, flags); + end; + public z_CreateSyncFromCLeventARB_ovr_8 := GetFuncOrNil&(z_CreateSyncFromCLeventARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateSyncFromCLeventARB(context: IntPtr; &event: IntPtr; flags: DummyFlags): GLsync; + begin + Result := z_CreateSyncFromCLeventARB_ovr_8(context, &event, flags); + end; + + end; + + glClearBufferObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glClearTextureARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glClipControlARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glColorBufferFloatARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ClampColorARB_adr := GetFuncAdr('glClampColorARB'); + public z_ClampColorARB_ovr_0 := GetFuncOrNil&(z_ClampColorARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClampColorARB(target: ClampColorTargetARB; clamp: ClampColorModeARB); + begin + z_ClampColorARB_ovr_0(target, clamp); + end; + + end; + + glComputeShaderARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glComputeVariableGroupSizeARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DispatchComputeGroupSizeARB_adr := GetFuncAdr('glDispatchComputeGroupSizeARB'); + public z_DispatchComputeGroupSizeARB_ovr_0 := GetFuncOrNil&(z_DispatchComputeGroupSizeARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DispatchComputeGroupSizeARB(num_groups_x: UInt32; num_groups_y: UInt32; num_groups_z: UInt32; group_size_x: UInt32; group_size_y: UInt32; group_size_z: UInt32); + begin + z_DispatchComputeGroupSizeARB_ovr_0(num_groups_x, num_groups_y, num_groups_z, group_size_x, group_size_y, group_size_z); + end; + + end; + + glCopyBufferARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glCopyImageARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glDebugOutputARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DebugMessageControlARB_adr := GetFuncAdr('glDebugMessageControlARB'); + public z_DebugMessageControlARB_ovr_0 := GetFuncOrNil&(z_DebugMessageControlARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlARB(source: DebugSource; &type: DebugType; severity: DebugSeverity; count: Int32; ids: array of UInt32; enabled: boolean); + begin + z_DebugMessageControlARB_ovr_0(source, &type, severity, count, ids[0], enabled); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlARB(source: DebugSource; &type: DebugType; severity: DebugSeverity; count: Int32; var ids: UInt32; enabled: boolean); + begin + z_DebugMessageControlARB_ovr_0(source, &type, severity, count, ids, enabled); + end; + public z_DebugMessageControlARB_ovr_2 := GetFuncOrNil&(z_DebugMessageControlARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageControlARB(source: DebugSource; &type: DebugType; severity: DebugSeverity; count: Int32; ids: IntPtr; enabled: boolean); + begin + z_DebugMessageControlARB_ovr_2(source, &type, severity, count, ids, enabled); + end; + + public z_DebugMessageInsertARB_adr := GetFuncAdr('glDebugMessageInsertARB'); + public z_DebugMessageInsertARB_ovr_0 := GetFuncOrNil&(z_DebugMessageInsertARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertARB(source: DebugSource; &type: DebugType; id: UInt32; severity: DebugSeverity; length: Int32; buf: string); + begin + var par_6_str_ptr := Marshal.StringToHGlobalAnsi(buf); + z_DebugMessageInsertARB_ovr_0(source, &type, id, severity, length, par_6_str_ptr); + Marshal.FreeHGlobal(par_6_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageInsertARB(source: DebugSource; &type: DebugType; id: UInt32; severity: DebugSeverity; length: Int32; buf: IntPtr); + begin + z_DebugMessageInsertARB_ovr_0(source, &type, id, severity, length, buf); + end; + + public z_DebugMessageCallbackARB_adr := GetFuncAdr('glDebugMessageCallbackARB'); + public z_DebugMessageCallbackARB_ovr_0 := GetFuncOrNil&(z_DebugMessageCallbackARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DebugMessageCallbackARB(callback: GLDEBUGPROC; userParam: IntPtr); + begin + z_DebugMessageCallbackARB_ovr_0(callback, userParam); + end; + + public z_GetDebugMessageLogARB_adr := GetFuncAdr('glGetDebugMessageLogARB'); + public z_GetDebugMessageLogARB_ovr_0 := GetFuncOrNil&(z_GetDebugMessageLogARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; var sources: DebugSource; var types: DebugType; var ids: UInt32; var severities: DebugSeverity; var lengths: Int32; messageLog: IntPtr): UInt32; + begin + Result := z_GetDebugMessageLogARB_ovr_0(count, bufSize, sources, types, ids, severities, lengths, messageLog); + end; + public z_GetDebugMessageLogARB_ovr_1 := GetFuncOrNil&(z_GetDebugMessageLogARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetDebugMessageLogARB(count: UInt32; bufSize: Int32; sources: IntPtr; types: IntPtr; ids: IntPtr; severities: IntPtr; lengths: IntPtr; messageLog: IntPtr): UInt32; + begin + Result := z_GetDebugMessageLogARB_ovr_1(count, bufSize, sources, types, ids, severities, lengths, messageLog); + end; + + end; + + glDirectStateAccessARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glDrawBuffersARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawBuffersARB_adr := GetFuncAdr('glDrawBuffersARB'); + public z_DrawBuffersARB_ovr_0 := GetFuncOrNil&(z_DrawBuffersARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersARB(n: Int32; bufs: array of DrawBufferMode); + begin + z_DrawBuffersARB_ovr_0(n, bufs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersARB(n: Int32; var bufs: DrawBufferMode); + begin + z_DrawBuffersARB_ovr_0(n, bufs); + end; + public z_DrawBuffersARB_ovr_2 := GetFuncOrNil&(z_DrawBuffersARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersARB(n: Int32; bufs: IntPtr); + begin + z_DrawBuffersARB_ovr_2(n, bufs); + end; + + end; + + glDrawBuffersBlendARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendEquationiARB_adr := GetFuncAdr('glBlendEquationiARB'); + public z_BlendEquationiARB_ovr_0 := GetFuncOrNil&(z_BlendEquationiARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationiARB(buf: UInt32; mode: BlendEquationModeEXT); + begin + z_BlendEquationiARB_ovr_0(buf, mode); + end; + + public z_BlendEquationSeparateiARB_adr := GetFuncAdr('glBlendEquationSeparateiARB'); + public z_BlendEquationSeparateiARB_ovr_0 := GetFuncOrNil&(z_BlendEquationSeparateiARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateiARB(buf: UInt32; modeRGB: BlendEquationModeEXT; modeAlpha: BlendEquationModeEXT); + begin + z_BlendEquationSeparateiARB_ovr_0(buf, modeRGB, modeAlpha); + end; + + public z_BlendFunciARB_adr := GetFuncAdr('glBlendFunciARB'); + public z_BlendFunciARB_ovr_0 := GetFuncOrNil&(z_BlendFunciARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFunciARB(buf: UInt32; src: BlendingFactor; dst: BlendingFactor); + begin + z_BlendFunciARB_ovr_0(buf, src, dst); + end; + + public z_BlendFuncSeparateiARB_adr := GetFuncAdr('glBlendFuncSeparateiARB'); + public z_BlendFuncSeparateiARB_ovr_0 := GetFuncOrNil&(z_BlendFuncSeparateiARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateiARB(buf: UInt32; srcRGB: BlendingFactor; dstRGB: BlendingFactor; srcAlpha: BlendingFactor; dstAlpha: BlendingFactor); + begin + z_BlendFuncSeparateiARB_ovr_0(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + end; + + end; + + glDrawElementsBaseVertexARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glDrawIndirectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glDrawInstancedARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawArraysInstancedARB_adr := GetFuncAdr('glDrawArraysInstancedARB'); + public z_DrawArraysInstancedARB_ovr_0 := GetFuncOrNil&(z_DrawArraysInstancedARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedARB(mode: PrimitiveType; first: Int32; count: Int32; primcount: Int32); + begin + z_DrawArraysInstancedARB_ovr_0(mode, first, count, primcount); + end; + + public z_DrawElementsInstancedARB_adr := GetFuncAdr('glDrawElementsInstancedARB'); + public z_DrawElementsInstancedARB_ovr_0 := GetFuncOrNil&(z_DrawElementsInstancedARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedARB(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr; primcount: Int32); + begin + z_DrawElementsInstancedARB_ovr_0(mode, count, &type, indices, primcount); + end; + + end; + + glFragmentProgramARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramStringARB_adr := GetFuncAdr('glProgramStringARB'); + public z_ProgramStringARB_ovr_0 := GetFuncOrNil&(z_ProgramStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramStringARB(target: ProgramTarget; format: ProgramFormat; len: Int32; string: IntPtr); + begin + z_ProgramStringARB_ovr_0(target, format, len, string); + end; + + public z_BindProgramARB_adr := GetFuncAdr('glBindProgramARB'); + public z_BindProgramARB_ovr_0 := GetFuncOrNil&(z_BindProgramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramARB(target: ProgramTarget; &program: UInt32); + begin + z_BindProgramARB_ovr_0(target, &program); + end; + + public z_DeleteProgramsARB_adr := GetFuncAdr('glDeleteProgramsARB'); + public z_DeleteProgramsARB_ovr_0 := GetFuncOrNil&(z_DeleteProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; programs: array of UInt32); + begin + z_DeleteProgramsARB_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; var programs: UInt32); + begin + z_DeleteProgramsARB_ovr_0(n, programs); + end; + public z_DeleteProgramsARB_ovr_2 := GetFuncOrNil&(z_DeleteProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; programs: IntPtr); + begin + z_DeleteProgramsARB_ovr_2(n, programs); + end; + + public z_GenProgramsARB_adr := GetFuncAdr('glGenProgramsARB'); + public z_GenProgramsARB_ovr_0 := GetFuncOrNil&(z_GenProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; programs: array of UInt32); + begin + z_GenProgramsARB_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; var programs: UInt32); + begin + z_GenProgramsARB_ovr_0(n, programs); + end; + public z_GenProgramsARB_ovr_2 := GetFuncOrNil&(z_GenProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; programs: IntPtr); + begin + z_GenProgramsARB_ovr_2(n, programs); + end; + + public z_ProgramEnvParameter4dARB_adr := GetFuncAdr('glProgramEnvParameter4dARB'); + public z_ProgramEnvParameter4dARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dARB(target: ProgramTarget; index: UInt32; x: real; y: real; z: real; w: real); + begin + z_ProgramEnvParameter4dARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramEnvParameter4dvARB_adr := GetFuncAdr('glProgramEnvParameter4dvARB'); + public z_ProgramEnvParameter4dvARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_ProgramEnvParameter4dvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_ProgramEnvParameter4dvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramEnvParameter4dvARB_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramEnvParameter4dvARB_ovr_2(target, index, ¶ms); + end; + + public z_ProgramEnvParameter4fARB_adr := GetFuncAdr('glProgramEnvParameter4fARB'); + public z_ProgramEnvParameter4fARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fARB(target: ProgramTarget; index: UInt32; x: single; y: single; z: single; w: single); + begin + z_ProgramEnvParameter4fARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramEnvParameter4fvARB_adr := GetFuncAdr('glProgramEnvParameter4fvARB'); + public z_ProgramEnvParameter4fvARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_ProgramEnvParameter4fvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_ProgramEnvParameter4fvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramEnvParameter4fvARB_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramEnvParameter4fvARB_ovr_2(target, index, ¶ms); + end; + + public z_ProgramLocalParameter4dARB_adr := GetFuncAdr('glProgramLocalParameter4dARB'); + public z_ProgramLocalParameter4dARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dARB(target: ProgramTarget; index: UInt32; x: real; y: real; z: real; w: real); + begin + z_ProgramLocalParameter4dARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramLocalParameter4dvARB_adr := GetFuncAdr('glProgramLocalParameter4dvARB'); + public z_ProgramLocalParameter4dvARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_ProgramLocalParameter4dvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_ProgramLocalParameter4dvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramLocalParameter4dvARB_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramLocalParameter4dvARB_ovr_2(target, index, ¶ms); + end; + + public z_ProgramLocalParameter4fARB_adr := GetFuncAdr('glProgramLocalParameter4fARB'); + public z_ProgramLocalParameter4fARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fARB(target: ProgramTarget; index: UInt32; x: single; y: single; z: single; w: single); + begin + z_ProgramLocalParameter4fARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramLocalParameter4fvARB_adr := GetFuncAdr('glProgramLocalParameter4fvARB'); + public z_ProgramLocalParameter4fvARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_ProgramLocalParameter4fvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_ProgramLocalParameter4fvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramLocalParameter4fvARB_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramLocalParameter4fvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramEnvParameterdvARB_adr := GetFuncAdr('glGetProgramEnvParameterdvARB'); + public z_GetProgramEnvParameterdvARB_ovr_0 := GetFuncOrNil&(z_GetProgramEnvParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_GetProgramEnvParameterdvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_GetProgramEnvParameterdvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramEnvParameterdvARB_ovr_2 := GetFuncOrNil&(z_GetProgramEnvParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramEnvParameterdvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramEnvParameterfvARB_adr := GetFuncAdr('glGetProgramEnvParameterfvARB'); + public z_GetProgramEnvParameterfvARB_ovr_0 := GetFuncOrNil&(z_GetProgramEnvParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_GetProgramEnvParameterfvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_GetProgramEnvParameterfvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramEnvParameterfvARB_ovr_2 := GetFuncOrNil&(z_GetProgramEnvParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramEnvParameterfvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramLocalParameterdvARB_adr := GetFuncAdr('glGetProgramLocalParameterdvARB'); + public z_GetProgramLocalParameterdvARB_ovr_0 := GetFuncOrNil&(z_GetProgramLocalParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_GetProgramLocalParameterdvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_GetProgramLocalParameterdvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramLocalParameterdvARB_ovr_2 := GetFuncOrNil&(z_GetProgramLocalParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramLocalParameterdvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramLocalParameterfvARB_adr := GetFuncAdr('glGetProgramLocalParameterfvARB'); + public z_GetProgramLocalParameterfvARB_ovr_0 := GetFuncOrNil&(z_GetProgramLocalParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_GetProgramLocalParameterfvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_GetProgramLocalParameterfvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramLocalParameterfvARB_ovr_2 := GetFuncOrNil&(z_GetProgramLocalParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramLocalParameterfvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramivARB_adr := GetFuncAdr('glGetProgramivARB'); + public z_GetProgramivARB_ovr_0 := GetFuncOrNil&(z_GetProgramivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: ProgramTarget; pname: ProgramPropertyARB; ¶ms: array of Int32); + begin + z_GetProgramivARB_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: ProgramTarget; pname: ProgramPropertyARB; var ¶ms: Int32); + begin + z_GetProgramivARB_ovr_0(target, pname, ¶ms); + end; + public z_GetProgramivARB_ovr_2 := GetFuncOrNil&(z_GetProgramivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: ProgramTarget; pname: ProgramPropertyARB; ¶ms: IntPtr); + begin + z_GetProgramivARB_ovr_2(target, pname, ¶ms); + end; + + public z_GetProgramStringARB_adr := GetFuncAdr('glGetProgramStringARB'); + public z_GetProgramStringARB_ovr_0 := GetFuncOrNil&(z_GetProgramStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringARB(target: ProgramTarget; pname: ProgramStringProperty; string: IntPtr); + begin + z_GetProgramStringARB_ovr_0(target, pname, string); + end; + + public z_IsProgramARB_adr := GetFuncAdr('glIsProgramARB'); + public z_IsProgramARB_ovr_0 := GetFuncOrNil&(z_IsProgramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramARB(&program: UInt32): boolean; + begin + Result := z_IsProgramARB_ovr_0(&program); + end; + + end; + + glFramebufferNoAttachmentsARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glFramebufferObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glGeometryShader4ARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramParameteriARB_adr := GetFuncAdr('glProgramParameteriARB'); + public z_ProgramParameteriARB_ovr_0 := GetFuncOrNil&(z_ProgramParameteriARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameteriARB(&program: UInt32; pname: ProgramParameterPName; value: Int32); + begin + z_ProgramParameteriARB_ovr_0(&program, pname, value); + end; + + public z_FramebufferTextureARB_adr := GetFuncAdr('glFramebufferTextureARB'); + public z_FramebufferTextureARB_ovr_0 := GetFuncOrNil&(z_FramebufferTextureARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureARB(target: FramebufferTarget; attachment: FramebufferAttachment; texture: UInt32; level: Int32); + begin + z_FramebufferTextureARB_ovr_0(target, attachment, texture, level); + end; + + public z_FramebufferTextureLayerARB_adr := GetFuncAdr('glFramebufferTextureLayerARB'); + public z_FramebufferTextureLayerARB_ovr_0 := GetFuncOrNil&(z_FramebufferTextureLayerARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayerARB(target: FramebufferTarget; attachment: FramebufferAttachment; texture: UInt32; level: Int32; layer: Int32); + begin + z_FramebufferTextureLayerARB_ovr_0(target, attachment, texture, level, layer); + end; + + public z_FramebufferTextureFaceARB_adr := GetFuncAdr('glFramebufferTextureFaceARB'); + public z_FramebufferTextureFaceARB_ovr_0 := GetFuncOrNil&(z_FramebufferTextureFaceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureFaceARB(target: FramebufferTarget; attachment: FramebufferAttachment; texture: UInt32; level: Int32; face: TextureTarget); + begin + z_FramebufferTextureFaceARB_ovr_0(target, attachment, texture, level, face); + end; + + end; + + glGetProgramBinaryARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glGetTextureSubImageARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glGlSpirvARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SpecializeShaderARB_adr := GetFuncAdr('glSpecializeShaderARB'); + public z_SpecializeShaderARB_ovr_0 := GetFuncOrNil&(z_SpecializeShaderARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex[0], pConstantValue[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; var pConstantValue: UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex[0], pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_SpecializeShaderARB_ovr_2 := GetFuncOrNil&(z_SpecializeShaderARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_2(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex[0], pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: array of UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_0(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_2(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_SpecializeShaderARB_ovr_6 := GetFuncOrNil&(z_SpecializeShaderARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: array of UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_6(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; var pConstantValue: UInt32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_6(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_SpecializeShaderARB_ovr_8 := GetFuncOrNil&(z_SpecializeShaderARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: string; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(pEntryPoint); + z_SpecializeShaderARB_ovr_8(shader, par_2_str_ptr, numSpecializationConstants, pConstantIndex, pConstantValue); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: array of UInt32); + begin + z_SpecializeShaderARB_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex[0], pConstantValue[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; var pConstantValue: UInt32); + begin + z_SpecializeShaderARB_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex[0], pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: array of UInt32; pConstantValue: IntPtr); + begin + z_SpecializeShaderARB_ovr_2(shader, pEntryPoint, numSpecializationConstants, pConstantIndex[0], pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: array of UInt32); + begin + z_SpecializeShaderARB_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; var pConstantValue: UInt32); + begin + z_SpecializeShaderARB_ovr_0(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; var pConstantIndex: UInt32; pConstantValue: IntPtr); + begin + z_SpecializeShaderARB_ovr_2(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: array of UInt32); + begin + z_SpecializeShaderARB_ovr_6(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; var pConstantValue: UInt32); + begin + z_SpecializeShaderARB_ovr_6(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpecializeShaderARB(shader: UInt32; pEntryPoint: IntPtr; numSpecializationConstants: UInt32; pConstantIndex: IntPtr; pConstantValue: IntPtr); + begin + z_SpecializeShaderARB_ovr_8(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + end; + + end; + + glGpuShaderFp64ARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glGpuShaderInt64ARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_Uniform1i64ARB_adr := GetFuncAdr('glUniform1i64ARB'); + public z_Uniform1i64ARB_ovr_0 := GetFuncOrNil&(z_Uniform1i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64ARB(location: Int32; x: Int64); + begin + z_Uniform1i64ARB_ovr_0(location, x); + end; + + public z_Uniform2i64ARB_adr := GetFuncAdr('glUniform2i64ARB'); + public z_Uniform2i64ARB_ovr_0 := GetFuncOrNil&(z_Uniform2i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64ARB(location: Int32; x: Int64; y: Int64); + begin + z_Uniform2i64ARB_ovr_0(location, x, y); + end; + + public z_Uniform3i64ARB_adr := GetFuncAdr('glUniform3i64ARB'); + public z_Uniform3i64ARB_ovr_0 := GetFuncOrNil&(z_Uniform3i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64ARB(location: Int32; x: Int64; y: Int64; z: Int64); + begin + z_Uniform3i64ARB_ovr_0(location, x, y, z); + end; + + public z_Uniform4i64ARB_adr := GetFuncAdr('glUniform4i64ARB'); + public z_Uniform4i64ARB_ovr_0 := GetFuncOrNil&(z_Uniform4i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64ARB(location: Int32; x: Int64; y: Int64; z: Int64; w: Int64); + begin + z_Uniform4i64ARB_ovr_0(location, x, y, z, w); + end; + + public z_Uniform1i64vARB_adr := GetFuncAdr('glUniform1i64vARB'); + public z_Uniform1i64vARB_ovr_0 := GetFuncOrNil&(z_Uniform1i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vARB(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform1i64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vARB(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform1i64vARB_ovr_0(location, count, value); + end; + public z_Uniform1i64vARB_ovr_2 := GetFuncOrNil&(z_Uniform1i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1i64vARB_ovr_2(location, count, value); + end; + + public z_Uniform2i64vARB_adr := GetFuncAdr('glUniform2i64vARB'); + public z_Uniform2i64vARB_ovr_0 := GetFuncOrNil&(z_Uniform2i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vARB(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform2i64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vARB(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform2i64vARB_ovr_0(location, count, value); + end; + public z_Uniform2i64vARB_ovr_2 := GetFuncOrNil&(z_Uniform2i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2i64vARB_ovr_2(location, count, value); + end; + + public z_Uniform3i64vARB_adr := GetFuncAdr('glUniform3i64vARB'); + public z_Uniform3i64vARB_ovr_0 := GetFuncOrNil&(z_Uniform3i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vARB(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform3i64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vARB(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform3i64vARB_ovr_0(location, count, value); + end; + public z_Uniform3i64vARB_ovr_2 := GetFuncOrNil&(z_Uniform3i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3i64vARB_ovr_2(location, count, value); + end; + + public z_Uniform4i64vARB_adr := GetFuncAdr('glUniform4i64vARB'); + public z_Uniform4i64vARB_ovr_0 := GetFuncOrNil&(z_Uniform4i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vARB(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform4i64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vARB(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform4i64vARB_ovr_0(location, count, value); + end; + public z_Uniform4i64vARB_ovr_2 := GetFuncOrNil&(z_Uniform4i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4i64vARB_ovr_2(location, count, value); + end; + + public z_Uniform1ui64ARB_adr := GetFuncAdr('glUniform1ui64ARB'); + public z_Uniform1ui64ARB_ovr_0 := GetFuncOrNil&(z_Uniform1ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64ARB(location: Int32; x: UInt64); + begin + z_Uniform1ui64ARB_ovr_0(location, x); + end; + + public z_Uniform2ui64ARB_adr := GetFuncAdr('glUniform2ui64ARB'); + public z_Uniform2ui64ARB_ovr_0 := GetFuncOrNil&(z_Uniform2ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64ARB(location: Int32; x: UInt64; y: UInt64); + begin + z_Uniform2ui64ARB_ovr_0(location, x, y); + end; + + public z_Uniform3ui64ARB_adr := GetFuncAdr('glUniform3ui64ARB'); + public z_Uniform3ui64ARB_ovr_0 := GetFuncOrNil&(z_Uniform3ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64ARB(location: Int32; x: UInt64; y: UInt64; z: UInt64); + begin + z_Uniform3ui64ARB_ovr_0(location, x, y, z); + end; + + public z_Uniform4ui64ARB_adr := GetFuncAdr('glUniform4ui64ARB'); + public z_Uniform4ui64ARB_ovr_0 := GetFuncOrNil&(z_Uniform4ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64ARB(location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64); + begin + z_Uniform4ui64ARB_ovr_0(location, x, y, z, w); + end; + + public z_Uniform1ui64vARB_adr := GetFuncAdr('glUniform1ui64vARB'); + public z_Uniform1ui64vARB_ovr_0 := GetFuncOrNil&(z_Uniform1ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vARB(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform1ui64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vARB(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform1ui64vARB_ovr_0(location, count, value); + end; + public z_Uniform1ui64vARB_ovr_2 := GetFuncOrNil&(z_Uniform1ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1ui64vARB_ovr_2(location, count, value); + end; + + public z_Uniform2ui64vARB_adr := GetFuncAdr('glUniform2ui64vARB'); + public z_Uniform2ui64vARB_ovr_0 := GetFuncOrNil&(z_Uniform2ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vARB(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform2ui64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vARB(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform2ui64vARB_ovr_0(location, count, value); + end; + public z_Uniform2ui64vARB_ovr_2 := GetFuncOrNil&(z_Uniform2ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2ui64vARB_ovr_2(location, count, value); + end; + + public z_Uniform3ui64vARB_adr := GetFuncAdr('glUniform3ui64vARB'); + public z_Uniform3ui64vARB_ovr_0 := GetFuncOrNil&(z_Uniform3ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vARB(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform3ui64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vARB(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform3ui64vARB_ovr_0(location, count, value); + end; + public z_Uniform3ui64vARB_ovr_2 := GetFuncOrNil&(z_Uniform3ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3ui64vARB_ovr_2(location, count, value); + end; + + public z_Uniform4ui64vARB_adr := GetFuncAdr('glUniform4ui64vARB'); + public z_Uniform4ui64vARB_ovr_0 := GetFuncOrNil&(z_Uniform4ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vARB(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform4ui64vARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vARB(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform4ui64vARB_ovr_0(location, count, value); + end; + public z_Uniform4ui64vARB_ovr_2 := GetFuncOrNil&(z_Uniform4ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4ui64vARB_ovr_2(location, count, value); + end; + + public z_GetUniformi64vARB_adr := GetFuncAdr('glGetUniformi64vARB'); + public z_GetUniformi64vARB_ovr_0 := GetFuncOrNil&(z_GetUniformi64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vARB(&program: UInt32; location: Int32; ¶ms: array of Int64); + begin + z_GetUniformi64vARB_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vARB(&program: UInt32; location: Int32; var ¶ms: Int64); + begin + z_GetUniformi64vARB_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformi64vARB_ovr_2 := GetFuncOrNil&(z_GetUniformi64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vARB(&program: UInt32; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformi64vARB_ovr_2(&program, location, ¶ms); + end; + + public z_GetUniformui64vARB_adr := GetFuncAdr('glGetUniformui64vARB'); + public z_GetUniformui64vARB_ovr_0 := GetFuncOrNil&(z_GetUniformui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vARB(&program: UInt32; location: Int32; ¶ms: array of UInt64); + begin + z_GetUniformui64vARB_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vARB(&program: UInt32; location: Int32; var ¶ms: UInt64); + begin + z_GetUniformui64vARB_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformui64vARB_ovr_2 := GetFuncOrNil&(z_GetUniformui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vARB(&program: UInt32; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformui64vARB_ovr_2(&program, location, ¶ms); + end; + + public z_GetnUniformi64vARB_adr := GetFuncAdr('glGetnUniformi64vARB'); + public z_GetnUniformi64vARB_ovr_0 := GetFuncOrNil&(z_GetnUniformi64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformi64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of Int64); + begin + z_GetnUniformi64vARB_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformi64vARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: Int64); + begin + z_GetnUniformi64vARB_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformi64vARB_ovr_2 := GetFuncOrNil&(z_GetnUniformi64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformi64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformi64vARB_ovr_2(&program, location, bufSize, ¶ms); + end; + + public z_GetnUniformui64vARB_adr := GetFuncAdr('glGetnUniformui64vARB'); + public z_GetnUniformui64vARB_ovr_0 := GetFuncOrNil&(z_GetnUniformui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformui64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of UInt64); + begin + z_GetnUniformui64vARB_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformui64vARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: UInt64); + begin + z_GetnUniformui64vARB_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformui64vARB_ovr_2 := GetFuncOrNil&(z_GetnUniformui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformui64vARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformui64vARB_ovr_2(&program, location, bufSize, ¶ms); + end; + + public z_ProgramUniform1i64ARB_adr := GetFuncAdr('glProgramUniform1i64ARB'); + public z_ProgramUniform1i64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform1i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64ARB(&program: UInt32; location: Int32; x: Int64); + begin + z_ProgramUniform1i64ARB_ovr_0(&program, location, x); + end; + + public z_ProgramUniform2i64ARB_adr := GetFuncAdr('glProgramUniform2i64ARB'); + public z_ProgramUniform2i64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform2i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64ARB(&program: UInt32; location: Int32; x: Int64; y: Int64); + begin + z_ProgramUniform2i64ARB_ovr_0(&program, location, x, y); + end; + + public z_ProgramUniform3i64ARB_adr := GetFuncAdr('glProgramUniform3i64ARB'); + public z_ProgramUniform3i64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform3i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64ARB(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64); + begin + z_ProgramUniform3i64ARB_ovr_0(&program, location, x, y, z); + end; + + public z_ProgramUniform4i64ARB_adr := GetFuncAdr('glProgramUniform4i64ARB'); + public z_ProgramUniform4i64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform4i64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64ARB(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64; w: Int64); + begin + z_ProgramUniform4i64ARB_ovr_0(&program, location, x, y, z, w); + end; + + public z_ProgramUniform1i64vARB_adr := GetFuncAdr('glProgramUniform1i64vARB'); + public z_ProgramUniform1i64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform1i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform1i64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform1i64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1i64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform1i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1i64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2i64vARB_adr := GetFuncAdr('glProgramUniform2i64vARB'); + public z_ProgramUniform2i64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform2i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform2i64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform2i64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2i64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform2i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2i64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3i64vARB_adr := GetFuncAdr('glProgramUniform3i64vARB'); + public z_ProgramUniform3i64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform3i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform3i64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform3i64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3i64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform3i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3i64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4i64vARB_adr := GetFuncAdr('glProgramUniform4i64vARB'); + public z_ProgramUniform4i64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform4i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vARB(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform4i64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vARB(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform4i64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4i64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform4i64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4i64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform1ui64ARB_adr := GetFuncAdr('glProgramUniform1ui64ARB'); + public z_ProgramUniform1ui64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform1ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64ARB(&program: UInt32; location: Int32; x: UInt64); + begin + z_ProgramUniform1ui64ARB_ovr_0(&program, location, x); + end; + + public z_ProgramUniform2ui64ARB_adr := GetFuncAdr('glProgramUniform2ui64ARB'); + public z_ProgramUniform2ui64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform2ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64ARB(&program: UInt32; location: Int32; x: UInt64; y: UInt64); + begin + z_ProgramUniform2ui64ARB_ovr_0(&program, location, x, y); + end; + + public z_ProgramUniform3ui64ARB_adr := GetFuncAdr('glProgramUniform3ui64ARB'); + public z_ProgramUniform3ui64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform3ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64ARB(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64); + begin + z_ProgramUniform3ui64ARB_ovr_0(&program, location, x, y, z); + end; + + public z_ProgramUniform4ui64ARB_adr := GetFuncAdr('glProgramUniform4ui64ARB'); + public z_ProgramUniform4ui64ARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform4ui64ARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64ARB(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64); + begin + z_ProgramUniform4ui64ARB_ovr_0(&program, location, x, y, z, w); + end; + + public z_ProgramUniform1ui64vARB_adr := GetFuncAdr('glProgramUniform1ui64vARB'); + public z_ProgramUniform1ui64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform1ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform1ui64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform1ui64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1ui64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform1ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1ui64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2ui64vARB_adr := GetFuncAdr('glProgramUniform2ui64vARB'); + public z_ProgramUniform2ui64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform2ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform2ui64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform2ui64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2ui64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform2ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2ui64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3ui64vARB_adr := GetFuncAdr('glProgramUniform3ui64vARB'); + public z_ProgramUniform3ui64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform3ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform3ui64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform3ui64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3ui64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform3ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3ui64vARB_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4ui64vARB_adr := GetFuncAdr('glProgramUniform4ui64vARB'); + public z_ProgramUniform4ui64vARB_ovr_0 := GetFuncOrNil&(z_ProgramUniform4ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vARB(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform4ui64vARB_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vARB(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform4ui64vARB_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4ui64vARB_ovr_2 := GetFuncOrNil&(z_ProgramUniform4ui64vARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vARB(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4ui64vARB_ovr_2(&program, location, count, value); + end; + + end; + + glImagingARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glIndirectParametersARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiDrawArraysIndirectCountARB_adr := GetFuncAdr('glMultiDrawArraysIndirectCountARB'); + public z_MultiDrawArraysIndirectCountARB_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysIndirectCountARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectCountARB(mode: PrimitiveType; indirect: IntPtr; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32); + begin + z_MultiDrawArraysIndirectCountARB_ovr_0(mode, indirect, drawcount, maxdrawcount, stride); + end; + + public z_MultiDrawElementsIndirectCountARB_adr := GetFuncAdr('glMultiDrawElementsIndirectCountARB'); + public z_MultiDrawElementsIndirectCountARB_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsIndirectCountARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectCountARB(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32); + begin + z_MultiDrawElementsIndirectCountARB_ovr_0(mode, &type, indirect, drawcount, maxdrawcount, stride); + end; + + end; + + glInstancedArraysARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttribDivisorARB_adr := GetFuncAdr('glVertexAttribDivisorARB'); + public z_VertexAttribDivisorARB_ovr_0 := GetFuncOrNil&(z_VertexAttribDivisorARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribDivisorARB(index: UInt32; divisor: UInt32); + begin + z_VertexAttribDivisorARB_ovr_0(index, divisor); + end; + + end; + + glInternalformatQueryARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glInternalformatQuery2ARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glInvalidateSubdataARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glMapBufferRangeARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glMatrixPaletteARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CurrentPaletteMatrixARB_adr := GetFuncAdr('glCurrentPaletteMatrixARB'); + public z_CurrentPaletteMatrixARB_ovr_0 := GetFuncOrNil&(z_CurrentPaletteMatrixARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CurrentPaletteMatrixARB(index: Int32); + begin + z_CurrentPaletteMatrixARB_ovr_0(index); + end; + + public z_MatrixIndexubvARB_adr := GetFuncAdr('glMatrixIndexubvARB'); + public z_MatrixIndexubvARB_ovr_0 := GetFuncOrNil&(z_MatrixIndexubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexubvARB(size: Int32; indices: array of Byte); + begin + z_MatrixIndexubvARB_ovr_0(size, indices[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexubvARB(size: Int32; var indices: Byte); + begin + z_MatrixIndexubvARB_ovr_0(size, indices); + end; + public z_MatrixIndexubvARB_ovr_2 := GetFuncOrNil&(z_MatrixIndexubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexubvARB(size: Int32; indices: IntPtr); + begin + z_MatrixIndexubvARB_ovr_2(size, indices); + end; + + public z_MatrixIndexusvARB_adr := GetFuncAdr('glMatrixIndexusvARB'); + public z_MatrixIndexusvARB_ovr_0 := GetFuncOrNil&(z_MatrixIndexusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexusvARB(size: Int32; indices: array of UInt16); + begin + z_MatrixIndexusvARB_ovr_0(size, indices[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexusvARB(size: Int32; var indices: UInt16); + begin + z_MatrixIndexusvARB_ovr_0(size, indices); + end; + public z_MatrixIndexusvARB_ovr_2 := GetFuncOrNil&(z_MatrixIndexusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexusvARB(size: Int32; indices: IntPtr); + begin + z_MatrixIndexusvARB_ovr_2(size, indices); + end; + + public z_MatrixIndexuivARB_adr := GetFuncAdr('glMatrixIndexuivARB'); + public z_MatrixIndexuivARB_ovr_0 := GetFuncOrNil&(z_MatrixIndexuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexuivARB(size: Int32; indices: array of UInt32); + begin + z_MatrixIndexuivARB_ovr_0(size, indices[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexuivARB(size: Int32; var indices: UInt32); + begin + z_MatrixIndexuivARB_ovr_0(size, indices); + end; + public z_MatrixIndexuivARB_ovr_2 := GetFuncOrNil&(z_MatrixIndexuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexuivARB(size: Int32; indices: IntPtr); + begin + z_MatrixIndexuivARB_ovr_2(size, indices); + end; + + public z_MatrixIndexPointerARB_adr := GetFuncAdr('glMatrixIndexPointerARB'); + public z_MatrixIndexPointerARB_ovr_0 := GetFuncOrNil&(z_MatrixIndexPointerARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixIndexPointerARB(size: Int32; &type: MatrixIndexPointerTypeARB; stride: Int32; pointer: IntPtr); + begin + z_MatrixIndexPointerARB_ovr_0(size, &type, stride, pointer); + end; + + end; + + glMultiBindARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glMultiDrawIndirectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glMultisampleARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SampleCoverageARB_adr := GetFuncAdr('glSampleCoverageARB'); + public z_SampleCoverageARB_ovr_0 := GetFuncOrNil&(z_SampleCoverageARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleCoverageARB(value: single; invert: boolean); + begin + z_SampleCoverageARB_ovr_0(value, invert); + end; + + end; + + glMultitextureARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ActiveTextureARB_adr := GetFuncAdr('glActiveTextureARB'); + public z_ActiveTextureARB_ovr_0 := GetFuncOrNil&(z_ActiveTextureARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveTextureARB(texture: TextureUnit); + begin + z_ActiveTextureARB_ovr_0(texture); + end; + + public z_ClientActiveTextureARB_adr := GetFuncAdr('glClientActiveTextureARB'); + public z_ClientActiveTextureARB_ovr_0 := GetFuncOrNil&(z_ClientActiveTextureARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientActiveTextureARB(texture: TextureUnit); + begin + z_ClientActiveTextureARB_ovr_0(texture); + end; + + public z_MultiTexCoord1dARB_adr := GetFuncAdr('glMultiTexCoord1dARB'); + public z_MultiTexCoord1dARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dARB(target: TextureUnit; s: real); + begin + z_MultiTexCoord1dARB_ovr_0(target, s); + end; + + public z_MultiTexCoord1dvARB_adr := GetFuncAdr('glMultiTexCoord1dvARB'); + public z_MultiTexCoord1dvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dvARB(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord1dvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dvARB(target: TextureUnit; var v: real); + begin + z_MultiTexCoord1dvARB_ovr_0(target, v); + end; + public z_MultiTexCoord1dvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1dvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1dvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord1fARB_adr := GetFuncAdr('glMultiTexCoord1fARB'); + public z_MultiTexCoord1fARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fARB(target: TextureUnit; s: single); + begin + z_MultiTexCoord1fARB_ovr_0(target, s); + end; + + public z_MultiTexCoord1fvARB_adr := GetFuncAdr('glMultiTexCoord1fvARB'); + public z_MultiTexCoord1fvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fvARB(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord1fvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fvARB(target: TextureUnit; var v: single); + begin + z_MultiTexCoord1fvARB_ovr_0(target, v); + end; + public z_MultiTexCoord1fvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1fvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1fvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord1iARB_adr := GetFuncAdr('glMultiTexCoord1iARB'); + public z_MultiTexCoord1iARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1iARB(target: TextureUnit; s: Int32); + begin + z_MultiTexCoord1iARB_ovr_0(target, s); + end; + + public z_MultiTexCoord1ivARB_adr := GetFuncAdr('glMultiTexCoord1ivARB'); + public z_MultiTexCoord1ivARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1ivARB(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord1ivARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1ivARB(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord1ivARB_ovr_0(target, v); + end; + public z_MultiTexCoord1ivARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1ivARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1ivARB_ovr_2(target, v); + end; + + public z_MultiTexCoord1sARB_adr := GetFuncAdr('glMultiTexCoord1sARB'); + public z_MultiTexCoord1sARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1sARB(target: TextureUnit; s: Int16); + begin + z_MultiTexCoord1sARB_ovr_0(target, s); + end; + + public z_MultiTexCoord1svARB_adr := GetFuncAdr('glMultiTexCoord1svARB'); + public z_MultiTexCoord1svARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1svARB(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord1svARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1svARB(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord1svARB_ovr_0(target, v); + end; + public z_MultiTexCoord1svARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1svARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1svARB_ovr_2(target, v); + end; + + public z_MultiTexCoord2dARB_adr := GetFuncAdr('glMultiTexCoord2dARB'); + public z_MultiTexCoord2dARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dARB(target: TextureUnit; s: real; t: real); + begin + z_MultiTexCoord2dARB_ovr_0(target, s, t); + end; + + public z_MultiTexCoord2dvARB_adr := GetFuncAdr('glMultiTexCoord2dvARB'); + public z_MultiTexCoord2dvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dvARB(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord2dvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dvARB(target: TextureUnit; var v: real); + begin + z_MultiTexCoord2dvARB_ovr_0(target, v); + end; + public z_MultiTexCoord2dvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2dvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2dvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord2fARB_adr := GetFuncAdr('glMultiTexCoord2fARB'); + public z_MultiTexCoord2fARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fARB(target: TextureUnit; s: single; t: single); + begin + z_MultiTexCoord2fARB_ovr_0(target, s, t); + end; + + public z_MultiTexCoord2fvARB_adr := GetFuncAdr('glMultiTexCoord2fvARB'); + public z_MultiTexCoord2fvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fvARB(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord2fvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fvARB(target: TextureUnit; var v: single); + begin + z_MultiTexCoord2fvARB_ovr_0(target, v); + end; + public z_MultiTexCoord2fvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2fvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2fvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord2iARB_adr := GetFuncAdr('glMultiTexCoord2iARB'); + public z_MultiTexCoord2iARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2iARB(target: TextureUnit; s: Int32; t: Int32); + begin + z_MultiTexCoord2iARB_ovr_0(target, s, t); + end; + + public z_MultiTexCoord2ivARB_adr := GetFuncAdr('glMultiTexCoord2ivARB'); + public z_MultiTexCoord2ivARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2ivARB(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord2ivARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2ivARB(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord2ivARB_ovr_0(target, v); + end; + public z_MultiTexCoord2ivARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2ivARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2ivARB_ovr_2(target, v); + end; + + public z_MultiTexCoord2sARB_adr := GetFuncAdr('glMultiTexCoord2sARB'); + public z_MultiTexCoord2sARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2sARB(target: TextureUnit; s: Int16; t: Int16); + begin + z_MultiTexCoord2sARB_ovr_0(target, s, t); + end; + + public z_MultiTexCoord2svARB_adr := GetFuncAdr('glMultiTexCoord2svARB'); + public z_MultiTexCoord2svARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2svARB(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord2svARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2svARB(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord2svARB_ovr_0(target, v); + end; + public z_MultiTexCoord2svARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2svARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2svARB_ovr_2(target, v); + end; + + public z_MultiTexCoord3dARB_adr := GetFuncAdr('glMultiTexCoord3dARB'); + public z_MultiTexCoord3dARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dARB(target: TextureUnit; s: real; t: real; r: real); + begin + z_MultiTexCoord3dARB_ovr_0(target, s, t, r); + end; + + public z_MultiTexCoord3dvARB_adr := GetFuncAdr('glMultiTexCoord3dvARB'); + public z_MultiTexCoord3dvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dvARB(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord3dvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dvARB(target: TextureUnit; var v: real); + begin + z_MultiTexCoord3dvARB_ovr_0(target, v); + end; + public z_MultiTexCoord3dvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3dvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3dvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord3fARB_adr := GetFuncAdr('glMultiTexCoord3fARB'); + public z_MultiTexCoord3fARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fARB(target: TextureUnit; s: single; t: single; r: single); + begin + z_MultiTexCoord3fARB_ovr_0(target, s, t, r); + end; + + public z_MultiTexCoord3fvARB_adr := GetFuncAdr('glMultiTexCoord3fvARB'); + public z_MultiTexCoord3fvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fvARB(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord3fvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fvARB(target: TextureUnit; var v: single); + begin + z_MultiTexCoord3fvARB_ovr_0(target, v); + end; + public z_MultiTexCoord3fvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3fvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3fvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord3iARB_adr := GetFuncAdr('glMultiTexCoord3iARB'); + public z_MultiTexCoord3iARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3iARB(target: TextureUnit; s: Int32; t: Int32; r: Int32); + begin + z_MultiTexCoord3iARB_ovr_0(target, s, t, r); + end; + + public z_MultiTexCoord3ivARB_adr := GetFuncAdr('glMultiTexCoord3ivARB'); + public z_MultiTexCoord3ivARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3ivARB(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord3ivARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3ivARB(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord3ivARB_ovr_0(target, v); + end; + public z_MultiTexCoord3ivARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3ivARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3ivARB_ovr_2(target, v); + end; + + public z_MultiTexCoord3sARB_adr := GetFuncAdr('glMultiTexCoord3sARB'); + public z_MultiTexCoord3sARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3sARB(target: TextureUnit; s: Int16; t: Int16; r: Int16); + begin + z_MultiTexCoord3sARB_ovr_0(target, s, t, r); + end; + + public z_MultiTexCoord3svARB_adr := GetFuncAdr('glMultiTexCoord3svARB'); + public z_MultiTexCoord3svARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3svARB(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord3svARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3svARB(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord3svARB_ovr_0(target, v); + end; + public z_MultiTexCoord3svARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3svARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3svARB_ovr_2(target, v); + end; + + public z_MultiTexCoord4dARB_adr := GetFuncAdr('glMultiTexCoord4dARB'); + public z_MultiTexCoord4dARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dARB(target: TextureUnit; s: real; t: real; r: real; q: real); + begin + z_MultiTexCoord4dARB_ovr_0(target, s, t, r, q); + end; + + public z_MultiTexCoord4dvARB_adr := GetFuncAdr('glMultiTexCoord4dvARB'); + public z_MultiTexCoord4dvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dvARB(target: TextureUnit; v: array of real); + begin + z_MultiTexCoord4dvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dvARB(target: TextureUnit; var v: real); + begin + z_MultiTexCoord4dvARB_ovr_0(target, v); + end; + public z_MultiTexCoord4dvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4dvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4dvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord4fARB_adr := GetFuncAdr('glMultiTexCoord4fARB'); + public z_MultiTexCoord4fARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fARB(target: TextureUnit; s: single; t: single; r: single; q: single); + begin + z_MultiTexCoord4fARB_ovr_0(target, s, t, r, q); + end; + + public z_MultiTexCoord4fvARB_adr := GetFuncAdr('glMultiTexCoord4fvARB'); + public z_MultiTexCoord4fvARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fvARB(target: TextureUnit; v: array of single); + begin + z_MultiTexCoord4fvARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fvARB(target: TextureUnit; var v: single); + begin + z_MultiTexCoord4fvARB_ovr_0(target, v); + end; + public z_MultiTexCoord4fvARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4fvARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4fvARB_ovr_2(target, v); + end; + + public z_MultiTexCoord4iARB_adr := GetFuncAdr('glMultiTexCoord4iARB'); + public z_MultiTexCoord4iARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4iARB(target: TextureUnit; s: Int32; t: Int32; r: Int32; q: Int32); + begin + z_MultiTexCoord4iARB_ovr_0(target, s, t, r, q); + end; + + public z_MultiTexCoord4ivARB_adr := GetFuncAdr('glMultiTexCoord4ivARB'); + public z_MultiTexCoord4ivARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4ivARB(target: TextureUnit; v: array of Int32); + begin + z_MultiTexCoord4ivARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4ivARB(target: TextureUnit; var v: Int32); + begin + z_MultiTexCoord4ivARB_ovr_0(target, v); + end; + public z_MultiTexCoord4ivARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4ivARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4ivARB_ovr_2(target, v); + end; + + public z_MultiTexCoord4sARB_adr := GetFuncAdr('glMultiTexCoord4sARB'); + public z_MultiTexCoord4sARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4sARB(target: TextureUnit; s: Int16; t: Int16; r: Int16; q: Int16); + begin + z_MultiTexCoord4sARB_ovr_0(target, s, t, r, q); + end; + + public z_MultiTexCoord4svARB_adr := GetFuncAdr('glMultiTexCoord4svARB'); + public z_MultiTexCoord4svARB_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4svARB(target: TextureUnit; v: array of Int16); + begin + z_MultiTexCoord4svARB_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4svARB(target: TextureUnit; var v: Int16); + begin + z_MultiTexCoord4svARB_ovr_0(target, v); + end; + public z_MultiTexCoord4svARB_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4svARB(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4svARB_ovr_2(target, v); + end; + + end; + + glOcclusionQueryARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenQueriesARB_adr := GetFuncAdr('glGenQueriesARB'); + public z_GenQueriesARB_ovr_0 := GetFuncOrNil&(z_GenQueriesARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesARB(n: Int32; ids: array of UInt32); + begin + z_GenQueriesARB_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesARB(n: Int32; var ids: UInt32); + begin + z_GenQueriesARB_ovr_0(n, ids); + end; + public z_GenQueriesARB_ovr_2 := GetFuncOrNil&(z_GenQueriesARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueriesARB(n: Int32; ids: IntPtr); + begin + z_GenQueriesARB_ovr_2(n, ids); + end; + + public z_DeleteQueriesARB_adr := GetFuncAdr('glDeleteQueriesARB'); + public z_DeleteQueriesARB_ovr_0 := GetFuncOrNil&(z_DeleteQueriesARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesARB(n: Int32; ids: array of UInt32); + begin + z_DeleteQueriesARB_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesARB(n: Int32; var ids: UInt32); + begin + z_DeleteQueriesARB_ovr_0(n, ids); + end; + public z_DeleteQueriesARB_ovr_2 := GetFuncOrNil&(z_DeleteQueriesARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueriesARB(n: Int32; ids: IntPtr); + begin + z_DeleteQueriesARB_ovr_2(n, ids); + end; + + public z_IsQueryARB_adr := GetFuncAdr('glIsQueryARB'); + public z_IsQueryARB_ovr_0 := GetFuncOrNil&(z_IsQueryARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsQueryARB(id: UInt32): boolean; + begin + Result := z_IsQueryARB_ovr_0(id); + end; + + public z_BeginQueryARB_adr := GetFuncAdr('glBeginQueryARB'); + public z_BeginQueryARB_ovr_0 := GetFuncOrNil&(z_BeginQueryARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginQueryARB(target: DummyEnum; id: UInt32); + begin + z_BeginQueryARB_ovr_0(target, id); + end; + + public z_EndQueryARB_adr := GetFuncAdr('glEndQueryARB'); + public z_EndQueryARB_ovr_0 := GetFuncOrNil&(z_EndQueryARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndQueryARB(target: QueryTarget); + begin + z_EndQueryARB_ovr_0(target); + end; + + public z_GetQueryivARB_adr := GetFuncAdr('glGetQueryivARB'); + public z_GetQueryivARB_ovr_0 := GetFuncOrNil&(z_GetQueryivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivARB(target: QueryTarget; pname: QueryParameterName; ¶ms: array of Int32); + begin + z_GetQueryivARB_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivARB(target: QueryTarget; pname: QueryParameterName; var ¶ms: Int32); + begin + z_GetQueryivARB_ovr_0(target, pname, ¶ms); + end; + public z_GetQueryivARB_ovr_2 := GetFuncOrNil&(z_GetQueryivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryivARB(target: QueryTarget; pname: QueryParameterName; ¶ms: IntPtr); + begin + z_GetQueryivARB_ovr_2(target, pname, ¶ms); + end; + + public z_GetQueryObjectivARB_adr := GetFuncAdr('glGetQueryObjectivARB'); + public z_GetQueryObjectivARB_ovr_0 := GetFuncOrNil&(z_GetQueryObjectivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivARB(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of Int32); + begin + z_GetQueryObjectivARB_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivARB(id: UInt32; pname: QueryObjectParameterName; var ¶ms: Int32); + begin + z_GetQueryObjectivARB_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjectivARB_ovr_2 := GetFuncOrNil&(z_GetQueryObjectivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectivARB(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjectivARB_ovr_2(id, pname, ¶ms); + end; + + public z_GetQueryObjectuivARB_adr := GetFuncAdr('glGetQueryObjectuivARB'); + public z_GetQueryObjectuivARB_ovr_0 := GetFuncOrNil&(z_GetQueryObjectuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivARB(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of UInt32); + begin + z_GetQueryObjectuivARB_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivARB(id: UInt32; pname: QueryObjectParameterName; var ¶ms: UInt32); + begin + z_GetQueryObjectuivARB_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjectuivARB_ovr_2 := GetFuncOrNil&(z_GetQueryObjectuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectuivARB(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjectuivARB_ovr_2(id, pname, ¶ms); + end; + + end; + + glParallelShaderCompileARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MaxShaderCompilerThreadsARB_adr := GetFuncAdr('glMaxShaderCompilerThreadsARB'); + public z_MaxShaderCompilerThreadsARB_ovr_0 := GetFuncOrNil&(z_MaxShaderCompilerThreadsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaxShaderCompilerThreadsARB(count: UInt32); + begin + z_MaxShaderCompilerThreadsARB_ovr_0(count); + end; + + end; + + glPointParametersARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PointParameterfARB_adr := GetFuncAdr('glPointParameterfARB'); + public z_PointParameterfARB_ovr_0 := GetFuncOrNil&(z_PointParameterfARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfARB(pname: PointParameterNameARB; param: single); + begin + z_PointParameterfARB_ovr_0(pname, param); + end; + + public z_PointParameterfvARB_adr := GetFuncAdr('glPointParameterfvARB'); + public z_PointParameterfvARB_ovr_0 := GetFuncOrNil&(z_PointParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvARB(pname: PointParameterNameARB; ¶ms: array of single); + begin + z_PointParameterfvARB_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvARB(pname: PointParameterNameARB; var ¶ms: single); + begin + z_PointParameterfvARB_ovr_0(pname, ¶ms); + end; + public z_PointParameterfvARB_ovr_2 := GetFuncOrNil&(z_PointParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvARB(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameterfvARB_ovr_2(pname, ¶ms); + end; + + end; + + glPolygonOffsetClampARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glProgramInterfaceQueryARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glProvokingVertexARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glRobustnessARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetGraphicsResetStatusARB_adr := GetFuncAdr('glGetGraphicsResetStatusARB'); + public z_GetGraphicsResetStatusARB_ovr_0 := GetFuncOrNil&(z_GetGraphicsResetStatusARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetGraphicsResetStatusARB: GraphicsResetStatus; + begin + Result := z_GetGraphicsResetStatusARB_ovr_0; + end; + + public z_GetnTexImageARB_adr := GetFuncAdr('glGetnTexImageARB'); + public z_GetnTexImageARB_ovr_0 := GetFuncOrNil&(z_GetnTexImageARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnTexImageARB(target: TextureTarget; level: Int32; format: PixelFormat; &type: PixelType; bufSize: Int32; img: IntPtr); + begin + z_GetnTexImageARB_ovr_0(target, level, format, &type, bufSize, img); + end; + + public z_ReadnPixelsARB_adr := GetFuncAdr('glReadnPixelsARB'); + public z_ReadnPixelsARB_ovr_0 := GetFuncOrNil&(z_ReadnPixelsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadnPixelsARB(x: Int32; y: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; bufSize: Int32; data: IntPtr); + begin + z_ReadnPixelsARB_ovr_0(x, y, width, height, format, &type, bufSize, data); + end; + + public z_GetnCompressedTexImageARB_adr := GetFuncAdr('glGetnCompressedTexImageARB'); + public z_GetnCompressedTexImageARB_ovr_0 := GetFuncOrNil&(z_GetnCompressedTexImageARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnCompressedTexImageARB(target: TextureTarget; lod: Int32; bufSize: Int32; img: IntPtr); + begin + z_GetnCompressedTexImageARB_ovr_0(target, lod, bufSize, img); + end; + + public z_GetnUniformfvARB_adr := GetFuncAdr('glGetnUniformfvARB'); + public z_GetnUniformfvARB_ovr_0 := GetFuncOrNil&(z_GetnUniformfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of single); + begin + z_GetnUniformfvARB_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: single); + begin + z_GetnUniformfvARB_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformfvARB_ovr_2 := GetFuncOrNil&(z_GetnUniformfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformfvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformfvARB_ovr_2(&program, location, bufSize, ¶ms); + end; + + public z_GetnUniformivARB_adr := GetFuncAdr('glGetnUniformivARB'); + public z_GetnUniformivARB_ovr_0 := GetFuncOrNil&(z_GetnUniformivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of Int32); + begin + z_GetnUniformivARB_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: Int32); + begin + z_GetnUniformivARB_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformivARB_ovr_2 := GetFuncOrNil&(z_GetnUniformivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformivARB_ovr_2(&program, location, bufSize, ¶ms); + end; + + public z_GetnUniformuivARB_adr := GetFuncAdr('glGetnUniformuivARB'); + public z_GetnUniformuivARB_ovr_0 := GetFuncOrNil&(z_GetnUniformuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of UInt32); + begin + z_GetnUniformuivARB_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: UInt32); + begin + z_GetnUniformuivARB_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformuivARB_ovr_2 := GetFuncOrNil&(z_GetnUniformuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformuivARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformuivARB_ovr_2(&program, location, bufSize, ¶ms); + end; + + public z_GetnUniformdvARB_adr := GetFuncAdr('glGetnUniformdvARB'); + public z_GetnUniformdvARB_ovr_0 := GetFuncOrNil&(z_GetnUniformdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: array of real); + begin + z_GetnUniformdvARB_ovr_0(&program, location, bufSize, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdvARB(&program: UInt32; location: Int32; bufSize: Int32; var ¶ms: real); + begin + z_GetnUniformdvARB_ovr_0(&program, location, bufSize, ¶ms); + end; + public z_GetnUniformdvARB_ovr_2 := GetFuncOrNil&(z_GetnUniformdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnUniformdvARB(&program: UInt32; location: Int32; bufSize: Int32; ¶ms: IntPtr); + begin + z_GetnUniformdvARB_ovr_2(&program, location, bufSize, ¶ms); + end; + + public z_GetnMapdvARB_adr := GetFuncAdr('glGetnMapdvARB'); + public z_GetnMapdvARB_ovr_0 := GetFuncOrNil&(z_GetnMapdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdvARB(target: MapTarget; query: MapQuery; bufSize: Int32; v: array of real); + begin + z_GetnMapdvARB_ovr_0(target, query, bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdvARB(target: MapTarget; query: MapQuery; bufSize: Int32; var v: real); + begin + z_GetnMapdvARB_ovr_0(target, query, bufSize, v); + end; + public z_GetnMapdvARB_ovr_2 := GetFuncOrNil&(z_GetnMapdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapdvARB(target: MapTarget; query: MapQuery; bufSize: Int32; v: IntPtr); + begin + z_GetnMapdvARB_ovr_2(target, query, bufSize, v); + end; + + public z_GetnMapfvARB_adr := GetFuncAdr('glGetnMapfvARB'); + public z_GetnMapfvARB_ovr_0 := GetFuncOrNil&(z_GetnMapfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfvARB(target: MapTarget; query: MapQuery; bufSize: Int32; v: array of single); + begin + z_GetnMapfvARB_ovr_0(target, query, bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfvARB(target: MapTarget; query: MapQuery; bufSize: Int32; var v: single); + begin + z_GetnMapfvARB_ovr_0(target, query, bufSize, v); + end; + public z_GetnMapfvARB_ovr_2 := GetFuncOrNil&(z_GetnMapfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapfvARB(target: MapTarget; query: MapQuery; bufSize: Int32; v: IntPtr); + begin + z_GetnMapfvARB_ovr_2(target, query, bufSize, v); + end; + + public z_GetnMapivARB_adr := GetFuncAdr('glGetnMapivARB'); + public z_GetnMapivARB_ovr_0 := GetFuncOrNil&(z_GetnMapivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapivARB(target: MapTarget; query: MapQuery; bufSize: Int32; v: array of Int32); + begin + z_GetnMapivARB_ovr_0(target, query, bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapivARB(target: MapTarget; query: MapQuery; bufSize: Int32; var v: Int32); + begin + z_GetnMapivARB_ovr_0(target, query, bufSize, v); + end; + public z_GetnMapivARB_ovr_2 := GetFuncOrNil&(z_GetnMapivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMapivARB(target: MapTarget; query: MapQuery; bufSize: Int32; v: IntPtr); + begin + z_GetnMapivARB_ovr_2(target, query, bufSize, v); + end; + + public z_GetnPixelMapfvARB_adr := GetFuncAdr('glGetnPixelMapfvARB'); + public z_GetnPixelMapfvARB_ovr_0 := GetFuncOrNil&(z_GetnPixelMapfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfvARB(map: PixelMap; bufSize: Int32; values: array of single); + begin + z_GetnPixelMapfvARB_ovr_0(map, bufSize, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfvARB(map: PixelMap; bufSize: Int32; var values: single); + begin + z_GetnPixelMapfvARB_ovr_0(map, bufSize, values); + end; + public z_GetnPixelMapfvARB_ovr_2 := GetFuncOrNil&(z_GetnPixelMapfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapfvARB(map: PixelMap; bufSize: Int32; values: IntPtr); + begin + z_GetnPixelMapfvARB_ovr_2(map, bufSize, values); + end; + + public z_GetnPixelMapuivARB_adr := GetFuncAdr('glGetnPixelMapuivARB'); + public z_GetnPixelMapuivARB_ovr_0 := GetFuncOrNil&(z_GetnPixelMapuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuivARB(map: PixelMap; bufSize: Int32; values: array of UInt32); + begin + z_GetnPixelMapuivARB_ovr_0(map, bufSize, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuivARB(map: PixelMap; bufSize: Int32; var values: UInt32); + begin + z_GetnPixelMapuivARB_ovr_0(map, bufSize, values); + end; + public z_GetnPixelMapuivARB_ovr_2 := GetFuncOrNil&(z_GetnPixelMapuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapuivARB(map: PixelMap; bufSize: Int32; values: IntPtr); + begin + z_GetnPixelMapuivARB_ovr_2(map, bufSize, values); + end; + + public z_GetnPixelMapusvARB_adr := GetFuncAdr('glGetnPixelMapusvARB'); + public z_GetnPixelMapusvARB_ovr_0 := GetFuncOrNil&(z_GetnPixelMapusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusvARB(map: PixelMap; bufSize: Int32; values: array of UInt16); + begin + z_GetnPixelMapusvARB_ovr_0(map, bufSize, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusvARB(map: PixelMap; bufSize: Int32; var values: UInt16); + begin + z_GetnPixelMapusvARB_ovr_0(map, bufSize, values); + end; + public z_GetnPixelMapusvARB_ovr_2 := GetFuncOrNil&(z_GetnPixelMapusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPixelMapusvARB(map: PixelMap; bufSize: Int32; values: IntPtr); + begin + z_GetnPixelMapusvARB_ovr_2(map, bufSize, values); + end; + + public z_GetnPolygonStippleARB_adr := GetFuncAdr('glGetnPolygonStippleARB'); + public z_GetnPolygonStippleARB_ovr_0 := GetFuncOrNil&(z_GetnPolygonStippleARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStippleARB(bufSize: Int32; pattern: array of Byte); + begin + z_GetnPolygonStippleARB_ovr_0(bufSize, pattern[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStippleARB(bufSize: Int32; var pattern: Byte); + begin + z_GetnPolygonStippleARB_ovr_0(bufSize, pattern); + end; + public z_GetnPolygonStippleARB_ovr_2 := GetFuncOrNil&(z_GetnPolygonStippleARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnPolygonStippleARB(bufSize: Int32; pattern: IntPtr); + begin + z_GetnPolygonStippleARB_ovr_2(bufSize, pattern); + end; + + public z_GetnColorTableARB_adr := GetFuncAdr('glGetnColorTableARB'); + public z_GetnColorTableARB_ovr_0 := GetFuncOrNil&(z_GetnColorTableARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnColorTableARB(target: ColorTableTarget; format: PixelFormat; &type: PixelType; bufSize: Int32; table: IntPtr); + begin + z_GetnColorTableARB_ovr_0(target, format, &type, bufSize, table); + end; + + public z_GetnConvolutionFilterARB_adr := GetFuncAdr('glGetnConvolutionFilterARB'); + public z_GetnConvolutionFilterARB_ovr_0 := GetFuncOrNil&(z_GetnConvolutionFilterARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnConvolutionFilterARB(target: ConvolutionTarget; format: PixelFormat; &type: PixelType; bufSize: Int32; image: IntPtr); + begin + z_GetnConvolutionFilterARB_ovr_0(target, format, &type, bufSize, image); + end; + + public z_GetnSeparableFilterARB_adr := GetFuncAdr('glGetnSeparableFilterARB'); + public z_GetnSeparableFilterARB_ovr_0 := GetFuncOrNil&(z_GetnSeparableFilterARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnSeparableFilterARB(target: SeparableTargetEXT; format: PixelFormat; &type: PixelType; rowBufSize: Int32; row: IntPtr; columnBufSize: Int32; column: IntPtr; span: IntPtr); + begin + z_GetnSeparableFilterARB_ovr_0(target, format, &type, rowBufSize, row, columnBufSize, column, span); + end; + + public z_GetnHistogramARB_adr := GetFuncAdr('glGetnHistogramARB'); + public z_GetnHistogramARB_ovr_0 := GetFuncOrNil&(z_GetnHistogramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnHistogramARB(target: HistogramTargetEXT; reset: boolean; format: PixelFormat; &type: PixelType; bufSize: Int32; values: IntPtr); + begin + z_GetnHistogramARB_ovr_0(target, reset, format, &type, bufSize, values); + end; + + public z_GetnMinmaxARB_adr := GetFuncAdr('glGetnMinmaxARB'); + public z_GetnMinmaxARB_ovr_0 := GetFuncOrNil&(z_GetnMinmaxARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetnMinmaxARB(target: MinmaxTargetEXT; reset: boolean; format: PixelFormat; &type: PixelType; bufSize: Int32; values: IntPtr); + begin + z_GetnMinmaxARB_ovr_0(target, reset, format, &type, bufSize, values); + end; + + end; + + glSampleLocationsARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferSampleLocationsfvARB_adr := GetFuncAdr('glFramebufferSampleLocationsfvARB'); + public z_FramebufferSampleLocationsfvARB_ovr_0 := GetFuncOrNil&(z_FramebufferSampleLocationsfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvARB(target: FramebufferTarget; start: UInt32; count: Int32; v: array of single); + begin + z_FramebufferSampleLocationsfvARB_ovr_0(target, start, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvARB(target: FramebufferTarget; start: UInt32; count: Int32; var v: single); + begin + z_FramebufferSampleLocationsfvARB_ovr_0(target, start, count, v); + end; + public z_FramebufferSampleLocationsfvARB_ovr_2 := GetFuncOrNil&(z_FramebufferSampleLocationsfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvARB(target: FramebufferTarget; start: UInt32; count: Int32; v: IntPtr); + begin + z_FramebufferSampleLocationsfvARB_ovr_2(target, start, count, v); + end; + + public z_NamedFramebufferSampleLocationsfvARB_adr := GetFuncAdr('glNamedFramebufferSampleLocationsfvARB'); + public z_NamedFramebufferSampleLocationsfvARB_ovr_0 := GetFuncOrNil&(z_NamedFramebufferSampleLocationsfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvARB(framebuffer: UInt32; start: UInt32; count: Int32; v: array of single); + begin + z_NamedFramebufferSampleLocationsfvARB_ovr_0(framebuffer, start, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvARB(framebuffer: UInt32; start: UInt32; count: Int32; var v: single); + begin + z_NamedFramebufferSampleLocationsfvARB_ovr_0(framebuffer, start, count, v); + end; + public z_NamedFramebufferSampleLocationsfvARB_ovr_2 := GetFuncOrNil&(z_NamedFramebufferSampleLocationsfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvARB(framebuffer: UInt32; start: UInt32; count: Int32; v: IntPtr); + begin + z_NamedFramebufferSampleLocationsfvARB_ovr_2(framebuffer, start, count, v); + end; + + public z_EvaluateDepthValuesARB_adr := GetFuncAdr('glEvaluateDepthValuesARB'); + public z_EvaluateDepthValuesARB_ovr_0 := GetFuncOrNil&(z_EvaluateDepthValuesARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvaluateDepthValuesARB; + begin + z_EvaluateDepthValuesARB_ovr_0; + end; + + end; + + glSampleShadingARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MinSampleShadingARB_adr := GetFuncAdr('glMinSampleShadingARB'); + public z_MinSampleShadingARB_ovr_0 := GetFuncOrNil&(z_MinSampleShadingARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinSampleShadingARB(value: single); + begin + z_MinSampleShadingARB_ovr_0(value); + end; + + end; + + glSamplerObjectsARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glSeparateShaderObjectsARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glShaderAtomicCountersARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glShaderImageLoadStoreARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glShaderObjectsARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DeleteObjectARB_adr := GetFuncAdr('glDeleteObjectARB'); + public z_DeleteObjectARB_ovr_0 := GetFuncOrNil&(z_DeleteObjectARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteObjectARB(obj: GLhandleARB); + begin + z_DeleteObjectARB_ovr_0(obj); + end; + + public z_GetHandleARB_adr := GetFuncAdr('glGetHandleARB'); + public z_GetHandleARB_ovr_0 := GetFuncOrNil&(z_GetHandleARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetHandleARB(pname: DummyEnum): GLhandleARB; + begin + Result := z_GetHandleARB_ovr_0(pname); + end; + + public z_DetachObjectARB_adr := GetFuncAdr('glDetachObjectARB'); + public z_DetachObjectARB_ovr_0 := GetFuncOrNil&(z_DetachObjectARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetachObjectARB(containerObj: GLhandleARB; attachedObj: GLhandleARB); + begin + z_DetachObjectARB_ovr_0(containerObj, attachedObj); + end; + + public z_CreateShaderObjectARB_adr := GetFuncAdr('glCreateShaderObjectARB'); + public z_CreateShaderObjectARB_ovr_0 := GetFuncOrNil&(z_CreateShaderObjectARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderObjectARB(_shaderType: ShaderType): GLhandleARB; + begin + Result := z_CreateShaderObjectARB_ovr_0(_shaderType); + end; + + public z_ShaderSourceARB_adr := GetFuncAdr('glShaderSourceARB'); + public z_ShaderSourceARB_ovr_0 := GetFuncOrNil&(z_ShaderSourceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: array of string; length: array of Int32); + begin + var par_3_str_ptr := _string.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_ShaderSourceARB_ovr_0(shaderObj, count, par_3_str_ptr[0], length[0]); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: array of string; var length: Int32); + begin + var par_3_str_ptr := _string.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_ShaderSourceARB_ovr_0(shaderObj, count, par_3_str_ptr[0], length); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public z_ShaderSourceARB_ovr_2 := GetFuncOrNil&(z_ShaderSourceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: array of string; length: IntPtr); + begin + var par_3_str_ptr := _string.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_ShaderSourceARB_ovr_2(shaderObj, count, par_3_str_ptr[0], length); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: array of IntPtr; length: array of Int32); + begin + z_ShaderSourceARB_ovr_0(shaderObj, count, _string[0], length[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: array of IntPtr; var length: Int32); + begin + z_ShaderSourceARB_ovr_0(shaderObj, count, _string[0], length); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: array of IntPtr; length: IntPtr); + begin + z_ShaderSourceARB_ovr_2(shaderObj, count, _string[0], length); + end; + public z_ShaderSourceARB_ovr_6 := GetFuncOrNil&(z_ShaderSourceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: IntPtr; length: array of Int32); + begin + z_ShaderSourceARB_ovr_6(shaderObj, count, _string, length[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: IntPtr; var length: Int32); + begin + z_ShaderSourceARB_ovr_6(shaderObj, count, _string, length); + end; + public z_ShaderSourceARB_ovr_8 := GetFuncOrNil&(z_ShaderSourceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderSourceARB(shaderObj: GLhandleARB; count: Int32; _string: IntPtr; length: IntPtr); + begin + z_ShaderSourceARB_ovr_8(shaderObj, count, _string, length); + end; + + public z_CompileShaderARB_adr := GetFuncAdr('glCompileShaderARB'); + public z_CompileShaderARB_ovr_0 := GetFuncOrNil&(z_CompileShaderARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderARB(shaderObj: GLhandleARB); + begin + z_CompileShaderARB_ovr_0(shaderObj); + end; + + public z_CreateProgramObjectARB_adr := GetFuncAdr('glCreateProgramObjectARB'); + public z_CreateProgramObjectARB_ovr_0 := GetFuncOrNil&(z_CreateProgramObjectARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateProgramObjectARB: GLhandleARB; + begin + Result := z_CreateProgramObjectARB_ovr_0; + end; + + public z_AttachObjectARB_adr := GetFuncAdr('glAttachObjectARB'); + public z_AttachObjectARB_ovr_0 := GetFuncOrNil&(z_AttachObjectARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AttachObjectARB(containerObj: GLhandleARB; obj: GLhandleARB); + begin + z_AttachObjectARB_ovr_0(containerObj, obj); + end; + + public z_LinkProgramARB_adr := GetFuncAdr('glLinkProgramARB'); + public z_LinkProgramARB_ovr_0 := GetFuncOrNil&(z_LinkProgramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LinkProgramARB(programObj: GLhandleARB); + begin + z_LinkProgramARB_ovr_0(programObj); + end; + + public z_UseProgramObjectARB_adr := GetFuncAdr('glUseProgramObjectARB'); + public z_UseProgramObjectARB_ovr_0 := GetFuncOrNil&(z_UseProgramObjectARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseProgramObjectARB(programObj: GLhandleARB); + begin + z_UseProgramObjectARB_ovr_0(programObj); + end; + + public z_ValidateProgramARB_adr := GetFuncAdr('glValidateProgramARB'); + public z_ValidateProgramARB_ovr_0 := GetFuncOrNil&(z_ValidateProgramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ValidateProgramARB(programObj: GLhandleARB); + begin + z_ValidateProgramARB_ovr_0(programObj); + end; + + public z_Uniform1fARB_adr := GetFuncAdr('glUniform1fARB'); + public z_Uniform1fARB_ovr_0 := GetFuncOrNil&(z_Uniform1fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fARB(location: Int32; v0: single); + begin + z_Uniform1fARB_ovr_0(location, v0); + end; + + public z_Uniform2fARB_adr := GetFuncAdr('glUniform2fARB'); + public z_Uniform2fARB_ovr_0 := GetFuncOrNil&(z_Uniform2fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fARB(location: Int32; v0: single; v1: single); + begin + z_Uniform2fARB_ovr_0(location, v0, v1); + end; + + public z_Uniform3fARB_adr := GetFuncAdr('glUniform3fARB'); + public z_Uniform3fARB_ovr_0 := GetFuncOrNil&(z_Uniform3fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fARB(location: Int32; v0: single; v1: single; v2: single); + begin + z_Uniform3fARB_ovr_0(location, v0, v1, v2); + end; + + public z_Uniform4fARB_adr := GetFuncAdr('glUniform4fARB'); + public z_Uniform4fARB_ovr_0 := GetFuncOrNil&(z_Uniform4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fARB(location: Int32; v0: single; v1: single; v2: single; v3: single); + begin + z_Uniform4fARB_ovr_0(location, v0, v1, v2, v3); + end; + + public z_Uniform1iARB_adr := GetFuncAdr('glUniform1iARB'); + public z_Uniform1iARB_ovr_0 := GetFuncOrNil&(z_Uniform1iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1iARB(location: Int32; v0: Int32); + begin + z_Uniform1iARB_ovr_0(location, v0); + end; + + public z_Uniform2iARB_adr := GetFuncAdr('glUniform2iARB'); + public z_Uniform2iARB_ovr_0 := GetFuncOrNil&(z_Uniform2iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2iARB(location: Int32; v0: Int32; v1: Int32); + begin + z_Uniform2iARB_ovr_0(location, v0, v1); + end; + + public z_Uniform3iARB_adr := GetFuncAdr('glUniform3iARB'); + public z_Uniform3iARB_ovr_0 := GetFuncOrNil&(z_Uniform3iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3iARB(location: Int32; v0: Int32; v1: Int32; v2: Int32); + begin + z_Uniform3iARB_ovr_0(location, v0, v1, v2); + end; + + public z_Uniform4iARB_adr := GetFuncAdr('glUniform4iARB'); + public z_Uniform4iARB_ovr_0 := GetFuncOrNil&(z_Uniform4iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4iARB(location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32); + begin + z_Uniform4iARB_ovr_0(location, v0, v1, v2, v3); + end; + + public z_Uniform1fvARB_adr := GetFuncAdr('glUniform1fvARB'); + public z_Uniform1fvARB_ovr_0 := GetFuncOrNil&(z_Uniform1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fvARB(location: Int32; count: Int32; value: array of single); + begin + z_Uniform1fvARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fvARB(location: Int32; count: Int32; var value: single); + begin + z_Uniform1fvARB_ovr_0(location, count, value); + end; + public z_Uniform1fvARB_ovr_2 := GetFuncOrNil&(z_Uniform1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1fvARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1fvARB_ovr_2(location, count, value); + end; + + public z_Uniform2fvARB_adr := GetFuncAdr('glUniform2fvARB'); + public z_Uniform2fvARB_ovr_0 := GetFuncOrNil&(z_Uniform2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fvARB(location: Int32; count: Int32; value: array of single); + begin + z_Uniform2fvARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fvARB(location: Int32; count: Int32; var value: single); + begin + z_Uniform2fvARB_ovr_0(location, count, value); + end; + public z_Uniform2fvARB_ovr_2 := GetFuncOrNil&(z_Uniform2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2fvARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2fvARB_ovr_2(location, count, value); + end; + + public z_Uniform3fvARB_adr := GetFuncAdr('glUniform3fvARB'); + public z_Uniform3fvARB_ovr_0 := GetFuncOrNil&(z_Uniform3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fvARB(location: Int32; count: Int32; value: array of single); + begin + z_Uniform3fvARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fvARB(location: Int32; count: Int32; var value: single); + begin + z_Uniform3fvARB_ovr_0(location, count, value); + end; + public z_Uniform3fvARB_ovr_2 := GetFuncOrNil&(z_Uniform3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3fvARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3fvARB_ovr_2(location, count, value); + end; + + public z_Uniform4fvARB_adr := GetFuncAdr('glUniform4fvARB'); + public z_Uniform4fvARB_ovr_0 := GetFuncOrNil&(z_Uniform4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fvARB(location: Int32; count: Int32; value: array of single); + begin + z_Uniform4fvARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fvARB(location: Int32; count: Int32; var value: single); + begin + z_Uniform4fvARB_ovr_0(location, count, value); + end; + public z_Uniform4fvARB_ovr_2 := GetFuncOrNil&(z_Uniform4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4fvARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4fvARB_ovr_2(location, count, value); + end; + + public z_Uniform1ivARB_adr := GetFuncAdr('glUniform1ivARB'); + public z_Uniform1ivARB_ovr_0 := GetFuncOrNil&(z_Uniform1ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ivARB(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform1ivARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ivARB(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform1ivARB_ovr_0(location, count, value); + end; + public z_Uniform1ivARB_ovr_2 := GetFuncOrNil&(z_Uniform1ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ivARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1ivARB_ovr_2(location, count, value); + end; + + public z_Uniform2ivARB_adr := GetFuncAdr('glUniform2ivARB'); + public z_Uniform2ivARB_ovr_0 := GetFuncOrNil&(z_Uniform2ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ivARB(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform2ivARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ivARB(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform2ivARB_ovr_0(location, count, value); + end; + public z_Uniform2ivARB_ovr_2 := GetFuncOrNil&(z_Uniform2ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ivARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2ivARB_ovr_2(location, count, value); + end; + + public z_Uniform3ivARB_adr := GetFuncAdr('glUniform3ivARB'); + public z_Uniform3ivARB_ovr_0 := GetFuncOrNil&(z_Uniform3ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ivARB(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform3ivARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ivARB(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform3ivARB_ovr_0(location, count, value); + end; + public z_Uniform3ivARB_ovr_2 := GetFuncOrNil&(z_Uniform3ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ivARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3ivARB_ovr_2(location, count, value); + end; + + public z_Uniform4ivARB_adr := GetFuncAdr('glUniform4ivARB'); + public z_Uniform4ivARB_ovr_0 := GetFuncOrNil&(z_Uniform4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ivARB(location: Int32; count: Int32; value: array of Int32); + begin + z_Uniform4ivARB_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ivARB(location: Int32; count: Int32; var value: Int32); + begin + z_Uniform4ivARB_ovr_0(location, count, value); + end; + public z_Uniform4ivARB_ovr_2 := GetFuncOrNil&(z_Uniform4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ivARB(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4ivARB_ovr_2(location, count, value); + end; + + public z_UniformMatrix2fvARB_adr := GetFuncAdr('glUniformMatrix2fvARB'); + public z_UniformMatrix2fvARB_ovr_0 := GetFuncOrNil&(z_UniformMatrix2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fvARB(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix2fvARB_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fvARB(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix2fvARB_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix2fvARB_ovr_2 := GetFuncOrNil&(z_UniformMatrix2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix2fvARB(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix2fvARB_ovr_2(location, count, transpose, value); + end; + + public z_UniformMatrix3fvARB_adr := GetFuncAdr('glUniformMatrix3fvARB'); + public z_UniformMatrix3fvARB_ovr_0 := GetFuncOrNil&(z_UniformMatrix3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fvARB(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix3fvARB_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fvARB(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix3fvARB_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix3fvARB_ovr_2 := GetFuncOrNil&(z_UniformMatrix3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix3fvARB(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix3fvARB_ovr_2(location, count, transpose, value); + end; + + public z_UniformMatrix4fvARB_adr := GetFuncAdr('glUniformMatrix4fvARB'); + public z_UniformMatrix4fvARB_ovr_0 := GetFuncOrNil&(z_UniformMatrix4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fvARB(location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_UniformMatrix4fvARB_ovr_0(location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fvARB(location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_UniformMatrix4fvARB_ovr_0(location, count, transpose, value); + end; + public z_UniformMatrix4fvARB_ovr_2 := GetFuncOrNil&(z_UniformMatrix4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformMatrix4fvARB(location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_UniformMatrix4fvARB_ovr_2(location, count, transpose, value); + end; + + public z_GetObjectParameterfvARB_adr := GetFuncAdr('glGetObjectParameterfvARB'); + public z_GetObjectParameterfvARB_ovr_0 := GetFuncOrNil&(z_GetObjectParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterfvARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: array of single); + begin + z_GetObjectParameterfvARB_ovr_0(obj, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterfvARB(obj: GLhandleARB; pname: DummyEnum; var ¶ms: single); + begin + z_GetObjectParameterfvARB_ovr_0(obj, pname, ¶ms); + end; + public z_GetObjectParameterfvARB_ovr_2 := GetFuncOrNil&(z_GetObjectParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterfvARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetObjectParameterfvARB_ovr_2(obj, pname, ¶ms); + end; + + public z_GetObjectParameterivARB_adr := GetFuncAdr('glGetObjectParameterivARB'); + public z_GetObjectParameterivARB_ovr_0 := GetFuncOrNil&(z_GetObjectParameterivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetObjectParameterivARB_ovr_0(obj, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivARB(obj: GLhandleARB; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetObjectParameterivARB_ovr_0(obj, pname, ¶ms); + end; + public z_GetObjectParameterivARB_ovr_2 := GetFuncOrNil&(z_GetObjectParameterivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectParameterivARB(obj: GLhandleARB; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetObjectParameterivARB_ovr_2(obj, pname, ¶ms); + end; + + public z_GetInfoLogARB_adr := GetFuncAdr('glGetInfoLogARB'); + public z_GetInfoLogARB_ovr_0 := GetFuncOrNil&(z_GetInfoLogARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; length: array of Int32; infoLog: IntPtr); + begin + z_GetInfoLogARB_ovr_0(obj, maxLength, length[0], infoLog); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; var length: Int32; infoLog: IntPtr); + begin + z_GetInfoLogARB_ovr_0(obj, maxLength, length, infoLog); + end; + public z_GetInfoLogARB_ovr_2 := GetFuncOrNil&(z_GetInfoLogARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInfoLogARB(obj: GLhandleARB; maxLength: Int32; length: IntPtr; infoLog: IntPtr); + begin + z_GetInfoLogARB_ovr_2(obj, maxLength, length, infoLog); + end; + + public z_GetAttachedObjectsARB_adr := GetFuncAdr('glGetAttachedObjectsARB'); + public z_GetAttachedObjectsARB_ovr_0 := GetFuncOrNil&(z_GetAttachedObjectsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: array of Int32; obj: array of GLhandleARB); + begin + z_GetAttachedObjectsARB_ovr_0(containerObj, maxCount, count[0], obj[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: array of Int32; var obj: GLhandleARB); + begin + z_GetAttachedObjectsARB_ovr_0(containerObj, maxCount, count[0], obj); + end; + public z_GetAttachedObjectsARB_ovr_2 := GetFuncOrNil&(z_GetAttachedObjectsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: array of Int32; obj: IntPtr); + begin + z_GetAttachedObjectsARB_ovr_2(containerObj, maxCount, count[0], obj); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; var count: Int32; obj: array of GLhandleARB); + begin + z_GetAttachedObjectsARB_ovr_0(containerObj, maxCount, count, obj[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; var count: Int32; var obj: GLhandleARB); + begin + z_GetAttachedObjectsARB_ovr_0(containerObj, maxCount, count, obj); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; var count: Int32; obj: IntPtr); + begin + z_GetAttachedObjectsARB_ovr_2(containerObj, maxCount, count, obj); + end; + public z_GetAttachedObjectsARB_ovr_6 := GetFuncOrNil&(z_GetAttachedObjectsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: IntPtr; obj: array of GLhandleARB); + begin + z_GetAttachedObjectsARB_ovr_6(containerObj, maxCount, count, obj[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: IntPtr; var obj: GLhandleARB); + begin + z_GetAttachedObjectsARB_ovr_6(containerObj, maxCount, count, obj); + end; + public z_GetAttachedObjectsARB_ovr_8 := GetFuncOrNil&(z_GetAttachedObjectsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetAttachedObjectsARB(containerObj: GLhandleARB; maxCount: Int32; count: IntPtr; obj: IntPtr); + begin + z_GetAttachedObjectsARB_ovr_8(containerObj, maxCount, count, obj); + end; + + public z_GetUniformLocationARB_adr := GetFuncAdr('glGetUniformLocationARB'); + public z_GetUniformLocationARB_ovr_0 := GetFuncOrNil&(z_GetUniformLocationARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocationARB(programObj: GLhandleARB; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetUniformLocationARB_ovr_0(programObj, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformLocationARB(programObj: GLhandleARB; name: IntPtr): Int32; + begin + Result := z_GetUniformLocationARB_ovr_0(programObj, name); + end; + + public z_GetActiveUniformARB_adr := GetFuncAdr('glGetActiveUniformARB'); + public z_GetActiveUniformARB_ovr_0 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length[0], size[0], &type, name); + end; + public z_GetActiveUniformARB_ovr_2 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_2(programObj, index, maxLength, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_2(programObj, index, maxLength, length[0], size, &type, name); + end; + public z_GetActiveUniformARB_ovr_6 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: IntPtr; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_6(programObj, index, maxLength, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: IntPtr; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_6(programObj, index, maxLength, length[0], size, &type, name); + end; + public z_GetActiveUniformARB_ovr_8 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_8(programObj, index, maxLength, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_2(programObj, index, maxLength, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_0(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_2(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: IntPtr; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_6(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: IntPtr; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_6(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_8(programObj, index, maxLength, length, size, &type, name); + end; + public z_GetActiveUniformARB_ovr_18 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: array of Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_18(programObj, index, maxLength, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: array of Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_18(programObj, index, maxLength, length, size[0], &type, name); + end; + public z_GetActiveUniformARB_ovr_20 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_20(programObj, index, maxLength, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; var size: Int32; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_18(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; var size: Int32; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_18(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_20(programObj, index, maxLength, length, size, &type, name); + end; + public z_GetActiveUniformARB_ovr_24 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: IntPtr; &type: array of UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_24(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: IntPtr; var &type: UniformType; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_24(programObj, index, maxLength, length, size, &type, name); + end; + public z_GetActiveUniformARB_ovr_26 := GetFuncOrNil&(z_GetActiveUniformARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveUniformARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveUniformARB_ovr_26(programObj, index, maxLength, length, size, &type, name); + end; + + public z_GetUniformfvARB_adr := GetFuncAdr('glGetUniformfvARB'); + public z_GetUniformfvARB_ovr_0 := GetFuncOrNil&(z_GetUniformfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfvARB(programObj: GLhandleARB; location: Int32; ¶ms: array of single); + begin + z_GetUniformfvARB_ovr_0(programObj, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfvARB(programObj: GLhandleARB; location: Int32; var ¶ms: single); + begin + z_GetUniformfvARB_ovr_0(programObj, location, ¶ms); + end; + public z_GetUniformfvARB_ovr_2 := GetFuncOrNil&(z_GetUniformfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformfvARB(programObj: GLhandleARB; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformfvARB_ovr_2(programObj, location, ¶ms); + end; + + public z_GetUniformivARB_adr := GetFuncAdr('glGetUniformivARB'); + public z_GetUniformivARB_ovr_0 := GetFuncOrNil&(z_GetUniformivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformivARB(programObj: GLhandleARB; location: Int32; ¶ms: array of Int32); + begin + z_GetUniformivARB_ovr_0(programObj, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformivARB(programObj: GLhandleARB; location: Int32; var ¶ms: Int32); + begin + z_GetUniformivARB_ovr_0(programObj, location, ¶ms); + end; + public z_GetUniformivARB_ovr_2 := GetFuncOrNil&(z_GetUniformivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformivARB(programObj: GLhandleARB; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformivARB_ovr_2(programObj, location, ¶ms); + end; + + public z_GetShaderSourceARB_adr := GetFuncAdr('glGetShaderSourceARB'); + public z_GetShaderSourceARB_ovr_0 := GetFuncOrNil&(z_GetShaderSourceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; length: array of Int32; source: IntPtr); + begin + z_GetShaderSourceARB_ovr_0(obj, maxLength, length[0], source); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; var length: Int32; source: IntPtr); + begin + z_GetShaderSourceARB_ovr_0(obj, maxLength, length, source); + end; + public z_GetShaderSourceARB_ovr_2 := GetFuncOrNil&(z_GetShaderSourceARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShaderSourceARB(obj: GLhandleARB; maxLength: Int32; length: IntPtr; source: IntPtr); + begin + z_GetShaderSourceARB_ovr_2(obj, maxLength, length, source); + end; + + end; + + glShaderStorageBufferObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glShaderSubroutineARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glShadingLanguageIncludeARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_NamedStringARB_adr := GetFuncAdr('glNamedStringARB'); + public z_NamedStringARB_ovr_0 := GetFuncOrNil&(z_NamedStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: string; stringlen: Int32; _string: string); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + var par_5_str_ptr := Marshal.StringToHGlobalAnsi(_string); + z_NamedStringARB_ovr_0(&type, namelen, par_3_str_ptr, stringlen, par_5_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + Marshal.FreeHGlobal(par_5_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: string; stringlen: Int32; _string: IntPtr); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_NamedStringARB_ovr_0(&type, namelen, par_3_str_ptr, stringlen, _string); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: IntPtr; stringlen: Int32; _string: string); + begin + var par_5_str_ptr := Marshal.StringToHGlobalAnsi(_string); + z_NamedStringARB_ovr_0(&type, namelen, name, stringlen, par_5_str_ptr); + Marshal.FreeHGlobal(par_5_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedStringARB(&type: DummyEnum; namelen: Int32; name: IntPtr; stringlen: Int32; _string: IntPtr); + begin + z_NamedStringARB_ovr_0(&type, namelen, name, stringlen, _string); + end; + + public z_DeleteNamedStringARB_adr := GetFuncAdr('glDeleteNamedStringARB'); + public z_DeleteNamedStringARB_ovr_0 := GetFuncOrNil&(z_DeleteNamedStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamedStringARB(namelen: Int32; name: string); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_DeleteNamedStringARB_ovr_0(namelen, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteNamedStringARB(namelen: Int32; name: IntPtr); + begin + z_DeleteNamedStringARB_ovr_0(namelen, name); + end; + + public z_CompileShaderIncludeARB_adr := GetFuncAdr('glCompileShaderIncludeARB'); + public z_CompileShaderIncludeARB_ovr_0 := GetFuncOrNil&(z_CompileShaderIncludeARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of string; length: array of Int32); + begin + var par_3_str_ptr := path.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_CompileShaderIncludeARB_ovr_0(shader, count, par_3_str_ptr[0], length[0]); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of string; var length: Int32); + begin + var par_3_str_ptr := path.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_CompileShaderIncludeARB_ovr_0(shader, count, par_3_str_ptr[0], length); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public z_CompileShaderIncludeARB_ovr_2 := GetFuncOrNil&(z_CompileShaderIncludeARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of string; length: IntPtr); + begin + var par_3_str_ptr := path.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_CompileShaderIncludeARB_ovr_2(shader, count, par_3_str_ptr[0], length); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of IntPtr; length: array of Int32); + begin + z_CompileShaderIncludeARB_ovr_0(shader, count, path[0], length[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of IntPtr; var length: Int32); + begin + z_CompileShaderIncludeARB_ovr_0(shader, count, path[0], length); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: array of IntPtr; length: IntPtr); + begin + z_CompileShaderIncludeARB_ovr_2(shader, count, path[0], length); + end; + public z_CompileShaderIncludeARB_ovr_6 := GetFuncOrNil&(z_CompileShaderIncludeARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: IntPtr; length: array of Int32); + begin + z_CompileShaderIncludeARB_ovr_6(shader, count, path, length[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: IntPtr; var length: Int32); + begin + z_CompileShaderIncludeARB_ovr_6(shader, count, path, length); + end; + public z_CompileShaderIncludeARB_ovr_8 := GetFuncOrNil&(z_CompileShaderIncludeARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileShaderIncludeARB(shader: UInt32; count: Int32; path: IntPtr; length: IntPtr); + begin + z_CompileShaderIncludeARB_ovr_8(shader, count, path, length); + end; + + public z_IsNamedStringARB_adr := GetFuncAdr('glIsNamedStringARB'); + public z_IsNamedStringARB_ovr_0 := GetFuncOrNil&(z_IsNamedStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNamedStringARB(namelen: Int32; name: string): boolean; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_IsNamedStringARB_ovr_0(namelen, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNamedStringARB(namelen: Int32; name: IntPtr): boolean; + begin + Result := z_IsNamedStringARB_ovr_0(namelen, name); + end; + + public z_GetNamedStringARB_adr := GetFuncAdr('glGetNamedStringARB'); + public z_GetNamedStringARB_ovr_0 := GetFuncOrNil&(z_GetNamedStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; stringlen: array of Int32; string: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_GetNamedStringARB_ovr_0(namelen, par_2_str_ptr, bufSize, stringlen[0], string); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; var stringlen: Int32; string: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_GetNamedStringARB_ovr_0(namelen, par_2_str_ptr, bufSize, stringlen, string); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_GetNamedStringARB_ovr_2 := GetFuncOrNil&(z_GetNamedStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: string; bufSize: Int32; stringlen: IntPtr; string: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_GetNamedStringARB_ovr_2(namelen, par_2_str_ptr, bufSize, stringlen, string); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; stringlen: array of Int32; string: IntPtr); + begin + z_GetNamedStringARB_ovr_0(namelen, name, bufSize, stringlen[0], string); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; var stringlen: Int32; string: IntPtr); + begin + z_GetNamedStringARB_ovr_0(namelen, name, bufSize, stringlen, string); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringARB(namelen: Int32; name: IntPtr; bufSize: Int32; stringlen: IntPtr; string: IntPtr); + begin + z_GetNamedStringARB_ovr_2(namelen, name, bufSize, stringlen, string); + end; + + public z_GetNamedStringivARB_adr := GetFuncAdr('glGetNamedStringivARB'); + public z_GetNamedStringivARB_ovr_0 := GetFuncOrNil&(z_GetNamedStringivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: string; pname: DummyEnum; ¶ms: array of Int32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_GetNamedStringivARB_ovr_0(namelen, par_2_str_ptr, pname, ¶ms[0]); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: string; pname: DummyEnum; var ¶ms: Int32); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_GetNamedStringivARB_ovr_0(namelen, par_2_str_ptr, pname, ¶ms); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public z_GetNamedStringivARB_ovr_2 := GetFuncOrNil&(z_GetNamedStringivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: string; pname: DummyEnum; ¶ms: IntPtr); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_GetNamedStringivARB_ovr_2(namelen, par_2_str_ptr, pname, ¶ms); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: IntPtr; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetNamedStringivARB_ovr_0(namelen, name, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: IntPtr; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetNamedStringivARB_ovr_0(namelen, name, pname, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedStringivARB(namelen: Int32; name: IntPtr; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetNamedStringivARB_ovr_2(namelen, name, pname, ¶ms); + end; + + end; + + glSparseBufferARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BufferPageCommitmentARB_adr := GetFuncAdr('glBufferPageCommitmentARB'); + public z_BufferPageCommitmentARB_ovr_0 := GetFuncOrNil&(z_BufferPageCommitmentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferPageCommitmentARB(target: DummyEnum; offset: IntPtr; size: IntPtr; commit: boolean); + begin + z_BufferPageCommitmentARB_ovr_0(target, offset, size, commit); + end; + + public z_NamedBufferPageCommitmentARB_adr := GetFuncAdr('glNamedBufferPageCommitmentARB'); + public z_NamedBufferPageCommitmentARB_ovr_0 := GetFuncOrNil&(z_NamedBufferPageCommitmentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferPageCommitmentARB(buffer: UInt32; offset: IntPtr; size: IntPtr; commit: boolean); + begin + z_NamedBufferPageCommitmentARB_ovr_0(buffer, offset, size, commit); + end; + + end; + + glSparseTextureARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexPageCommitmentARB_adr := GetFuncAdr('glTexPageCommitmentARB'); + public z_TexPageCommitmentARB_ovr_0 := GetFuncOrNil&(z_TexPageCommitmentARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexPageCommitmentARB(target: DummyEnum; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; commit: boolean); + begin + z_TexPageCommitmentARB_ovr_0(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); + end; + + end; + + glSyncARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTessellationShaderARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTextureBarrierARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTextureBufferObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexBufferARB_adr := GetFuncAdr('glTexBufferARB'); + public z_TexBufferARB_ovr_0 := GetFuncOrNil&(z_TexBufferARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferARB(target: TextureTarget; _internalformat: InternalFormat; buffer: UInt32); + begin + z_TexBufferARB_ovr_0(target, _internalformat, buffer); + end; + + end; + + glTextureBufferRangeARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTextureCompressionARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CompressedTexImage3DARB_adr := GetFuncAdr('glCompressedTexImage3DARB'); + public z_CompressedTexImage3DARB_ovr_0 := GetFuncOrNil&(z_CompressedTexImage3DARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage3DARB(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexImage3DARB_ovr_0(target, level, _internalformat, width, height, depth, border, imageSize, data); + end; + + public z_CompressedTexImage2DARB_adr := GetFuncAdr('glCompressedTexImage2DARB'); + public z_CompressedTexImage2DARB_ovr_0 := GetFuncOrNil&(z_CompressedTexImage2DARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage2DARB(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexImage2DARB_ovr_0(target, level, _internalformat, width, height, border, imageSize, data); + end; + + public z_CompressedTexImage1DARB_adr := GetFuncAdr('glCompressedTexImage1DARB'); + public z_CompressedTexImage1DARB_ovr_0 := GetFuncOrNil&(z_CompressedTexImage1DARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexImage1DARB(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; border: Int32; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexImage1DARB_ovr_0(target, level, _internalformat, width, border, imageSize, data); + end; + + public z_CompressedTexSubImage3DARB_adr := GetFuncAdr('glCompressedTexSubImage3DARB'); + public z_CompressedTexSubImage3DARB_ovr_0 := GetFuncOrNil&(z_CompressedTexSubImage3DARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage3DARB(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexSubImage3DARB_ovr_0(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + end; + + public z_CompressedTexSubImage2DARB_adr := GetFuncAdr('glCompressedTexSubImage2DARB'); + public z_CompressedTexSubImage2DARB_ovr_0 := GetFuncOrNil&(z_CompressedTexSubImage2DARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage2DARB(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexSubImage2DARB_ovr_0(target, level, xoffset, yoffset, width, height, format, imageSize, data); + end; + + public z_CompressedTexSubImage1DARB_adr := GetFuncAdr('glCompressedTexSubImage1DARB'); + public z_CompressedTexSubImage1DARB_ovr_0 := GetFuncOrNil&(z_CompressedTexSubImage1DARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTexSubImage1DARB(target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; imageSize: Int32; data: IntPtr); + begin + z_CompressedTexSubImage1DARB_ovr_0(target, level, xoffset, width, format, imageSize, data); + end; + + public z_GetCompressedTexImageARB_adr := GetFuncAdr('glGetCompressedTexImageARB'); + public z_GetCompressedTexImageARB_ovr_0 := GetFuncOrNil&(z_GetCompressedTexImageARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTexImageARB(target: TextureTarget; level: Int32; img: IntPtr); + begin + z_GetCompressedTexImageARB_ovr_0(target, level, img); + end; + + end; + + glTextureMultisampleARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTextureStorageARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTextureStorageMultisampleARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTextureViewARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTimerQueryARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTransformFeedback2ARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTransformFeedback3ARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTransformFeedbackInstancedARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glTransposeMatrixARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_LoadTransposeMatrixfARB_adr := GetFuncAdr('glLoadTransposeMatrixfARB'); + public z_LoadTransposeMatrixfARB_ovr_0 := GetFuncOrNil&(z_LoadTransposeMatrixfARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixfARB(m: array of single); + begin + z_LoadTransposeMatrixfARB_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixfARB(var m: single); + begin + z_LoadTransposeMatrixfARB_ovr_0(m); + end; + public z_LoadTransposeMatrixfARB_ovr_2 := GetFuncOrNil&(z_LoadTransposeMatrixfARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixfARB(m: IntPtr); + begin + z_LoadTransposeMatrixfARB_ovr_2(m); + end; + + public z_LoadTransposeMatrixdARB_adr := GetFuncAdr('glLoadTransposeMatrixdARB'); + public z_LoadTransposeMatrixdARB_ovr_0 := GetFuncOrNil&(z_LoadTransposeMatrixdARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixdARB(m: array of real); + begin + z_LoadTransposeMatrixdARB_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixdARB(var m: real); + begin + z_LoadTransposeMatrixdARB_ovr_0(m); + end; + public z_LoadTransposeMatrixdARB_ovr_2 := GetFuncOrNil&(z_LoadTransposeMatrixdARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixdARB(m: IntPtr); + begin + z_LoadTransposeMatrixdARB_ovr_2(m); + end; + + public z_MultTransposeMatrixfARB_adr := GetFuncAdr('glMultTransposeMatrixfARB'); + public z_MultTransposeMatrixfARB_ovr_0 := GetFuncOrNil&(z_MultTransposeMatrixfARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixfARB(m: array of single); + begin + z_MultTransposeMatrixfARB_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixfARB(var m: single); + begin + z_MultTransposeMatrixfARB_ovr_0(m); + end; + public z_MultTransposeMatrixfARB_ovr_2 := GetFuncOrNil&(z_MultTransposeMatrixfARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixfARB(m: IntPtr); + begin + z_MultTransposeMatrixfARB_ovr_2(m); + end; + + public z_MultTransposeMatrixdARB_adr := GetFuncAdr('glMultTransposeMatrixdARB'); + public z_MultTransposeMatrixdARB_ovr_0 := GetFuncOrNil&(z_MultTransposeMatrixdARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixdARB(m: array of real); + begin + z_MultTransposeMatrixdARB_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixdARB(var m: real); + begin + z_MultTransposeMatrixdARB_ovr_0(m); + end; + public z_MultTransposeMatrixdARB_ovr_2 := GetFuncOrNil&(z_MultTransposeMatrixdARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixdARB(m: IntPtr); + begin + z_MultTransposeMatrixdARB_ovr_2(m); + end; + + end; + + glUniformBufferObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glVertexArrayObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glVertexAttrib64bitARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glVertexAttribBindingARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glVertexBlendARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_WeightbvARB_adr := GetFuncAdr('glWeightbvARB'); + public z_WeightbvARB_ovr_0 := GetFuncOrNil&(z_WeightbvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightbvARB(size: Int32; weights: array of SByte); + begin + z_WeightbvARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightbvARB(size: Int32; var weights: SByte); + begin + z_WeightbvARB_ovr_0(size, weights); + end; + public z_WeightbvARB_ovr_2 := GetFuncOrNil&(z_WeightbvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightbvARB(size: Int32; weights: IntPtr); + begin + z_WeightbvARB_ovr_2(size, weights); + end; + + public z_WeightsvARB_adr := GetFuncAdr('glWeightsvARB'); + public z_WeightsvARB_ovr_0 := GetFuncOrNil&(z_WeightsvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightsvARB(size: Int32; weights: array of Int16); + begin + z_WeightsvARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightsvARB(size: Int32; var weights: Int16); + begin + z_WeightsvARB_ovr_0(size, weights); + end; + public z_WeightsvARB_ovr_2 := GetFuncOrNil&(z_WeightsvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightsvARB(size: Int32; weights: IntPtr); + begin + z_WeightsvARB_ovr_2(size, weights); + end; + + public z_WeightivARB_adr := GetFuncAdr('glWeightivARB'); + public z_WeightivARB_ovr_0 := GetFuncOrNil&(z_WeightivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightivARB(size: Int32; weights: array of Int32); + begin + z_WeightivARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightivARB(size: Int32; var weights: Int32); + begin + z_WeightivARB_ovr_0(size, weights); + end; + public z_WeightivARB_ovr_2 := GetFuncOrNil&(z_WeightivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightivARB(size: Int32; weights: IntPtr); + begin + z_WeightivARB_ovr_2(size, weights); + end; + + public z_WeightfvARB_adr := GetFuncAdr('glWeightfvARB'); + public z_WeightfvARB_ovr_0 := GetFuncOrNil&(z_WeightfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightfvARB(size: Int32; weights: array of single); + begin + z_WeightfvARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightfvARB(size: Int32; var weights: single); + begin + z_WeightfvARB_ovr_0(size, weights); + end; + public z_WeightfvARB_ovr_2 := GetFuncOrNil&(z_WeightfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightfvARB(size: Int32; weights: IntPtr); + begin + z_WeightfvARB_ovr_2(size, weights); + end; + + public z_WeightdvARB_adr := GetFuncAdr('glWeightdvARB'); + public z_WeightdvARB_ovr_0 := GetFuncOrNil&(z_WeightdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightdvARB(size: Int32; weights: array of real); + begin + z_WeightdvARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightdvARB(size: Int32; var weights: real); + begin + z_WeightdvARB_ovr_0(size, weights); + end; + public z_WeightdvARB_ovr_2 := GetFuncOrNil&(z_WeightdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightdvARB(size: Int32; weights: IntPtr); + begin + z_WeightdvARB_ovr_2(size, weights); + end; + + public z_WeightubvARB_adr := GetFuncAdr('glWeightubvARB'); + public z_WeightubvARB_ovr_0 := GetFuncOrNil&(z_WeightubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightubvARB(size: Int32; weights: array of Byte); + begin + z_WeightubvARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightubvARB(size: Int32; var weights: Byte); + begin + z_WeightubvARB_ovr_0(size, weights); + end; + public z_WeightubvARB_ovr_2 := GetFuncOrNil&(z_WeightubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightubvARB(size: Int32; weights: IntPtr); + begin + z_WeightubvARB_ovr_2(size, weights); + end; + + public z_WeightusvARB_adr := GetFuncAdr('glWeightusvARB'); + public z_WeightusvARB_ovr_0 := GetFuncOrNil&(z_WeightusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightusvARB(size: Int32; weights: array of UInt16); + begin + z_WeightusvARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightusvARB(size: Int32; var weights: UInt16); + begin + z_WeightusvARB_ovr_0(size, weights); + end; + public z_WeightusvARB_ovr_2 := GetFuncOrNil&(z_WeightusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightusvARB(size: Int32; weights: IntPtr); + begin + z_WeightusvARB_ovr_2(size, weights); + end; + + public z_WeightuivARB_adr := GetFuncAdr('glWeightuivARB'); + public z_WeightuivARB_ovr_0 := GetFuncOrNil&(z_WeightuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightuivARB(size: Int32; weights: array of UInt32); + begin + z_WeightuivARB_ovr_0(size, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightuivARB(size: Int32; var weights: UInt32); + begin + z_WeightuivARB_ovr_0(size, weights); + end; + public z_WeightuivARB_ovr_2 := GetFuncOrNil&(z_WeightuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightuivARB(size: Int32; weights: IntPtr); + begin + z_WeightuivARB_ovr_2(size, weights); + end; + + public z_WeightPointerARB_adr := GetFuncAdr('glWeightPointerARB'); + public z_WeightPointerARB_ovr_0 := GetFuncOrNil&(z_WeightPointerARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPointerARB(size: Int32; &type: WeightPointerTypeARB; stride: Int32; pointer: IntPtr); + begin + z_WeightPointerARB_ovr_0(size, &type, stride, pointer); + end; + + public z_VertexBlendARB_adr := GetFuncAdr('glVertexBlendARB'); + public z_VertexBlendARB_ovr_0 := GetFuncOrNil&(z_VertexBlendARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBlendARB(count: Int32); + begin + z_VertexBlendARB_ovr_0(count); + end; + + end; + + glVertexBufferObjectARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BindBufferARB_adr := GetFuncAdr('glBindBufferARB'); + public z_BindBufferARB_ovr_0 := GetFuncOrNil&(z_BindBufferARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferARB(target: BufferTargetARB; buffer: UInt32); + begin + z_BindBufferARB_ovr_0(target, buffer); + end; + + public z_DeleteBuffersARB_adr := GetFuncAdr('glDeleteBuffersARB'); + public z_DeleteBuffersARB_ovr_0 := GetFuncOrNil&(z_DeleteBuffersARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffersARB(n: Int32; buffers: array of UInt32); + begin + z_DeleteBuffersARB_ovr_0(n, buffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffersARB(n: Int32; var buffers: UInt32); + begin + z_DeleteBuffersARB_ovr_0(n, buffers); + end; + public z_DeleteBuffersARB_ovr_2 := GetFuncOrNil&(z_DeleteBuffersARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteBuffersARB(n: Int32; buffers: IntPtr); + begin + z_DeleteBuffersARB_ovr_2(n, buffers); + end; + + public z_GenBuffersARB_adr := GetFuncAdr('glGenBuffersARB'); + public z_GenBuffersARB_ovr_0 := GetFuncOrNil&(z_GenBuffersARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffersARB(n: Int32; buffers: array of UInt32); + begin + z_GenBuffersARB_ovr_0(n, buffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffersARB(n: Int32; var buffers: UInt32); + begin + z_GenBuffersARB_ovr_0(n, buffers); + end; + public z_GenBuffersARB_ovr_2 := GetFuncOrNil&(z_GenBuffersARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenBuffersARB(n: Int32; buffers: IntPtr); + begin + z_GenBuffersARB_ovr_2(n, buffers); + end; + + public z_IsBufferARB_adr := GetFuncAdr('glIsBufferARB'); + public z_IsBufferARB_ovr_0 := GetFuncOrNil&(z_IsBufferARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsBufferARB(buffer: UInt32): boolean; + begin + Result := z_IsBufferARB_ovr_0(buffer); + end; + + public z_BufferDataARB_adr := GetFuncAdr('glBufferDataARB'); + public z_BufferDataARB_ovr_0 := GetFuncOrNil&(z_BufferDataARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferDataARB(target: BufferTargetARB; size: IntPtr; data: IntPtr; usage: BufferUsageARB); + begin + z_BufferDataARB_ovr_0(target, size, data, usage); + end; + + public z_BufferSubDataARB_adr := GetFuncAdr('glBufferSubDataARB'); + public z_BufferSubDataARB_ovr_0 := GetFuncOrNil&(z_BufferSubDataARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferSubDataARB(target: BufferTargetARB; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_BufferSubDataARB_ovr_0(target, offset, size, data); + end; + + public z_GetBufferSubDataARB_adr := GetFuncAdr('glGetBufferSubDataARB'); + public z_GetBufferSubDataARB_ovr_0 := GetFuncOrNil&(z_GetBufferSubDataARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferSubDataARB(target: BufferTargetARB; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_GetBufferSubDataARB_ovr_0(target, offset, size, data); + end; + + public z_MapBufferARB_adr := GetFuncAdr('glMapBufferARB'); + public z_MapBufferARB_ovr_0 := GetFuncOrNil&(z_MapBufferARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapBufferARB(target: BufferTargetARB; access: BufferAccessARB): IntPtr; + begin + Result := z_MapBufferARB_ovr_0(target, access); + end; + + public z_UnmapBufferARB_adr := GetFuncAdr('glUnmapBufferARB'); + public z_UnmapBufferARB_ovr_0 := GetFuncOrNil&(z_UnmapBufferARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapBufferARB(target: BufferTargetARB): boolean; + begin + Result := z_UnmapBufferARB_ovr_0(target); + end; + + public z_GetBufferParameterivARB_adr := GetFuncAdr('glGetBufferParameterivARB'); + public z_GetBufferParameterivARB_ovr_0 := GetFuncOrNil&(z_GetBufferParameterivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterivARB(target: BufferTargetARB; pname: BufferPNameARB; ¶ms: array of Int32); + begin + z_GetBufferParameterivARB_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterivARB(target: BufferTargetARB; pname: BufferPNameARB; var ¶ms: Int32); + begin + z_GetBufferParameterivARB_ovr_0(target, pname, ¶ms); + end; + public z_GetBufferParameterivARB_ovr_2 := GetFuncOrNil&(z_GetBufferParameterivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterivARB(target: BufferTargetARB; pname: BufferPNameARB; ¶ms: IntPtr); + begin + z_GetBufferParameterivARB_ovr_2(target, pname, ¶ms); + end; + + public z_GetBufferPointervARB_adr := GetFuncAdr('glGetBufferPointervARB'); + public z_GetBufferPointervARB_ovr_0 := GetFuncOrNil&(z_GetBufferPointervARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervARB(target: BufferTargetARB; pname: BufferPointerNameARB; ¶ms: array of IntPtr); + begin + z_GetBufferPointervARB_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervARB(target: BufferTargetARB; pname: BufferPointerNameARB; var ¶ms: IntPtr); + begin + z_GetBufferPointervARB_ovr_0(target, pname, ¶ms); + end; + public z_GetBufferPointervARB_ovr_2 := GetFuncOrNil&(z_GetBufferPointervARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferPointervARB(target: BufferTargetARB; pname: BufferPointerNameARB; ¶ms: pointer); + begin + z_GetBufferPointervARB_ovr_2(target, pname, ¶ms); + end; + + end; + + glVertexProgramARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttrib1dARB_adr := GetFuncAdr('glVertexAttrib1dARB'); + public z_VertexAttrib1dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dARB(index: UInt32; x: real); + begin + z_VertexAttrib1dARB_ovr_0(index, x); + end; + + public z_VertexAttrib1dvARB_adr := GetFuncAdr('glVertexAttrib1dvARB'); + public z_VertexAttrib1dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib1dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib1dvARB_ovr_0(index, v); + end; + public z_VertexAttrib1dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib1dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib1fARB_adr := GetFuncAdr('glVertexAttrib1fARB'); + public z_VertexAttrib1fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fARB(index: UInt32; x: single); + begin + z_VertexAttrib1fARB_ovr_0(index, x); + end; + + public z_VertexAttrib1fvARB_adr := GetFuncAdr('glVertexAttrib1fvARB'); + public z_VertexAttrib1fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib1fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib1fvARB_ovr_0(index, v); + end; + public z_VertexAttrib1fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib1sARB_adr := GetFuncAdr('glVertexAttrib1sARB'); + public z_VertexAttrib1sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sARB(index: UInt32; x: Int16); + begin + z_VertexAttrib1sARB_ovr_0(index, x); + end; + + public z_VertexAttrib1svARB_adr := GetFuncAdr('glVertexAttrib1svARB'); + public z_VertexAttrib1svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib1svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib1svARB_ovr_0(index, v); + end; + public z_VertexAttrib1svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib1svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1svARB_ovr_2(index, v); + end; + + public z_VertexAttrib2dARB_adr := GetFuncAdr('glVertexAttrib2dARB'); + public z_VertexAttrib2dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dARB(index: UInt32; x: real; y: real); + begin + z_VertexAttrib2dARB_ovr_0(index, x, y); + end; + + public z_VertexAttrib2dvARB_adr := GetFuncAdr('glVertexAttrib2dvARB'); + public z_VertexAttrib2dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib2dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib2dvARB_ovr_0(index, v); + end; + public z_VertexAttrib2dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib2fARB_adr := GetFuncAdr('glVertexAttrib2fARB'); + public z_VertexAttrib2fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fARB(index: UInt32; x: single; y: single); + begin + z_VertexAttrib2fARB_ovr_0(index, x, y); + end; + + public z_VertexAttrib2fvARB_adr := GetFuncAdr('glVertexAttrib2fvARB'); + public z_VertexAttrib2fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib2fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib2fvARB_ovr_0(index, v); + end; + public z_VertexAttrib2fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib2sARB_adr := GetFuncAdr('glVertexAttrib2sARB'); + public z_VertexAttrib2sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sARB(index: UInt32; x: Int16; y: Int16); + begin + z_VertexAttrib2sARB_ovr_0(index, x, y); + end; + + public z_VertexAttrib2svARB_adr := GetFuncAdr('glVertexAttrib2svARB'); + public z_VertexAttrib2svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib2svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib2svARB_ovr_0(index, v); + end; + public z_VertexAttrib2svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2svARB_ovr_2(index, v); + end; + + public z_VertexAttrib3dARB_adr := GetFuncAdr('glVertexAttrib3dARB'); + public z_VertexAttrib3dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dARB(index: UInt32; x: real; y: real; z: real); + begin + z_VertexAttrib3dARB_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3dvARB_adr := GetFuncAdr('glVertexAttrib3dvARB'); + public z_VertexAttrib3dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib3dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib3dvARB_ovr_0(index, v); + end; + public z_VertexAttrib3dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib3fARB_adr := GetFuncAdr('glVertexAttrib3fARB'); + public z_VertexAttrib3fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fARB(index: UInt32; x: single; y: single; z: single); + begin + z_VertexAttrib3fARB_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3fvARB_adr := GetFuncAdr('glVertexAttrib3fvARB'); + public z_VertexAttrib3fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib3fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib3fvARB_ovr_0(index, v); + end; + public z_VertexAttrib3fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib3sARB_adr := GetFuncAdr('glVertexAttrib3sARB'); + public z_VertexAttrib3sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sARB(index: UInt32; x: Int16; y: Int16; z: Int16); + begin + z_VertexAttrib3sARB_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3svARB_adr := GetFuncAdr('glVertexAttrib3svARB'); + public z_VertexAttrib3svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib3svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib3svARB_ovr_0(index, v); + end; + public z_VertexAttrib3svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3svARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NbvARB_adr := GetFuncAdr('glVertexAttrib4NbvARB'); + public z_VertexAttrib4NbvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NbvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; v: array of SByte); + begin + z_VertexAttrib4NbvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; var v: SByte); + begin + z_VertexAttrib4NbvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NbvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NbvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NbvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NivARB_adr := GetFuncAdr('glVertexAttrib4NivARB'); + public z_VertexAttrib4NivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; v: array of Int32); + begin + z_VertexAttrib4NivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; var v: Int32); + begin + z_VertexAttrib4NivARB_ovr_0(index, v); + end; + public z_VertexAttrib4NivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NsvARB_adr := GetFuncAdr('glVertexAttrib4NsvARB'); + public z_VertexAttrib4NsvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NsvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4NsvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib4NsvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NsvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NsvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NsvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NubARB_adr := GetFuncAdr('glVertexAttrib4NubARB'); + public z_VertexAttrib4NubARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NubARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubARB(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte); + begin + z_VertexAttrib4NubARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4NubvARB_adr := GetFuncAdr('glVertexAttrib4NubvARB'); + public z_VertexAttrib4NubvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4NubvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; var v: Byte); + begin + z_VertexAttrib4NubvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NubvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NubvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NuivARB_adr := GetFuncAdr('glVertexAttrib4NuivARB'); + public z_VertexAttrib4NuivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; v: array of UInt32); + begin + z_VertexAttrib4NuivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; var v: UInt32); + begin + z_VertexAttrib4NuivARB_ovr_0(index, v); + end; + public z_VertexAttrib4NuivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NuivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NusvARB_adr := GetFuncAdr('glVertexAttrib4NusvARB'); + public z_VertexAttrib4NusvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; v: array of UInt16); + begin + z_VertexAttrib4NusvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; var v: UInt16); + begin + z_VertexAttrib4NusvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NusvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NusvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4bvARB_adr := GetFuncAdr('glVertexAttrib4bvARB'); + public z_VertexAttrib4bvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4bvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; v: array of SByte); + begin + z_VertexAttrib4bvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; var v: SByte); + begin + z_VertexAttrib4bvARB_ovr_0(index, v); + end; + public z_VertexAttrib4bvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4bvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4bvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4dARB_adr := GetFuncAdr('glVertexAttrib4dARB'); + public z_VertexAttrib4dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dARB(index: UInt32; x: real; y: real; z: real; w: real); + begin + z_VertexAttrib4dARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4dvARB_adr := GetFuncAdr('glVertexAttrib4dvARB'); + public z_VertexAttrib4dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib4dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib4dvARB_ovr_0(index, v); + end; + public z_VertexAttrib4dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4fARB_adr := GetFuncAdr('glVertexAttrib4fARB'); + public z_VertexAttrib4fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fARB(index: UInt32; x: single; y: single; z: single; w: single); + begin + z_VertexAttrib4fARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4fvARB_adr := GetFuncAdr('glVertexAttrib4fvARB'); + public z_VertexAttrib4fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib4fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib4fvARB_ovr_0(index, v); + end; + public z_VertexAttrib4fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4ivARB_adr := GetFuncAdr('glVertexAttrib4ivARB'); + public z_VertexAttrib4ivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; v: array of Int32); + begin + z_VertexAttrib4ivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; var v: Int32); + begin + z_VertexAttrib4ivARB_ovr_0(index, v); + end; + public z_VertexAttrib4ivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4ivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4sARB_adr := GetFuncAdr('glVertexAttrib4sARB'); + public z_VertexAttrib4sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sARB(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16); + begin + z_VertexAttrib4sARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4svARB_adr := GetFuncAdr('glVertexAttrib4svARB'); + public z_VertexAttrib4svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib4svARB_ovr_0(index, v); + end; + public z_VertexAttrib4svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4svARB_ovr_2(index, v); + end; + + public z_VertexAttrib4ubvARB_adr := GetFuncAdr('glVertexAttrib4ubvARB'); + public z_VertexAttrib4ubvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4ubvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; var v: Byte); + begin + z_VertexAttrib4ubvARB_ovr_0(index, v); + end; + public z_VertexAttrib4ubvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4ubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4ubvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4uivARB_adr := GetFuncAdr('glVertexAttrib4uivARB'); + public z_VertexAttrib4uivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4uivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; v: array of UInt32); + begin + z_VertexAttrib4uivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; var v: UInt32); + begin + z_VertexAttrib4uivARB_ovr_0(index, v); + end; + public z_VertexAttrib4uivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4uivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4uivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4usvARB_adr := GetFuncAdr('glVertexAttrib4usvARB'); + public z_VertexAttrib4usvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4usvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; v: array of UInt16); + begin + z_VertexAttrib4usvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; var v: UInt16); + begin + z_VertexAttrib4usvARB_ovr_0(index, v); + end; + public z_VertexAttrib4usvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4usvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4usvARB_ovr_2(index, v); + end; + + public z_VertexAttribPointerARB_adr := GetFuncAdr('glVertexAttribPointerARB'); + public z_VertexAttribPointerARB_ovr_0 := GetFuncOrNil&(z_VertexAttribPointerARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointerARB(index: UInt32; size: Int32; &type: VertexAttribPointerType; normalized: boolean; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribPointerARB_ovr_0(index, size, &type, normalized, stride, pointer); + end; + + public z_EnableVertexAttribArrayARB_adr := GetFuncAdr('glEnableVertexAttribArrayARB'); + public z_EnableVertexAttribArrayARB_ovr_0 := GetFuncOrNil&(z_EnableVertexAttribArrayARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribArrayARB(index: UInt32); + begin + z_EnableVertexAttribArrayARB_ovr_0(index); + end; + + public z_DisableVertexAttribArrayARB_adr := GetFuncAdr('glDisableVertexAttribArrayARB'); + public z_DisableVertexAttribArrayARB_ovr_0 := GetFuncOrNil&(z_DisableVertexAttribArrayARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribArrayARB(index: UInt32); + begin + z_DisableVertexAttribArrayARB_ovr_0(index); + end; + + public z_ProgramStringARB_adr := GetFuncAdr('glProgramStringARB'); + public z_ProgramStringARB_ovr_0 := GetFuncOrNil&(z_ProgramStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramStringARB(target: ProgramTarget; format: ProgramFormat; len: Int32; string: IntPtr); + begin + z_ProgramStringARB_ovr_0(target, format, len, string); + end; + + public z_BindProgramARB_adr := GetFuncAdr('glBindProgramARB'); + public z_BindProgramARB_ovr_0 := GetFuncOrNil&(z_BindProgramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramARB(target: ProgramTarget; &program: UInt32); + begin + z_BindProgramARB_ovr_0(target, &program); + end; + + public z_DeleteProgramsARB_adr := GetFuncAdr('glDeleteProgramsARB'); + public z_DeleteProgramsARB_ovr_0 := GetFuncOrNil&(z_DeleteProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; programs: array of UInt32); + begin + z_DeleteProgramsARB_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; var programs: UInt32); + begin + z_DeleteProgramsARB_ovr_0(n, programs); + end; + public z_DeleteProgramsARB_ovr_2 := GetFuncOrNil&(z_DeleteProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsARB(n: Int32; programs: IntPtr); + begin + z_DeleteProgramsARB_ovr_2(n, programs); + end; + + public z_GenProgramsARB_adr := GetFuncAdr('glGenProgramsARB'); + public z_GenProgramsARB_ovr_0 := GetFuncOrNil&(z_GenProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; programs: array of UInt32); + begin + z_GenProgramsARB_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; var programs: UInt32); + begin + z_GenProgramsARB_ovr_0(n, programs); + end; + public z_GenProgramsARB_ovr_2 := GetFuncOrNil&(z_GenProgramsARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsARB(n: Int32; programs: IntPtr); + begin + z_GenProgramsARB_ovr_2(n, programs); + end; + + public z_ProgramEnvParameter4dARB_adr := GetFuncAdr('glProgramEnvParameter4dARB'); + public z_ProgramEnvParameter4dARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dARB(target: ProgramTarget; index: UInt32; x: real; y: real; z: real; w: real); + begin + z_ProgramEnvParameter4dARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramEnvParameter4dvARB_adr := GetFuncAdr('glProgramEnvParameter4dvARB'); + public z_ProgramEnvParameter4dvARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_ProgramEnvParameter4dvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_ProgramEnvParameter4dvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramEnvParameter4dvARB_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramEnvParameter4dvARB_ovr_2(target, index, ¶ms); + end; + + public z_ProgramEnvParameter4fARB_adr := GetFuncAdr('glProgramEnvParameter4fARB'); + public z_ProgramEnvParameter4fARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fARB(target: ProgramTarget; index: UInt32; x: single; y: single; z: single; w: single); + begin + z_ProgramEnvParameter4fARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramEnvParameter4fvARB_adr := GetFuncAdr('glProgramEnvParameter4fvARB'); + public z_ProgramEnvParameter4fvARB_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_ProgramEnvParameter4fvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_ProgramEnvParameter4fvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramEnvParameter4fvARB_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramEnvParameter4fvARB_ovr_2(target, index, ¶ms); + end; + + public z_ProgramLocalParameter4dARB_adr := GetFuncAdr('glProgramLocalParameter4dARB'); + public z_ProgramLocalParameter4dARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dARB(target: ProgramTarget; index: UInt32; x: real; y: real; z: real; w: real); + begin + z_ProgramLocalParameter4dARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramLocalParameter4dvARB_adr := GetFuncAdr('glProgramLocalParameter4dvARB'); + public z_ProgramLocalParameter4dvARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_ProgramLocalParameter4dvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_ProgramLocalParameter4dvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramLocalParameter4dvARB_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameter4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4dvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramLocalParameter4dvARB_ovr_2(target, index, ¶ms); + end; + + public z_ProgramLocalParameter4fARB_adr := GetFuncAdr('glProgramLocalParameter4fARB'); + public z_ProgramLocalParameter4fARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fARB(target: ProgramTarget; index: UInt32; x: single; y: single; z: single; w: single); + begin + z_ProgramLocalParameter4fARB_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramLocalParameter4fvARB_adr := GetFuncAdr('glProgramLocalParameter4fvARB'); + public z_ProgramLocalParameter4fvARB_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_ProgramLocalParameter4fvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_ProgramLocalParameter4fvARB_ovr_0(target, index, ¶ms); + end; + public z_ProgramLocalParameter4fvARB_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameter4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameter4fvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramLocalParameter4fvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramEnvParameterdvARB_adr := GetFuncAdr('glGetProgramEnvParameterdvARB'); + public z_GetProgramEnvParameterdvARB_ovr_0 := GetFuncOrNil&(z_GetProgramEnvParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_GetProgramEnvParameterdvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_GetProgramEnvParameterdvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramEnvParameterdvARB_ovr_2 := GetFuncOrNil&(z_GetProgramEnvParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramEnvParameterdvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramEnvParameterfvARB_adr := GetFuncAdr('glGetProgramEnvParameterfvARB'); + public z_GetProgramEnvParameterfvARB_ovr_0 := GetFuncOrNil&(z_GetProgramEnvParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_GetProgramEnvParameterfvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_GetProgramEnvParameterfvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramEnvParameterfvARB_ovr_2 := GetFuncOrNil&(z_GetProgramEnvParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramEnvParameterfvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramLocalParameterdvARB_adr := GetFuncAdr('glGetProgramLocalParameterdvARB'); + public z_GetProgramLocalParameterdvARB_ovr_0 := GetFuncOrNil&(z_GetProgramLocalParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_GetProgramLocalParameterdvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_GetProgramLocalParameterdvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramLocalParameterdvARB_ovr_2 := GetFuncOrNil&(z_GetProgramLocalParameterdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterdvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramLocalParameterdvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramLocalParameterfvARB_adr := GetFuncAdr('glGetProgramLocalParameterfvARB'); + public z_GetProgramLocalParameterfvARB_ovr_0 := GetFuncOrNil&(z_GetProgramLocalParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_GetProgramLocalParameterfvARB_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_GetProgramLocalParameterfvARB_ovr_0(target, index, ¶ms); + end; + public z_GetProgramLocalParameterfvARB_ovr_2 := GetFuncOrNil&(z_GetProgramLocalParameterfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterfvARB(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramLocalParameterfvARB_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramivARB_adr := GetFuncAdr('glGetProgramivARB'); + public z_GetProgramivARB_ovr_0 := GetFuncOrNil&(z_GetProgramivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: ProgramTarget; pname: ProgramPropertyARB; ¶ms: array of Int32); + begin + z_GetProgramivARB_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: ProgramTarget; pname: ProgramPropertyARB; var ¶ms: Int32); + begin + z_GetProgramivARB_ovr_0(target, pname, ¶ms); + end; + public z_GetProgramivARB_ovr_2 := GetFuncOrNil&(z_GetProgramivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivARB(target: ProgramTarget; pname: ProgramPropertyARB; ¶ms: IntPtr); + begin + z_GetProgramivARB_ovr_2(target, pname, ¶ms); + end; + + public z_GetProgramStringARB_adr := GetFuncAdr('glGetProgramStringARB'); + public z_GetProgramStringARB_ovr_0 := GetFuncOrNil&(z_GetProgramStringARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringARB(target: ProgramTarget; pname: ProgramStringProperty; string: IntPtr); + begin + z_GetProgramStringARB_ovr_0(target, pname, string); + end; + + public z_GetVertexAttribdvARB_adr := GetFuncAdr('glGetVertexAttribdvARB'); + public z_GetVertexAttribdvARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of real); + begin + z_GetVertexAttribdvARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: real); + begin + z_GetVertexAttribdvARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribdvARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribdvARB_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribfvARB_adr := GetFuncAdr('glGetVertexAttribfvARB'); + public z_GetVertexAttribfvARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of single); + begin + z_GetVertexAttribfvARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: single); + begin + z_GetVertexAttribfvARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribfvARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribfvARB_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribivARB_adr := GetFuncAdr('glGetVertexAttribivARB'); + public z_GetVertexAttribivARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of Int32); + begin + z_GetVertexAttribivARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: Int32); + begin + z_GetVertexAttribivARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribivARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribivARB_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribPointervARB_adr := GetFuncAdr('glGetVertexAttribPointervARB'); + public z_GetVertexAttribPointervARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribPointervARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: VertexAttribPointerPropertyARB; _pointer: array of IntPtr); + begin + z_GetVertexAttribPointervARB_ovr_0(index, pname, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: VertexAttribPointerPropertyARB; var _pointer: IntPtr); + begin + z_GetVertexAttribPointervARB_ovr_0(index, pname, _pointer); + end; + public z_GetVertexAttribPointervARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribPointervARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: VertexAttribPointerPropertyARB; _pointer: pointer); + begin + z_GetVertexAttribPointervARB_ovr_2(index, pname, _pointer); + end; + + public z_IsProgramARB_adr := GetFuncAdr('glIsProgramARB'); + public z_IsProgramARB_ovr_0 := GetFuncOrNil&(z_IsProgramARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramARB(&program: UInt32): boolean; + begin + Result := z_IsProgramARB_ovr_0(&program); + end; + + end; + + glVertexShaderARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttrib1fARB_adr := GetFuncAdr('glVertexAttrib1fARB'); + public z_VertexAttrib1fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fARB(index: UInt32; x: single); + begin + z_VertexAttrib1fARB_ovr_0(index, x); + end; + + public z_VertexAttrib1sARB_adr := GetFuncAdr('glVertexAttrib1sARB'); + public z_VertexAttrib1sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sARB(index: UInt32; x: Int16); + begin + z_VertexAttrib1sARB_ovr_0(index, x); + end; + + public z_VertexAttrib1dARB_adr := GetFuncAdr('glVertexAttrib1dARB'); + public z_VertexAttrib1dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dARB(index: UInt32; x: real); + begin + z_VertexAttrib1dARB_ovr_0(index, x); + end; + + public z_VertexAttrib2fARB_adr := GetFuncAdr('glVertexAttrib2fARB'); + public z_VertexAttrib2fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fARB(index: UInt32; x: single; y: single); + begin + z_VertexAttrib2fARB_ovr_0(index, x, y); + end; + + public z_VertexAttrib2sARB_adr := GetFuncAdr('glVertexAttrib2sARB'); + public z_VertexAttrib2sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sARB(index: UInt32; x: Int16; y: Int16); + begin + z_VertexAttrib2sARB_ovr_0(index, x, y); + end; + + public z_VertexAttrib2dARB_adr := GetFuncAdr('glVertexAttrib2dARB'); + public z_VertexAttrib2dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dARB(index: UInt32; x: real; y: real); + begin + z_VertexAttrib2dARB_ovr_0(index, x, y); + end; + + public z_VertexAttrib3fARB_adr := GetFuncAdr('glVertexAttrib3fARB'); + public z_VertexAttrib3fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fARB(index: UInt32; x: single; y: single; z: single); + begin + z_VertexAttrib3fARB_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3sARB_adr := GetFuncAdr('glVertexAttrib3sARB'); + public z_VertexAttrib3sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sARB(index: UInt32; x: Int16; y: Int16; z: Int16); + begin + z_VertexAttrib3sARB_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3dARB_adr := GetFuncAdr('glVertexAttrib3dARB'); + public z_VertexAttrib3dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dARB(index: UInt32; x: real; y: real; z: real); + begin + z_VertexAttrib3dARB_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib4fARB_adr := GetFuncAdr('glVertexAttrib4fARB'); + public z_VertexAttrib4fARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fARB(index: UInt32; x: single; y: single; z: single; w: single); + begin + z_VertexAttrib4fARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4sARB_adr := GetFuncAdr('glVertexAttrib4sARB'); + public z_VertexAttrib4sARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sARB(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16); + begin + z_VertexAttrib4sARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4dARB_adr := GetFuncAdr('glVertexAttrib4dARB'); + public z_VertexAttrib4dARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dARB(index: UInt32; x: real; y: real; z: real; w: real); + begin + z_VertexAttrib4dARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4NubARB_adr := GetFuncAdr('glVertexAttrib4NubARB'); + public z_VertexAttrib4NubARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NubARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubARB(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte); + begin + z_VertexAttrib4NubARB_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib1fvARB_adr := GetFuncAdr('glVertexAttrib1fvARB'); + public z_VertexAttrib1fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib1fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib1fvARB_ovr_0(index, v); + end; + public z_VertexAttrib1fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib1fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib1svARB_adr := GetFuncAdr('glVertexAttrib1svARB'); + public z_VertexAttrib1svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib1svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib1svARB_ovr_0(index, v); + end; + public z_VertexAttrib1svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib1svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1svARB_ovr_2(index, v); + end; + + public z_VertexAttrib1dvARB_adr := GetFuncAdr('glVertexAttrib1dvARB'); + public z_VertexAttrib1dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib1dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib1dvARB_ovr_0(index, v); + end; + public z_VertexAttrib1dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib1dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib2fvARB_adr := GetFuncAdr('glVertexAttrib2fvARB'); + public z_VertexAttrib2fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib2fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib2fvARB_ovr_0(index, v); + end; + public z_VertexAttrib2fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib2svARB_adr := GetFuncAdr('glVertexAttrib2svARB'); + public z_VertexAttrib2svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib2svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib2svARB_ovr_0(index, v); + end; + public z_VertexAttrib2svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2svARB_ovr_2(index, v); + end; + + public z_VertexAttrib2dvARB_adr := GetFuncAdr('glVertexAttrib2dvARB'); + public z_VertexAttrib2dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib2dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib2dvARB_ovr_0(index, v); + end; + public z_VertexAttrib2dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib3fvARB_adr := GetFuncAdr('glVertexAttrib3fvARB'); + public z_VertexAttrib3fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib3fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib3fvARB_ovr_0(index, v); + end; + public z_VertexAttrib3fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib3svARB_adr := GetFuncAdr('glVertexAttrib3svARB'); + public z_VertexAttrib3svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib3svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib3svARB_ovr_0(index, v); + end; + public z_VertexAttrib3svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3svARB_ovr_2(index, v); + end; + + public z_VertexAttrib3dvARB_adr := GetFuncAdr('glVertexAttrib3dvARB'); + public z_VertexAttrib3dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib3dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib3dvARB_ovr_0(index, v); + end; + public z_VertexAttrib3dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4fvARB_adr := GetFuncAdr('glVertexAttrib4fvARB'); + public z_VertexAttrib4fvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; v: array of single); + begin + z_VertexAttrib4fvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; var v: single); + begin + z_VertexAttrib4fvARB_ovr_0(index, v); + end; + public z_VertexAttrib4fvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4fvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4svARB_adr := GetFuncAdr('glVertexAttrib4svARB'); + public z_VertexAttrib4svARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4svARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib4svARB_ovr_0(index, v); + end; + public z_VertexAttrib4svARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4svARB_ovr_2(index, v); + end; + + public z_VertexAttrib4dvARB_adr := GetFuncAdr('glVertexAttrib4dvARB'); + public z_VertexAttrib4dvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; v: array of real); + begin + z_VertexAttrib4dvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; var v: real); + begin + z_VertexAttrib4dvARB_ovr_0(index, v); + end; + public z_VertexAttrib4dvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4dvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4ivARB_adr := GetFuncAdr('glVertexAttrib4ivARB'); + public z_VertexAttrib4ivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; v: array of Int32); + begin + z_VertexAttrib4ivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; var v: Int32); + begin + z_VertexAttrib4ivARB_ovr_0(index, v); + end; + public z_VertexAttrib4ivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4ivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4bvARB_adr := GetFuncAdr('glVertexAttrib4bvARB'); + public z_VertexAttrib4bvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4bvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; v: array of SByte); + begin + z_VertexAttrib4bvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; var v: SByte); + begin + z_VertexAttrib4bvARB_ovr_0(index, v); + end; + public z_VertexAttrib4bvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4bvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4bvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4bvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4ubvARB_adr := GetFuncAdr('glVertexAttrib4ubvARB'); + public z_VertexAttrib4ubvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4ubvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; var v: Byte); + begin + z_VertexAttrib4ubvARB_ovr_0(index, v); + end; + public z_VertexAttrib4ubvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4ubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4ubvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4usvARB_adr := GetFuncAdr('glVertexAttrib4usvARB'); + public z_VertexAttrib4usvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4usvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; v: array of UInt16); + begin + z_VertexAttrib4usvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; var v: UInt16); + begin + z_VertexAttrib4usvARB_ovr_0(index, v); + end; + public z_VertexAttrib4usvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4usvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4usvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4usvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4uivARB_adr := GetFuncAdr('glVertexAttrib4uivARB'); + public z_VertexAttrib4uivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4uivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; v: array of UInt32); + begin + z_VertexAttrib4uivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; var v: UInt32); + begin + z_VertexAttrib4uivARB_ovr_0(index, v); + end; + public z_VertexAttrib4uivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4uivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4uivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4uivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NbvARB_adr := GetFuncAdr('glVertexAttrib4NbvARB'); + public z_VertexAttrib4NbvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NbvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; v: array of SByte); + begin + z_VertexAttrib4NbvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; var v: SByte); + begin + z_VertexAttrib4NbvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NbvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NbvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NbvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NbvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NsvARB_adr := GetFuncAdr('glVertexAttrib4NsvARB'); + public z_VertexAttrib4NsvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NsvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4NsvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; var v: Int16); + begin + z_VertexAttrib4NsvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NsvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NsvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NsvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NsvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NivARB_adr := GetFuncAdr('glVertexAttrib4NivARB'); + public z_VertexAttrib4NivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; v: array of Int32); + begin + z_VertexAttrib4NivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; var v: Int32); + begin + z_VertexAttrib4NivARB_ovr_0(index, v); + end; + public z_VertexAttrib4NivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NivARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NubvARB_adr := GetFuncAdr('glVertexAttrib4NubvARB'); + public z_VertexAttrib4NubvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4NubvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; var v: Byte); + begin + z_VertexAttrib4NubvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NubvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NubvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NubvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NubvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NusvARB_adr := GetFuncAdr('glVertexAttrib4NusvARB'); + public z_VertexAttrib4NusvARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; v: array of UInt16); + begin + z_VertexAttrib4NusvARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; var v: UInt16); + begin + z_VertexAttrib4NusvARB_ovr_0(index, v); + end; + public z_VertexAttrib4NusvARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NusvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NusvARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NusvARB_ovr_2(index, v); + end; + + public z_VertexAttrib4NuivARB_adr := GetFuncAdr('glVertexAttrib4NuivARB'); + public z_VertexAttrib4NuivARB_ovr_0 := GetFuncOrNil&(z_VertexAttrib4NuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; v: array of UInt32); + begin + z_VertexAttrib4NuivARB_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; var v: UInt32); + begin + z_VertexAttrib4NuivARB_ovr_0(index, v); + end; + public z_VertexAttrib4NuivARB_ovr_2 := GetFuncOrNil&(z_VertexAttrib4NuivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4NuivARB(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4NuivARB_ovr_2(index, v); + end; + + public z_VertexAttribPointerARB_adr := GetFuncAdr('glVertexAttribPointerARB'); + public z_VertexAttribPointerARB_ovr_0 := GetFuncOrNil&(z_VertexAttribPointerARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointerARB(index: UInt32; size: Int32; &type: VertexAttribPointerType; normalized: boolean; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribPointerARB_ovr_0(index, size, &type, normalized, stride, pointer); + end; + + public z_EnableVertexAttribArrayARB_adr := GetFuncAdr('glEnableVertexAttribArrayARB'); + public z_EnableVertexAttribArrayARB_ovr_0 := GetFuncOrNil&(z_EnableVertexAttribArrayARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexAttribArrayARB(index: UInt32); + begin + z_EnableVertexAttribArrayARB_ovr_0(index); + end; + + public z_DisableVertexAttribArrayARB_adr := GetFuncAdr('glDisableVertexAttribArrayARB'); + public z_DisableVertexAttribArrayARB_ovr_0 := GetFuncOrNil&(z_DisableVertexAttribArrayARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexAttribArrayARB(index: UInt32); + begin + z_DisableVertexAttribArrayARB_ovr_0(index); + end; + + public z_BindAttribLocationARB_adr := GetFuncAdr('glBindAttribLocationARB'); + public z_BindAttribLocationARB_ovr_0 := GetFuncOrNil&(z_BindAttribLocationARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocationARB(programObj: GLhandleARB; index: UInt32; name: string); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_BindAttribLocationARB_ovr_0(programObj, index, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindAttribLocationARB(programObj: GLhandleARB; index: UInt32; name: IntPtr); + begin + z_BindAttribLocationARB_ovr_0(programObj, index, name); + end; + + public z_GetActiveAttribARB_adr := GetFuncAdr('glGetActiveAttribARB'); + public z_GetActiveAttribARB_ovr_0 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length[0], size[0], &type, name); + end; + public z_GetActiveAttribARB_ovr_2 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_2(programObj, index, maxLength, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_2(programObj, index, maxLength, length[0], size, &type, name); + end; + public z_GetActiveAttribARB_ovr_6 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: IntPtr; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_6(programObj, index, maxLength, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: IntPtr; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_6(programObj, index, maxLength, length[0], size, &type, name); + end; + public z_GetActiveAttribARB_ovr_8 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_8(programObj, index, maxLength, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_2(programObj, index, maxLength, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_0(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_2(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: IntPtr; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_6(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: IntPtr; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_6(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_8(programObj, index, maxLength, length, size, &type, name); + end; + public z_GetActiveAttribARB_ovr_18 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: array of Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_18(programObj, index, maxLength, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: array of Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_18(programObj, index, maxLength, length, size[0], &type, name); + end; + public z_GetActiveAttribARB_ovr_20 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_20(programObj, index, maxLength, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; var size: Int32; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_18(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; var size: Int32; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_18(programObj, index, maxLength, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_20(programObj, index, maxLength, length, size, &type, name); + end; + public z_GetActiveAttribARB_ovr_24 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: IntPtr; &type: array of AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_24(programObj, index, maxLength, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: IntPtr; var &type: AttributeType; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_24(programObj, index, maxLength, length, size, &type, name); + end; + public z_GetActiveAttribARB_ovr_26 := GetFuncOrNil&(z_GetActiveAttribARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveAttribARB(programObj: GLhandleARB; index: UInt32; maxLength: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveAttribARB_ovr_26(programObj, index, maxLength, length, size, &type, name); + end; + + public z_GetAttribLocationARB_adr := GetFuncAdr('glGetAttribLocationARB'); + public z_GetAttribLocationARB_ovr_0 := GetFuncOrNil&(z_GetAttribLocationARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocationARB(programObj: GLhandleARB; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetAttribLocationARB_ovr_0(programObj, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetAttribLocationARB(programObj: GLhandleARB; name: IntPtr): Int32; + begin + Result := z_GetAttribLocationARB_ovr_0(programObj, name); + end; + + public z_GetVertexAttribdvARB_adr := GetFuncAdr('glGetVertexAttribdvARB'); + public z_GetVertexAttribdvARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of real); + begin + z_GetVertexAttribdvARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: real); + begin + z_GetVertexAttribdvARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribdvARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribdvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribdvARB_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribfvARB_adr := GetFuncAdr('glGetVertexAttribfvARB'); + public z_GetVertexAttribfvARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of single); + begin + z_GetVertexAttribfvARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: single); + begin + z_GetVertexAttribfvARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribfvARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribfvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribfvARB_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribivARB_adr := GetFuncAdr('glGetVertexAttribivARB'); + public z_GetVertexAttribivARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: array of Int32); + begin + z_GetVertexAttribivARB_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: VertexAttribPropertyARB; var ¶ms: Int32); + begin + z_GetVertexAttribivARB_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribivARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivARB(index: UInt32; pname: VertexAttribPropertyARB; ¶ms: IntPtr); + begin + z_GetVertexAttribivARB_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribPointervARB_adr := GetFuncAdr('glGetVertexAttribPointervARB'); + public z_GetVertexAttribPointervARB_ovr_0 := GetFuncOrNil&(z_GetVertexAttribPointervARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: VertexAttribPointerPropertyARB; _pointer: array of IntPtr); + begin + z_GetVertexAttribPointervARB_ovr_0(index, pname, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: VertexAttribPointerPropertyARB; var _pointer: IntPtr); + begin + z_GetVertexAttribPointervARB_ovr_0(index, pname, _pointer); + end; + public z_GetVertexAttribPointervARB_ovr_2 := GetFuncOrNil&(z_GetVertexAttribPointervARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervARB(index: UInt32; pname: VertexAttribPointerPropertyARB; _pointer: pointer); + begin + z_GetVertexAttribPointervARB_ovr_2(index, pname, _pointer); + end; + + end; + + glVertexType2101010RevARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glViewportArrayARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glWindowPosARB = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_WindowPos2dARB_adr := GetFuncAdr('glWindowPos2dARB'); + public z_WindowPos2dARB_ovr_0 := GetFuncOrNil&(z_WindowPos2dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dARB(x: real; y: real); + begin + z_WindowPos2dARB_ovr_0(x, y); + end; + + public z_WindowPos2dvARB_adr := GetFuncAdr('glWindowPos2dvARB'); + public z_WindowPos2dvARB_ovr_0 := GetFuncOrNil&(z_WindowPos2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvARB(v: array of real); + begin + z_WindowPos2dvARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvARB(var v: real); + begin + z_WindowPos2dvARB_ovr_0(v); + end; + public z_WindowPos2dvARB_ovr_2 := GetFuncOrNil&(z_WindowPos2dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvARB(v: IntPtr); + begin + z_WindowPos2dvARB_ovr_2(v); + end; + + public z_WindowPos2fARB_adr := GetFuncAdr('glWindowPos2fARB'); + public z_WindowPos2fARB_ovr_0 := GetFuncOrNil&(z_WindowPos2fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fARB(x: single; y: single); + begin + z_WindowPos2fARB_ovr_0(x, y); + end; + + public z_WindowPos2fvARB_adr := GetFuncAdr('glWindowPos2fvARB'); + public z_WindowPos2fvARB_ovr_0 := GetFuncOrNil&(z_WindowPos2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvARB(v: array of single); + begin + z_WindowPos2fvARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvARB(var v: single); + begin + z_WindowPos2fvARB_ovr_0(v); + end; + public z_WindowPos2fvARB_ovr_2 := GetFuncOrNil&(z_WindowPos2fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvARB(v: IntPtr); + begin + z_WindowPos2fvARB_ovr_2(v); + end; + + public z_WindowPos2iARB_adr := GetFuncAdr('glWindowPos2iARB'); + public z_WindowPos2iARB_ovr_0 := GetFuncOrNil&(z_WindowPos2iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iARB(x: Int32; y: Int32); + begin + z_WindowPos2iARB_ovr_0(x, y); + end; + + public z_WindowPos2ivARB_adr := GetFuncAdr('glWindowPos2ivARB'); + public z_WindowPos2ivARB_ovr_0 := GetFuncOrNil&(z_WindowPos2ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivARB(v: array of Int32); + begin + z_WindowPos2ivARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivARB(var v: Int32); + begin + z_WindowPos2ivARB_ovr_0(v); + end; + public z_WindowPos2ivARB_ovr_2 := GetFuncOrNil&(z_WindowPos2ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivARB(v: IntPtr); + begin + z_WindowPos2ivARB_ovr_2(v); + end; + + public z_WindowPos2sARB_adr := GetFuncAdr('glWindowPos2sARB'); + public z_WindowPos2sARB_ovr_0 := GetFuncOrNil&(z_WindowPos2sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sARB(x: Int16; y: Int16); + begin + z_WindowPos2sARB_ovr_0(x, y); + end; + + public z_WindowPos2svARB_adr := GetFuncAdr('glWindowPos2svARB'); + public z_WindowPos2svARB_ovr_0 := GetFuncOrNil&(z_WindowPos2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svARB(v: array of Int16); + begin + z_WindowPos2svARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svARB(var v: Int16); + begin + z_WindowPos2svARB_ovr_0(v); + end; + public z_WindowPos2svARB_ovr_2 := GetFuncOrNil&(z_WindowPos2svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svARB(v: IntPtr); + begin + z_WindowPos2svARB_ovr_2(v); + end; + + public z_WindowPos3dARB_adr := GetFuncAdr('glWindowPos3dARB'); + public z_WindowPos3dARB_ovr_0 := GetFuncOrNil&(z_WindowPos3dARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dARB(x: real; y: real; z: real); + begin + z_WindowPos3dARB_ovr_0(x, y, z); + end; + + public z_WindowPos3dvARB_adr := GetFuncAdr('glWindowPos3dvARB'); + public z_WindowPos3dvARB_ovr_0 := GetFuncOrNil&(z_WindowPos3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvARB(v: array of real); + begin + z_WindowPos3dvARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvARB(var v: real); + begin + z_WindowPos3dvARB_ovr_0(v); + end; + public z_WindowPos3dvARB_ovr_2 := GetFuncOrNil&(z_WindowPos3dvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvARB(v: IntPtr); + begin + z_WindowPos3dvARB_ovr_2(v); + end; + + public z_WindowPos3fARB_adr := GetFuncAdr('glWindowPos3fARB'); + public z_WindowPos3fARB_ovr_0 := GetFuncOrNil&(z_WindowPos3fARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fARB(x: single; y: single; z: single); + begin + z_WindowPos3fARB_ovr_0(x, y, z); + end; + + public z_WindowPos3fvARB_adr := GetFuncAdr('glWindowPos3fvARB'); + public z_WindowPos3fvARB_ovr_0 := GetFuncOrNil&(z_WindowPos3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvARB(v: array of single); + begin + z_WindowPos3fvARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvARB(var v: single); + begin + z_WindowPos3fvARB_ovr_0(v); + end; + public z_WindowPos3fvARB_ovr_2 := GetFuncOrNil&(z_WindowPos3fvARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvARB(v: IntPtr); + begin + z_WindowPos3fvARB_ovr_2(v); + end; + + public z_WindowPos3iARB_adr := GetFuncAdr('glWindowPos3iARB'); + public z_WindowPos3iARB_ovr_0 := GetFuncOrNil&(z_WindowPos3iARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iARB(x: Int32; y: Int32; z: Int32); + begin + z_WindowPos3iARB_ovr_0(x, y, z); + end; + + public z_WindowPos3ivARB_adr := GetFuncAdr('glWindowPos3ivARB'); + public z_WindowPos3ivARB_ovr_0 := GetFuncOrNil&(z_WindowPos3ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivARB(v: array of Int32); + begin + z_WindowPos3ivARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivARB(var v: Int32); + begin + z_WindowPos3ivARB_ovr_0(v); + end; + public z_WindowPos3ivARB_ovr_2 := GetFuncOrNil&(z_WindowPos3ivARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivARB(v: IntPtr); + begin + z_WindowPos3ivARB_ovr_2(v); + end; + + public z_WindowPos3sARB_adr := GetFuncAdr('glWindowPos3sARB'); + public z_WindowPos3sARB_ovr_0 := GetFuncOrNil&(z_WindowPos3sARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sARB(x: Int16; y: Int16; z: Int16); + begin + z_WindowPos3sARB_ovr_0(x, y, z); + end; + + public z_WindowPos3svARB_adr := GetFuncAdr('glWindowPos3svARB'); + public z_WindowPos3svARB_ovr_0 := GetFuncOrNil&(z_WindowPos3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svARB(v: array of Int16); + begin + z_WindowPos3svARB_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svARB(var v: Int16); + begin + z_WindowPos3svARB_ovr_0(v); + end; + public z_WindowPos3svARB_ovr_2 := GetFuncOrNil&(z_WindowPos3svARB_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svARB(v: IntPtr); + begin + z_WindowPos3svARB_ovr_2(v); + end; + + end; + + glDrawBuffersATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawBuffersATI_adr := GetFuncAdr('glDrawBuffersATI'); + public z_DrawBuffersATI_ovr_0 := GetFuncOrNil&(z_DrawBuffersATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersATI(n: Int32; bufs: array of DrawBufferMode); + begin + z_DrawBuffersATI_ovr_0(n, bufs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersATI(n: Int32; var bufs: DrawBufferMode); + begin + z_DrawBuffersATI_ovr_0(n, bufs); + end; + public z_DrawBuffersATI_ovr_2 := GetFuncOrNil&(z_DrawBuffersATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawBuffersATI(n: Int32; bufs: IntPtr); + begin + z_DrawBuffersATI_ovr_2(n, bufs); + end; + + end; + + glElementArrayATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ElementPointerATI_adr := GetFuncAdr('glElementPointerATI'); + public z_ElementPointerATI_ovr_0 := GetFuncOrNil&(z_ElementPointerATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ElementPointerATI(&type: ElementPointerTypeATI; pointer: IntPtr); + begin + z_ElementPointerATI_ovr_0(&type, pointer); + end; + + public z_DrawElementArrayATI_adr := GetFuncAdr('glDrawElementArrayATI'); + public z_DrawElementArrayATI_ovr_0 := GetFuncOrNil&(z_DrawElementArrayATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementArrayATI(mode: PrimitiveType; count: Int32); + begin + z_DrawElementArrayATI_ovr_0(mode, count); + end; + + public z_DrawRangeElementArrayATI_adr := GetFuncAdr('glDrawRangeElementArrayATI'); + public z_DrawRangeElementArrayATI_ovr_0 := GetFuncOrNil&(z_DrawRangeElementArrayATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementArrayATI(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32); + begin + z_DrawRangeElementArrayATI_ovr_0(mode, start, &end, count); + end; + + end; + + glEnvmapBumpmapATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexBumpParameterivATI_adr := GetFuncAdr('glTexBumpParameterivATI'); + public z_TexBumpParameterivATI_ovr_0 := GetFuncOrNil&(z_TexBumpParameterivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterivATI(pname: DummyEnum; param: array of Int32); + begin + z_TexBumpParameterivATI_ovr_0(pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterivATI(pname: DummyEnum; var param: Int32); + begin + z_TexBumpParameterivATI_ovr_0(pname, param); + end; + public z_TexBumpParameterivATI_ovr_2 := GetFuncOrNil&(z_TexBumpParameterivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterivATI(pname: DummyEnum; param: IntPtr); + begin + z_TexBumpParameterivATI_ovr_2(pname, param); + end; + + public z_TexBumpParameterfvATI_adr := GetFuncAdr('glTexBumpParameterfvATI'); + public z_TexBumpParameterfvATI_ovr_0 := GetFuncOrNil&(z_TexBumpParameterfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterfvATI(pname: DummyEnum; param: array of single); + begin + z_TexBumpParameterfvATI_ovr_0(pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterfvATI(pname: DummyEnum; var param: single); + begin + z_TexBumpParameterfvATI_ovr_0(pname, param); + end; + public z_TexBumpParameterfvATI_ovr_2 := GetFuncOrNil&(z_TexBumpParameterfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBumpParameterfvATI(pname: DummyEnum; param: IntPtr); + begin + z_TexBumpParameterfvATI_ovr_2(pname, param); + end; + + public z_GetTexBumpParameterivATI_adr := GetFuncAdr('glGetTexBumpParameterivATI'); + public z_GetTexBumpParameterivATI_ovr_0 := GetFuncOrNil&(z_GetTexBumpParameterivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterivATI(pname: GetTexBumpParameterATI; param: array of Int32); + begin + z_GetTexBumpParameterivATI_ovr_0(pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterivATI(pname: GetTexBumpParameterATI; var param: Int32); + begin + z_GetTexBumpParameterivATI_ovr_0(pname, param); + end; + public z_GetTexBumpParameterivATI_ovr_2 := GetFuncOrNil&(z_GetTexBumpParameterivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterivATI(pname: GetTexBumpParameterATI; param: IntPtr); + begin + z_GetTexBumpParameterivATI_ovr_2(pname, param); + end; + + public z_GetTexBumpParameterfvATI_adr := GetFuncAdr('glGetTexBumpParameterfvATI'); + public z_GetTexBumpParameterfvATI_ovr_0 := GetFuncOrNil&(z_GetTexBumpParameterfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterfvATI(pname: GetTexBumpParameterATI; param: array of single); + begin + z_GetTexBumpParameterfvATI_ovr_0(pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterfvATI(pname: GetTexBumpParameterATI; var param: single); + begin + z_GetTexBumpParameterfvATI_ovr_0(pname, param); + end; + public z_GetTexBumpParameterfvATI_ovr_2 := GetFuncOrNil&(z_GetTexBumpParameterfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexBumpParameterfvATI(pname: GetTexBumpParameterATI; param: IntPtr); + begin + z_GetTexBumpParameterfvATI_ovr_2(pname, param); + end; + + end; + + glFragmentShaderATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenFragmentShadersATI_adr := GetFuncAdr('glGenFragmentShadersATI'); + public z_GenFragmentShadersATI_ovr_0 := GetFuncOrNil&(z_GenFragmentShadersATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenFragmentShadersATI(range: UInt32): UInt32; + begin + Result := z_GenFragmentShadersATI_ovr_0(range); + end; + + public z_BindFragmentShaderATI_adr := GetFuncAdr('glBindFragmentShaderATI'); + public z_BindFragmentShaderATI_ovr_0 := GetFuncOrNil&(z_BindFragmentShaderATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragmentShaderATI(id: UInt32); + begin + z_BindFragmentShaderATI_ovr_0(id); + end; + + public z_DeleteFragmentShaderATI_adr := GetFuncAdr('glDeleteFragmentShaderATI'); + public z_DeleteFragmentShaderATI_ovr_0 := GetFuncOrNil&(z_DeleteFragmentShaderATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFragmentShaderATI(id: UInt32); + begin + z_DeleteFragmentShaderATI_ovr_0(id); + end; + + public z_BeginFragmentShaderATI_adr := GetFuncAdr('glBeginFragmentShaderATI'); + public z_BeginFragmentShaderATI_ovr_0 := GetFuncOrNil&(z_BeginFragmentShaderATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginFragmentShaderATI; + begin + z_BeginFragmentShaderATI_ovr_0; + end; + + public z_EndFragmentShaderATI_adr := GetFuncAdr('glEndFragmentShaderATI'); + public z_EndFragmentShaderATI_ovr_0 := GetFuncOrNil&(z_EndFragmentShaderATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndFragmentShaderATI; + begin + z_EndFragmentShaderATI_ovr_0; + end; + + public z_PassTexCoordATI_adr := GetFuncAdr('glPassTexCoordATI'); + public z_PassTexCoordATI_ovr_0 := GetFuncOrNil&(z_PassTexCoordATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PassTexCoordATI(dst: UInt32; coord: UInt32; swizzle: SwizzleOpATI); + begin + z_PassTexCoordATI_ovr_0(dst, coord, swizzle); + end; + + public z_SampleMapATI_adr := GetFuncAdr('glSampleMapATI'); + public z_SampleMapATI_ovr_0 := GetFuncOrNil&(z_SampleMapATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMapATI(dst: UInt32; interp: UInt32; swizzle: SwizzleOpATI); + begin + z_SampleMapATI_ovr_0(dst, interp, swizzle); + end; + + public z_ColorFragmentOp1ATI_adr := GetFuncAdr('glColorFragmentOp1ATI'); + public z_ColorFragmentOp1ATI_ovr_0 := GetFuncOrNil&(z_ColorFragmentOp1ATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFragmentOp1ATI(op: FragmentOpATI; dst: UInt32; dstMask: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32); + begin + z_ColorFragmentOp1ATI_ovr_0(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod); + end; + + public z_ColorFragmentOp2ATI_adr := GetFuncAdr('glColorFragmentOp2ATI'); + public z_ColorFragmentOp2ATI_ovr_0 := GetFuncOrNil&(z_ColorFragmentOp2ATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFragmentOp2ATI(op: FragmentOpATI; dst: UInt32; dstMask: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32); + begin + z_ColorFragmentOp2ATI_ovr_0(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); + end; + + public z_ColorFragmentOp3ATI_adr := GetFuncAdr('glColorFragmentOp3ATI'); + public z_ColorFragmentOp3ATI_ovr_0 := GetFuncOrNil&(z_ColorFragmentOp3ATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFragmentOp3ATI(op: FragmentOpATI; dst: UInt32; dstMask: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32; arg3: UInt32; arg3Rep: UInt32; arg3Mod: UInt32); + begin + z_ColorFragmentOp3ATI_ovr_0(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); + end; + + public z_AlphaFragmentOp1ATI_adr := GetFuncAdr('glAlphaFragmentOp1ATI'); + public z_AlphaFragmentOp1ATI_ovr_0 := GetFuncOrNil&(z_AlphaFragmentOp1ATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFragmentOp1ATI(op: FragmentOpATI; dst: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32); + begin + z_AlphaFragmentOp1ATI_ovr_0(op, dst, dstMod, arg1, arg1Rep, arg1Mod); + end; + + public z_AlphaFragmentOp2ATI_adr := GetFuncAdr('glAlphaFragmentOp2ATI'); + public z_AlphaFragmentOp2ATI_ovr_0 := GetFuncOrNil&(z_AlphaFragmentOp2ATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFragmentOp2ATI(op: FragmentOpATI; dst: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32); + begin + z_AlphaFragmentOp2ATI_ovr_0(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); + end; + + public z_AlphaFragmentOp3ATI_adr := GetFuncAdr('glAlphaFragmentOp3ATI'); + public z_AlphaFragmentOp3ATI_ovr_0 := GetFuncOrNil&(z_AlphaFragmentOp3ATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFragmentOp3ATI(op: FragmentOpATI; dst: UInt32; dstMod: UInt32; arg1: UInt32; arg1Rep: UInt32; arg1Mod: UInt32; arg2: UInt32; arg2Rep: UInt32; arg2Mod: UInt32; arg3: UInt32; arg3Rep: UInt32; arg3Mod: UInt32); + begin + z_AlphaFragmentOp3ATI_ovr_0(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); + end; + + public z_SetFragmentShaderConstantATI_adr := GetFuncAdr('glSetFragmentShaderConstantATI'); + public z_SetFragmentShaderConstantATI_ovr_0 := GetFuncOrNil&(z_SetFragmentShaderConstantATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFragmentShaderConstantATI(dst: UInt32; value: array of single); + begin + z_SetFragmentShaderConstantATI_ovr_0(dst, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFragmentShaderConstantATI(dst: UInt32; var value: single); + begin + z_SetFragmentShaderConstantATI_ovr_0(dst, value); + end; + public z_SetFragmentShaderConstantATI_ovr_2 := GetFuncOrNil&(z_SetFragmentShaderConstantATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFragmentShaderConstantATI(dst: UInt32; value: IntPtr); + begin + z_SetFragmentShaderConstantATI_ovr_2(dst, value); + end; + + end; + + glMapObjectBufferATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MapObjectBufferATI_adr := GetFuncAdr('glMapObjectBufferATI'); + public z_MapObjectBufferATI_ovr_0 := GetFuncOrNil&(z_MapObjectBufferATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapObjectBufferATI(buffer: UInt32): IntPtr; + begin + Result := z_MapObjectBufferATI_ovr_0(buffer); + end; + + public z_UnmapObjectBufferATI_adr := GetFuncAdr('glUnmapObjectBufferATI'); + public z_UnmapObjectBufferATI_ovr_0 := GetFuncOrNil&(z_UnmapObjectBufferATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UnmapObjectBufferATI(buffer: UInt32); + begin + z_UnmapObjectBufferATI_ovr_0(buffer); + end; + + end; + + glPnTrianglesATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PNTrianglesiATI_adr := GetFuncAdr('glPNTrianglesiATI'); + public z_PNTrianglesiATI_ovr_0 := GetFuncOrNil&(z_PNTrianglesiATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PNTrianglesiATI(pname: PNTrianglesPNameATI; param: Int32); + begin + z_PNTrianglesiATI_ovr_0(pname, param); + end; + + public z_PNTrianglesfATI_adr := GetFuncAdr('glPNTrianglesfATI'); + public z_PNTrianglesfATI_ovr_0 := GetFuncOrNil&(z_PNTrianglesfATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PNTrianglesfATI(pname: PNTrianglesPNameATI; param: single); + begin + z_PNTrianglesfATI_ovr_0(pname, param); + end; + + end; + + glSeparateStencilATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_StencilOpSeparateATI_adr := GetFuncAdr('glStencilOpSeparateATI'); + public z_StencilOpSeparateATI_ovr_0 := GetFuncOrNil&(z_StencilOpSeparateATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilOpSeparateATI(face: StencilFaceDirection; sfail: StencilOp; dpfail: StencilOp; dppass: StencilOp); + begin + z_StencilOpSeparateATI_ovr_0(face, sfail, dpfail, dppass); + end; + + public z_StencilFuncSeparateATI_adr := GetFuncAdr('glStencilFuncSeparateATI'); + public z_StencilFuncSeparateATI_ovr_0 := GetFuncOrNil&(z_StencilFuncSeparateATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFuncSeparateATI(frontfunc: StencilFunction; backfunc: StencilFunction; ref: Int32; mask: UInt32); + begin + z_StencilFuncSeparateATI_ovr_0(frontfunc, backfunc, ref, mask); + end; + + end; + + glVertexArrayObjectATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_NewObjectBufferATI_adr := GetFuncAdr('glNewObjectBufferATI'); + public z_NewObjectBufferATI_ovr_0 := GetFuncOrNil&(z_NewObjectBufferATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function NewObjectBufferATI(size: Int32; pointer: IntPtr; usage: ArrayObjectUsageATI): UInt32; + begin + Result := z_NewObjectBufferATI_ovr_0(size, pointer, usage); + end; + + public z_IsObjectBufferATI_adr := GetFuncAdr('glIsObjectBufferATI'); + public z_IsObjectBufferATI_ovr_0 := GetFuncOrNil&(z_IsObjectBufferATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsObjectBufferATI(buffer: UInt32): boolean; + begin + Result := z_IsObjectBufferATI_ovr_0(buffer); + end; + + public z_UpdateObjectBufferATI_adr := GetFuncAdr('glUpdateObjectBufferATI'); + public z_UpdateObjectBufferATI_ovr_0 := GetFuncOrNil&(z_UpdateObjectBufferATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UpdateObjectBufferATI(buffer: UInt32; offset: UInt32; size: Int32; pointer: IntPtr; preserve: PreserveModeATI); + begin + z_UpdateObjectBufferATI_ovr_0(buffer, offset, size, pointer, preserve); + end; + + public z_GetObjectBufferfvATI_adr := GetFuncAdr('glGetObjectBufferfvATI'); + public z_GetObjectBufferfvATI_ovr_0 := GetFuncOrNil&(z_GetObjectBufferfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferfvATI(buffer: UInt32; pname: ArrayObjectPNameATI; ¶ms: array of single); + begin + z_GetObjectBufferfvATI_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferfvATI(buffer: UInt32; pname: ArrayObjectPNameATI; var ¶ms: single); + begin + z_GetObjectBufferfvATI_ovr_0(buffer, pname, ¶ms); + end; + public z_GetObjectBufferfvATI_ovr_2 := GetFuncOrNil&(z_GetObjectBufferfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferfvATI(buffer: UInt32; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetObjectBufferfvATI_ovr_2(buffer, pname, ¶ms); + end; + + public z_GetObjectBufferivATI_adr := GetFuncAdr('glGetObjectBufferivATI'); + public z_GetObjectBufferivATI_ovr_0 := GetFuncOrNil&(z_GetObjectBufferivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferivATI(buffer: UInt32; pname: ArrayObjectPNameATI; ¶ms: array of Int32); + begin + z_GetObjectBufferivATI_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferivATI(buffer: UInt32; pname: ArrayObjectPNameATI; var ¶ms: Int32); + begin + z_GetObjectBufferivATI_ovr_0(buffer, pname, ¶ms); + end; + public z_GetObjectBufferivATI_ovr_2 := GetFuncOrNil&(z_GetObjectBufferivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectBufferivATI(buffer: UInt32; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetObjectBufferivATI_ovr_2(buffer, pname, ¶ms); + end; + + public z_FreeObjectBufferATI_adr := GetFuncAdr('glFreeObjectBufferATI'); + public z_FreeObjectBufferATI_ovr_0 := GetFuncOrNil&(z_FreeObjectBufferATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FreeObjectBufferATI(buffer: UInt32); + begin + z_FreeObjectBufferATI_ovr_0(buffer); + end; + + public z_ArrayObjectATI_adr := GetFuncAdr('glArrayObjectATI'); + public z_ArrayObjectATI_ovr_0 := GetFuncOrNil&(z_ArrayObjectATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ArrayObjectATI(&array: EnableCap; size: Int32; &type: ScalarType; stride: Int32; buffer: UInt32; offset: UInt32); + begin + z_ArrayObjectATI_ovr_0(&array, size, &type, stride, buffer, offset); + end; + + public z_GetArrayObjectfvATI_adr := GetFuncAdr('glGetArrayObjectfvATI'); + public z_GetArrayObjectfvATI_ovr_0 := GetFuncOrNil&(z_GetArrayObjectfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectfvATI(&array: EnableCap; pname: ArrayObjectPNameATI; ¶ms: array of single); + begin + z_GetArrayObjectfvATI_ovr_0(&array, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectfvATI(&array: EnableCap; pname: ArrayObjectPNameATI; var ¶ms: single); + begin + z_GetArrayObjectfvATI_ovr_0(&array, pname, ¶ms); + end; + public z_GetArrayObjectfvATI_ovr_2 := GetFuncOrNil&(z_GetArrayObjectfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectfvATI(&array: EnableCap; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetArrayObjectfvATI_ovr_2(&array, pname, ¶ms); + end; + + public z_GetArrayObjectivATI_adr := GetFuncAdr('glGetArrayObjectivATI'); + public z_GetArrayObjectivATI_ovr_0 := GetFuncOrNil&(z_GetArrayObjectivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectivATI(&array: EnableCap; pname: ArrayObjectPNameATI; ¶ms: array of Int32); + begin + z_GetArrayObjectivATI_ovr_0(&array, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectivATI(&array: EnableCap; pname: ArrayObjectPNameATI; var ¶ms: Int32); + begin + z_GetArrayObjectivATI_ovr_0(&array, pname, ¶ms); + end; + public z_GetArrayObjectivATI_ovr_2 := GetFuncOrNil&(z_GetArrayObjectivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetArrayObjectivATI(&array: EnableCap; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetArrayObjectivATI_ovr_2(&array, pname, ¶ms); + end; + + public z_VariantArrayObjectATI_adr := GetFuncAdr('glVariantArrayObjectATI'); + public z_VariantArrayObjectATI_ovr_0 := GetFuncOrNil&(z_VariantArrayObjectATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantArrayObjectATI(id: UInt32; &type: ScalarType; stride: Int32; buffer: UInt32; offset: UInt32); + begin + z_VariantArrayObjectATI_ovr_0(id, &type, stride, buffer, offset); + end; + + public z_GetVariantArrayObjectfvATI_adr := GetFuncAdr('glGetVariantArrayObjectfvATI'); + public z_GetVariantArrayObjectfvATI_ovr_0 := GetFuncOrNil&(z_GetVariantArrayObjectfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectfvATI(id: UInt32; pname: ArrayObjectPNameATI; ¶ms: array of single); + begin + z_GetVariantArrayObjectfvATI_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectfvATI(id: UInt32; pname: ArrayObjectPNameATI; var ¶ms: single); + begin + z_GetVariantArrayObjectfvATI_ovr_0(id, pname, ¶ms); + end; + public z_GetVariantArrayObjectfvATI_ovr_2 := GetFuncOrNil&(z_GetVariantArrayObjectfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectfvATI(id: UInt32; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetVariantArrayObjectfvATI_ovr_2(id, pname, ¶ms); + end; + + public z_GetVariantArrayObjectivATI_adr := GetFuncAdr('glGetVariantArrayObjectivATI'); + public z_GetVariantArrayObjectivATI_ovr_0 := GetFuncOrNil&(z_GetVariantArrayObjectivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectivATI(id: UInt32; pname: ArrayObjectPNameATI; ¶ms: array of Int32); + begin + z_GetVariantArrayObjectivATI_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectivATI(id: UInt32; pname: ArrayObjectPNameATI; var ¶ms: Int32); + begin + z_GetVariantArrayObjectivATI_ovr_0(id, pname, ¶ms); + end; + public z_GetVariantArrayObjectivATI_ovr_2 := GetFuncOrNil&(z_GetVariantArrayObjectivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantArrayObjectivATI(id: UInt32; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetVariantArrayObjectivATI_ovr_2(id, pname, ¶ms); + end; + + end; + + glVertexAttribArrayObjectATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttribArrayObjectATI_adr := GetFuncAdr('glVertexAttribArrayObjectATI'); + public z_VertexAttribArrayObjectATI_ovr_0 := GetFuncOrNil&(z_VertexAttribArrayObjectATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribArrayObjectATI(index: UInt32; size: Int32; &type: VertexAttribPointerType; normalized: boolean; stride: Int32; buffer: UInt32; offset: UInt32); + begin + z_VertexAttribArrayObjectATI_ovr_0(index, size, &type, normalized, stride, buffer, offset); + end; + + public z_GetVertexAttribArrayObjectfvATI_adr := GetFuncAdr('glGetVertexAttribArrayObjectfvATI'); + public z_GetVertexAttribArrayObjectfvATI_ovr_0 := GetFuncOrNil&(z_GetVertexAttribArrayObjectfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectfvATI(index: UInt32; pname: ArrayObjectPNameATI; ¶ms: array of single); + begin + z_GetVertexAttribArrayObjectfvATI_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectfvATI(index: UInt32; pname: ArrayObjectPNameATI; var ¶ms: single); + begin + z_GetVertexAttribArrayObjectfvATI_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribArrayObjectfvATI_ovr_2 := GetFuncOrNil&(z_GetVertexAttribArrayObjectfvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectfvATI(index: UInt32; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetVertexAttribArrayObjectfvATI_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribArrayObjectivATI_adr := GetFuncAdr('glGetVertexAttribArrayObjectivATI'); + public z_GetVertexAttribArrayObjectivATI_ovr_0 := GetFuncOrNil&(z_GetVertexAttribArrayObjectivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectivATI(index: UInt32; pname: ArrayObjectPNameATI; ¶ms: array of Int32); + begin + z_GetVertexAttribArrayObjectivATI_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectivATI(index: UInt32; pname: ArrayObjectPNameATI; var ¶ms: Int32); + begin + z_GetVertexAttribArrayObjectivATI_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribArrayObjectivATI_ovr_2 := GetFuncOrNil&(z_GetVertexAttribArrayObjectivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribArrayObjectivATI(index: UInt32; pname: ArrayObjectPNameATI; ¶ms: IntPtr); + begin + z_GetVertexAttribArrayObjectivATI_ovr_2(index, pname, ¶ms); + end; + + end; + + glVertexStreamsATI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexStream1sATI_adr := GetFuncAdr('glVertexStream1sATI'); + public z_VertexStream1sATI_ovr_0 := GetFuncOrNil&(z_VertexStream1sATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1sATI(stream: VertexStreamATI; x: Int16); + begin + z_VertexStream1sATI_ovr_0(stream, x); + end; + + public z_VertexStream1svATI_adr := GetFuncAdr('glVertexStream1svATI'); + public z_VertexStream1svATI_ovr_0 := GetFuncOrNil&(z_VertexStream1svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1svATI(stream: VertexStreamATI; coords: array of Int16); + begin + z_VertexStream1svATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1svATI(stream: VertexStreamATI; var coords: Int16); + begin + z_VertexStream1svATI_ovr_0(stream, coords); + end; + public z_VertexStream1svATI_ovr_2 := GetFuncOrNil&(z_VertexStream1svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1svATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream1svATI_ovr_2(stream, coords); + end; + + public z_VertexStream1iATI_adr := GetFuncAdr('glVertexStream1iATI'); + public z_VertexStream1iATI_ovr_0 := GetFuncOrNil&(z_VertexStream1iATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1iATI(stream: VertexStreamATI; x: Int32); + begin + z_VertexStream1iATI_ovr_0(stream, x); + end; + + public z_VertexStream1ivATI_adr := GetFuncAdr('glVertexStream1ivATI'); + public z_VertexStream1ivATI_ovr_0 := GetFuncOrNil&(z_VertexStream1ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1ivATI(stream: VertexStreamATI; coords: array of Int32); + begin + z_VertexStream1ivATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1ivATI(stream: VertexStreamATI; var coords: Int32); + begin + z_VertexStream1ivATI_ovr_0(stream, coords); + end; + public z_VertexStream1ivATI_ovr_2 := GetFuncOrNil&(z_VertexStream1ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1ivATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream1ivATI_ovr_2(stream, coords); + end; + + public z_VertexStream1fATI_adr := GetFuncAdr('glVertexStream1fATI'); + public z_VertexStream1fATI_ovr_0 := GetFuncOrNil&(z_VertexStream1fATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fATI(stream: VertexStreamATI; x: single); + begin + z_VertexStream1fATI_ovr_0(stream, x); + end; + + public z_VertexStream1fvATI_adr := GetFuncAdr('glVertexStream1fvATI'); + public z_VertexStream1fvATI_ovr_0 := GetFuncOrNil&(z_VertexStream1fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fvATI(stream: VertexStreamATI; coords: array of single); + begin + z_VertexStream1fvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fvATI(stream: VertexStreamATI; var coords: single); + begin + z_VertexStream1fvATI_ovr_0(stream, coords); + end; + public z_VertexStream1fvATI_ovr_2 := GetFuncOrNil&(z_VertexStream1fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1fvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream1fvATI_ovr_2(stream, coords); + end; + + public z_VertexStream1dATI_adr := GetFuncAdr('glVertexStream1dATI'); + public z_VertexStream1dATI_ovr_0 := GetFuncOrNil&(z_VertexStream1dATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dATI(stream: VertexStreamATI; x: real); + begin + z_VertexStream1dATI_ovr_0(stream, x); + end; + + public z_VertexStream1dvATI_adr := GetFuncAdr('glVertexStream1dvATI'); + public z_VertexStream1dvATI_ovr_0 := GetFuncOrNil&(z_VertexStream1dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dvATI(stream: VertexStreamATI; coords: array of real); + begin + z_VertexStream1dvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dvATI(stream: VertexStreamATI; var coords: real); + begin + z_VertexStream1dvATI_ovr_0(stream, coords); + end; + public z_VertexStream1dvATI_ovr_2 := GetFuncOrNil&(z_VertexStream1dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream1dvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream1dvATI_ovr_2(stream, coords); + end; + + public z_VertexStream2sATI_adr := GetFuncAdr('glVertexStream2sATI'); + public z_VertexStream2sATI_ovr_0 := GetFuncOrNil&(z_VertexStream2sATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2sATI(stream: VertexStreamATI; x: Int16; y: Int16); + begin + z_VertexStream2sATI_ovr_0(stream, x, y); + end; + + public z_VertexStream2svATI_adr := GetFuncAdr('glVertexStream2svATI'); + public z_VertexStream2svATI_ovr_0 := GetFuncOrNil&(z_VertexStream2svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2svATI(stream: VertexStreamATI; coords: array of Int16); + begin + z_VertexStream2svATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2svATI(stream: VertexStreamATI; var coords: Int16); + begin + z_VertexStream2svATI_ovr_0(stream, coords); + end; + public z_VertexStream2svATI_ovr_2 := GetFuncOrNil&(z_VertexStream2svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2svATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream2svATI_ovr_2(stream, coords); + end; + + public z_VertexStream2iATI_adr := GetFuncAdr('glVertexStream2iATI'); + public z_VertexStream2iATI_ovr_0 := GetFuncOrNil&(z_VertexStream2iATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2iATI(stream: VertexStreamATI; x: Int32; y: Int32); + begin + z_VertexStream2iATI_ovr_0(stream, x, y); + end; + + public z_VertexStream2ivATI_adr := GetFuncAdr('glVertexStream2ivATI'); + public z_VertexStream2ivATI_ovr_0 := GetFuncOrNil&(z_VertexStream2ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2ivATI(stream: VertexStreamATI; coords: array of Int32); + begin + z_VertexStream2ivATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2ivATI(stream: VertexStreamATI; var coords: Int32); + begin + z_VertexStream2ivATI_ovr_0(stream, coords); + end; + public z_VertexStream2ivATI_ovr_2 := GetFuncOrNil&(z_VertexStream2ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2ivATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream2ivATI_ovr_2(stream, coords); + end; + + public z_VertexStream2fATI_adr := GetFuncAdr('glVertexStream2fATI'); + public z_VertexStream2fATI_ovr_0 := GetFuncOrNil&(z_VertexStream2fATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fATI(stream: VertexStreamATI; x: single; y: single); + begin + z_VertexStream2fATI_ovr_0(stream, x, y); + end; + + public z_VertexStream2fvATI_adr := GetFuncAdr('glVertexStream2fvATI'); + public z_VertexStream2fvATI_ovr_0 := GetFuncOrNil&(z_VertexStream2fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fvATI(stream: VertexStreamATI; coords: array of single); + begin + z_VertexStream2fvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fvATI(stream: VertexStreamATI; var coords: single); + begin + z_VertexStream2fvATI_ovr_0(stream, coords); + end; + public z_VertexStream2fvATI_ovr_2 := GetFuncOrNil&(z_VertexStream2fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2fvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream2fvATI_ovr_2(stream, coords); + end; + + public z_VertexStream2dATI_adr := GetFuncAdr('glVertexStream2dATI'); + public z_VertexStream2dATI_ovr_0 := GetFuncOrNil&(z_VertexStream2dATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dATI(stream: VertexStreamATI; x: real; y: real); + begin + z_VertexStream2dATI_ovr_0(stream, x, y); + end; + + public z_VertexStream2dvATI_adr := GetFuncAdr('glVertexStream2dvATI'); + public z_VertexStream2dvATI_ovr_0 := GetFuncOrNil&(z_VertexStream2dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dvATI(stream: VertexStreamATI; coords: array of real); + begin + z_VertexStream2dvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dvATI(stream: VertexStreamATI; var coords: real); + begin + z_VertexStream2dvATI_ovr_0(stream, coords); + end; + public z_VertexStream2dvATI_ovr_2 := GetFuncOrNil&(z_VertexStream2dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream2dvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream2dvATI_ovr_2(stream, coords); + end; + + public z_VertexStream3sATI_adr := GetFuncAdr('glVertexStream3sATI'); + public z_VertexStream3sATI_ovr_0 := GetFuncOrNil&(z_VertexStream3sATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3sATI(stream: VertexStreamATI; x: Int16; y: Int16; z: Int16); + begin + z_VertexStream3sATI_ovr_0(stream, x, y, z); + end; + + public z_VertexStream3svATI_adr := GetFuncAdr('glVertexStream3svATI'); + public z_VertexStream3svATI_ovr_0 := GetFuncOrNil&(z_VertexStream3svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3svATI(stream: VertexStreamATI; coords: array of Int16); + begin + z_VertexStream3svATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3svATI(stream: VertexStreamATI; var coords: Int16); + begin + z_VertexStream3svATI_ovr_0(stream, coords); + end; + public z_VertexStream3svATI_ovr_2 := GetFuncOrNil&(z_VertexStream3svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3svATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream3svATI_ovr_2(stream, coords); + end; + + public z_VertexStream3iATI_adr := GetFuncAdr('glVertexStream3iATI'); + public z_VertexStream3iATI_ovr_0 := GetFuncOrNil&(z_VertexStream3iATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3iATI(stream: VertexStreamATI; x: Int32; y: Int32; z: Int32); + begin + z_VertexStream3iATI_ovr_0(stream, x, y, z); + end; + + public z_VertexStream3ivATI_adr := GetFuncAdr('glVertexStream3ivATI'); + public z_VertexStream3ivATI_ovr_0 := GetFuncOrNil&(z_VertexStream3ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3ivATI(stream: VertexStreamATI; coords: array of Int32); + begin + z_VertexStream3ivATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3ivATI(stream: VertexStreamATI; var coords: Int32); + begin + z_VertexStream3ivATI_ovr_0(stream, coords); + end; + public z_VertexStream3ivATI_ovr_2 := GetFuncOrNil&(z_VertexStream3ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3ivATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream3ivATI_ovr_2(stream, coords); + end; + + public z_VertexStream3fATI_adr := GetFuncAdr('glVertexStream3fATI'); + public z_VertexStream3fATI_ovr_0 := GetFuncOrNil&(z_VertexStream3fATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fATI(stream: VertexStreamATI; x: single; y: single; z: single); + begin + z_VertexStream3fATI_ovr_0(stream, x, y, z); + end; + + public z_VertexStream3fvATI_adr := GetFuncAdr('glVertexStream3fvATI'); + public z_VertexStream3fvATI_ovr_0 := GetFuncOrNil&(z_VertexStream3fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fvATI(stream: VertexStreamATI; coords: array of single); + begin + z_VertexStream3fvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fvATI(stream: VertexStreamATI; var coords: single); + begin + z_VertexStream3fvATI_ovr_0(stream, coords); + end; + public z_VertexStream3fvATI_ovr_2 := GetFuncOrNil&(z_VertexStream3fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3fvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream3fvATI_ovr_2(stream, coords); + end; + + public z_VertexStream3dATI_adr := GetFuncAdr('glVertexStream3dATI'); + public z_VertexStream3dATI_ovr_0 := GetFuncOrNil&(z_VertexStream3dATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dATI(stream: VertexStreamATI; x: real; y: real; z: real); + begin + z_VertexStream3dATI_ovr_0(stream, x, y, z); + end; + + public z_VertexStream3dvATI_adr := GetFuncAdr('glVertexStream3dvATI'); + public z_VertexStream3dvATI_ovr_0 := GetFuncOrNil&(z_VertexStream3dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dvATI(stream: VertexStreamATI; coords: array of real); + begin + z_VertexStream3dvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dvATI(stream: VertexStreamATI; var coords: real); + begin + z_VertexStream3dvATI_ovr_0(stream, coords); + end; + public z_VertexStream3dvATI_ovr_2 := GetFuncOrNil&(z_VertexStream3dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream3dvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream3dvATI_ovr_2(stream, coords); + end; + + public z_VertexStream4sATI_adr := GetFuncAdr('glVertexStream4sATI'); + public z_VertexStream4sATI_ovr_0 := GetFuncOrNil&(z_VertexStream4sATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4sATI(stream: VertexStreamATI; x: Int16; y: Int16; z: Int16; w: Int16); + begin + z_VertexStream4sATI_ovr_0(stream, x, y, z, w); + end; + + public z_VertexStream4svATI_adr := GetFuncAdr('glVertexStream4svATI'); + public z_VertexStream4svATI_ovr_0 := GetFuncOrNil&(z_VertexStream4svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4svATI(stream: VertexStreamATI; coords: array of Int16); + begin + z_VertexStream4svATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4svATI(stream: VertexStreamATI; var coords: Int16); + begin + z_VertexStream4svATI_ovr_0(stream, coords); + end; + public z_VertexStream4svATI_ovr_2 := GetFuncOrNil&(z_VertexStream4svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4svATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream4svATI_ovr_2(stream, coords); + end; + + public z_VertexStream4iATI_adr := GetFuncAdr('glVertexStream4iATI'); + public z_VertexStream4iATI_ovr_0 := GetFuncOrNil&(z_VertexStream4iATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4iATI(stream: VertexStreamATI; x: Int32; y: Int32; z: Int32; w: Int32); + begin + z_VertexStream4iATI_ovr_0(stream, x, y, z, w); + end; + + public z_VertexStream4ivATI_adr := GetFuncAdr('glVertexStream4ivATI'); + public z_VertexStream4ivATI_ovr_0 := GetFuncOrNil&(z_VertexStream4ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4ivATI(stream: VertexStreamATI; coords: array of Int32); + begin + z_VertexStream4ivATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4ivATI(stream: VertexStreamATI; var coords: Int32); + begin + z_VertexStream4ivATI_ovr_0(stream, coords); + end; + public z_VertexStream4ivATI_ovr_2 := GetFuncOrNil&(z_VertexStream4ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4ivATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream4ivATI_ovr_2(stream, coords); + end; + + public z_VertexStream4fATI_adr := GetFuncAdr('glVertexStream4fATI'); + public z_VertexStream4fATI_ovr_0 := GetFuncOrNil&(z_VertexStream4fATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fATI(stream: VertexStreamATI; x: single; y: single; z: single; w: single); + begin + z_VertexStream4fATI_ovr_0(stream, x, y, z, w); + end; + + public z_VertexStream4fvATI_adr := GetFuncAdr('glVertexStream4fvATI'); + public z_VertexStream4fvATI_ovr_0 := GetFuncOrNil&(z_VertexStream4fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fvATI(stream: VertexStreamATI; coords: array of single); + begin + z_VertexStream4fvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fvATI(stream: VertexStreamATI; var coords: single); + begin + z_VertexStream4fvATI_ovr_0(stream, coords); + end; + public z_VertexStream4fvATI_ovr_2 := GetFuncOrNil&(z_VertexStream4fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4fvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream4fvATI_ovr_2(stream, coords); + end; + + public z_VertexStream4dATI_adr := GetFuncAdr('glVertexStream4dATI'); + public z_VertexStream4dATI_ovr_0 := GetFuncOrNil&(z_VertexStream4dATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dATI(stream: VertexStreamATI; x: real; y: real; z: real; w: real); + begin + z_VertexStream4dATI_ovr_0(stream, x, y, z, w); + end; + + public z_VertexStream4dvATI_adr := GetFuncAdr('glVertexStream4dvATI'); + public z_VertexStream4dvATI_ovr_0 := GetFuncOrNil&(z_VertexStream4dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dvATI(stream: VertexStreamATI; coords: array of real); + begin + z_VertexStream4dvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dvATI(stream: VertexStreamATI; var coords: real); + begin + z_VertexStream4dvATI_ovr_0(stream, coords); + end; + public z_VertexStream4dvATI_ovr_2 := GetFuncOrNil&(z_VertexStream4dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexStream4dvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_VertexStream4dvATI_ovr_2(stream, coords); + end; + + public z_NormalStream3bATI_adr := GetFuncAdr('glNormalStream3bATI'); + public z_NormalStream3bATI_ovr_0 := GetFuncOrNil&(z_NormalStream3bATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bATI(stream: VertexStreamATI; nx: SByte; ny: SByte; nz: SByte); + begin + z_NormalStream3bATI_ovr_0(stream, nx, ny, nz); + end; + + public z_NormalStream3bvATI_adr := GetFuncAdr('glNormalStream3bvATI'); + public z_NormalStream3bvATI_ovr_0 := GetFuncOrNil&(z_NormalStream3bvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bvATI(stream: VertexStreamATI; coords: array of SByte); + begin + z_NormalStream3bvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bvATI(stream: VertexStreamATI; var coords: SByte); + begin + z_NormalStream3bvATI_ovr_0(stream, coords); + end; + public z_NormalStream3bvATI_ovr_2 := GetFuncOrNil&(z_NormalStream3bvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3bvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_NormalStream3bvATI_ovr_2(stream, coords); + end; + + public z_NormalStream3sATI_adr := GetFuncAdr('glNormalStream3sATI'); + public z_NormalStream3sATI_ovr_0 := GetFuncOrNil&(z_NormalStream3sATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3sATI(stream: VertexStreamATI; nx: Int16; ny: Int16; nz: Int16); + begin + z_NormalStream3sATI_ovr_0(stream, nx, ny, nz); + end; + + public z_NormalStream3svATI_adr := GetFuncAdr('glNormalStream3svATI'); + public z_NormalStream3svATI_ovr_0 := GetFuncOrNil&(z_NormalStream3svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3svATI(stream: VertexStreamATI; coords: array of Int16); + begin + z_NormalStream3svATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3svATI(stream: VertexStreamATI; var coords: Int16); + begin + z_NormalStream3svATI_ovr_0(stream, coords); + end; + public z_NormalStream3svATI_ovr_2 := GetFuncOrNil&(z_NormalStream3svATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3svATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_NormalStream3svATI_ovr_2(stream, coords); + end; + + public z_NormalStream3iATI_adr := GetFuncAdr('glNormalStream3iATI'); + public z_NormalStream3iATI_ovr_0 := GetFuncOrNil&(z_NormalStream3iATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3iATI(stream: VertexStreamATI; nx: Int32; ny: Int32; nz: Int32); + begin + z_NormalStream3iATI_ovr_0(stream, nx, ny, nz); + end; + + public z_NormalStream3ivATI_adr := GetFuncAdr('glNormalStream3ivATI'); + public z_NormalStream3ivATI_ovr_0 := GetFuncOrNil&(z_NormalStream3ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3ivATI(stream: VertexStreamATI; coords: array of Int32); + begin + z_NormalStream3ivATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3ivATI(stream: VertexStreamATI; var coords: Int32); + begin + z_NormalStream3ivATI_ovr_0(stream, coords); + end; + public z_NormalStream3ivATI_ovr_2 := GetFuncOrNil&(z_NormalStream3ivATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3ivATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_NormalStream3ivATI_ovr_2(stream, coords); + end; + + public z_NormalStream3fATI_adr := GetFuncAdr('glNormalStream3fATI'); + public z_NormalStream3fATI_ovr_0 := GetFuncOrNil&(z_NormalStream3fATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fATI(stream: VertexStreamATI; nx: single; ny: single; nz: single); + begin + z_NormalStream3fATI_ovr_0(stream, nx, ny, nz); + end; + + public z_NormalStream3fvATI_adr := GetFuncAdr('glNormalStream3fvATI'); + public z_NormalStream3fvATI_ovr_0 := GetFuncOrNil&(z_NormalStream3fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fvATI(stream: VertexStreamATI; coords: array of single); + begin + z_NormalStream3fvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fvATI(stream: VertexStreamATI; var coords: single); + begin + z_NormalStream3fvATI_ovr_0(stream, coords); + end; + public z_NormalStream3fvATI_ovr_2 := GetFuncOrNil&(z_NormalStream3fvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3fvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_NormalStream3fvATI_ovr_2(stream, coords); + end; + + public z_NormalStream3dATI_adr := GetFuncAdr('glNormalStream3dATI'); + public z_NormalStream3dATI_ovr_0 := GetFuncOrNil&(z_NormalStream3dATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dATI(stream: VertexStreamATI; nx: real; ny: real; nz: real); + begin + z_NormalStream3dATI_ovr_0(stream, nx, ny, nz); + end; + + public z_NormalStream3dvATI_adr := GetFuncAdr('glNormalStream3dvATI'); + public z_NormalStream3dvATI_ovr_0 := GetFuncOrNil&(z_NormalStream3dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dvATI(stream: VertexStreamATI; coords: array of real); + begin + z_NormalStream3dvATI_ovr_0(stream, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dvATI(stream: VertexStreamATI; var coords: real); + begin + z_NormalStream3dvATI_ovr_0(stream, coords); + end; + public z_NormalStream3dvATI_ovr_2 := GetFuncOrNil&(z_NormalStream3dvATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalStream3dvATI(stream: VertexStreamATI; coords: IntPtr); + begin + z_NormalStream3dvATI_ovr_2(stream, coords); + end; + + public z_ClientActiveVertexStreamATI_adr := GetFuncAdr('glClientActiveVertexStreamATI'); + public z_ClientActiveVertexStreamATI_ovr_0 := GetFuncOrNil&(z_ClientActiveVertexStreamATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientActiveVertexStreamATI(stream: VertexStreamATI); + begin + z_ClientActiveVertexStreamATI_ovr_0(stream); + end; + + public z_VertexBlendEnviATI_adr := GetFuncAdr('glVertexBlendEnviATI'); + public z_VertexBlendEnviATI_ovr_0 := GetFuncOrNil&(z_VertexBlendEnviATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBlendEnviATI(pname: VertexStreamATI; param: Int32); + begin + z_VertexBlendEnviATI_ovr_0(pname, param); + end; + + public z_VertexBlendEnvfATI_adr := GetFuncAdr('glVertexBlendEnvfATI'); + public z_VertexBlendEnvfATI_ovr_0 := GetFuncOrNil&(z_VertexBlendEnvfATI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexBlendEnvfATI(pname: VertexStreamATI; param: single); + begin + z_VertexBlendEnvfATI_ovr_0(pname, param); + end; + + end; + + glEGLImageStorageEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_EGLImageTargetTexStorageEXT_adr := GetFuncAdr('glEGLImageTargetTexStorageEXT'); + public z_EGLImageTargetTexStorageEXT_ovr_0 := GetFuncOrNil&(z_EGLImageTargetTexStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexStorageEXT(target: DummyEnum; image: GLeglImageOES; attrib_list: array of Int32); + begin + z_EGLImageTargetTexStorageEXT_ovr_0(target, image, attrib_list[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexStorageEXT(target: DummyEnum; image: GLeglImageOES; var attrib_list: Int32); + begin + z_EGLImageTargetTexStorageEXT_ovr_0(target, image, attrib_list); + end; + public z_EGLImageTargetTexStorageEXT_ovr_2 := GetFuncOrNil&(z_EGLImageTargetTexStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTexStorageEXT(target: DummyEnum; image: GLeglImageOES; attrib_list: IntPtr); + begin + z_EGLImageTargetTexStorageEXT_ovr_2(target, image, attrib_list); + end; + + public z_EGLImageTargetTextureStorageEXT_adr := GetFuncAdr('glEGLImageTargetTextureStorageEXT'); + public z_EGLImageTargetTextureStorageEXT_ovr_0 := GetFuncOrNil&(z_EGLImageTargetTextureStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTextureStorageEXT(texture: UInt32; image: GLeglImageOES; attrib_list: array of Int32); + begin + z_EGLImageTargetTextureStorageEXT_ovr_0(texture, image, attrib_list[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTextureStorageEXT(texture: UInt32; image: GLeglImageOES; var attrib_list: Int32); + begin + z_EGLImageTargetTextureStorageEXT_ovr_0(texture, image, attrib_list); + end; + public z_EGLImageTargetTextureStorageEXT_ovr_2 := GetFuncOrNil&(z_EGLImageTargetTextureStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EGLImageTargetTextureStorageEXT(texture: UInt32; image: GLeglImageOES; attrib_list: IntPtr); + begin + z_EGLImageTargetTextureStorageEXT_ovr_2(texture, image, attrib_list); + end; + + end; + + glBindableUniformEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_UniformBufferEXT_adr := GetFuncAdr('glUniformBufferEXT'); + public z_UniformBufferEXT_ovr_0 := GetFuncOrNil&(z_UniformBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformBufferEXT(&program: UInt32; location: Int32; buffer: UInt32); + begin + z_UniformBufferEXT_ovr_0(&program, location, buffer); + end; + + public z_GetUniformBufferSizeEXT_adr := GetFuncAdr('glGetUniformBufferSizeEXT'); + public z_GetUniformBufferSizeEXT_ovr_0 := GetFuncOrNil&(z_GetUniformBufferSizeEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformBufferSizeEXT(&program: UInt32; location: Int32): Int32; + begin + Result := z_GetUniformBufferSizeEXT_ovr_0(&program, location); + end; + + public z_GetUniformOffsetEXT_adr := GetFuncAdr('glGetUniformOffsetEXT'); + public z_GetUniformOffsetEXT_ovr_0 := GetFuncOrNil&(z_GetUniformOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetUniformOffsetEXT(&program: UInt32; location: Int32): IntPtr; + begin + Result := z_GetUniformOffsetEXT_ovr_0(&program, location); + end; + + end; + + glBlendColorEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendColorEXT_adr := GetFuncAdr('glBlendColorEXT'); + public z_BlendColorEXT_ovr_0 := GetFuncOrNil&(z_BlendColorEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendColorEXT(red: single; green: single; blue: single; alpha: single); + begin + z_BlendColorEXT_ovr_0(red, green, blue, alpha); + end; + + end; + + glBlendEquationSeparateEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendEquationSeparateEXT_adr := GetFuncAdr('glBlendEquationSeparateEXT'); + public z_BlendEquationSeparateEXT_ovr_0 := GetFuncOrNil&(z_BlendEquationSeparateEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationSeparateEXT(modeRGB: BlendEquationModeEXT; modeAlpha: BlendEquationModeEXT); + begin + z_BlendEquationSeparateEXT_ovr_0(modeRGB, modeAlpha); + end; + + end; + + glBlendFuncSeparateEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendFuncSeparateEXT_adr := GetFuncAdr('glBlendFuncSeparateEXT'); + public z_BlendFuncSeparateEXT_ovr_0 := GetFuncOrNil&(z_BlendFuncSeparateEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateEXT(sfactorRGB: BlendingFactor; dfactorRGB: BlendingFactor; sfactorAlpha: BlendingFactor; dfactorAlpha: BlendingFactor); + begin + z_BlendFuncSeparateEXT_ovr_0(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + end; + + end; + + glBlendMinmaxEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendEquationEXT_adr := GetFuncAdr('glBlendEquationEXT'); + public z_BlendEquationEXT_ovr_0 := GetFuncOrNil&(z_BlendEquationEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendEquationEXT(mode: BlendEquationModeEXT); + begin + z_BlendEquationEXT_ovr_0(mode); + end; + + end; + + glColorSubtableEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ColorSubTableEXT_adr := GetFuncAdr('glColorSubTableEXT'); + public z_ColorSubTableEXT_ovr_0 := GetFuncOrNil&(z_ColorSubTableEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorSubTableEXT(target: ColorTableTarget; start: Int32; count: Int32; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ColorSubTableEXT_ovr_0(target, start, count, format, &type, data); + end; + + public z_CopyColorSubTableEXT_adr := GetFuncAdr('glCopyColorSubTableEXT'); + public z_CopyColorSubTableEXT_ovr_0 := GetFuncOrNil&(z_CopyColorSubTableEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyColorSubTableEXT(target: ColorTableTarget; start: Int32; x: Int32; y: Int32; width: Int32); + begin + z_CopyColorSubTableEXT_ovr_0(target, start, x, y, width); + end; + + end; + + glCompiledVertexArrayEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_LockArraysEXT_adr := GetFuncAdr('glLockArraysEXT'); + public z_LockArraysEXT_ovr_0 := GetFuncOrNil&(z_LockArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LockArraysEXT(first: Int32; count: Int32); + begin + z_LockArraysEXT_ovr_0(first, count); + end; + + public z_UnlockArraysEXT_adr := GetFuncAdr('glUnlockArraysEXT'); + public z_UnlockArraysEXT_ovr_0 := GetFuncOrNil&(z_UnlockArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UnlockArraysEXT; + begin + z_UnlockArraysEXT_ovr_0; + end; + + end; + + glConvolutionEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ConvolutionFilter1DEXT_adr := GetFuncAdr('glConvolutionFilter1DEXT'); + public z_ConvolutionFilter1DEXT_ovr_0 := GetFuncOrNil&(z_ConvolutionFilter1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionFilter1DEXT(target: ConvolutionTargetEXT; _internalformat: InternalFormat; width: Int32; format: PixelFormat; &type: PixelType; image: IntPtr); + begin + z_ConvolutionFilter1DEXT_ovr_0(target, _internalformat, width, format, &type, image); + end; + + public z_ConvolutionFilter2DEXT_adr := GetFuncAdr('glConvolutionFilter2DEXT'); + public z_ConvolutionFilter2DEXT_ovr_0 := GetFuncOrNil&(z_ConvolutionFilter2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionFilter2DEXT(target: ConvolutionTargetEXT; _internalformat: InternalFormat; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; image: IntPtr); + begin + z_ConvolutionFilter2DEXT_ovr_0(target, _internalformat, width, height, format, &type, image); + end; + + public z_ConvolutionParameterfEXT_adr := GetFuncAdr('glConvolutionParameterfEXT'); + public z_ConvolutionParameterfEXT_ovr_0 := GetFuncOrNil&(z_ConvolutionParameterfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: single); + begin + z_ConvolutionParameterfEXT_ovr_0(target, pname, ¶ms); + end; + + public z_ConvolutionParameterfvEXT_adr := GetFuncAdr('glConvolutionParameterfvEXT'); + public z_ConvolutionParameterfvEXT_ovr_0 := GetFuncOrNil&(z_ConvolutionParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfvEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: array of single); + begin + z_ConvolutionParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfvEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; var ¶ms: single); + begin + z_ConvolutionParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_ConvolutionParameterfvEXT_ovr_2 := GetFuncOrNil&(z_ConvolutionParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterfvEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: IntPtr); + begin + z_ConvolutionParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + public z_ConvolutionParameteriEXT_adr := GetFuncAdr('glConvolutionParameteriEXT'); + public z_ConvolutionParameteriEXT_ovr_0 := GetFuncOrNil&(z_ConvolutionParameteriEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameteriEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: Int32); + begin + z_ConvolutionParameteriEXT_ovr_0(target, pname, ¶ms); + end; + + public z_ConvolutionParameterivEXT_adr := GetFuncAdr('glConvolutionParameterivEXT'); + public z_ConvolutionParameterivEXT_ovr_0 := GetFuncOrNil&(z_ConvolutionParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterivEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: array of Int32); + begin + z_ConvolutionParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterivEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; var ¶ms: Int32); + begin + z_ConvolutionParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_ConvolutionParameterivEXT_ovr_2 := GetFuncOrNil&(z_ConvolutionParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterivEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: IntPtr); + begin + z_ConvolutionParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_CopyConvolutionFilter1DEXT_adr := GetFuncAdr('glCopyConvolutionFilter1DEXT'); + public z_CopyConvolutionFilter1DEXT_ovr_0 := GetFuncOrNil&(z_CopyConvolutionFilter1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyConvolutionFilter1DEXT(target: ConvolutionTargetEXT; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32); + begin + z_CopyConvolutionFilter1DEXT_ovr_0(target, _internalformat, x, y, width); + end; + + public z_CopyConvolutionFilter2DEXT_adr := GetFuncAdr('glCopyConvolutionFilter2DEXT'); + public z_CopyConvolutionFilter2DEXT_ovr_0 := GetFuncOrNil&(z_CopyConvolutionFilter2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyConvolutionFilter2DEXT(target: ConvolutionTargetEXT; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyConvolutionFilter2DEXT_ovr_0(target, _internalformat, x, y, width, height); + end; + + public z_GetConvolutionFilterEXT_adr := GetFuncAdr('glGetConvolutionFilterEXT'); + public z_GetConvolutionFilterEXT_ovr_0 := GetFuncOrNil&(z_GetConvolutionFilterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionFilterEXT(target: ConvolutionTargetEXT; format: PixelFormat; &type: PixelType; image: IntPtr); + begin + z_GetConvolutionFilterEXT_ovr_0(target, format, &type, image); + end; + + public z_GetConvolutionParameterfvEXT_adr := GetFuncAdr('glGetConvolutionParameterfvEXT'); + public z_GetConvolutionParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetConvolutionParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfvEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: array of single); + begin + z_GetConvolutionParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfvEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; var ¶ms: single); + begin + z_GetConvolutionParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetConvolutionParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetConvolutionParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterfvEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: IntPtr); + begin + z_GetConvolutionParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetConvolutionParameterivEXT_adr := GetFuncAdr('glGetConvolutionParameterivEXT'); + public z_GetConvolutionParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetConvolutionParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterivEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: array of Int32); + begin + z_GetConvolutionParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterivEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; var ¶ms: Int32); + begin + z_GetConvolutionParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetConvolutionParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetConvolutionParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterivEXT(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: IntPtr); + begin + z_GetConvolutionParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetSeparableFilterEXT_adr := GetFuncAdr('glGetSeparableFilterEXT'); + public z_GetSeparableFilterEXT_ovr_0 := GetFuncOrNil&(z_GetSeparableFilterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSeparableFilterEXT(target: SeparableTargetEXT; format: PixelFormat; &type: PixelType; row: IntPtr; column: IntPtr; span: IntPtr); + begin + z_GetSeparableFilterEXT_ovr_0(target, format, &type, row, column, span); + end; + + public z_SeparableFilter2DEXT_adr := GetFuncAdr('glSeparableFilter2DEXT'); + public z_SeparableFilter2DEXT_ovr_0 := GetFuncOrNil&(z_SeparableFilter2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SeparableFilter2DEXT(target: SeparableTargetEXT; _internalformat: InternalFormat; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; row: IntPtr; column: IntPtr); + begin + z_SeparableFilter2DEXT_ovr_0(target, _internalformat, width, height, format, &type, row, column); + end; + + end; + + glCoordinateFrameEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_Tangent3bEXT_adr := GetFuncAdr('glTangent3bEXT'); + public z_Tangent3bEXT_ovr_0 := GetFuncOrNil&(z_Tangent3bEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bEXT(tx: SByte; ty: SByte; tz: SByte); + begin + z_Tangent3bEXT_ovr_0(tx, ty, tz); + end; + + public z_Tangent3bvEXT_adr := GetFuncAdr('glTangent3bvEXT'); + public z_Tangent3bvEXT_ovr_0 := GetFuncOrNil&(z_Tangent3bvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bvEXT(v: array of SByte); + begin + z_Tangent3bvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bvEXT(var v: SByte); + begin + z_Tangent3bvEXT_ovr_0(v); + end; + public z_Tangent3bvEXT_ovr_2 := GetFuncOrNil&(z_Tangent3bvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3bvEXT(v: IntPtr); + begin + z_Tangent3bvEXT_ovr_2(v); + end; + + public z_Tangent3dEXT_adr := GetFuncAdr('glTangent3dEXT'); + public z_Tangent3dEXT_ovr_0 := GetFuncOrNil&(z_Tangent3dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dEXT(tx: real; ty: real; tz: real); + begin + z_Tangent3dEXT_ovr_0(tx, ty, tz); + end; + + public z_Tangent3dvEXT_adr := GetFuncAdr('glTangent3dvEXT'); + public z_Tangent3dvEXT_ovr_0 := GetFuncOrNil&(z_Tangent3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dvEXT(v: array of real); + begin + z_Tangent3dvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dvEXT(var v: real); + begin + z_Tangent3dvEXT_ovr_0(v); + end; + public z_Tangent3dvEXT_ovr_2 := GetFuncOrNil&(z_Tangent3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3dvEXT(v: IntPtr); + begin + z_Tangent3dvEXT_ovr_2(v); + end; + + public z_Tangent3fEXT_adr := GetFuncAdr('glTangent3fEXT'); + public z_Tangent3fEXT_ovr_0 := GetFuncOrNil&(z_Tangent3fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fEXT(tx: single; ty: single; tz: single); + begin + z_Tangent3fEXT_ovr_0(tx, ty, tz); + end; + + public z_Tangent3fvEXT_adr := GetFuncAdr('glTangent3fvEXT'); + public z_Tangent3fvEXT_ovr_0 := GetFuncOrNil&(z_Tangent3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fvEXT(v: array of single); + begin + z_Tangent3fvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fvEXT(var v: single); + begin + z_Tangent3fvEXT_ovr_0(v); + end; + public z_Tangent3fvEXT_ovr_2 := GetFuncOrNil&(z_Tangent3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3fvEXT(v: IntPtr); + begin + z_Tangent3fvEXT_ovr_2(v); + end; + + public z_Tangent3iEXT_adr := GetFuncAdr('glTangent3iEXT'); + public z_Tangent3iEXT_ovr_0 := GetFuncOrNil&(z_Tangent3iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3iEXT(tx: Int32; ty: Int32; tz: Int32); + begin + z_Tangent3iEXT_ovr_0(tx, ty, tz); + end; + + public z_Tangent3ivEXT_adr := GetFuncAdr('glTangent3ivEXT'); + public z_Tangent3ivEXT_ovr_0 := GetFuncOrNil&(z_Tangent3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3ivEXT(v: array of Int32); + begin + z_Tangent3ivEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3ivEXT(var v: Int32); + begin + z_Tangent3ivEXT_ovr_0(v); + end; + public z_Tangent3ivEXT_ovr_2 := GetFuncOrNil&(z_Tangent3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3ivEXT(v: IntPtr); + begin + z_Tangent3ivEXT_ovr_2(v); + end; + + public z_Tangent3sEXT_adr := GetFuncAdr('glTangent3sEXT'); + public z_Tangent3sEXT_ovr_0 := GetFuncOrNil&(z_Tangent3sEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3sEXT(tx: Int16; ty: Int16; tz: Int16); + begin + z_Tangent3sEXT_ovr_0(tx, ty, tz); + end; + + public z_Tangent3svEXT_adr := GetFuncAdr('glTangent3svEXT'); + public z_Tangent3svEXT_ovr_0 := GetFuncOrNil&(z_Tangent3svEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3svEXT(v: array of Int16); + begin + z_Tangent3svEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3svEXT(var v: Int16); + begin + z_Tangent3svEXT_ovr_0(v); + end; + public z_Tangent3svEXT_ovr_2 := GetFuncOrNil&(z_Tangent3svEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Tangent3svEXT(v: IntPtr); + begin + z_Tangent3svEXT_ovr_2(v); + end; + + public z_Binormal3bEXT_adr := GetFuncAdr('glBinormal3bEXT'); + public z_Binormal3bEXT_ovr_0 := GetFuncOrNil&(z_Binormal3bEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bEXT(bx: SByte; by: SByte; bz: SByte); + begin + z_Binormal3bEXT_ovr_0(bx, by, bz); + end; + + public z_Binormal3bvEXT_adr := GetFuncAdr('glBinormal3bvEXT'); + public z_Binormal3bvEXT_ovr_0 := GetFuncOrNil&(z_Binormal3bvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bvEXT(v: array of SByte); + begin + z_Binormal3bvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bvEXT(var v: SByte); + begin + z_Binormal3bvEXT_ovr_0(v); + end; + public z_Binormal3bvEXT_ovr_2 := GetFuncOrNil&(z_Binormal3bvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3bvEXT(v: IntPtr); + begin + z_Binormal3bvEXT_ovr_2(v); + end; + + public z_Binormal3dEXT_adr := GetFuncAdr('glBinormal3dEXT'); + public z_Binormal3dEXT_ovr_0 := GetFuncOrNil&(z_Binormal3dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dEXT(bx: real; by: real; bz: real); + begin + z_Binormal3dEXT_ovr_0(bx, by, bz); + end; + + public z_Binormal3dvEXT_adr := GetFuncAdr('glBinormal3dvEXT'); + public z_Binormal3dvEXT_ovr_0 := GetFuncOrNil&(z_Binormal3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dvEXT(v: array of real); + begin + z_Binormal3dvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dvEXT(var v: real); + begin + z_Binormal3dvEXT_ovr_0(v); + end; + public z_Binormal3dvEXT_ovr_2 := GetFuncOrNil&(z_Binormal3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3dvEXT(v: IntPtr); + begin + z_Binormal3dvEXT_ovr_2(v); + end; + + public z_Binormal3fEXT_adr := GetFuncAdr('glBinormal3fEXT'); + public z_Binormal3fEXT_ovr_0 := GetFuncOrNil&(z_Binormal3fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fEXT(bx: single; by: single; bz: single); + begin + z_Binormal3fEXT_ovr_0(bx, by, bz); + end; + + public z_Binormal3fvEXT_adr := GetFuncAdr('glBinormal3fvEXT'); + public z_Binormal3fvEXT_ovr_0 := GetFuncOrNil&(z_Binormal3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fvEXT(v: array of single); + begin + z_Binormal3fvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fvEXT(var v: single); + begin + z_Binormal3fvEXT_ovr_0(v); + end; + public z_Binormal3fvEXT_ovr_2 := GetFuncOrNil&(z_Binormal3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3fvEXT(v: IntPtr); + begin + z_Binormal3fvEXT_ovr_2(v); + end; + + public z_Binormal3iEXT_adr := GetFuncAdr('glBinormal3iEXT'); + public z_Binormal3iEXT_ovr_0 := GetFuncOrNil&(z_Binormal3iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3iEXT(bx: Int32; by: Int32; bz: Int32); + begin + z_Binormal3iEXT_ovr_0(bx, by, bz); + end; + + public z_Binormal3ivEXT_adr := GetFuncAdr('glBinormal3ivEXT'); + public z_Binormal3ivEXT_ovr_0 := GetFuncOrNil&(z_Binormal3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3ivEXT(v: array of Int32); + begin + z_Binormal3ivEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3ivEXT(var v: Int32); + begin + z_Binormal3ivEXT_ovr_0(v); + end; + public z_Binormal3ivEXT_ovr_2 := GetFuncOrNil&(z_Binormal3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3ivEXT(v: IntPtr); + begin + z_Binormal3ivEXT_ovr_2(v); + end; + + public z_Binormal3sEXT_adr := GetFuncAdr('glBinormal3sEXT'); + public z_Binormal3sEXT_ovr_0 := GetFuncOrNil&(z_Binormal3sEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3sEXT(bx: Int16; by: Int16; bz: Int16); + begin + z_Binormal3sEXT_ovr_0(bx, by, bz); + end; + + public z_Binormal3svEXT_adr := GetFuncAdr('glBinormal3svEXT'); + public z_Binormal3svEXT_ovr_0 := GetFuncOrNil&(z_Binormal3svEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3svEXT(v: array of Int16); + begin + z_Binormal3svEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3svEXT(var v: Int16); + begin + z_Binormal3svEXT_ovr_0(v); + end; + public z_Binormal3svEXT_ovr_2 := GetFuncOrNil&(z_Binormal3svEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Binormal3svEXT(v: IntPtr); + begin + z_Binormal3svEXT_ovr_2(v); + end; + + public z_TangentPointerEXT_adr := GetFuncAdr('glTangentPointerEXT'); + public z_TangentPointerEXT_ovr_0 := GetFuncOrNil&(z_TangentPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TangentPointerEXT(&type: TangentPointerTypeEXT; stride: Int32; pointer: IntPtr); + begin + z_TangentPointerEXT_ovr_0(&type, stride, pointer); + end; + + public z_BinormalPointerEXT_adr := GetFuncAdr('glBinormalPointerEXT'); + public z_BinormalPointerEXT_ovr_0 := GetFuncOrNil&(z_BinormalPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BinormalPointerEXT(&type: BinormalPointerTypeEXT; stride: Int32; pointer: IntPtr); + begin + z_BinormalPointerEXT_ovr_0(&type, stride, pointer); + end; + + end; + + glCopyTextureEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CopyTexImage1DEXT_adr := GetFuncAdr('glCopyTexImage1DEXT'); + public z_CopyTexImage1DEXT_ovr_0 := GetFuncOrNil&(z_CopyTexImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage1DEXT(target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; border: Int32); + begin + z_CopyTexImage1DEXT_ovr_0(target, level, _internalformat, x, y, width, border); + end; + + public z_CopyTexImage2DEXT_adr := GetFuncAdr('glCopyTexImage2DEXT'); + public z_CopyTexImage2DEXT_ovr_0 := GetFuncOrNil&(z_CopyTexImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexImage2DEXT(target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32); + begin + z_CopyTexImage2DEXT_ovr_0(target, level, _internalformat, x, y, width, height, border); + end; + + public z_CopyTexSubImage1DEXT_adr := GetFuncAdr('glCopyTexSubImage1DEXT'); + public z_CopyTexSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_CopyTexSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage1DEXT(target: TextureTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32); + begin + z_CopyTexSubImage1DEXT_ovr_0(target, level, xoffset, x, y, width); + end; + + public z_CopyTexSubImage2DEXT_adr := GetFuncAdr('glCopyTexSubImage2DEXT'); + public z_CopyTexSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_CopyTexSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage2DEXT(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTexSubImage2DEXT_ovr_0(target, level, xoffset, yoffset, x, y, width, height); + end; + + public z_CopyTexSubImage3DEXT_adr := GetFuncAdr('glCopyTexSubImage3DEXT'); + public z_CopyTexSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_CopyTexSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTexSubImage3DEXT(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTexSubImage3DEXT_ovr_0(target, level, xoffset, yoffset, zoffset, x, y, width, height); + end; + + end; + + glCullVertexEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CullParameterdvEXT_adr := GetFuncAdr('glCullParameterdvEXT'); + public z_CullParameterdvEXT_ovr_0 := GetFuncOrNil&(z_CullParameterdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullParameterdvEXT(pname: CullParameterEXT; ¶ms: array of real); + begin + z_CullParameterdvEXT_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullParameterdvEXT(pname: CullParameterEXT; var ¶ms: real); + begin + z_CullParameterdvEXT_ovr_0(pname, ¶ms); + end; + public z_CullParameterdvEXT_ovr_2 := GetFuncOrNil&(z_CullParameterdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullParameterdvEXT(pname: CullParameterEXT; ¶ms: IntPtr); + begin + z_CullParameterdvEXT_ovr_2(pname, ¶ms); + end; + + public z_CullParameterfvEXT_adr := GetFuncAdr('glCullParameterfvEXT'); + public z_CullParameterfvEXT_ovr_0 := GetFuncOrNil&(z_CullParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullParameterfvEXT(pname: CullParameterEXT; ¶ms: array of single); + begin + z_CullParameterfvEXT_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullParameterfvEXT(pname: CullParameterEXT; var ¶ms: single); + begin + z_CullParameterfvEXT_ovr_0(pname, ¶ms); + end; + public z_CullParameterfvEXT_ovr_2 := GetFuncOrNil&(z_CullParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CullParameterfvEXT(pname: CullParameterEXT; ¶ms: IntPtr); + begin + z_CullParameterfvEXT_ovr_2(pname, ¶ms); + end; + + end; + + glDebugLabelEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_LabelObjectEXT_adr := GetFuncAdr('glLabelObjectEXT'); + public z_LabelObjectEXT_ovr_0 := GetFuncOrNil&(z_LabelObjectEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LabelObjectEXT(&type: DummyEnum; object: UInt32; length: Int32; &label: string); + begin + var par_4_str_ptr := Marshal.StringToHGlobalAnsi(&label); + z_LabelObjectEXT_ovr_0(&type, object, length, par_4_str_ptr); + Marshal.FreeHGlobal(par_4_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LabelObjectEXT(&type: DummyEnum; object: UInt32; length: Int32; &label: IntPtr); + begin + z_LabelObjectEXT_ovr_0(&type, object, length, &label); + end; + + public z_GetObjectLabelEXT_adr := GetFuncAdr('glGetObjectLabelEXT'); + public z_GetObjectLabelEXT_ovr_0 := GetFuncOrNil&(z_GetObjectLabelEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; length: array of Int32; &label: IntPtr); + begin + z_GetObjectLabelEXT_ovr_0(&type, object, bufSize, length[0], &label); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; var length: Int32; &label: IntPtr); + begin + z_GetObjectLabelEXT_ovr_0(&type, object, bufSize, length, &label); + end; + public z_GetObjectLabelEXT_ovr_2 := GetFuncOrNil&(z_GetObjectLabelEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetObjectLabelEXT(&type: DummyEnum; object: UInt32; bufSize: Int32; length: IntPtr; &label: IntPtr); + begin + z_GetObjectLabelEXT_ovr_2(&type, object, bufSize, length, &label); + end; + + end; + + glDebugMarkerEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_InsertEventMarkerEXT_adr := GetFuncAdr('glInsertEventMarkerEXT'); + public z_InsertEventMarkerEXT_ovr_0 := GetFuncOrNil&(z_InsertEventMarkerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InsertEventMarkerEXT(length: Int32; marker: string); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(marker); + z_InsertEventMarkerEXT_ovr_0(length, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InsertEventMarkerEXT(length: Int32; marker: IntPtr); + begin + z_InsertEventMarkerEXT_ovr_0(length, marker); + end; + + public z_PushGroupMarkerEXT_adr := GetFuncAdr('glPushGroupMarkerEXT'); + public z_PushGroupMarkerEXT_ovr_0 := GetFuncOrNil&(z_PushGroupMarkerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushGroupMarkerEXT(length: Int32; marker: string); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(marker); + z_PushGroupMarkerEXT_ovr_0(length, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushGroupMarkerEXT(length: Int32; marker: IntPtr); + begin + z_PushGroupMarkerEXT_ovr_0(length, marker); + end; + + public z_PopGroupMarkerEXT_adr := GetFuncAdr('glPopGroupMarkerEXT'); + public z_PopGroupMarkerEXT_ovr_0 := GetFuncOrNil&(z_PopGroupMarkerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PopGroupMarkerEXT; + begin + z_PopGroupMarkerEXT_ovr_0; + end; + + end; + + glDepthBoundsTestEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DepthBoundsEXT_adr := GetFuncAdr('glDepthBoundsEXT'); + public z_DepthBoundsEXT_ovr_0 := GetFuncOrNil&(z_DepthBoundsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthBoundsEXT(zmin: real; zmax: real); + begin + z_DepthBoundsEXT_ovr_0(zmin, zmax); + end; + + end; + + glDirectStateAccessEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MatrixLoadfEXT_adr := GetFuncAdr('glMatrixLoadfEXT'); + public z_MatrixLoadfEXT_ovr_0 := GetFuncOrNil&(z_MatrixLoadfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadfEXT(mode: MatrixMode; m: array of single); + begin + z_MatrixLoadfEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadfEXT(mode: MatrixMode; var m: single); + begin + z_MatrixLoadfEXT_ovr_0(mode, m); + end; + public z_MatrixLoadfEXT_ovr_2 := GetFuncOrNil&(z_MatrixLoadfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadfEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixLoadfEXT_ovr_2(mode, m); + end; + + public z_MatrixLoaddEXT_adr := GetFuncAdr('glMatrixLoaddEXT'); + public z_MatrixLoaddEXT_ovr_0 := GetFuncOrNil&(z_MatrixLoaddEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoaddEXT(mode: MatrixMode; m: array of real); + begin + z_MatrixLoaddEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoaddEXT(mode: MatrixMode; var m: real); + begin + z_MatrixLoaddEXT_ovr_0(mode, m); + end; + public z_MatrixLoaddEXT_ovr_2 := GetFuncOrNil&(z_MatrixLoaddEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoaddEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixLoaddEXT_ovr_2(mode, m); + end; + + public z_MatrixMultfEXT_adr := GetFuncAdr('glMatrixMultfEXT'); + public z_MatrixMultfEXT_ovr_0 := GetFuncOrNil&(z_MatrixMultfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultfEXT(mode: MatrixMode; m: array of single); + begin + z_MatrixMultfEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultfEXT(mode: MatrixMode; var m: single); + begin + z_MatrixMultfEXT_ovr_0(mode, m); + end; + public z_MatrixMultfEXT_ovr_2 := GetFuncOrNil&(z_MatrixMultfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultfEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixMultfEXT_ovr_2(mode, m); + end; + + public z_MatrixMultdEXT_adr := GetFuncAdr('glMatrixMultdEXT'); + public z_MatrixMultdEXT_ovr_0 := GetFuncOrNil&(z_MatrixMultdEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultdEXT(mode: MatrixMode; m: array of real); + begin + z_MatrixMultdEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultdEXT(mode: MatrixMode; var m: real); + begin + z_MatrixMultdEXT_ovr_0(mode, m); + end; + public z_MatrixMultdEXT_ovr_2 := GetFuncOrNil&(z_MatrixMultdEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultdEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixMultdEXT_ovr_2(mode, m); + end; + + public z_MatrixLoadIdentityEXT_adr := GetFuncAdr('glMatrixLoadIdentityEXT'); + public z_MatrixLoadIdentityEXT_ovr_0 := GetFuncOrNil&(z_MatrixLoadIdentityEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadIdentityEXT(mode: MatrixMode); + begin + z_MatrixLoadIdentityEXT_ovr_0(mode); + end; + + public z_MatrixRotatefEXT_adr := GetFuncAdr('glMatrixRotatefEXT'); + public z_MatrixRotatefEXT_ovr_0 := GetFuncOrNil&(z_MatrixRotatefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixRotatefEXT(mode: MatrixMode; angle: single; x: single; y: single; z: single); + begin + z_MatrixRotatefEXT_ovr_0(mode, angle, x, y, z); + end; + + public z_MatrixRotatedEXT_adr := GetFuncAdr('glMatrixRotatedEXT'); + public z_MatrixRotatedEXT_ovr_0 := GetFuncOrNil&(z_MatrixRotatedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixRotatedEXT(mode: MatrixMode; angle: real; x: real; y: real; z: real); + begin + z_MatrixRotatedEXT_ovr_0(mode, angle, x, y, z); + end; + + public z_MatrixScalefEXT_adr := GetFuncAdr('glMatrixScalefEXT'); + public z_MatrixScalefEXT_ovr_0 := GetFuncOrNil&(z_MatrixScalefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixScalefEXT(mode: MatrixMode; x: single; y: single; z: single); + begin + z_MatrixScalefEXT_ovr_0(mode, x, y, z); + end; + + public z_MatrixScaledEXT_adr := GetFuncAdr('glMatrixScaledEXT'); + public z_MatrixScaledEXT_ovr_0 := GetFuncOrNil&(z_MatrixScaledEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixScaledEXT(mode: MatrixMode; x: real; y: real; z: real); + begin + z_MatrixScaledEXT_ovr_0(mode, x, y, z); + end; + + public z_MatrixTranslatefEXT_adr := GetFuncAdr('glMatrixTranslatefEXT'); + public z_MatrixTranslatefEXT_ovr_0 := GetFuncOrNil&(z_MatrixTranslatefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixTranslatefEXT(mode: MatrixMode; x: single; y: single; z: single); + begin + z_MatrixTranslatefEXT_ovr_0(mode, x, y, z); + end; + + public z_MatrixTranslatedEXT_adr := GetFuncAdr('glMatrixTranslatedEXT'); + public z_MatrixTranslatedEXT_ovr_0 := GetFuncOrNil&(z_MatrixTranslatedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixTranslatedEXT(mode: MatrixMode; x: real; y: real; z: real); + begin + z_MatrixTranslatedEXT_ovr_0(mode, x, y, z); + end; + + public z_MatrixFrustumEXT_adr := GetFuncAdr('glMatrixFrustumEXT'); + public z_MatrixFrustumEXT_ovr_0 := GetFuncOrNil&(z_MatrixFrustumEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixFrustumEXT(mode: MatrixMode; left: real; right: real; bottom: real; top: real; zNear: real; zFar: real); + begin + z_MatrixFrustumEXT_ovr_0(mode, left, right, bottom, top, zNear, zFar); + end; + + public z_MatrixOrthoEXT_adr := GetFuncAdr('glMatrixOrthoEXT'); + public z_MatrixOrthoEXT_ovr_0 := GetFuncOrNil&(z_MatrixOrthoEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixOrthoEXT(mode: MatrixMode; left: real; right: real; bottom: real; top: real; zNear: real; zFar: real); + begin + z_MatrixOrthoEXT_ovr_0(mode, left, right, bottom, top, zNear, zFar); + end; + + public z_MatrixPopEXT_adr := GetFuncAdr('glMatrixPopEXT'); + public z_MatrixPopEXT_ovr_0 := GetFuncOrNil&(z_MatrixPopEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixPopEXT(mode: MatrixMode); + begin + z_MatrixPopEXT_ovr_0(mode); + end; + + public z_MatrixPushEXT_adr := GetFuncAdr('glMatrixPushEXT'); + public z_MatrixPushEXT_ovr_0 := GetFuncOrNil&(z_MatrixPushEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixPushEXT(mode: MatrixMode); + begin + z_MatrixPushEXT_ovr_0(mode); + end; + + public z_ClientAttribDefaultEXT_adr := GetFuncAdr('glClientAttribDefaultEXT'); + public z_ClientAttribDefaultEXT_ovr_0 := GetFuncOrNil&(z_ClientAttribDefaultEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientAttribDefaultEXT(mask: ClientAttribMask); + begin + z_ClientAttribDefaultEXT_ovr_0(mask); + end; + + public z_PushClientAttribDefaultEXT_adr := GetFuncAdr('glPushClientAttribDefaultEXT'); + public z_PushClientAttribDefaultEXT_ovr_0 := GetFuncOrNil&(z_PushClientAttribDefaultEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PushClientAttribDefaultEXT(mask: ClientAttribMask); + begin + z_PushClientAttribDefaultEXT_ovr_0(mask); + end; + + public z_TextureParameterfEXT_adr := GetFuncAdr('glTextureParameterfEXT'); + public z_TextureParameterfEXT_ovr_0 := GetFuncOrNil&(z_TextureParameterfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; param: single); + begin + z_TextureParameterfEXT_ovr_0(texture, target, pname, param); + end; + + public z_TextureParameterfvEXT_adr := GetFuncAdr('glTextureParameterfvEXT'); + public z_TextureParameterfvEXT_ovr_0 := GetFuncOrNil&(z_TextureParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfvEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: array of single); + begin + z_TextureParameterfvEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfvEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; var ¶ms: single); + begin + z_TextureParameterfvEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_TextureParameterfvEXT_ovr_2 := GetFuncOrNil&(z_TextureParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterfvEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TextureParameterfvEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_TextureParameteriEXT_adr := GetFuncAdr('glTextureParameteriEXT'); + public z_TextureParameteriEXT_ovr_0 := GetFuncOrNil&(z_TextureParameteriEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameteriEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; param: Int32); + begin + z_TextureParameteriEXT_ovr_0(texture, target, pname, param); + end; + + public z_TextureParameterivEXT_adr := GetFuncAdr('glTextureParameterivEXT'); + public z_TextureParameterivEXT_ovr_0 := GetFuncOrNil&(z_TextureParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_TextureParameterivEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + begin + z_TextureParameterivEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_TextureParameterivEXT_ovr_2 := GetFuncOrNil&(z_TextureParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TextureParameterivEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_TextureImage1DEXT_adr := GetFuncAdr('glTextureImage1DEXT'); + public z_TextureImage1DEXT_ovr_0 := GetFuncOrNil&(z_TextureImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage1DEXT(texture: UInt32; target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureImage1DEXT_ovr_0(texture, target, level, internalformat, width, border, format, &type, pixels); + end; + + public z_TextureImage2DEXT_adr := GetFuncAdr('glTextureImage2DEXT'); + public z_TextureImage2DEXT_ovr_0 := GetFuncOrNil&(z_TextureImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage2DEXT(texture: UInt32; target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureImage2DEXT_ovr_0(texture, target, level, internalformat, width, height, border, format, &type, pixels); + end; + + public z_TextureSubImage1DEXT_adr := GetFuncAdr('glTextureSubImage1DEXT'); + public z_TextureSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_TextureSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage1DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureSubImage1DEXT_ovr_0(texture, target, level, xoffset, width, format, &type, pixels); + end; + + public z_TextureSubImage2DEXT_adr := GetFuncAdr('glTextureSubImage2DEXT'); + public z_TextureSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_TextureSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage2DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureSubImage2DEXT_ovr_0(texture, target, level, xoffset, yoffset, width, height, format, &type, pixels); + end; + + public z_CopyTextureImage1DEXT_adr := GetFuncAdr('glCopyTextureImage1DEXT'); + public z_CopyTextureImage1DEXT_ovr_0 := GetFuncOrNil&(z_CopyTextureImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureImage1DEXT(texture: UInt32; target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; border: Int32); + begin + z_CopyTextureImage1DEXT_ovr_0(texture, target, level, _internalformat, x, y, width, border); + end; + + public z_CopyTextureImage2DEXT_adr := GetFuncAdr('glCopyTextureImage2DEXT'); + public z_CopyTextureImage2DEXT_ovr_0 := GetFuncOrNil&(z_CopyTextureImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureImage2DEXT(texture: UInt32; target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32); + begin + z_CopyTextureImage2DEXT_ovr_0(texture, target, level, _internalformat, x, y, width, height, border); + end; + + public z_CopyTextureSubImage1DEXT_adr := GetFuncAdr('glCopyTextureSubImage1DEXT'); + public z_CopyTextureSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_CopyTextureSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage1DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32); + begin + z_CopyTextureSubImage1DEXT_ovr_0(texture, target, level, xoffset, x, y, width); + end; + + public z_CopyTextureSubImage2DEXT_adr := GetFuncAdr('glCopyTextureSubImage2DEXT'); + public z_CopyTextureSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_CopyTextureSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage2DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTextureSubImage2DEXT_ovr_0(texture, target, level, xoffset, yoffset, x, y, width, height); + end; + + public z_GetTextureImageEXT_adr := GetFuncAdr('glGetTextureImageEXT'); + public z_GetTextureImageEXT_ovr_0 := GetFuncOrNil&(z_GetTextureImageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureImageEXT(texture: UInt32; target: TextureTarget; level: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_GetTextureImageEXT_ovr_0(texture, target, level, format, &type, pixels); + end; + + public z_GetTextureParameterfvEXT_adr := GetFuncAdr('glGetTextureParameterfvEXT'); + public z_GetTextureParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetTextureParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfvEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of single); + begin + z_GetTextureParameterfvEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfvEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; var ¶ms: single); + begin + z_GetTextureParameterfvEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_GetTextureParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetTextureParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterfvEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterfvEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_GetTextureParameterivEXT_adr := GetFuncAdr('glGetTextureParameterivEXT'); + public z_GetTextureParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetTextureParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTextureParameterivEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTextureParameterivEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_GetTextureParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetTextureParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterivEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_GetTextureLevelParameterfvEXT_adr := GetFuncAdr('glGetTextureLevelParameterfvEXT'); + public z_GetTextureLevelParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetTextureLevelParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfvEXT(texture: UInt32; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of single); + begin + z_GetTextureLevelParameterfvEXT_ovr_0(texture, target, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfvEXT(texture: UInt32; target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: single); + begin + z_GetTextureLevelParameterfvEXT_ovr_0(texture, target, level, pname, ¶ms); + end; + public z_GetTextureLevelParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetTextureLevelParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterfvEXT(texture: UInt32; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureLevelParameterfvEXT_ovr_2(texture, target, level, pname, ¶ms); + end; + + public z_GetTextureLevelParameterivEXT_adr := GetFuncAdr('glGetTextureLevelParameterivEXT'); + public z_GetTextureLevelParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetTextureLevelParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterivEXT(texture: UInt32; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTextureLevelParameterivEXT_ovr_0(texture, target, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterivEXT(texture: UInt32; target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTextureLevelParameterivEXT_ovr_0(texture, target, level, pname, ¶ms); + end; + public z_GetTextureLevelParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetTextureLevelParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureLevelParameterivEXT(texture: UInt32; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureLevelParameterivEXT_ovr_2(texture, target, level, pname, ¶ms); + end; + + public z_TextureImage3DEXT_adr := GetFuncAdr('glTextureImage3DEXT'); + public z_TextureImage3DEXT_ovr_0 := GetFuncOrNil&(z_TextureImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage3DEXT(texture: UInt32; target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; depth: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureImage3DEXT_ovr_0(texture, target, level, internalformat, width, height, depth, border, format, &type, pixels); + end; + + public z_TextureSubImage3DEXT_adr := GetFuncAdr('glTextureSubImage3DEXT'); + public z_TextureSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_TextureSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureSubImage3DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TextureSubImage3DEXT_ovr_0(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); + end; + + public z_CopyTextureSubImage3DEXT_adr := GetFuncAdr('glCopyTextureSubImage3DEXT'); + public z_CopyTextureSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_CopyTextureSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyTextureSubImage3DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyTextureSubImage3DEXT_ovr_0(texture, target, level, xoffset, yoffset, zoffset, x, y, width, height); + end; + + public z_BindMultiTextureEXT_adr := GetFuncAdr('glBindMultiTextureEXT'); + public z_BindMultiTextureEXT_ovr_0 := GetFuncOrNil&(z_BindMultiTextureEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindMultiTextureEXT(texunit: TextureUnit; target: TextureTarget; texture: UInt32); + begin + z_BindMultiTextureEXT_ovr_0(texunit, target, texture); + end; + + public z_MultiTexCoordPointerEXT_adr := GetFuncAdr('glMultiTexCoordPointerEXT'); + public z_MultiTexCoordPointerEXT_ovr_0 := GetFuncOrNil&(z_MultiTexCoordPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoordPointerEXT(texunit: TextureUnit; size: Int32; &type: TexCoordPointerType; stride: Int32; pointer: IntPtr); + begin + z_MultiTexCoordPointerEXT_ovr_0(texunit, size, &type, stride, pointer); + end; + + public z_MultiTexEnvfEXT_adr := GetFuncAdr('glMultiTexEnvfEXT'); + public z_MultiTexEnvfEXT_ovr_0 := GetFuncOrNil&(z_MultiTexEnvfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; param: single); + begin + z_MultiTexEnvfEXT_ovr_0(texunit, target, pname, param); + end; + + public z_MultiTexEnvfvEXT_adr := GetFuncAdr('glMultiTexEnvfvEXT'); + public z_MultiTexEnvfvEXT_ovr_0 := GetFuncOrNil&(z_MultiTexEnvfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfvEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of single); + begin + z_MultiTexEnvfvEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfvEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: single); + begin + z_MultiTexEnvfvEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_MultiTexEnvfvEXT_ovr_2 := GetFuncOrNil&(z_MultiTexEnvfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvfvEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + begin + z_MultiTexEnvfvEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_MultiTexEnviEXT_adr := GetFuncAdr('glMultiTexEnviEXT'); + public z_MultiTexEnviEXT_ovr_0 := GetFuncOrNil&(z_MultiTexEnviEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnviEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; param: Int32); + begin + z_MultiTexEnviEXT_ovr_0(texunit, target, pname, param); + end; + + public z_MultiTexEnvivEXT_adr := GetFuncAdr('glMultiTexEnvivEXT'); + public z_MultiTexEnvivEXT_ovr_0 := GetFuncOrNil&(z_MultiTexEnvivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvivEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of Int32); + begin + z_MultiTexEnvivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvivEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Int32); + begin + z_MultiTexEnvivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_MultiTexEnvivEXT_ovr_2 := GetFuncOrNil&(z_MultiTexEnvivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexEnvivEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + begin + z_MultiTexEnvivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_MultiTexGendEXT_adr := GetFuncAdr('glMultiTexGendEXT'); + public z_MultiTexGendEXT_ovr_0 := GetFuncOrNil&(z_MultiTexGendEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; param: real); + begin + z_MultiTexGendEXT_ovr_0(texunit, coord, pname, param); + end; + + public z_MultiTexGendvEXT_adr := GetFuncAdr('glMultiTexGendvEXT'); + public z_MultiTexGendvEXT_ovr_0 := GetFuncOrNil&(z_MultiTexGendvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of real); + begin + z_MultiTexGendvEXT_ovr_0(texunit, coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: real); + begin + z_MultiTexGendvEXT_ovr_0(texunit, coord, pname, ¶ms); + end; + public z_MultiTexGendvEXT_ovr_2 := GetFuncOrNil&(z_MultiTexGendvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGendvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_MultiTexGendvEXT_ovr_2(texunit, coord, pname, ¶ms); + end; + + public z_MultiTexGenfEXT_adr := GetFuncAdr('glMultiTexGenfEXT'); + public z_MultiTexGenfEXT_ovr_0 := GetFuncOrNil&(z_MultiTexGenfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; param: single); + begin + z_MultiTexGenfEXT_ovr_0(texunit, coord, pname, param); + end; + + public z_MultiTexGenfvEXT_adr := GetFuncAdr('glMultiTexGenfvEXT'); + public z_MultiTexGenfvEXT_ovr_0 := GetFuncOrNil&(z_MultiTexGenfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of single); + begin + z_MultiTexGenfvEXT_ovr_0(texunit, coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: single); + begin + z_MultiTexGenfvEXT_ovr_0(texunit, coord, pname, ¶ms); + end; + public z_MultiTexGenfvEXT_ovr_2 := GetFuncOrNil&(z_MultiTexGenfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenfvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_MultiTexGenfvEXT_ovr_2(texunit, coord, pname, ¶ms); + end; + + public z_MultiTexGeniEXT_adr := GetFuncAdr('glMultiTexGeniEXT'); + public z_MultiTexGeniEXT_ovr_0 := GetFuncOrNil&(z_MultiTexGeniEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGeniEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; param: Int32); + begin + z_MultiTexGeniEXT_ovr_0(texunit, coord, pname, param); + end; + + public z_MultiTexGenivEXT_adr := GetFuncAdr('glMultiTexGenivEXT'); + public z_MultiTexGenivEXT_ovr_0 := GetFuncOrNil&(z_MultiTexGenivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenivEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of Int32); + begin + z_MultiTexGenivEXT_ovr_0(texunit, coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenivEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Int32); + begin + z_MultiTexGenivEXT_ovr_0(texunit, coord, pname, ¶ms); + end; + public z_MultiTexGenivEXT_ovr_2 := GetFuncOrNil&(z_MultiTexGenivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexGenivEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_MultiTexGenivEXT_ovr_2(texunit, coord, pname, ¶ms); + end; + + public z_GetMultiTexEnvfvEXT_adr := GetFuncAdr('glGetMultiTexEnvfvEXT'); + public z_GetMultiTexEnvfvEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexEnvfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvfvEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of single); + begin + z_GetMultiTexEnvfvEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvfvEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: single); + begin + z_GetMultiTexEnvfvEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_GetMultiTexEnvfvEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexEnvfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvfvEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + begin + z_GetMultiTexEnvfvEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_GetMultiTexEnvivEXT_adr := GetFuncAdr('glGetMultiTexEnvivEXT'); + public z_GetMultiTexEnvivEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexEnvivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvivEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of Int32); + begin + z_GetMultiTexEnvivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvivEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Int32); + begin + z_GetMultiTexEnvivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_GetMultiTexEnvivEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexEnvivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexEnvivEXT(texunit: TextureUnit; target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + begin + z_GetMultiTexEnvivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_GetMultiTexGendvEXT_adr := GetFuncAdr('glGetMultiTexGendvEXT'); + public z_GetMultiTexGendvEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexGendvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGendvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of real); + begin + z_GetMultiTexGendvEXT_ovr_0(texunit, coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGendvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: real); + begin + z_GetMultiTexGendvEXT_ovr_0(texunit, coord, pname, ¶ms); + end; + public z_GetMultiTexGendvEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexGendvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGendvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_GetMultiTexGendvEXT_ovr_2(texunit, coord, pname, ¶ms); + end; + + public z_GetMultiTexGenfvEXT_adr := GetFuncAdr('glGetMultiTexGenfvEXT'); + public z_GetMultiTexGenfvEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexGenfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenfvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of single); + begin + z_GetMultiTexGenfvEXT_ovr_0(texunit, coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenfvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: single); + begin + z_GetMultiTexGenfvEXT_ovr_0(texunit, coord, pname, ¶ms); + end; + public z_GetMultiTexGenfvEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexGenfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenfvEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_GetMultiTexGenfvEXT_ovr_2(texunit, coord, pname, ¶ms); + end; + + public z_GetMultiTexGenivEXT_adr := GetFuncAdr('glGetMultiTexGenivEXT'); + public z_GetMultiTexGenivEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexGenivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenivEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of Int32); + begin + z_GetMultiTexGenivEXT_ovr_0(texunit, coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenivEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Int32); + begin + z_GetMultiTexGenivEXT_ovr_0(texunit, coord, pname, ¶ms); + end; + public z_GetMultiTexGenivEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexGenivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexGenivEXT(texunit: TextureUnit; coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_GetMultiTexGenivEXT_ovr_2(texunit, coord, pname, ¶ms); + end; + + public z_MultiTexParameteriEXT_adr := GetFuncAdr('glMultiTexParameteriEXT'); + public z_MultiTexParameteriEXT_ovr_0 := GetFuncOrNil&(z_MultiTexParameteriEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameteriEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; param: Int32); + begin + z_MultiTexParameteriEXT_ovr_0(texunit, target, pname, param); + end; + + public z_MultiTexParameterivEXT_adr := GetFuncAdr('glMultiTexParameterivEXT'); + public z_MultiTexParameterivEXT_ovr_0 := GetFuncOrNil&(z_MultiTexParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_MultiTexParameterivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + begin + z_MultiTexParameterivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_MultiTexParameterivEXT_ovr_2 := GetFuncOrNil&(z_MultiTexParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_MultiTexParameterivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_MultiTexParameterfEXT_adr := GetFuncAdr('glMultiTexParameterfEXT'); + public z_MultiTexParameterfEXT_ovr_0 := GetFuncOrNil&(z_MultiTexParameterfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; param: single); + begin + z_MultiTexParameterfEXT_ovr_0(texunit, target, pname, param); + end; + + public z_MultiTexParameterfvEXT_adr := GetFuncAdr('glMultiTexParameterfvEXT'); + public z_MultiTexParameterfvEXT_ovr_0 := GetFuncOrNil&(z_MultiTexParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfvEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: array of single); + begin + z_MultiTexParameterfvEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfvEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; var ¶ms: single); + begin + z_MultiTexParameterfvEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_MultiTexParameterfvEXT_ovr_2 := GetFuncOrNil&(z_MultiTexParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterfvEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_MultiTexParameterfvEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_MultiTexImage1DEXT_adr := GetFuncAdr('glMultiTexImage1DEXT'); + public z_MultiTexImage1DEXT_ovr_0 := GetFuncOrNil&(z_MultiTexImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexImage1DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_MultiTexImage1DEXT_ovr_0(texunit, target, level, internalformat, width, border, format, &type, pixels); + end; + + public z_MultiTexImage2DEXT_adr := GetFuncAdr('glMultiTexImage2DEXT'); + public z_MultiTexImage2DEXT_ovr_0 := GetFuncOrNil&(z_MultiTexImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexImage2DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_MultiTexImage2DEXT_ovr_0(texunit, target, level, internalformat, width, height, border, format, &type, pixels); + end; + + public z_MultiTexSubImage1DEXT_adr := GetFuncAdr('glMultiTexSubImage1DEXT'); + public z_MultiTexSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_MultiTexSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexSubImage1DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_MultiTexSubImage1DEXT_ovr_0(texunit, target, level, xoffset, width, format, &type, pixels); + end; + + public z_MultiTexSubImage2DEXT_adr := GetFuncAdr('glMultiTexSubImage2DEXT'); + public z_MultiTexSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_MultiTexSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexSubImage2DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_MultiTexSubImage2DEXT_ovr_0(texunit, target, level, xoffset, yoffset, width, height, format, &type, pixels); + end; + + public z_CopyMultiTexImage1DEXT_adr := GetFuncAdr('glCopyMultiTexImage1DEXT'); + public z_CopyMultiTexImage1DEXT_ovr_0 := GetFuncOrNil&(z_CopyMultiTexImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexImage1DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; border: Int32); + begin + z_CopyMultiTexImage1DEXT_ovr_0(texunit, target, level, _internalformat, x, y, width, border); + end; + + public z_CopyMultiTexImage2DEXT_adr := GetFuncAdr('glCopyMultiTexImage2DEXT'); + public z_CopyMultiTexImage2DEXT_ovr_0 := GetFuncOrNil&(z_CopyMultiTexImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexImage2DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32; height: Int32; border: Int32); + begin + z_CopyMultiTexImage2DEXT_ovr_0(texunit, target, level, _internalformat, x, y, width, height, border); + end; + + public z_CopyMultiTexSubImage1DEXT_adr := GetFuncAdr('glCopyMultiTexSubImage1DEXT'); + public z_CopyMultiTexSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_CopyMultiTexSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexSubImage1DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; x: Int32; y: Int32; width: Int32); + begin + z_CopyMultiTexSubImage1DEXT_ovr_0(texunit, target, level, xoffset, x, y, width); + end; + + public z_CopyMultiTexSubImage2DEXT_adr := GetFuncAdr('glCopyMultiTexSubImage2DEXT'); + public z_CopyMultiTexSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_CopyMultiTexSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexSubImage2DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyMultiTexSubImage2DEXT_ovr_0(texunit, target, level, xoffset, yoffset, x, y, width, height); + end; + + public z_GetMultiTexImageEXT_adr := GetFuncAdr('glGetMultiTexImageEXT'); + public z_GetMultiTexImageEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexImageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexImageEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_GetMultiTexImageEXT_ovr_0(texunit, target, level, format, &type, pixels); + end; + + public z_GetMultiTexParameterfvEXT_adr := GetFuncAdr('glGetMultiTexParameterfvEXT'); + public z_GetMultiTexParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterfvEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of single); + begin + z_GetMultiTexParameterfvEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterfvEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; var ¶ms: single); + begin + z_GetMultiTexParameterfvEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_GetMultiTexParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterfvEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetMultiTexParameterfvEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_GetMultiTexParameterivEXT_adr := GetFuncAdr('glGetMultiTexParameterivEXT'); + public z_GetMultiTexParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetMultiTexParameterivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetMultiTexParameterivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_GetMultiTexParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetMultiTexParameterivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_GetMultiTexLevelParameterfvEXT_adr := GetFuncAdr('glGetMultiTexLevelParameterfvEXT'); + public z_GetMultiTexLevelParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexLevelParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterfvEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of single); + begin + z_GetMultiTexLevelParameterfvEXT_ovr_0(texunit, target, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterfvEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: single); + begin + z_GetMultiTexLevelParameterfvEXT_ovr_0(texunit, target, level, pname, ¶ms); + end; + public z_GetMultiTexLevelParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexLevelParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterfvEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetMultiTexLevelParameterfvEXT_ovr_2(texunit, target, level, pname, ¶ms); + end; + + public z_GetMultiTexLevelParameterivEXT_adr := GetFuncAdr('glGetMultiTexLevelParameterivEXT'); + public z_GetMultiTexLevelParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexLevelParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterivEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetMultiTexLevelParameterivEXT_ovr_0(texunit, target, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterivEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetMultiTexLevelParameterivEXT_ovr_0(texunit, target, level, pname, ¶ms); + end; + public z_GetMultiTexLevelParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexLevelParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexLevelParameterivEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetMultiTexLevelParameterivEXT_ovr_2(texunit, target, level, pname, ¶ms); + end; + + public z_MultiTexImage3DEXT_adr := GetFuncAdr('glMultiTexImage3DEXT'); + public z_MultiTexImage3DEXT_ovr_0 := GetFuncOrNil&(z_MultiTexImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexImage3DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; internalformat: Int32; width: Int32; height: Int32; depth: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_MultiTexImage3DEXT_ovr_0(texunit, target, level, internalformat, width, height, depth, border, format, &type, pixels); + end; + + public z_MultiTexSubImage3DEXT_adr := GetFuncAdr('glMultiTexSubImage3DEXT'); + public z_MultiTexSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_MultiTexSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexSubImage3DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_MultiTexSubImage3DEXT_ovr_0(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); + end; + + public z_CopyMultiTexSubImage3DEXT_adr := GetFuncAdr('glCopyMultiTexSubImage3DEXT'); + public z_CopyMultiTexSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_CopyMultiTexSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyMultiTexSubImage3DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_CopyMultiTexSubImage3DEXT_ovr_0(texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height); + end; + + public z_EnableClientStateIndexedEXT_adr := GetFuncAdr('glEnableClientStateIndexedEXT'); + public z_EnableClientStateIndexedEXT_ovr_0 := GetFuncOrNil&(z_EnableClientStateIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableClientStateIndexedEXT(&array: EnableCap; index: UInt32); + begin + z_EnableClientStateIndexedEXT_ovr_0(&array, index); + end; + + public z_DisableClientStateIndexedEXT_adr := GetFuncAdr('glDisableClientStateIndexedEXT'); + public z_DisableClientStateIndexedEXT_ovr_0 := GetFuncOrNil&(z_DisableClientStateIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableClientStateIndexedEXT(&array: EnableCap; index: UInt32); + begin + z_DisableClientStateIndexedEXT_ovr_0(&array, index); + end; + + public z_GetFloatIndexedvEXT_adr := GetFuncAdr('glGetFloatIndexedvEXT'); + public z_GetFloatIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetFloatIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatIndexedvEXT(target: DummyEnum; index: UInt32; data: array of single); + begin + z_GetFloatIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatIndexedvEXT(target: DummyEnum; index: UInt32; var data: single); + begin + z_GetFloatIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetFloatIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetFloatIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloatIndexedvEXT(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetFloatIndexedvEXT_ovr_2(target, index, data); + end; + + public z_GetDoubleIndexedvEXT_adr := GetFuncAdr('glGetDoubleIndexedvEXT'); + public z_GetDoubleIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetDoubleIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoubleIndexedvEXT(target: DummyEnum; index: UInt32; data: array of real); + begin + z_GetDoubleIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoubleIndexedvEXT(target: DummyEnum; index: UInt32; var data: real); + begin + z_GetDoubleIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetDoubleIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetDoubleIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoubleIndexedvEXT(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetDoubleIndexedvEXT_ovr_2(target, index, data); + end; + + public z_GetPointerIndexedvEXT_adr := GetFuncAdr('glGetPointerIndexedvEXT'); + public z_GetPointerIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetPointerIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerIndexedvEXT(target: DummyEnum; index: UInt32; data: array of IntPtr); + begin + z_GetPointerIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerIndexedvEXT(target: DummyEnum; index: UInt32; var data: IntPtr); + begin + z_GetPointerIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetPointerIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetPointerIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointerIndexedvEXT(target: DummyEnum; index: UInt32; data: pointer); + begin + z_GetPointerIndexedvEXT_ovr_2(target, index, data); + end; + + public z_EnableIndexedEXT_adr := GetFuncAdr('glEnableIndexedEXT'); + public z_EnableIndexedEXT_ovr_0 := GetFuncOrNil&(z_EnableIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableIndexedEXT(target: EnableCap; index: UInt32); + begin + z_EnableIndexedEXT_ovr_0(target, index); + end; + + public z_DisableIndexedEXT_adr := GetFuncAdr('glDisableIndexedEXT'); + public z_DisableIndexedEXT_ovr_0 := GetFuncOrNil&(z_DisableIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableIndexedEXT(target: EnableCap; index: UInt32); + begin + z_DisableIndexedEXT_ovr_0(target, index); + end; + + public z_IsEnabledIndexedEXT_adr := GetFuncAdr('glIsEnabledIndexedEXT'); + public z_IsEnabledIndexedEXT_ovr_0 := GetFuncOrNil&(z_IsEnabledIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledIndexedEXT(target: EnableCap; index: UInt32): boolean; + begin + Result := z_IsEnabledIndexedEXT_ovr_0(target, index); + end; + + public z_GetIntegerIndexedvEXT_adr := GetFuncAdr('glGetIntegerIndexedvEXT'); + public z_GetIntegerIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetIntegerIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: DummyEnum; index: UInt32; data: array of Int32); + begin + z_GetIntegerIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: DummyEnum; index: UInt32; var data: Int32); + begin + z_GetIntegerIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetIntegerIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetIntegerIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetIntegerIndexedvEXT_ovr_2(target, index, data); + end; + + public z_GetBooleanIndexedvEXT_adr := GetFuncAdr('glGetBooleanIndexedvEXT'); + public z_GetBooleanIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetBooleanIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: BufferTargetARB; index: UInt32; data: array of boolean); + begin + z_GetBooleanIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: BufferTargetARB; index: UInt32; var data: boolean); + begin + z_GetBooleanIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetBooleanIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetBooleanIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: BufferTargetARB; index: UInt32; data: IntPtr); + begin + z_GetBooleanIndexedvEXT_ovr_2(target, index, data); + end; + + public z_CompressedTextureImage3DEXT_adr := GetFuncAdr('glCompressedTextureImage3DEXT'); + public z_CompressedTextureImage3DEXT_ovr_0 := GetFuncOrNil&(z_CompressedTextureImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureImage3DEXT(texture: UInt32; target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; bits: IntPtr); + begin + z_CompressedTextureImage3DEXT_ovr_0(texture, target, level, _internalformat, width, height, depth, border, imageSize, bits); + end; + + public z_CompressedTextureImage2DEXT_adr := GetFuncAdr('glCompressedTextureImage2DEXT'); + public z_CompressedTextureImage2DEXT_ovr_0 := GetFuncOrNil&(z_CompressedTextureImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureImage2DEXT(texture: UInt32; target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; bits: IntPtr); + begin + z_CompressedTextureImage2DEXT_ovr_0(texture, target, level, _internalformat, width, height, border, imageSize, bits); + end; + + public z_CompressedTextureImage1DEXT_adr := GetFuncAdr('glCompressedTextureImage1DEXT'); + public z_CompressedTextureImage1DEXT_ovr_0 := GetFuncOrNil&(z_CompressedTextureImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureImage1DEXT(texture: UInt32; target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; border: Int32; imageSize: Int32; bits: IntPtr); + begin + z_CompressedTextureImage1DEXT_ovr_0(texture, target, level, _internalformat, width, border, imageSize, bits); + end; + + public z_CompressedTextureSubImage3DEXT_adr := GetFuncAdr('glCompressedTextureSubImage3DEXT'); + public z_CompressedTextureSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_CompressedTextureSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage3DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; imageSize: Int32; bits: IntPtr); + begin + z_CompressedTextureSubImage3DEXT_ovr_0(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); + end; + + public z_CompressedTextureSubImage2DEXT_adr := GetFuncAdr('glCompressedTextureSubImage2DEXT'); + public z_CompressedTextureSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_CompressedTextureSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage2DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; imageSize: Int32; bits: IntPtr); + begin + z_CompressedTextureSubImage2DEXT_ovr_0(texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits); + end; + + public z_CompressedTextureSubImage1DEXT_adr := GetFuncAdr('glCompressedTextureSubImage1DEXT'); + public z_CompressedTextureSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_CompressedTextureSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedTextureSubImage1DEXT(texture: UInt32; target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; imageSize: Int32; bits: IntPtr); + begin + z_CompressedTextureSubImage1DEXT_ovr_0(texture, target, level, xoffset, width, format, imageSize, bits); + end; + + public z_GetCompressedTextureImageEXT_adr := GetFuncAdr('glGetCompressedTextureImageEXT'); + public z_GetCompressedTextureImageEXT_ovr_0 := GetFuncOrNil&(z_GetCompressedTextureImageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedTextureImageEXT(texture: UInt32; target: TextureTarget; lod: Int32; img: IntPtr); + begin + z_GetCompressedTextureImageEXT_ovr_0(texture, target, lod, img); + end; + + public z_CompressedMultiTexImage3DEXT_adr := GetFuncAdr('glCompressedMultiTexImage3DEXT'); + public z_CompressedMultiTexImage3DEXT_ovr_0 := GetFuncOrNil&(z_CompressedMultiTexImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexImage3DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; border: Int32; imageSize: Int32; bits: IntPtr); + begin + z_CompressedMultiTexImage3DEXT_ovr_0(texunit, target, level, _internalformat, width, height, depth, border, imageSize, bits); + end; + + public z_CompressedMultiTexImage2DEXT_adr := GetFuncAdr('glCompressedMultiTexImage2DEXT'); + public z_CompressedMultiTexImage2DEXT_ovr_0 := GetFuncOrNil&(z_CompressedMultiTexImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexImage2DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; border: Int32; imageSize: Int32; bits: IntPtr); + begin + z_CompressedMultiTexImage2DEXT_ovr_0(texunit, target, level, _internalformat, width, height, border, imageSize, bits); + end; + + public z_CompressedMultiTexImage1DEXT_adr := GetFuncAdr('glCompressedMultiTexImage1DEXT'); + public z_CompressedMultiTexImage1DEXT_ovr_0 := GetFuncOrNil&(z_CompressedMultiTexImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexImage1DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; border: Int32; imageSize: Int32; bits: IntPtr); + begin + z_CompressedMultiTexImage1DEXT_ovr_0(texunit, target, level, _internalformat, width, border, imageSize, bits); + end; + + public z_CompressedMultiTexSubImage3DEXT_adr := GetFuncAdr('glCompressedMultiTexSubImage3DEXT'); + public z_CompressedMultiTexSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_CompressedMultiTexSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexSubImage3DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; imageSize: Int32; bits: IntPtr); + begin + z_CompressedMultiTexSubImage3DEXT_ovr_0(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); + end; + + public z_CompressedMultiTexSubImage2DEXT_adr := GetFuncAdr('glCompressedMultiTexSubImage2DEXT'); + public z_CompressedMultiTexSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_CompressedMultiTexSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexSubImage2DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; imageSize: Int32; bits: IntPtr); + begin + z_CompressedMultiTexSubImage2DEXT_ovr_0(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits); + end; + + public z_CompressedMultiTexSubImage1DEXT_adr := GetFuncAdr('glCompressedMultiTexSubImage1DEXT'); + public z_CompressedMultiTexSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_CompressedMultiTexSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompressedMultiTexSubImage1DEXT(texunit: TextureUnit; target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; imageSize: Int32; bits: IntPtr); + begin + z_CompressedMultiTexSubImage1DEXT_ovr_0(texunit, target, level, xoffset, width, format, imageSize, bits); + end; + + public z_GetCompressedMultiTexImageEXT_adr := GetFuncAdr('glGetCompressedMultiTexImageEXT'); + public z_GetCompressedMultiTexImageEXT_ovr_0 := GetFuncOrNil&(z_GetCompressedMultiTexImageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCompressedMultiTexImageEXT(texunit: TextureUnit; target: TextureTarget; lod: Int32; img: IntPtr); + begin + z_GetCompressedMultiTexImageEXT_ovr_0(texunit, target, lod, img); + end; + + public z_MatrixLoadTransposefEXT_adr := GetFuncAdr('glMatrixLoadTransposefEXT'); + public z_MatrixLoadTransposefEXT_ovr_0 := GetFuncOrNil&(z_MatrixLoadTransposefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposefEXT(mode: MatrixMode; m: array of single); + begin + z_MatrixLoadTransposefEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposefEXT(mode: MatrixMode; var m: single); + begin + z_MatrixLoadTransposefEXT_ovr_0(mode, m); + end; + public z_MatrixLoadTransposefEXT_ovr_2 := GetFuncOrNil&(z_MatrixLoadTransposefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposefEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixLoadTransposefEXT_ovr_2(mode, m); + end; + + public z_MatrixLoadTransposedEXT_adr := GetFuncAdr('glMatrixLoadTransposedEXT'); + public z_MatrixLoadTransposedEXT_ovr_0 := GetFuncOrNil&(z_MatrixLoadTransposedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposedEXT(mode: MatrixMode; m: array of real); + begin + z_MatrixLoadTransposedEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposedEXT(mode: MatrixMode; var m: real); + begin + z_MatrixLoadTransposedEXT_ovr_0(mode, m); + end; + public z_MatrixLoadTransposedEXT_ovr_2 := GetFuncOrNil&(z_MatrixLoadTransposedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTransposedEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixLoadTransposedEXT_ovr_2(mode, m); + end; + + public z_MatrixMultTransposefEXT_adr := GetFuncAdr('glMatrixMultTransposefEXT'); + public z_MatrixMultTransposefEXT_ovr_0 := GetFuncOrNil&(z_MatrixMultTransposefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposefEXT(mode: MatrixMode; m: array of single); + begin + z_MatrixMultTransposefEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposefEXT(mode: MatrixMode; var m: single); + begin + z_MatrixMultTransposefEXT_ovr_0(mode, m); + end; + public z_MatrixMultTransposefEXT_ovr_2 := GetFuncOrNil&(z_MatrixMultTransposefEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposefEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixMultTransposefEXT_ovr_2(mode, m); + end; + + public z_MatrixMultTransposedEXT_adr := GetFuncAdr('glMatrixMultTransposedEXT'); + public z_MatrixMultTransposedEXT_ovr_0 := GetFuncOrNil&(z_MatrixMultTransposedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposedEXT(mode: MatrixMode; m: array of real); + begin + z_MatrixMultTransposedEXT_ovr_0(mode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposedEXT(mode: MatrixMode; var m: real); + begin + z_MatrixMultTransposedEXT_ovr_0(mode, m); + end; + public z_MatrixMultTransposedEXT_ovr_2 := GetFuncOrNil&(z_MatrixMultTransposedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTransposedEXT(mode: MatrixMode; m: IntPtr); + begin + z_MatrixMultTransposedEXT_ovr_2(mode, m); + end; + + public z_NamedBufferDataEXT_adr := GetFuncAdr('glNamedBufferDataEXT'); + public z_NamedBufferDataEXT_ovr_0 := GetFuncOrNil&(z_NamedBufferDataEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferDataEXT(buffer: UInt32; size: IntPtr; data: IntPtr; usage: VertexBufferObjectUsage); + begin + z_NamedBufferDataEXT_ovr_0(buffer, size, data, usage); + end; + + public z_NamedBufferSubDataEXT_adr := GetFuncAdr('glNamedBufferSubDataEXT'); + public z_NamedBufferSubDataEXT_ovr_0 := GetFuncOrNil&(z_NamedBufferSubDataEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferSubDataEXT(buffer: UInt32; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_NamedBufferSubDataEXT_ovr_0(buffer, offset, size, data); + end; + + public z_MapNamedBufferEXT_adr := GetFuncAdr('glMapNamedBufferEXT'); + public z_MapNamedBufferEXT_ovr_0 := GetFuncOrNil&(z_MapNamedBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBufferEXT(buffer: UInt32; access: BufferAccessARB): IntPtr; + begin + Result := z_MapNamedBufferEXT_ovr_0(buffer, access); + end; + + public z_UnmapNamedBufferEXT_adr := GetFuncAdr('glUnmapNamedBufferEXT'); + public z_UnmapNamedBufferEXT_ovr_0 := GetFuncOrNil&(z_UnmapNamedBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function UnmapNamedBufferEXT(buffer: UInt32): boolean; + begin + Result := z_UnmapNamedBufferEXT_ovr_0(buffer); + end; + + public z_GetNamedBufferParameterivEXT_adr := GetFuncAdr('glGetNamedBufferParameterivEXT'); + public z_GetNamedBufferParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedBufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterivEXT(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: array of Int32); + begin + z_GetNamedBufferParameterivEXT_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterivEXT(buffer: UInt32; pname: VertexBufferObjectParameter; var ¶ms: Int32); + begin + z_GetNamedBufferParameterivEXT_ovr_0(buffer, pname, ¶ms); + end; + public z_GetNamedBufferParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedBufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterivEXT(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: IntPtr); + begin + z_GetNamedBufferParameterivEXT_ovr_2(buffer, pname, ¶ms); + end; + + public z_GetNamedBufferPointervEXT_adr := GetFuncAdr('glGetNamedBufferPointervEXT'); + public z_GetNamedBufferPointervEXT_ovr_0 := GetFuncOrNil&(z_GetNamedBufferPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointervEXT(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: array of IntPtr); + begin + z_GetNamedBufferPointervEXT_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointervEXT(buffer: UInt32; pname: VertexBufferObjectParameter; var ¶ms: IntPtr); + begin + z_GetNamedBufferPointervEXT_ovr_0(buffer, pname, ¶ms); + end; + public z_GetNamedBufferPointervEXT_ovr_2 := GetFuncOrNil&(z_GetNamedBufferPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferPointervEXT(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: pointer); + begin + z_GetNamedBufferPointervEXT_ovr_2(buffer, pname, ¶ms); + end; + + public z_GetNamedBufferSubDataEXT_adr := GetFuncAdr('glGetNamedBufferSubDataEXT'); + public z_GetNamedBufferSubDataEXT_ovr_0 := GetFuncOrNil&(z_GetNamedBufferSubDataEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferSubDataEXT(buffer: UInt32; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_GetNamedBufferSubDataEXT_ovr_0(buffer, offset, size, data); + end; + + public z_ProgramUniform1fEXT_adr := GetFuncAdr('glProgramUniform1fEXT'); + public z_ProgramUniform1fEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fEXT(&program: UInt32; location: Int32; v0: single); + begin + z_ProgramUniform1fEXT_ovr_0(&program, location, v0); + end; + + public z_ProgramUniform2fEXT_adr := GetFuncAdr('glProgramUniform2fEXT'); + public z_ProgramUniform2fEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fEXT(&program: UInt32; location: Int32; v0: single; v1: single); + begin + z_ProgramUniform2fEXT_ovr_0(&program, location, v0, v1); + end; + + public z_ProgramUniform3fEXT_adr := GetFuncAdr('glProgramUniform3fEXT'); + public z_ProgramUniform3fEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fEXT(&program: UInt32; location: Int32; v0: single; v1: single; v2: single); + begin + z_ProgramUniform3fEXT_ovr_0(&program, location, v0, v1, v2); + end; + + public z_ProgramUniform4fEXT_adr := GetFuncAdr('glProgramUniform4fEXT'); + public z_ProgramUniform4fEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fEXT(&program: UInt32; location: Int32; v0: single; v1: single; v2: single; v3: single); + begin + z_ProgramUniform4fEXT_ovr_0(&program, location, v0, v1, v2, v3); + end; + + public z_ProgramUniform1iEXT_adr := GetFuncAdr('glProgramUniform1iEXT'); + public z_ProgramUniform1iEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1iEXT(&program: UInt32; location: Int32; v0: Int32); + begin + z_ProgramUniform1iEXT_ovr_0(&program, location, v0); + end; + + public z_ProgramUniform2iEXT_adr := GetFuncAdr('glProgramUniform2iEXT'); + public z_ProgramUniform2iEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2iEXT(&program: UInt32; location: Int32; v0: Int32; v1: Int32); + begin + z_ProgramUniform2iEXT_ovr_0(&program, location, v0, v1); + end; + + public z_ProgramUniform3iEXT_adr := GetFuncAdr('glProgramUniform3iEXT'); + public z_ProgramUniform3iEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3iEXT(&program: UInt32; location: Int32; v0: Int32; v1: Int32; v2: Int32); + begin + z_ProgramUniform3iEXT_ovr_0(&program, location, v0, v1, v2); + end; + + public z_ProgramUniform4iEXT_adr := GetFuncAdr('glProgramUniform4iEXT'); + public z_ProgramUniform4iEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4iEXT(&program: UInt32; location: Int32; v0: Int32; v1: Int32; v2: Int32; v3: Int32); + begin + z_ProgramUniform4iEXT_ovr_0(&program, location, v0, v1, v2, v3); + end; + + public z_ProgramUniform1fvEXT_adr := GetFuncAdr('glProgramUniform1fvEXT'); + public z_ProgramUniform1fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform1fvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform1fvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform1fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1fvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1fvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2fvEXT_adr := GetFuncAdr('glProgramUniform2fvEXT'); + public z_ProgramUniform2fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform2fvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform2fvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2fvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2fvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3fvEXT_adr := GetFuncAdr('glProgramUniform3fvEXT'); + public z_ProgramUniform3fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform3fvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform3fvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3fvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3fvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4fvEXT_adr := GetFuncAdr('glProgramUniform4fvEXT'); + public z_ProgramUniform4fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fvEXT(&program: UInt32; location: Int32; count: Int32; value: array of single); + begin + z_ProgramUniform4fvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fvEXT(&program: UInt32; location: Int32; count: Int32; var value: single); + begin + z_ProgramUniform4fvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4fvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4fvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform1ivEXT_adr := GetFuncAdr('glProgramUniform1ivEXT'); + public z_ProgramUniform1ivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform1ivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform1ivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1ivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform1ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1ivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2ivEXT_adr := GetFuncAdr('glProgramUniform2ivEXT'); + public z_ProgramUniform2ivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform2ivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform2ivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2ivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform2ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2ivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3ivEXT_adr := GetFuncAdr('glProgramUniform3ivEXT'); + public z_ProgramUniform3ivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform3ivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform3ivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3ivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3ivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4ivEXT_adr := GetFuncAdr('glProgramUniform4ivEXT'); + public z_ProgramUniform4ivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ivEXT(&program: UInt32; location: Int32; count: Int32; value: array of Int32); + begin + z_ProgramUniform4ivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ivEXT(&program: UInt32; location: Int32; count: Int32; var value: Int32); + begin + z_ProgramUniform4ivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4ivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform4ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4ivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniformMatrix2fvEXT_adr := GetFuncAdr('glProgramUniformMatrix2fvEXT'); + public z_ProgramUniformMatrix2fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix2fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix2fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix3fvEXT_adr := GetFuncAdr('glProgramUniformMatrix3fvEXT'); + public z_ProgramUniformMatrix3fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix3fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix3fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix4fvEXT_adr := GetFuncAdr('glProgramUniformMatrix4fvEXT'); + public z_ProgramUniformMatrix4fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix4fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix4fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix2x3fvEXT_adr := GetFuncAdr('glProgramUniformMatrix2x3fvEXT'); + public z_ProgramUniformMatrix2x3fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix2x3fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix2x3fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x3fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x3fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix3x2fvEXT_adr := GetFuncAdr('glProgramUniformMatrix3x2fvEXT'); + public z_ProgramUniformMatrix3x2fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix3x2fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix3x2fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x2fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x2fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix2x4fvEXT_adr := GetFuncAdr('glProgramUniformMatrix2x4fvEXT'); + public z_ProgramUniformMatrix2x4fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix2x4fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix2x4fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x4fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x4fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix4x2fvEXT_adr := GetFuncAdr('glProgramUniformMatrix4x2fvEXT'); + public z_ProgramUniformMatrix4x2fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix4x2fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix4x2fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x2fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x2fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x2fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix3x4fvEXT_adr := GetFuncAdr('glProgramUniformMatrix3x4fvEXT'); + public z_ProgramUniformMatrix3x4fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix3x4fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix3x4fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x4fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x4fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix4x3fvEXT_adr := GetFuncAdr('glProgramUniformMatrix4x3fvEXT'); + public z_ProgramUniformMatrix4x3fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of single); + begin + z_ProgramUniformMatrix4x3fvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: single); + begin + z_ProgramUniformMatrix4x3fvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x3fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3fvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x3fvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_TextureBufferEXT_adr := GetFuncAdr('glTextureBufferEXT'); + public z_TextureBufferEXT_ovr_0 := GetFuncOrNil&(z_TextureBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBufferEXT(texture: UInt32; target: TextureTarget; _internalformat: InternalFormat; buffer: UInt32); + begin + z_TextureBufferEXT_ovr_0(texture, target, _internalformat, buffer); + end; + + public z_MultiTexBufferEXT_adr := GetFuncAdr('glMultiTexBufferEXT'); + public z_MultiTexBufferEXT_ovr_0 := GetFuncOrNil&(z_MultiTexBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexBufferEXT(texunit: TextureUnit; target: TextureTarget; internalformat: DummyEnum; buffer: UInt32); + begin + z_MultiTexBufferEXT_ovr_0(texunit, target, internalformat, buffer); + end; + + public z_TextureParameterIivEXT_adr := GetFuncAdr('glTextureParameterIivEXT'); + public z_TextureParameterIivEXT_ovr_0 := GetFuncOrNil&(z_TextureParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_TextureParameterIivEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + begin + z_TextureParameterIivEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_TextureParameterIivEXT_ovr_2 := GetFuncOrNil&(z_TextureParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TextureParameterIivEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_TextureParameterIuivEXT_adr := GetFuncAdr('glTextureParameterIuivEXT'); + public z_TextureParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_TextureParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: array of UInt32); + begin + z_TextureParameterIuivEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; var ¶ms: UInt32); + begin + z_TextureParameterIuivEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_TextureParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_TextureParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureParameterIuivEXT(texture: UInt32; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TextureParameterIuivEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_GetTextureParameterIivEXT_adr := GetFuncAdr('glGetTextureParameterIivEXT'); + public z_GetTextureParameterIivEXT_ovr_0 := GetFuncOrNil&(z_GetTextureParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTextureParameterIivEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTextureParameterIivEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_GetTextureParameterIivEXT_ovr_2 := GetFuncOrNil&(z_GetTextureParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterIivEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_GetTextureParameterIuivEXT_adr := GetFuncAdr('glGetTextureParameterIuivEXT'); + public z_GetTextureParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_GetTextureParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of UInt32); + begin + z_GetTextureParameterIuivEXT_ovr_0(texture, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; var ¶ms: UInt32); + begin + z_GetTextureParameterIuivEXT_ovr_0(texture, target, pname, ¶ms); + end; + public z_GetTextureParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_GetTextureParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTextureParameterIuivEXT(texture: UInt32; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTextureParameterIuivEXT_ovr_2(texture, target, pname, ¶ms); + end; + + public z_MultiTexParameterIivEXT_adr := GetFuncAdr('glMultiTexParameterIivEXT'); + public z_MultiTexParameterIivEXT_ovr_0 := GetFuncOrNil&(z_MultiTexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_MultiTexParameterIivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + begin + z_MultiTexParameterIivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_MultiTexParameterIivEXT_ovr_2 := GetFuncOrNil&(z_MultiTexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_MultiTexParameterIivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_MultiTexParameterIuivEXT_adr := GetFuncAdr('glMultiTexParameterIuivEXT'); + public z_MultiTexParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_MultiTexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIuivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: array of UInt32); + begin + z_MultiTexParameterIuivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIuivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; var ¶ms: UInt32); + begin + z_MultiTexParameterIuivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_MultiTexParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_MultiTexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexParameterIuivEXT(texunit: TextureUnit; target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_MultiTexParameterIuivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_GetMultiTexParameterIivEXT_adr := GetFuncAdr('glGetMultiTexParameterIivEXT'); + public z_GetMultiTexParameterIivEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetMultiTexParameterIivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetMultiTexParameterIivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_GetMultiTexParameterIivEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetMultiTexParameterIivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_GetMultiTexParameterIuivEXT_adr := GetFuncAdr('glGetMultiTexParameterIuivEXT'); + public z_GetMultiTexParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_GetMultiTexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIuivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: array of UInt32); + begin + z_GetMultiTexParameterIuivEXT_ovr_0(texunit, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIuivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; var ¶ms: UInt32); + begin + z_GetMultiTexParameterIuivEXT_ovr_0(texunit, target, pname, ¶ms); + end; + public z_GetMultiTexParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_GetMultiTexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultiTexParameterIuivEXT(texunit: TextureUnit; target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetMultiTexParameterIuivEXT_ovr_2(texunit, target, pname, ¶ms); + end; + + public z_ProgramUniform1uiEXT_adr := GetFuncAdr('glProgramUniform1uiEXT'); + public z_ProgramUniform1uiEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uiEXT(&program: UInt32; location: Int32; v0: UInt32); + begin + z_ProgramUniform1uiEXT_ovr_0(&program, location, v0); + end; + + public z_ProgramUniform2uiEXT_adr := GetFuncAdr('glProgramUniform2uiEXT'); + public z_ProgramUniform2uiEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uiEXT(&program: UInt32; location: Int32; v0: UInt32; v1: UInt32); + begin + z_ProgramUniform2uiEXT_ovr_0(&program, location, v0, v1); + end; + + public z_ProgramUniform3uiEXT_adr := GetFuncAdr('glProgramUniform3uiEXT'); + public z_ProgramUniform3uiEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uiEXT(&program: UInt32; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32); + begin + z_ProgramUniform3uiEXT_ovr_0(&program, location, v0, v1, v2); + end; + + public z_ProgramUniform4uiEXT_adr := GetFuncAdr('glProgramUniform4uiEXT'); + public z_ProgramUniform4uiEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uiEXT(&program: UInt32; location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32); + begin + z_ProgramUniform4uiEXT_ovr_0(&program, location, v0, v1, v2, v3); + end; + + public z_ProgramUniform1uivEXT_adr := GetFuncAdr('glProgramUniform1uivEXT'); + public z_ProgramUniform1uivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform1uivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform1uivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1uivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform1uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1uivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1uivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2uivEXT_adr := GetFuncAdr('glProgramUniform2uivEXT'); + public z_ProgramUniform2uivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform2uivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform2uivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2uivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform2uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2uivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2uivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3uivEXT_adr := GetFuncAdr('glProgramUniform3uivEXT'); + public z_ProgramUniform3uivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform3uivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform3uivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3uivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform3uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3uivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3uivEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4uivEXT_adr := GetFuncAdr('glProgramUniform4uivEXT'); + public z_ProgramUniform4uivEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uivEXT(&program: UInt32; location: Int32; count: Int32; value: array of UInt32); + begin + z_ProgramUniform4uivEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uivEXT(&program: UInt32; location: Int32; count: Int32; var value: UInt32); + begin + z_ProgramUniform4uivEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4uivEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4uivEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4uivEXT_ovr_2(&program, location, count, value); + end; + + public z_NamedProgramLocalParameters4fvEXT_adr := GetFuncAdr('glNamedProgramLocalParameters4fvEXT'); + public z_NamedProgramLocalParameters4fvEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameters4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameters4fvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of single); + begin + z_NamedProgramLocalParameters4fvEXT_ovr_0(&program, target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameters4fvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: single); + begin + z_NamedProgramLocalParameters4fvEXT_ovr_0(&program, target, index, count, ¶ms); + end; + public z_NamedProgramLocalParameters4fvEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParameters4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameters4fvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParameters4fvEXT_ovr_2(&program, target, index, count, ¶ms); + end; + + public z_NamedProgramLocalParameterI4iEXT_adr := GetFuncAdr('glNamedProgramLocalParameterI4iEXT'); + public z_NamedProgramLocalParameterI4iEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameterI4iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4iEXT(&program: UInt32; target: ProgramTarget; index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32); + begin + z_NamedProgramLocalParameterI4iEXT_ovr_0(&program, target, index, x, y, z, w); + end; + + public z_NamedProgramLocalParameterI4ivEXT_adr := GetFuncAdr('glNamedProgramLocalParameterI4ivEXT'); + public z_NamedProgramLocalParameterI4ivEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameterI4ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4ivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of Int32); + begin + z_NamedProgramLocalParameterI4ivEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4ivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: Int32); + begin + z_NamedProgramLocalParameterI4ivEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_NamedProgramLocalParameterI4ivEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParameterI4ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4ivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParameterI4ivEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_NamedProgramLocalParametersI4ivEXT_adr := GetFuncAdr('glNamedProgramLocalParametersI4ivEXT'); + public z_NamedProgramLocalParametersI4ivEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParametersI4ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4ivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of Int32); + begin + z_NamedProgramLocalParametersI4ivEXT_ovr_0(&program, target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4ivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: Int32); + begin + z_NamedProgramLocalParametersI4ivEXT_ovr_0(&program, target, index, count, ¶ms); + end; + public z_NamedProgramLocalParametersI4ivEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParametersI4ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4ivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParametersI4ivEXT_ovr_2(&program, target, index, count, ¶ms); + end; + + public z_NamedProgramLocalParameterI4uiEXT_adr := GetFuncAdr('glNamedProgramLocalParameterI4uiEXT'); + public z_NamedProgramLocalParameterI4uiEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameterI4uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uiEXT(&program: UInt32; target: ProgramTarget; index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32); + begin + z_NamedProgramLocalParameterI4uiEXT_ovr_0(&program, target, index, x, y, z, w); + end; + + public z_NamedProgramLocalParameterI4uivEXT_adr := GetFuncAdr('glNamedProgramLocalParameterI4uivEXT'); + public z_NamedProgramLocalParameterI4uivEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameterI4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of UInt32); + begin + z_NamedProgramLocalParameterI4uivEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: UInt32); + begin + z_NamedProgramLocalParameterI4uivEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_NamedProgramLocalParameterI4uivEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParameterI4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameterI4uivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParameterI4uivEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_NamedProgramLocalParametersI4uivEXT_adr := GetFuncAdr('glNamedProgramLocalParametersI4uivEXT'); + public z_NamedProgramLocalParametersI4uivEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParametersI4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4uivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of UInt32); + begin + z_NamedProgramLocalParametersI4uivEXT_ovr_0(&program, target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4uivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: UInt32); + begin + z_NamedProgramLocalParametersI4uivEXT_ovr_0(&program, target, index, count, ¶ms); + end; + public z_NamedProgramLocalParametersI4uivEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParametersI4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParametersI4uivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParametersI4uivEXT_ovr_2(&program, target, index, count, ¶ms); + end; + + public z_GetNamedProgramLocalParameterIivEXT_adr := GetFuncAdr('glGetNamedProgramLocalParameterIivEXT'); + public z_GetNamedProgramLocalParameterIivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedProgramLocalParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of Int32); + begin + z_GetNamedProgramLocalParameterIivEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: Int32); + begin + z_GetNamedProgramLocalParameterIivEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_GetNamedProgramLocalParameterIivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedProgramLocalParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetNamedProgramLocalParameterIivEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_GetNamedProgramLocalParameterIuivEXT_adr := GetFuncAdr('glGetNamedProgramLocalParameterIuivEXT'); + public z_GetNamedProgramLocalParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedProgramLocalParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIuivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of UInt32); + begin + z_GetNamedProgramLocalParameterIuivEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIuivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: UInt32); + begin + z_GetNamedProgramLocalParameterIuivEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_GetNamedProgramLocalParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedProgramLocalParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterIuivEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetNamedProgramLocalParameterIuivEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_EnableClientStateiEXT_adr := GetFuncAdr('glEnableClientStateiEXT'); + public z_EnableClientStateiEXT_ovr_0 := GetFuncOrNil&(z_EnableClientStateiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableClientStateiEXT(&array: EnableCap; index: UInt32); + begin + z_EnableClientStateiEXT_ovr_0(&array, index); + end; + + public z_DisableClientStateiEXT_adr := GetFuncAdr('glDisableClientStateiEXT'); + public z_DisableClientStateiEXT_ovr_0 := GetFuncOrNil&(z_DisableClientStateiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableClientStateiEXT(&array: EnableCap; index: UInt32); + begin + z_DisableClientStateiEXT_ovr_0(&array, index); + end; + + public z_GetFloati_vEXT_adr := GetFuncAdr('glGetFloati_vEXT'); + public z_GetFloati_vEXT_ovr_0 := GetFuncOrNil&(z_GetFloati_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vEXT(pname: DummyEnum; index: UInt32; ¶ms: array of single); + begin + z_GetFloati_vEXT_ovr_0(pname, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vEXT(pname: DummyEnum; index: UInt32; var ¶ms: single); + begin + z_GetFloati_vEXT_ovr_0(pname, index, ¶ms); + end; + public z_GetFloati_vEXT_ovr_2 := GetFuncOrNil&(z_GetFloati_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFloati_vEXT(pname: DummyEnum; index: UInt32; ¶ms: IntPtr); + begin + z_GetFloati_vEXT_ovr_2(pname, index, ¶ms); + end; + + public z_GetDoublei_vEXT_adr := GetFuncAdr('glGetDoublei_vEXT'); + public z_GetDoublei_vEXT_ovr_0 := GetFuncOrNil&(z_GetDoublei_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_vEXT(pname: DummyEnum; index: UInt32; ¶ms: array of real); + begin + z_GetDoublei_vEXT_ovr_0(pname, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_vEXT(pname: DummyEnum; index: UInt32; var ¶ms: real); + begin + z_GetDoublei_vEXT_ovr_0(pname, index, ¶ms); + end; + public z_GetDoublei_vEXT_ovr_2 := GetFuncOrNil&(z_GetDoublei_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDoublei_vEXT(pname: DummyEnum; index: UInt32; ¶ms: IntPtr); + begin + z_GetDoublei_vEXT_ovr_2(pname, index, ¶ms); + end; + + public z_GetPointeri_vEXT_adr := GetFuncAdr('glGetPointeri_vEXT'); + public z_GetPointeri_vEXT_ovr_0 := GetFuncOrNil&(z_GetPointeri_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointeri_vEXT(pname: DummyEnum; index: UInt32; ¶ms: array of IntPtr); + begin + z_GetPointeri_vEXT_ovr_0(pname, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointeri_vEXT(pname: DummyEnum; index: UInt32; var ¶ms: IntPtr); + begin + z_GetPointeri_vEXT_ovr_0(pname, index, ¶ms); + end; + public z_GetPointeri_vEXT_ovr_2 := GetFuncOrNil&(z_GetPointeri_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointeri_vEXT(pname: DummyEnum; index: UInt32; ¶ms: pointer); + begin + z_GetPointeri_vEXT_ovr_2(pname, index, ¶ms); + end; + + public z_NamedProgramStringEXT_adr := GetFuncAdr('glNamedProgramStringEXT'); + public z_NamedProgramStringEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramStringEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramStringEXT(&program: UInt32; target: ProgramTarget; format: ProgramFormat; len: Int32; string: IntPtr); + begin + z_NamedProgramStringEXT_ovr_0(&program, target, format, len, string); + end; + + public z_NamedProgramLocalParameter4dEXT_adr := GetFuncAdr('glNamedProgramLocalParameter4dEXT'); + public z_NamedProgramLocalParameter4dEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameter4dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dEXT(&program: UInt32; target: ProgramTarget; index: UInt32; x: real; y: real; z: real; w: real); + begin + z_NamedProgramLocalParameter4dEXT_ovr_0(&program, target, index, x, y, z, w); + end; + + public z_NamedProgramLocalParameter4dvEXT_adr := GetFuncAdr('glNamedProgramLocalParameter4dvEXT'); + public z_NamedProgramLocalParameter4dvEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameter4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_NamedProgramLocalParameter4dvEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_NamedProgramLocalParameter4dvEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_NamedProgramLocalParameter4dvEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParameter4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4dvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParameter4dvEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_NamedProgramLocalParameter4fEXT_adr := GetFuncAdr('glNamedProgramLocalParameter4fEXT'); + public z_NamedProgramLocalParameter4fEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameter4fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fEXT(&program: UInt32; target: ProgramTarget; index: UInt32; x: single; y: single; z: single; w: single); + begin + z_NamedProgramLocalParameter4fEXT_ovr_0(&program, target, index, x, y, z, w); + end; + + public z_NamedProgramLocalParameter4fvEXT_adr := GetFuncAdr('glNamedProgramLocalParameter4fvEXT'); + public z_NamedProgramLocalParameter4fvEXT_ovr_0 := GetFuncOrNil&(z_NamedProgramLocalParameter4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_NamedProgramLocalParameter4fvEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_NamedProgramLocalParameter4fvEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_NamedProgramLocalParameter4fvEXT_ovr_2 := GetFuncOrNil&(z_NamedProgramLocalParameter4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedProgramLocalParameter4fvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_NamedProgramLocalParameter4fvEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_GetNamedProgramLocalParameterdvEXT_adr := GetFuncAdr('glGetNamedProgramLocalParameterdvEXT'); + public z_GetNamedProgramLocalParameterdvEXT_ovr_0 := GetFuncOrNil&(z_GetNamedProgramLocalParameterdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterdvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of real); + begin + z_GetNamedProgramLocalParameterdvEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterdvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: real); + begin + z_GetNamedProgramLocalParameterdvEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_GetNamedProgramLocalParameterdvEXT_ovr_2 := GetFuncOrNil&(z_GetNamedProgramLocalParameterdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterdvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetNamedProgramLocalParameterdvEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_GetNamedProgramLocalParameterfvEXT_adr := GetFuncAdr('glGetNamedProgramLocalParameterfvEXT'); + public z_GetNamedProgramLocalParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetNamedProgramLocalParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterfvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: array of single); + begin + z_GetNamedProgramLocalParameterfvEXT_ovr_0(&program, target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterfvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; var ¶ms: single); + begin + z_GetNamedProgramLocalParameterfvEXT_ovr_0(&program, target, index, ¶ms); + end; + public z_GetNamedProgramLocalParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetNamedProgramLocalParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramLocalParameterfvEXT(&program: UInt32; target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetNamedProgramLocalParameterfvEXT_ovr_2(&program, target, index, ¶ms); + end; + + public z_GetNamedProgramivEXT_adr := GetFuncAdr('glGetNamedProgramivEXT'); + public z_GetNamedProgramivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedProgramivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramivEXT(&program: UInt32; target: ProgramTarget; pname: ProgramPropertyARB; ¶ms: array of Int32); + begin + z_GetNamedProgramivEXT_ovr_0(&program, target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramivEXT(&program: UInt32; target: ProgramTarget; pname: ProgramPropertyARB; var ¶ms: Int32); + begin + z_GetNamedProgramivEXT_ovr_0(&program, target, pname, ¶ms); + end; + public z_GetNamedProgramivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedProgramivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramivEXT(&program: UInt32; target: ProgramTarget; pname: ProgramPropertyARB; ¶ms: IntPtr); + begin + z_GetNamedProgramivEXT_ovr_2(&program, target, pname, ¶ms); + end; + + public z_GetNamedProgramStringEXT_adr := GetFuncAdr('glGetNamedProgramStringEXT'); + public z_GetNamedProgramStringEXT_ovr_0 := GetFuncOrNil&(z_GetNamedProgramStringEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedProgramStringEXT(&program: UInt32; target: ProgramTarget; pname: ProgramStringProperty; string: IntPtr); + begin + z_GetNamedProgramStringEXT_ovr_0(&program, target, pname, string); + end; + + public z_NamedRenderbufferStorageEXT_adr := GetFuncAdr('glNamedRenderbufferStorageEXT'); + public z_NamedRenderbufferStorageEXT_ovr_0 := GetFuncOrNil&(z_NamedRenderbufferStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageEXT(renderbuffer: UInt32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_NamedRenderbufferStorageEXT_ovr_0(renderbuffer, _internalformat, width, height); + end; + + public z_GetNamedRenderbufferParameterivEXT_adr := GetFuncAdr('glGetNamedRenderbufferParameterivEXT'); + public z_GetNamedRenderbufferParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedRenderbufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameterivEXT(renderbuffer: UInt32; pname: RenderbufferParameterName; ¶ms: array of Int32); + begin + z_GetNamedRenderbufferParameterivEXT_ovr_0(renderbuffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameterivEXT(renderbuffer: UInt32; pname: RenderbufferParameterName; var ¶ms: Int32); + begin + z_GetNamedRenderbufferParameterivEXT_ovr_0(renderbuffer, pname, ¶ms); + end; + public z_GetNamedRenderbufferParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedRenderbufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedRenderbufferParameterivEXT(renderbuffer: UInt32; pname: RenderbufferParameterName; ¶ms: IntPtr); + begin + z_GetNamedRenderbufferParameterivEXT_ovr_2(renderbuffer, pname, ¶ms); + end; + + public z_NamedRenderbufferStorageMultisampleEXT_adr := GetFuncAdr('glNamedRenderbufferStorageMultisampleEXT'); + public z_NamedRenderbufferStorageMultisampleEXT_ovr_0 := GetFuncOrNil&(z_NamedRenderbufferStorageMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisampleEXT(renderbuffer: UInt32; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_NamedRenderbufferStorageMultisampleEXT_ovr_0(renderbuffer, samples, _internalformat, width, height); + end; + + public z_NamedRenderbufferStorageMultisampleCoverageEXT_adr := GetFuncAdr('glNamedRenderbufferStorageMultisampleCoverageEXT'); + public z_NamedRenderbufferStorageMultisampleCoverageEXT_ovr_0 := GetFuncOrNil&(z_NamedRenderbufferStorageMultisampleCoverageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedRenderbufferStorageMultisampleCoverageEXT(renderbuffer: UInt32; coverageSamples: Int32; colorSamples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_NamedRenderbufferStorageMultisampleCoverageEXT_ovr_0(renderbuffer, coverageSamples, colorSamples, _internalformat, width, height); + end; + + public z_CheckNamedFramebufferStatusEXT_adr := GetFuncAdr('glCheckNamedFramebufferStatusEXT'); + public z_CheckNamedFramebufferStatusEXT_ovr_0 := GetFuncOrNil&(z_CheckNamedFramebufferStatusEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckNamedFramebufferStatusEXT(framebuffer: UInt32; target: FramebufferTarget): FramebufferStatus; + begin + Result := z_CheckNamedFramebufferStatusEXT_ovr_0(framebuffer, target); + end; + + public z_NamedFramebufferTexture1DEXT_adr := GetFuncAdr('glNamedFramebufferTexture1DEXT'); + public z_NamedFramebufferTexture1DEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTexture1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture1DEXT(framebuffer: UInt32; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32); + begin + z_NamedFramebufferTexture1DEXT_ovr_0(framebuffer, attachment, textarget, texture, level); + end; + + public z_NamedFramebufferTexture2DEXT_adr := GetFuncAdr('glNamedFramebufferTexture2DEXT'); + public z_NamedFramebufferTexture2DEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTexture2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture2DEXT(framebuffer: UInt32; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32); + begin + z_NamedFramebufferTexture2DEXT_ovr_0(framebuffer, attachment, textarget, texture, level); + end; + + public z_NamedFramebufferTexture3DEXT_adr := GetFuncAdr('glNamedFramebufferTexture3DEXT'); + public z_NamedFramebufferTexture3DEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTexture3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTexture3DEXT(framebuffer: UInt32; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32; zoffset: Int32); + begin + z_NamedFramebufferTexture3DEXT_ovr_0(framebuffer, attachment, textarget, texture, level, zoffset); + end; + + public z_NamedFramebufferRenderbufferEXT_adr := GetFuncAdr('glNamedFramebufferRenderbufferEXT'); + public z_NamedFramebufferRenderbufferEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferRenderbufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferRenderbufferEXT(framebuffer: UInt32; attachment: FramebufferAttachment; _renderbuffertarget: RenderbufferTarget; renderbuffer: UInt32); + begin + z_NamedFramebufferRenderbufferEXT_ovr_0(framebuffer, attachment, _renderbuffertarget, renderbuffer); + end; + + public z_GetNamedFramebufferAttachmentParameterivEXT_adr := GetFuncAdr('glGetNamedFramebufferAttachmentParameterivEXT'); + public z_GetNamedFramebufferAttachmentParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedFramebufferAttachmentParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameterivEXT(framebuffer: UInt32; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: array of Int32); + begin + z_GetNamedFramebufferAttachmentParameterivEXT_ovr_0(framebuffer, attachment, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameterivEXT(framebuffer: UInt32; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; var ¶ms: Int32); + begin + z_GetNamedFramebufferAttachmentParameterivEXT_ovr_0(framebuffer, attachment, pname, ¶ms); + end; + public z_GetNamedFramebufferAttachmentParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedFramebufferAttachmentParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferAttachmentParameterivEXT(framebuffer: UInt32; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: IntPtr); + begin + z_GetNamedFramebufferAttachmentParameterivEXT_ovr_2(framebuffer, attachment, pname, ¶ms); + end; + + public z_GenerateTextureMipmapEXT_adr := GetFuncAdr('glGenerateTextureMipmapEXT'); + public z_GenerateTextureMipmapEXT_ovr_0 := GetFuncOrNil&(z_GenerateTextureMipmapEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateTextureMipmapEXT(texture: UInt32; target: TextureTarget); + begin + z_GenerateTextureMipmapEXT_ovr_0(texture, target); + end; + + public z_GenerateMultiTexMipmapEXT_adr := GetFuncAdr('glGenerateMultiTexMipmapEXT'); + public z_GenerateMultiTexMipmapEXT_ovr_0 := GetFuncOrNil&(z_GenerateMultiTexMipmapEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMultiTexMipmapEXT(texunit: TextureUnit; target: TextureTarget); + begin + z_GenerateMultiTexMipmapEXT_ovr_0(texunit, target); + end; + + public z_FramebufferDrawBufferEXT_adr := GetFuncAdr('glFramebufferDrawBufferEXT'); + public z_FramebufferDrawBufferEXT_ovr_0 := GetFuncOrNil&(z_FramebufferDrawBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBufferEXT(framebuffer: UInt32; mode: DrawBufferMode); + begin + z_FramebufferDrawBufferEXT_ovr_0(framebuffer, mode); + end; + + public z_FramebufferDrawBuffersEXT_adr := GetFuncAdr('glFramebufferDrawBuffersEXT'); + public z_FramebufferDrawBuffersEXT_ovr_0 := GetFuncOrNil&(z_FramebufferDrawBuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBuffersEXT(framebuffer: UInt32; n: Int32; bufs: array of DrawBufferMode); + begin + z_FramebufferDrawBuffersEXT_ovr_0(framebuffer, n, bufs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBuffersEXT(framebuffer: UInt32; n: Int32; var bufs: DrawBufferMode); + begin + z_FramebufferDrawBuffersEXT_ovr_0(framebuffer, n, bufs); + end; + public z_FramebufferDrawBuffersEXT_ovr_2 := GetFuncOrNil&(z_FramebufferDrawBuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferDrawBuffersEXT(framebuffer: UInt32; n: Int32; bufs: IntPtr); + begin + z_FramebufferDrawBuffersEXT_ovr_2(framebuffer, n, bufs); + end; + + public z_FramebufferReadBufferEXT_adr := GetFuncAdr('glFramebufferReadBufferEXT'); + public z_FramebufferReadBufferEXT_ovr_0 := GetFuncOrNil&(z_FramebufferReadBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferReadBufferEXT(framebuffer: UInt32; mode: ReadBufferMode); + begin + z_FramebufferReadBufferEXT_ovr_0(framebuffer, mode); + end; + + public z_GetFramebufferParameterivEXT_adr := GetFuncAdr('glGetFramebufferParameterivEXT'); + public z_GetFramebufferParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetFramebufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivEXT(framebuffer: UInt32; pname: GetFramebufferParameter; ¶ms: array of Int32); + begin + z_GetFramebufferParameterivEXT_ovr_0(framebuffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivEXT(framebuffer: UInt32; pname: GetFramebufferParameter; var ¶ms: Int32); + begin + z_GetFramebufferParameterivEXT_ovr_0(framebuffer, pname, ¶ms); + end; + public z_GetFramebufferParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetFramebufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivEXT(framebuffer: UInt32; pname: GetFramebufferParameter; ¶ms: IntPtr); + begin + z_GetFramebufferParameterivEXT_ovr_2(framebuffer, pname, ¶ms); + end; + + public z_NamedCopyBufferSubDataEXT_adr := GetFuncAdr('glNamedCopyBufferSubDataEXT'); + public z_NamedCopyBufferSubDataEXT_ovr_0 := GetFuncOrNil&(z_NamedCopyBufferSubDataEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedCopyBufferSubDataEXT(readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr); + begin + z_NamedCopyBufferSubDataEXT_ovr_0(readBuffer, writeBuffer, readOffset, writeOffset, size); + end; + + public z_NamedFramebufferTextureEXT_adr := GetFuncAdr('glNamedFramebufferTextureEXT'); + public z_NamedFramebufferTextureEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTextureEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureEXT(framebuffer: UInt32; attachment: FramebufferAttachment; texture: UInt32; level: Int32); + begin + z_NamedFramebufferTextureEXT_ovr_0(framebuffer, attachment, texture, level); + end; + + public z_NamedFramebufferTextureLayerEXT_adr := GetFuncAdr('glNamedFramebufferTextureLayerEXT'); + public z_NamedFramebufferTextureLayerEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTextureLayerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureLayerEXT(framebuffer: UInt32; attachment: FramebufferAttachment; texture: UInt32; level: Int32; layer: Int32); + begin + z_NamedFramebufferTextureLayerEXT_ovr_0(framebuffer, attachment, texture, level, layer); + end; + + public z_NamedFramebufferTextureFaceEXT_adr := GetFuncAdr('glNamedFramebufferTextureFaceEXT'); + public z_NamedFramebufferTextureFaceEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferTextureFaceEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferTextureFaceEXT(framebuffer: UInt32; attachment: FramebufferAttachment; texture: UInt32; level: Int32; face: TextureTarget); + begin + z_NamedFramebufferTextureFaceEXT_ovr_0(framebuffer, attachment, texture, level, face); + end; + + public z_TextureRenderbufferEXT_adr := GetFuncAdr('glTextureRenderbufferEXT'); + public z_TextureRenderbufferEXT_ovr_0 := GetFuncOrNil&(z_TextureRenderbufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureRenderbufferEXT(texture: UInt32; target: TextureTarget; renderbuffer: UInt32); + begin + z_TextureRenderbufferEXT_ovr_0(texture, target, renderbuffer); + end; + + public z_MultiTexRenderbufferEXT_adr := GetFuncAdr('glMultiTexRenderbufferEXT'); + public z_MultiTexRenderbufferEXT_ovr_0 := GetFuncOrNil&(z_MultiTexRenderbufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexRenderbufferEXT(texunit: TextureUnit; target: TextureTarget; renderbuffer: UInt32); + begin + z_MultiTexRenderbufferEXT_ovr_0(texunit, target, renderbuffer); + end; + + public z_VertexArrayVertexOffsetEXT_adr := GetFuncAdr('glVertexArrayVertexOffsetEXT'); + public z_VertexArrayVertexOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: VertexPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayVertexOffsetEXT_ovr_0(vaobj, buffer, size, &type, stride, offset); + end; + + public z_VertexArrayColorOffsetEXT_adr := GetFuncAdr('glVertexArrayColorOffsetEXT'); + public z_VertexArrayColorOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayColorOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayColorOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: ColorPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayColorOffsetEXT_ovr_0(vaobj, buffer, size, &type, stride, offset); + end; + + public z_VertexArrayEdgeFlagOffsetEXT_adr := GetFuncAdr('glVertexArrayEdgeFlagOffsetEXT'); + public z_VertexArrayEdgeFlagOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayEdgeFlagOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayEdgeFlagOffsetEXT(vaobj: UInt32; buffer: UInt32; stride: Int32; offset: IntPtr); + begin + z_VertexArrayEdgeFlagOffsetEXT_ovr_0(vaobj, buffer, stride, offset); + end; + + public z_VertexArrayIndexOffsetEXT_adr := GetFuncAdr('glVertexArrayIndexOffsetEXT'); + public z_VertexArrayIndexOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayIndexOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayIndexOffsetEXT(vaobj: UInt32; buffer: UInt32; &type: IndexPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayIndexOffsetEXT_ovr_0(vaobj, buffer, &type, stride, offset); + end; + + public z_VertexArrayNormalOffsetEXT_adr := GetFuncAdr('glVertexArrayNormalOffsetEXT'); + public z_VertexArrayNormalOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayNormalOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayNormalOffsetEXT(vaobj: UInt32; buffer: UInt32; &type: NormalPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayNormalOffsetEXT_ovr_0(vaobj, buffer, &type, stride, offset); + end; + + public z_VertexArrayTexCoordOffsetEXT_adr := GetFuncAdr('glVertexArrayTexCoordOffsetEXT'); + public z_VertexArrayTexCoordOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayTexCoordOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayTexCoordOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: TexCoordPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayTexCoordOffsetEXT_ovr_0(vaobj, buffer, size, &type, stride, offset); + end; + + public z_VertexArrayMultiTexCoordOffsetEXT_adr := GetFuncAdr('glVertexArrayMultiTexCoordOffsetEXT'); + public z_VertexArrayMultiTexCoordOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayMultiTexCoordOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayMultiTexCoordOffsetEXT(vaobj: UInt32; buffer: UInt32; texunit: DummyEnum; size: Int32; &type: TexCoordPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayMultiTexCoordOffsetEXT_ovr_0(vaobj, buffer, texunit, size, &type, stride, offset); + end; + + public z_VertexArrayFogCoordOffsetEXT_adr := GetFuncAdr('glVertexArrayFogCoordOffsetEXT'); + public z_VertexArrayFogCoordOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayFogCoordOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayFogCoordOffsetEXT(vaobj: UInt32; buffer: UInt32; &type: FogCoordinatePointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayFogCoordOffsetEXT_ovr_0(vaobj, buffer, &type, stride, offset); + end; + + public z_VertexArraySecondaryColorOffsetEXT_adr := GetFuncAdr('glVertexArraySecondaryColorOffsetEXT'); + public z_VertexArraySecondaryColorOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArraySecondaryColorOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArraySecondaryColorOffsetEXT(vaobj: UInt32; buffer: UInt32; size: Int32; &type: ColorPointerType; stride: Int32; offset: IntPtr); + begin + z_VertexArraySecondaryColorOffsetEXT_ovr_0(vaobj, buffer, size, &type, stride, offset); + end; + + public z_VertexArrayVertexAttribOffsetEXT_adr := GetFuncAdr('glVertexArrayVertexAttribOffsetEXT'); + public z_VertexArrayVertexAttribOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribOffsetEXT(vaobj: UInt32; buffer: UInt32; index: UInt32; size: Int32; &type: VertexAttribPointerType; normalized: boolean; stride: Int32; offset: IntPtr); + begin + z_VertexArrayVertexAttribOffsetEXT_ovr_0(vaobj, buffer, index, size, &type, normalized, stride, offset); + end; + + public z_VertexArrayVertexAttribIOffsetEXT_adr := GetFuncAdr('glVertexArrayVertexAttribIOffsetEXT'); + public z_VertexArrayVertexAttribIOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribIOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribIOffsetEXT(vaobj: UInt32; buffer: UInt32; index: UInt32; size: Int32; &type: VertexAttribType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayVertexAttribIOffsetEXT_ovr_0(vaobj, buffer, index, size, &type, stride, offset); + end; + + public z_EnableVertexArrayEXT_adr := GetFuncAdr('glEnableVertexArrayEXT'); + public z_EnableVertexArrayEXT_ovr_0 := GetFuncOrNil&(z_EnableVertexArrayEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexArrayEXT(vaobj: UInt32; &array: EnableCap); + begin + z_EnableVertexArrayEXT_ovr_0(vaobj, &array); + end; + + public z_DisableVertexArrayEXT_adr := GetFuncAdr('glDisableVertexArrayEXT'); + public z_DisableVertexArrayEXT_ovr_0 := GetFuncOrNil&(z_DisableVertexArrayEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexArrayEXT(vaobj: UInt32; &array: EnableCap); + begin + z_DisableVertexArrayEXT_ovr_0(vaobj, &array); + end; + + public z_EnableVertexArrayAttribEXT_adr := GetFuncAdr('glEnableVertexArrayAttribEXT'); + public z_EnableVertexArrayAttribEXT_ovr_0 := GetFuncOrNil&(z_EnableVertexArrayAttribEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVertexArrayAttribEXT(vaobj: UInt32; index: UInt32); + begin + z_EnableVertexArrayAttribEXT_ovr_0(vaobj, index); + end; + + public z_DisableVertexArrayAttribEXT_adr := GetFuncAdr('glDisableVertexArrayAttribEXT'); + public z_DisableVertexArrayAttribEXT_ovr_0 := GetFuncOrNil&(z_DisableVertexArrayAttribEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVertexArrayAttribEXT(vaobj: UInt32; index: UInt32); + begin + z_DisableVertexArrayAttribEXT_ovr_0(vaobj, index); + end; + + public z_GetVertexArrayIntegervEXT_adr := GetFuncAdr('glGetVertexArrayIntegervEXT'); + public z_GetVertexArrayIntegervEXT_ovr_0 := GetFuncOrNil&(z_GetVertexArrayIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegervEXT(vaobj: UInt32; pname: VertexArrayPName; param: array of Int32); + begin + z_GetVertexArrayIntegervEXT_ovr_0(vaobj, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegervEXT(vaobj: UInt32; pname: VertexArrayPName; var param: Int32); + begin + z_GetVertexArrayIntegervEXT_ovr_0(vaobj, pname, param); + end; + public z_GetVertexArrayIntegervEXT_ovr_2 := GetFuncOrNil&(z_GetVertexArrayIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegervEXT(vaobj: UInt32; pname: VertexArrayPName; param: IntPtr); + begin + z_GetVertexArrayIntegervEXT_ovr_2(vaobj, pname, param); + end; + + public z_GetVertexArrayPointervEXT_adr := GetFuncAdr('glGetVertexArrayPointervEXT'); + public z_GetVertexArrayPointervEXT_ovr_0 := GetFuncOrNil&(z_GetVertexArrayPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointervEXT(vaobj: UInt32; pname: VertexArrayPName; param: array of IntPtr); + begin + z_GetVertexArrayPointervEXT_ovr_0(vaobj, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointervEXT(vaobj: UInt32; pname: VertexArrayPName; var param: IntPtr); + begin + z_GetVertexArrayPointervEXT_ovr_0(vaobj, pname, param); + end; + public z_GetVertexArrayPointervEXT_ovr_2 := GetFuncOrNil&(z_GetVertexArrayPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointervEXT(vaobj: UInt32; pname: VertexArrayPName; param: pointer); + begin + z_GetVertexArrayPointervEXT_ovr_2(vaobj, pname, param); + end; + + public z_GetVertexArrayIntegeri_vEXT_adr := GetFuncAdr('glGetVertexArrayIntegeri_vEXT'); + public z_GetVertexArrayIntegeri_vEXT_ovr_0 := GetFuncOrNil&(z_GetVertexArrayIntegeri_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegeri_vEXT(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: array of Int32); + begin + z_GetVertexArrayIntegeri_vEXT_ovr_0(vaobj, index, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegeri_vEXT(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; var param: Int32); + begin + z_GetVertexArrayIntegeri_vEXT_ovr_0(vaobj, index, pname, param); + end; + public z_GetVertexArrayIntegeri_vEXT_ovr_2 := GetFuncOrNil&(z_GetVertexArrayIntegeri_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayIntegeri_vEXT(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: IntPtr); + begin + z_GetVertexArrayIntegeri_vEXT_ovr_2(vaobj, index, pname, param); + end; + + public z_GetVertexArrayPointeri_vEXT_adr := GetFuncAdr('glGetVertexArrayPointeri_vEXT'); + public z_GetVertexArrayPointeri_vEXT_ovr_0 := GetFuncOrNil&(z_GetVertexArrayPointeri_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointeri_vEXT(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: array of IntPtr); + begin + z_GetVertexArrayPointeri_vEXT_ovr_0(vaobj, index, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointeri_vEXT(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; var param: IntPtr); + begin + z_GetVertexArrayPointeri_vEXT_ovr_0(vaobj, index, pname, param); + end; + public z_GetVertexArrayPointeri_vEXT_ovr_2 := GetFuncOrNil&(z_GetVertexArrayPointeri_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexArrayPointeri_vEXT(vaobj: UInt32; index: UInt32; pname: VertexArrayPName; param: pointer); + begin + z_GetVertexArrayPointeri_vEXT_ovr_2(vaobj, index, pname, param); + end; + + public z_MapNamedBufferRangeEXT_adr := GetFuncAdr('glMapNamedBufferRangeEXT'); + public z_MapNamedBufferRangeEXT_ovr_0 := GetFuncOrNil&(z_MapNamedBufferRangeEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapNamedBufferRangeEXT(buffer: UInt32; offset: IntPtr; length: IntPtr; access: MapBufferAccessMask): IntPtr; + begin + Result := z_MapNamedBufferRangeEXT_ovr_0(buffer, offset, length, access); + end; + + public z_FlushMappedNamedBufferRangeEXT_adr := GetFuncAdr('glFlushMappedNamedBufferRangeEXT'); + public z_FlushMappedNamedBufferRangeEXT_ovr_0 := GetFuncOrNil&(z_FlushMappedNamedBufferRangeEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushMappedNamedBufferRangeEXT(buffer: UInt32; offset: IntPtr; length: IntPtr); + begin + z_FlushMappedNamedBufferRangeEXT_ovr_0(buffer, offset, length); + end; + + public z_NamedBufferStorageEXT_adr := GetFuncAdr('glNamedBufferStorageEXT'); + public z_NamedBufferStorageEXT_ovr_0 := GetFuncOrNil&(z_NamedBufferStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorageEXT(buffer: UInt32; size: IntPtr; data: IntPtr; flags: BufferStorageMask); + begin + z_NamedBufferStorageEXT_ovr_0(buffer, size, data, flags); + end; + + public z_ClearNamedBufferDataEXT_adr := GetFuncAdr('glClearNamedBufferDataEXT'); + public z_ClearNamedBufferDataEXT_ovr_0 := GetFuncOrNil&(z_ClearNamedBufferDataEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferDataEXT(buffer: UInt32; _internalformat: InternalFormat; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearNamedBufferDataEXT_ovr_0(buffer, _internalformat, format, &type, data); + end; + + public z_ClearNamedBufferSubDataEXT_adr := GetFuncAdr('glClearNamedBufferSubDataEXT'); + public z_ClearNamedBufferSubDataEXT_ovr_0 := GetFuncOrNil&(z_ClearNamedBufferSubDataEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearNamedBufferSubDataEXT(buffer: UInt32; internalformat: DummyEnum; offset: IntPtr; size: IntPtr; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_ClearNamedBufferSubDataEXT_ovr_0(buffer, internalformat, offset, size, format, &type, data); + end; + + public z_NamedFramebufferParameteriEXT_adr := GetFuncAdr('glNamedFramebufferParameteriEXT'); + public z_NamedFramebufferParameteriEXT_ovr_0 := GetFuncOrNil&(z_NamedFramebufferParameteriEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferParameteriEXT(framebuffer: UInt32; pname: FramebufferParameterName; param: Int32); + begin + z_NamedFramebufferParameteriEXT_ovr_0(framebuffer, pname, param); + end; + + public z_GetNamedFramebufferParameterivEXT_adr := GetFuncAdr('glGetNamedFramebufferParameterivEXT'); + public z_GetNamedFramebufferParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetNamedFramebufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterivEXT(framebuffer: UInt32; pname: GetFramebufferParameter; ¶ms: array of Int32); + begin + z_GetNamedFramebufferParameterivEXT_ovr_0(framebuffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterivEXT(framebuffer: UInt32; pname: GetFramebufferParameter; var ¶ms: Int32); + begin + z_GetNamedFramebufferParameterivEXT_ovr_0(framebuffer, pname, ¶ms); + end; + public z_GetNamedFramebufferParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetNamedFramebufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedFramebufferParameterivEXT(framebuffer: UInt32; pname: GetFramebufferParameter; ¶ms: IntPtr); + begin + z_GetNamedFramebufferParameterivEXT_ovr_2(framebuffer, pname, ¶ms); + end; + + public z_ProgramUniform1dEXT_adr := GetFuncAdr('glProgramUniform1dEXT'); + public z_ProgramUniform1dEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dEXT(&program: UInt32; location: Int32; x: real); + begin + z_ProgramUniform1dEXT_ovr_0(&program, location, x); + end; + + public z_ProgramUniform2dEXT_adr := GetFuncAdr('glProgramUniform2dEXT'); + public z_ProgramUniform2dEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dEXT(&program: UInt32; location: Int32; x: real; y: real); + begin + z_ProgramUniform2dEXT_ovr_0(&program, location, x, y); + end; + + public z_ProgramUniform3dEXT_adr := GetFuncAdr('glProgramUniform3dEXT'); + public z_ProgramUniform3dEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dEXT(&program: UInt32; location: Int32; x: real; y: real; z: real); + begin + z_ProgramUniform3dEXT_ovr_0(&program, location, x, y, z); + end; + + public z_ProgramUniform4dEXT_adr := GetFuncAdr('glProgramUniform4dEXT'); + public z_ProgramUniform4dEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dEXT(&program: UInt32; location: Int32; x: real; y: real; z: real; w: real); + begin + z_ProgramUniform4dEXT_ovr_0(&program, location, x, y, z, w); + end; + + public z_ProgramUniform1dvEXT_adr := GetFuncAdr('glProgramUniform1dvEXT'); + public z_ProgramUniform1dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform1dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform1dvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dvEXT(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform1dvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform1dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1dvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1dvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2dvEXT_adr := GetFuncAdr('glProgramUniform2dvEXT'); + public z_ProgramUniform2dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform2dvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dvEXT(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform2dvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2dvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2dvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3dvEXT_adr := GetFuncAdr('glProgramUniform3dvEXT'); + public z_ProgramUniform3dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform3dvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dvEXT(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform3dvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3dvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3dvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4dvEXT_adr := GetFuncAdr('glProgramUniform4dvEXT'); + public z_ProgramUniform4dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniform4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dvEXT(&program: UInt32; location: Int32; count: Int32; value: array of real); + begin + z_ProgramUniform4dvEXT_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dvEXT(&program: UInt32; location: Int32; count: Int32; var value: real); + begin + z_ProgramUniform4dvEXT_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniform4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4dvEXT(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4dvEXT_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniformMatrix2dvEXT_adr := GetFuncAdr('glProgramUniformMatrix2dvEXT'); + public z_ProgramUniformMatrix2dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix2dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix2dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix3dvEXT_adr := GetFuncAdr('glProgramUniformMatrix3dvEXT'); + public z_ProgramUniformMatrix3dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix3dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix3dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix4dvEXT_adr := GetFuncAdr('glProgramUniformMatrix4dvEXT'); + public z_ProgramUniformMatrix4dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix4dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix4dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix2x3dvEXT_adr := GetFuncAdr('glProgramUniformMatrix2x3dvEXT'); + public z_ProgramUniformMatrix2x3dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix2x3dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix2x3dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x3dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x3dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix2x4dvEXT_adr := GetFuncAdr('glProgramUniformMatrix2x4dvEXT'); + public z_ProgramUniformMatrix2x4dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix2x4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix2x4dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix2x4dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix2x4dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix2x4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix2x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix2x4dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix3x2dvEXT_adr := GetFuncAdr('glProgramUniformMatrix3x2dvEXT'); + public z_ProgramUniformMatrix3x2dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix3x2dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix3x2dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x2dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x2dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix3x4dvEXT_adr := GetFuncAdr('glProgramUniformMatrix3x4dvEXT'); + public z_ProgramUniformMatrix3x4dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix3x4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix3x4dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix3x4dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix3x4dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix3x4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix3x4dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix3x4dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix4x2dvEXT_adr := GetFuncAdr('glProgramUniformMatrix4x2dvEXT'); + public z_ProgramUniformMatrix4x2dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix4x2dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix4x2dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x2dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x2dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x2dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_ProgramUniformMatrix4x3dvEXT_adr := GetFuncAdr('glProgramUniformMatrix4x3dvEXT'); + public z_ProgramUniformMatrix4x3dvEXT_ovr_0 := GetFuncOrNil&(z_ProgramUniformMatrix4x3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: array of real); + begin + z_ProgramUniformMatrix4x3dvEXT_ovr_0(&program, location, count, transpose, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; var value: real); + begin + z_ProgramUniformMatrix4x3dvEXT_ovr_0(&program, location, count, transpose, value); + end; + public z_ProgramUniformMatrix4x3dvEXT_ovr_2 := GetFuncOrNil&(z_ProgramUniformMatrix4x3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformMatrix4x3dvEXT(&program: UInt32; location: Int32; count: Int32; transpose: boolean; value: IntPtr); + begin + z_ProgramUniformMatrix4x3dvEXT_ovr_2(&program, location, count, transpose, value); + end; + + public z_TextureBufferRangeEXT_adr := GetFuncAdr('glTextureBufferRangeEXT'); + public z_TextureBufferRangeEXT_ovr_0 := GetFuncOrNil&(z_TextureBufferRangeEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBufferRangeEXT(texture: UInt32; target: TextureTarget; _internalformat: InternalFormat; buffer: UInt32; offset: IntPtr; size: IntPtr); + begin + z_TextureBufferRangeEXT_ovr_0(texture, target, _internalformat, buffer, offset, size); + end; + + public z_TextureStorage1DEXT_adr := GetFuncAdr('glTextureStorage1DEXT'); + public z_TextureStorage1DEXT_ovr_0 := GetFuncOrNil&(z_TextureStorage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage1DEXT(texture: UInt32; target: DummyEnum; levels: Int32; _internalformat: InternalFormat; width: Int32); + begin + z_TextureStorage1DEXT_ovr_0(texture, target, levels, _internalformat, width); + end; + + public z_TextureStorage2DEXT_adr := GetFuncAdr('glTextureStorage2DEXT'); + public z_TextureStorage2DEXT_ovr_0 := GetFuncOrNil&(z_TextureStorage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2DEXT(texture: UInt32; target: DummyEnum; levels: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_TextureStorage2DEXT_ovr_0(texture, target, levels, _internalformat, width, height); + end; + + public z_TextureStorage3DEXT_adr := GetFuncAdr('glTextureStorage3DEXT'); + public z_TextureStorage3DEXT_ovr_0 := GetFuncOrNil&(z_TextureStorage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3DEXT(texture: UInt32; target: DummyEnum; levels: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32); + begin + z_TextureStorage3DEXT_ovr_0(texture, target, levels, _internalformat, width, height, depth); + end; + + public z_TextureStorage2DMultisampleEXT_adr := GetFuncAdr('glTextureStorage2DMultisampleEXT'); + public z_TextureStorage2DMultisampleEXT_ovr_0 := GetFuncOrNil&(z_TextureStorage2DMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage2DMultisampleEXT(texture: UInt32; target: TextureTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; fixedsamplelocations: boolean); + begin + z_TextureStorage2DMultisampleEXT_ovr_0(texture, target, samples, _internalformat, width, height, fixedsamplelocations); + end; + + public z_TextureStorage3DMultisampleEXT_adr := GetFuncAdr('glTextureStorage3DMultisampleEXT'); + public z_TextureStorage3DMultisampleEXT_ovr_0 := GetFuncOrNil&(z_TextureStorage3DMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorage3DMultisampleEXT(texture: UInt32; target: DummyEnum; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; fixedsamplelocations: boolean); + begin + z_TextureStorage3DMultisampleEXT_ovr_0(texture, target, samples, _internalformat, width, height, depth, fixedsamplelocations); + end; + + public z_VertexArrayBindVertexBufferEXT_adr := GetFuncAdr('glVertexArrayBindVertexBufferEXT'); + public z_VertexArrayBindVertexBufferEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayBindVertexBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayBindVertexBufferEXT(vaobj: UInt32; bindingindex: UInt32; buffer: UInt32; offset: IntPtr; stride: Int32); + begin + z_VertexArrayBindVertexBufferEXT_ovr_0(vaobj, bindingindex, buffer, offset, stride); + end; + + public z_VertexArrayVertexAttribFormatEXT_adr := GetFuncAdr('glVertexArrayVertexAttribFormatEXT'); + public z_VertexArrayVertexAttribFormatEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribFormatEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribFormatEXT(vaobj: UInt32; attribindex: UInt32; size: Int32; &type: VertexAttribType; normalized: boolean; relativeoffset: UInt32); + begin + z_VertexArrayVertexAttribFormatEXT_ovr_0(vaobj, attribindex, size, &type, normalized, relativeoffset); + end; + + public z_VertexArrayVertexAttribIFormatEXT_adr := GetFuncAdr('glVertexArrayVertexAttribIFormatEXT'); + public z_VertexArrayVertexAttribIFormatEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribIFormatEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribIFormatEXT(vaobj: UInt32; attribindex: UInt32; size: Int32; &type: VertexAttribIType; relativeoffset: UInt32); + begin + z_VertexArrayVertexAttribIFormatEXT_ovr_0(vaobj, attribindex, size, &type, relativeoffset); + end; + + public z_VertexArrayVertexAttribLFormatEXT_adr := GetFuncAdr('glVertexArrayVertexAttribLFormatEXT'); + public z_VertexArrayVertexAttribLFormatEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribLFormatEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribLFormatEXT(vaobj: UInt32; attribindex: UInt32; size: Int32; &type: VertexAttribLType; relativeoffset: UInt32); + begin + z_VertexArrayVertexAttribLFormatEXT_ovr_0(vaobj, attribindex, size, &type, relativeoffset); + end; + + public z_VertexArrayVertexAttribBindingEXT_adr := GetFuncAdr('glVertexArrayVertexAttribBindingEXT'); + public z_VertexArrayVertexAttribBindingEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribBindingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribBindingEXT(vaobj: UInt32; attribindex: UInt32; bindingindex: UInt32); + begin + z_VertexArrayVertexAttribBindingEXT_ovr_0(vaobj, attribindex, bindingindex); + end; + + public z_VertexArrayVertexBindingDivisorEXT_adr := GetFuncAdr('glVertexArrayVertexBindingDivisorEXT'); + public z_VertexArrayVertexBindingDivisorEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexBindingDivisorEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexBindingDivisorEXT(vaobj: UInt32; bindingindex: UInt32; divisor: UInt32); + begin + z_VertexArrayVertexBindingDivisorEXT_ovr_0(vaobj, bindingindex, divisor); + end; + + public z_VertexArrayVertexAttribLOffsetEXT_adr := GetFuncAdr('glVertexArrayVertexAttribLOffsetEXT'); + public z_VertexArrayVertexAttribLOffsetEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribLOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribLOffsetEXT(vaobj: UInt32; buffer: UInt32; index: UInt32; size: Int32; &type: VertexAttribLType; stride: Int32; offset: IntPtr); + begin + z_VertexArrayVertexAttribLOffsetEXT_ovr_0(vaobj, buffer, index, size, &type, stride, offset); + end; + + public z_TexturePageCommitmentEXT_adr := GetFuncAdr('glTexturePageCommitmentEXT'); + public z_TexturePageCommitmentEXT_ovr_0 := GetFuncOrNil&(z_TexturePageCommitmentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexturePageCommitmentEXT(texture: UInt32; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; commit: boolean); + begin + z_TexturePageCommitmentEXT_ovr_0(texture, level, xoffset, yoffset, zoffset, width, height, depth, commit); + end; + + public z_VertexArrayVertexAttribDivisorEXT_adr := GetFuncAdr('glVertexArrayVertexAttribDivisorEXT'); + public z_VertexArrayVertexAttribDivisorEXT_ovr_0 := GetFuncOrNil&(z_VertexArrayVertexAttribDivisorEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayVertexAttribDivisorEXT(vaobj: UInt32; index: UInt32; divisor: UInt32); + begin + z_VertexArrayVertexAttribDivisorEXT_ovr_0(vaobj, index, divisor); + end; + + end; + + glDrawBuffers2EXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ColorMaskIndexedEXT_adr := GetFuncAdr('glColorMaskIndexedEXT'); + public z_ColorMaskIndexedEXT_ovr_0 := GetFuncOrNil&(z_ColorMaskIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorMaskIndexedEXT(index: UInt32; r: boolean; g: boolean; b: boolean; a: boolean); + begin + z_ColorMaskIndexedEXT_ovr_0(index, r, g, b, a); + end; + + public z_GetBooleanIndexedvEXT_adr := GetFuncAdr('glGetBooleanIndexedvEXT'); + public z_GetBooleanIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetBooleanIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: BufferTargetARB; index: UInt32; data: array of boolean); + begin + z_GetBooleanIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: BufferTargetARB; index: UInt32; var data: boolean); + begin + z_GetBooleanIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetBooleanIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetBooleanIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBooleanIndexedvEXT(target: BufferTargetARB; index: UInt32; data: IntPtr); + begin + z_GetBooleanIndexedvEXT_ovr_2(target, index, data); + end; + + public z_GetIntegerIndexedvEXT_adr := GetFuncAdr('glGetIntegerIndexedvEXT'); + public z_GetIntegerIndexedvEXT_ovr_0 := GetFuncOrNil&(z_GetIntegerIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: DummyEnum; index: UInt32; data: array of Int32); + begin + z_GetIntegerIndexedvEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: DummyEnum; index: UInt32; var data: Int32); + begin + z_GetIntegerIndexedvEXT_ovr_0(target, index, data); + end; + public z_GetIntegerIndexedvEXT_ovr_2 := GetFuncOrNil&(z_GetIntegerIndexedvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerIndexedvEXT(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetIntegerIndexedvEXT_ovr_2(target, index, data); + end; + + public z_EnableIndexedEXT_adr := GetFuncAdr('glEnableIndexedEXT'); + public z_EnableIndexedEXT_ovr_0 := GetFuncOrNil&(z_EnableIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableIndexedEXT(target: EnableCap; index: UInt32); + begin + z_EnableIndexedEXT_ovr_0(target, index); + end; + + public z_DisableIndexedEXT_adr := GetFuncAdr('glDisableIndexedEXT'); + public z_DisableIndexedEXT_ovr_0 := GetFuncOrNil&(z_DisableIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableIndexedEXT(target: EnableCap; index: UInt32); + begin + z_DisableIndexedEXT_ovr_0(target, index); + end; + + public z_IsEnabledIndexedEXT_adr := GetFuncAdr('glIsEnabledIndexedEXT'); + public z_IsEnabledIndexedEXT_ovr_0 := GetFuncOrNil&(z_IsEnabledIndexedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsEnabledIndexedEXT(target: EnableCap; index: UInt32): boolean; + begin + Result := z_IsEnabledIndexedEXT_ovr_0(target, index); + end; + + end; + + glDrawInstancedEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawArraysInstancedEXT_adr := GetFuncAdr('glDrawArraysInstancedEXT'); + public z_DrawArraysInstancedEXT_ovr_0 := GetFuncOrNil&(z_DrawArraysInstancedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysInstancedEXT(mode: PrimitiveType; start: Int32; count: Int32; primcount: Int32); + begin + z_DrawArraysInstancedEXT_ovr_0(mode, start, count, primcount); + end; + + public z_DrawElementsInstancedEXT_adr := GetFuncAdr('glDrawElementsInstancedEXT'); + public z_DrawElementsInstancedEXT_ovr_0 := GetFuncOrNil&(z_DrawElementsInstancedEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawElementsInstancedEXT(mode: PrimitiveType; count: Int32; &type: DrawElementsType; indices: IntPtr; primcount: Int32); + begin + z_DrawElementsInstancedEXT_ovr_0(mode, count, &type, indices, primcount); + end; + + end; + + glDrawRangeElementsEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawRangeElementsEXT_adr := GetFuncAdr('glDrawRangeElementsEXT'); + public z_DrawRangeElementsEXT_ovr_0 := GetFuncOrNil&(z_DrawRangeElementsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawRangeElementsEXT(mode: PrimitiveType; start: UInt32; &end: UInt32; count: Int32; &type: DrawElementsType; indices: IntPtr); + begin + z_DrawRangeElementsEXT_ovr_0(mode, start, &end, count, &type, indices); + end; + + end; + + glExternalBufferEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BufferStorageExternalEXT_adr := GetFuncAdr('glBufferStorageExternalEXT'); + public z_BufferStorageExternalEXT_ovr_0 := GetFuncOrNil&(z_BufferStorageExternalEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorageExternalEXT(target: DummyEnum; offset: IntPtr; size: IntPtr; clientBuffer: GLeglClientBufferEXT; flags: BufferStorageMask); + begin + z_BufferStorageExternalEXT_ovr_0(target, offset, size, clientBuffer, flags); + end; + + public z_NamedBufferStorageExternalEXT_adr := GetFuncAdr('glNamedBufferStorageExternalEXT'); + public z_NamedBufferStorageExternalEXT_ovr_0 := GetFuncOrNil&(z_NamedBufferStorageExternalEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorageExternalEXT(buffer: UInt32; offset: IntPtr; size: IntPtr; clientBuffer: GLeglClientBufferEXT; flags: BufferStorageMask); + begin + z_NamedBufferStorageExternalEXT_ovr_0(buffer, offset, size, clientBuffer, flags); + end; + + end; + + glFogCoordEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FogCoordfEXT_adr := GetFuncAdr('glFogCoordfEXT'); + public z_FogCoordfEXT_ovr_0 := GetFuncOrNil&(z_FogCoordfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfEXT(coord: single); + begin + z_FogCoordfEXT_ovr_0(coord); + end; + + public z_FogCoordfvEXT_adr := GetFuncAdr('glFogCoordfvEXT'); + public z_FogCoordfvEXT_ovr_0 := GetFuncOrNil&(z_FogCoordfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfvEXT(coord: array of single); + begin + z_FogCoordfvEXT_ovr_0(coord[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfvEXT(var coord: single); + begin + z_FogCoordfvEXT_ovr_0(coord); + end; + public z_FogCoordfvEXT_ovr_2 := GetFuncOrNil&(z_FogCoordfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordfvEXT(coord: IntPtr); + begin + z_FogCoordfvEXT_ovr_2(coord); + end; + + public z_FogCoorddEXT_adr := GetFuncAdr('glFogCoorddEXT'); + public z_FogCoorddEXT_ovr_0 := GetFuncOrNil&(z_FogCoorddEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddEXT(coord: real); + begin + z_FogCoorddEXT_ovr_0(coord); + end; + + public z_FogCoorddvEXT_adr := GetFuncAdr('glFogCoorddvEXT'); + public z_FogCoorddvEXT_ovr_0 := GetFuncOrNil&(z_FogCoorddvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddvEXT(coord: array of real); + begin + z_FogCoorddvEXT_ovr_0(coord[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddvEXT(var coord: real); + begin + z_FogCoorddvEXT_ovr_0(coord); + end; + public z_FogCoorddvEXT_ovr_2 := GetFuncOrNil&(z_FogCoorddvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoorddvEXT(coord: IntPtr); + begin + z_FogCoorddvEXT_ovr_2(coord); + end; + + public z_FogCoordPointerEXT_adr := GetFuncAdr('glFogCoordPointerEXT'); + public z_FogCoordPointerEXT_ovr_0 := GetFuncOrNil&(z_FogCoordPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerEXT(&type: FogPointerTypeEXT; stride: Int32; pointer: IntPtr); + begin + z_FogCoordPointerEXT_ovr_0(&type, stride, pointer); + end; + + end; + + glFramebufferBlitEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlitFramebufferEXT_adr := GetFuncAdr('glBlitFramebufferEXT'); + public z_BlitFramebufferEXT_ovr_0 := GetFuncOrNil&(z_BlitFramebufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlitFramebufferEXT(srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: ClearBufferMask; filter: BlitFramebufferFilter); + begin + z_BlitFramebufferEXT_ovr_0(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + end; + + end; + + glFramebufferMultisampleEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_RenderbufferStorageMultisampleEXT_adr := GetFuncAdr('glRenderbufferStorageMultisampleEXT'); + public z_RenderbufferStorageMultisampleEXT_ovr_0 := GetFuncOrNil&(z_RenderbufferStorageMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleEXT(target: RenderbufferTarget; samples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_RenderbufferStorageMultisampleEXT_ovr_0(target, samples, _internalformat, width, height); + end; + + end; + + glFramebufferObjectEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_IsRenderbufferEXT_adr := GetFuncAdr('glIsRenderbufferEXT'); + public z_IsRenderbufferEXT_ovr_0 := GetFuncOrNil&(z_IsRenderbufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsRenderbufferEXT(renderbuffer: UInt32): boolean; + begin + Result := z_IsRenderbufferEXT_ovr_0(renderbuffer); + end; + + public z_BindRenderbufferEXT_adr := GetFuncAdr('glBindRenderbufferEXT'); + public z_BindRenderbufferEXT_ovr_0 := GetFuncOrNil&(z_BindRenderbufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindRenderbufferEXT(target: RenderbufferTarget; renderbuffer: UInt32); + begin + z_BindRenderbufferEXT_ovr_0(target, renderbuffer); + end; + + public z_DeleteRenderbuffersEXT_adr := GetFuncAdr('glDeleteRenderbuffersEXT'); + public z_DeleteRenderbuffersEXT_ovr_0 := GetFuncOrNil&(z_DeleteRenderbuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersEXT(n: Int32; renderbuffers: array of UInt32); + begin + z_DeleteRenderbuffersEXT_ovr_0(n, renderbuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersEXT(n: Int32; var renderbuffers: UInt32); + begin + z_DeleteRenderbuffersEXT_ovr_0(n, renderbuffers); + end; + public z_DeleteRenderbuffersEXT_ovr_2 := GetFuncOrNil&(z_DeleteRenderbuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteRenderbuffersEXT(n: Int32; renderbuffers: IntPtr); + begin + z_DeleteRenderbuffersEXT_ovr_2(n, renderbuffers); + end; + + public z_GenRenderbuffersEXT_adr := GetFuncAdr('glGenRenderbuffersEXT'); + public z_GenRenderbuffersEXT_ovr_0 := GetFuncOrNil&(z_GenRenderbuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersEXT(n: Int32; renderbuffers: array of UInt32); + begin + z_GenRenderbuffersEXT_ovr_0(n, renderbuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersEXT(n: Int32; var renderbuffers: UInt32); + begin + z_GenRenderbuffersEXT_ovr_0(n, renderbuffers); + end; + public z_GenRenderbuffersEXT_ovr_2 := GetFuncOrNil&(z_GenRenderbuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenRenderbuffersEXT(n: Int32; renderbuffers: IntPtr); + begin + z_GenRenderbuffersEXT_ovr_2(n, renderbuffers); + end; + + public z_RenderbufferStorageEXT_adr := GetFuncAdr('glRenderbufferStorageEXT'); + public z_RenderbufferStorageEXT_ovr_0 := GetFuncOrNil&(z_RenderbufferStorageEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageEXT(target: RenderbufferTarget; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_RenderbufferStorageEXT_ovr_0(target, _internalformat, width, height); + end; + + public z_GetRenderbufferParameterivEXT_adr := GetFuncAdr('glGetRenderbufferParameterivEXT'); + public z_GetRenderbufferParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetRenderbufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivEXT(target: RenderbufferTarget; pname: RenderbufferParameterName; ¶ms: array of Int32); + begin + z_GetRenderbufferParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivEXT(target: RenderbufferTarget; pname: RenderbufferParameterName; var ¶ms: Int32); + begin + z_GetRenderbufferParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetRenderbufferParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetRenderbufferParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetRenderbufferParameterivEXT(target: RenderbufferTarget; pname: RenderbufferParameterName; ¶ms: IntPtr); + begin + z_GetRenderbufferParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_IsFramebufferEXT_adr := GetFuncAdr('glIsFramebufferEXT'); + public z_IsFramebufferEXT_ovr_0 := GetFuncOrNil&(z_IsFramebufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFramebufferEXT(framebuffer: UInt32): boolean; + begin + Result := z_IsFramebufferEXT_ovr_0(framebuffer); + end; + + public z_BindFramebufferEXT_adr := GetFuncAdr('glBindFramebufferEXT'); + public z_BindFramebufferEXT_ovr_0 := GetFuncOrNil&(z_BindFramebufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFramebufferEXT(target: FramebufferTarget; framebuffer: UInt32); + begin + z_BindFramebufferEXT_ovr_0(target, framebuffer); + end; + + public z_DeleteFramebuffersEXT_adr := GetFuncAdr('glDeleteFramebuffersEXT'); + public z_DeleteFramebuffersEXT_ovr_0 := GetFuncOrNil&(z_DeleteFramebuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersEXT(n: Int32; framebuffers: array of UInt32); + begin + z_DeleteFramebuffersEXT_ovr_0(n, framebuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersEXT(n: Int32; var framebuffers: UInt32); + begin + z_DeleteFramebuffersEXT_ovr_0(n, framebuffers); + end; + public z_DeleteFramebuffersEXT_ovr_2 := GetFuncOrNil&(z_DeleteFramebuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFramebuffersEXT(n: Int32; framebuffers: IntPtr); + begin + z_DeleteFramebuffersEXT_ovr_2(n, framebuffers); + end; + + public z_GenFramebuffersEXT_adr := GetFuncAdr('glGenFramebuffersEXT'); + public z_GenFramebuffersEXT_ovr_0 := GetFuncOrNil&(z_GenFramebuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersEXT(n: Int32; framebuffers: array of UInt32); + begin + z_GenFramebuffersEXT_ovr_0(n, framebuffers[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersEXT(n: Int32; var framebuffers: UInt32); + begin + z_GenFramebuffersEXT_ovr_0(n, framebuffers); + end; + public z_GenFramebuffersEXT_ovr_2 := GetFuncOrNil&(z_GenFramebuffersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFramebuffersEXT(n: Int32; framebuffers: IntPtr); + begin + z_GenFramebuffersEXT_ovr_2(n, framebuffers); + end; + + public z_CheckFramebufferStatusEXT_adr := GetFuncAdr('glCheckFramebufferStatusEXT'); + public z_CheckFramebufferStatusEXT_ovr_0 := GetFuncOrNil&(z_CheckFramebufferStatusEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CheckFramebufferStatusEXT(target: FramebufferTarget): FramebufferStatus; + begin + Result := z_CheckFramebufferStatusEXT_ovr_0(target); + end; + + public z_FramebufferTexture1DEXT_adr := GetFuncAdr('glFramebufferTexture1DEXT'); + public z_FramebufferTexture1DEXT_ovr_0 := GetFuncOrNil&(z_FramebufferTexture1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture1DEXT(target: FramebufferTarget; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32); + begin + z_FramebufferTexture1DEXT_ovr_0(target, attachment, textarget, texture, level); + end; + + public z_FramebufferTexture2DEXT_adr := GetFuncAdr('glFramebufferTexture2DEXT'); + public z_FramebufferTexture2DEXT_ovr_0 := GetFuncOrNil&(z_FramebufferTexture2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture2DEXT(target: FramebufferTarget; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32); + begin + z_FramebufferTexture2DEXT_ovr_0(target, attachment, textarget, texture, level); + end; + + public z_FramebufferTexture3DEXT_adr := GetFuncAdr('glFramebufferTexture3DEXT'); + public z_FramebufferTexture3DEXT_ovr_0 := GetFuncOrNil&(z_FramebufferTexture3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTexture3DEXT(target: FramebufferTarget; attachment: FramebufferAttachment; textarget: TextureTarget; texture: UInt32; level: Int32; zoffset: Int32); + begin + z_FramebufferTexture3DEXT_ovr_0(target, attachment, textarget, texture, level, zoffset); + end; + + public z_FramebufferRenderbufferEXT_adr := GetFuncAdr('glFramebufferRenderbufferEXT'); + public z_FramebufferRenderbufferEXT_ovr_0 := GetFuncOrNil&(z_FramebufferRenderbufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferRenderbufferEXT(target: FramebufferTarget; attachment: FramebufferAttachment; _renderbuffertarget: RenderbufferTarget; renderbuffer: UInt32); + begin + z_FramebufferRenderbufferEXT_ovr_0(target, attachment, _renderbuffertarget, renderbuffer); + end; + + public z_GetFramebufferAttachmentParameterivEXT_adr := GetFuncAdr('glGetFramebufferAttachmentParameterivEXT'); + public z_GetFramebufferAttachmentParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetFramebufferAttachmentParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivEXT(target: FramebufferTarget; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: array of Int32); + begin + z_GetFramebufferAttachmentParameterivEXT_ovr_0(target, attachment, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivEXT(target: FramebufferTarget; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; var ¶ms: Int32); + begin + z_GetFramebufferAttachmentParameterivEXT_ovr_0(target, attachment, pname, ¶ms); + end; + public z_GetFramebufferAttachmentParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetFramebufferAttachmentParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferAttachmentParameterivEXT(target: FramebufferTarget; attachment: FramebufferAttachment; pname: FramebufferAttachmentParameterName; ¶ms: IntPtr); + begin + z_GetFramebufferAttachmentParameterivEXT_ovr_2(target, attachment, pname, ¶ms); + end; + + public z_GenerateMipmapEXT_adr := GetFuncAdr('glGenerateMipmapEXT'); + public z_GenerateMipmapEXT_ovr_0 := GetFuncOrNil&(z_GenerateMipmapEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenerateMipmapEXT(target: TextureTarget); + begin + z_GenerateMipmapEXT_ovr_0(target); + end; + + end; + + glGeometryShader4EXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramParameteriEXT_adr := GetFuncAdr('glProgramParameteriEXT'); + public z_ProgramParameteriEXT_ovr_0 := GetFuncOrNil&(z_ProgramParameteriEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameteriEXT(&program: UInt32; pname: ProgramParameterPName; value: Int32); + begin + z_ProgramParameteriEXT_ovr_0(&program, pname, value); + end; + + end; + + glGpuProgramParametersEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramEnvParameters4fvEXT_adr := GetFuncAdr('glProgramEnvParameters4fvEXT'); + public z_ProgramEnvParameters4fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameters4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameters4fvEXT(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of single); + begin + z_ProgramEnvParameters4fvEXT_ovr_0(target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameters4fvEXT(target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: single); + begin + z_ProgramEnvParameters4fvEXT_ovr_0(target, index, count, ¶ms); + end; + public z_ProgramEnvParameters4fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameters4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameters4fvEXT(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramEnvParameters4fvEXT_ovr_2(target, index, count, ¶ms); + end; + + public z_ProgramLocalParameters4fvEXT_adr := GetFuncAdr('glProgramLocalParameters4fvEXT'); + public z_ProgramLocalParameters4fvEXT_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameters4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameters4fvEXT(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of single); + begin + z_ProgramLocalParameters4fvEXT_ovr_0(target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameters4fvEXT(target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: single); + begin + z_ProgramLocalParameters4fvEXT_ovr_0(target, index, count, ¶ms); + end; + public z_ProgramLocalParameters4fvEXT_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameters4fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameters4fvEXT(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramLocalParameters4fvEXT_ovr_2(target, index, count, ¶ms); + end; + + end; + + glGpuShader4EXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetUniformuivEXT_adr := GetFuncAdr('glGetUniformuivEXT'); + public z_GetUniformuivEXT_ovr_0 := GetFuncOrNil&(z_GetUniformuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuivEXT(&program: UInt32; location: Int32; ¶ms: array of UInt32); + begin + z_GetUniformuivEXT_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuivEXT(&program: UInt32; location: Int32; var ¶ms: UInt32); + begin + z_GetUniformuivEXT_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformuivEXT_ovr_2 := GetFuncOrNil&(z_GetUniformuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformuivEXT(&program: UInt32; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformuivEXT_ovr_2(&program, location, ¶ms); + end; + + public z_BindFragDataLocationEXT_adr := GetFuncAdr('glBindFragDataLocationEXT'); + public z_BindFragDataLocationEXT_ovr_0 := GetFuncOrNil&(z_BindFragDataLocationEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationEXT(&program: UInt32; color: UInt32; name: string); + begin + var par_3_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_BindFragDataLocationEXT_ovr_0(&program, color, par_3_str_ptr); + Marshal.FreeHGlobal(par_3_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindFragDataLocationEXT(&program: UInt32; color: UInt32; name: IntPtr); + begin + z_BindFragDataLocationEXT_ovr_0(&program, color, name); + end; + + public z_GetFragDataLocationEXT_adr := GetFuncAdr('glGetFragDataLocationEXT'); + public z_GetFragDataLocationEXT_ovr_0 := GetFuncOrNil&(z_GetFragDataLocationEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocationEXT(&program: UInt32; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetFragDataLocationEXT_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetFragDataLocationEXT(&program: UInt32; name: IntPtr): Int32; + begin + Result := z_GetFragDataLocationEXT_ovr_0(&program, name); + end; + + public z_Uniform1uiEXT_adr := GetFuncAdr('glUniform1uiEXT'); + public z_Uniform1uiEXT_ovr_0 := GetFuncOrNil&(z_Uniform1uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uiEXT(location: Int32; v0: UInt32); + begin + z_Uniform1uiEXT_ovr_0(location, v0); + end; + + public z_Uniform2uiEXT_adr := GetFuncAdr('glUniform2uiEXT'); + public z_Uniform2uiEXT_ovr_0 := GetFuncOrNil&(z_Uniform2uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uiEXT(location: Int32; v0: UInt32; v1: UInt32); + begin + z_Uniform2uiEXT_ovr_0(location, v0, v1); + end; + + public z_Uniform3uiEXT_adr := GetFuncAdr('glUniform3uiEXT'); + public z_Uniform3uiEXT_ovr_0 := GetFuncOrNil&(z_Uniform3uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uiEXT(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32); + begin + z_Uniform3uiEXT_ovr_0(location, v0, v1, v2); + end; + + public z_Uniform4uiEXT_adr := GetFuncAdr('glUniform4uiEXT'); + public z_Uniform4uiEXT_ovr_0 := GetFuncOrNil&(z_Uniform4uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uiEXT(location: Int32; v0: UInt32; v1: UInt32; v2: UInt32; v3: UInt32); + begin + z_Uniform4uiEXT_ovr_0(location, v0, v1, v2, v3); + end; + + public z_Uniform1uivEXT_adr := GetFuncAdr('glUniform1uivEXT'); + public z_Uniform1uivEXT_ovr_0 := GetFuncOrNil&(z_Uniform1uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uivEXT(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform1uivEXT_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uivEXT(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform1uivEXT_ovr_0(location, count, value); + end; + public z_Uniform1uivEXT_ovr_2 := GetFuncOrNil&(z_Uniform1uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1uivEXT(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1uivEXT_ovr_2(location, count, value); + end; + + public z_Uniform2uivEXT_adr := GetFuncAdr('glUniform2uivEXT'); + public z_Uniform2uivEXT_ovr_0 := GetFuncOrNil&(z_Uniform2uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uivEXT(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform2uivEXT_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uivEXT(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform2uivEXT_ovr_0(location, count, value); + end; + public z_Uniform2uivEXT_ovr_2 := GetFuncOrNil&(z_Uniform2uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2uivEXT(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2uivEXT_ovr_2(location, count, value); + end; + + public z_Uniform3uivEXT_adr := GetFuncAdr('glUniform3uivEXT'); + public z_Uniform3uivEXT_ovr_0 := GetFuncOrNil&(z_Uniform3uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uivEXT(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform3uivEXT_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uivEXT(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform3uivEXT_ovr_0(location, count, value); + end; + public z_Uniform3uivEXT_ovr_2 := GetFuncOrNil&(z_Uniform3uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3uivEXT(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3uivEXT_ovr_2(location, count, value); + end; + + public z_Uniform4uivEXT_adr := GetFuncAdr('glUniform4uivEXT'); + public z_Uniform4uivEXT_ovr_0 := GetFuncOrNil&(z_Uniform4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uivEXT(location: Int32; count: Int32; value: array of UInt32); + begin + z_Uniform4uivEXT_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uivEXT(location: Int32; count: Int32; var value: UInt32); + begin + z_Uniform4uivEXT_ovr_0(location, count, value); + end; + public z_Uniform4uivEXT_ovr_2 := GetFuncOrNil&(z_Uniform4uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4uivEXT(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4uivEXT_ovr_2(location, count, value); + end; + + end; + + glHistogramEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetHistogramEXT_adr := GetFuncAdr('glGetHistogramEXT'); + public z_GetHistogramEXT_ovr_0 := GetFuncOrNil&(z_GetHistogramEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramEXT(target: HistogramTargetEXT; reset: boolean; format: PixelFormat; &type: PixelType; values: IntPtr); + begin + z_GetHistogramEXT_ovr_0(target, reset, format, &type, values); + end; + + public z_GetHistogramParameterfvEXT_adr := GetFuncAdr('glGetHistogramParameterfvEXT'); + public z_GetHistogramParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetHistogramParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfvEXT(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; ¶ms: array of single); + begin + z_GetHistogramParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfvEXT(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; var ¶ms: single); + begin + z_GetHistogramParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetHistogramParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetHistogramParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterfvEXT(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; ¶ms: IntPtr); + begin + z_GetHistogramParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetHistogramParameterivEXT_adr := GetFuncAdr('glGetHistogramParameterivEXT'); + public z_GetHistogramParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetHistogramParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterivEXT(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; ¶ms: array of Int32); + begin + z_GetHistogramParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterivEXT(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; var ¶ms: Int32); + begin + z_GetHistogramParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetHistogramParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetHistogramParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterivEXT(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; ¶ms: IntPtr); + begin + z_GetHistogramParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetMinmaxEXT_adr := GetFuncAdr('glGetMinmaxEXT'); + public z_GetMinmaxEXT_ovr_0 := GetFuncOrNil&(z_GetMinmaxEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxEXT(target: MinmaxTargetEXT; reset: boolean; format: PixelFormat; &type: PixelType; values: IntPtr); + begin + z_GetMinmaxEXT_ovr_0(target, reset, format, &type, values); + end; + + public z_GetMinmaxParameterfvEXT_adr := GetFuncAdr('glGetMinmaxParameterfvEXT'); + public z_GetMinmaxParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetMinmaxParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfvEXT(target: MinmaxTargetEXT; pname: GetMinmaxParameterPNameEXT; ¶ms: array of single); + begin + z_GetMinmaxParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfvEXT(target: MinmaxTargetEXT; pname: GetMinmaxParameterPNameEXT; var ¶ms: single); + begin + z_GetMinmaxParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetMinmaxParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetMinmaxParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterfvEXT(target: MinmaxTargetEXT; pname: GetMinmaxParameterPNameEXT; ¶ms: IntPtr); + begin + z_GetMinmaxParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetMinmaxParameterivEXT_adr := GetFuncAdr('glGetMinmaxParameterivEXT'); + public z_GetMinmaxParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetMinmaxParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterivEXT(target: MinmaxTargetEXT; pname: GetMinmaxParameterPNameEXT; ¶ms: array of Int32); + begin + z_GetMinmaxParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterivEXT(target: MinmaxTargetEXT; pname: GetMinmaxParameterPNameEXT; var ¶ms: Int32); + begin + z_GetMinmaxParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetMinmaxParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetMinmaxParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMinmaxParameterivEXT(target: MinmaxTargetEXT; pname: GetMinmaxParameterPNameEXT; ¶ms: IntPtr); + begin + z_GetMinmaxParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_HistogramEXT_adr := GetFuncAdr('glHistogramEXT'); + public z_HistogramEXT_ovr_0 := GetFuncOrNil&(z_HistogramEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure HistogramEXT(target: HistogramTargetEXT; width: Int32; _internalformat: InternalFormat; sink: boolean); + begin + z_HistogramEXT_ovr_0(target, width, _internalformat, sink); + end; + + public z_MinmaxEXT_adr := GetFuncAdr('glMinmaxEXT'); + public z_MinmaxEXT_ovr_0 := GetFuncOrNil&(z_MinmaxEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MinmaxEXT(target: MinmaxTargetEXT; _internalformat: InternalFormat; sink: boolean); + begin + z_MinmaxEXT_ovr_0(target, _internalformat, sink); + end; + + public z_ResetHistogramEXT_adr := GetFuncAdr('glResetHistogramEXT'); + public z_ResetHistogramEXT_ovr_0 := GetFuncOrNil&(z_ResetHistogramEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetHistogramEXT(target: HistogramTargetEXT); + begin + z_ResetHistogramEXT_ovr_0(target); + end; + + public z_ResetMinmaxEXT_adr := GetFuncAdr('glResetMinmaxEXT'); + public z_ResetMinmaxEXT_ovr_0 := GetFuncOrNil&(z_ResetMinmaxEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetMinmaxEXT(target: MinmaxTargetEXT); + begin + z_ResetMinmaxEXT_ovr_0(target); + end; + + end; + + glIndexFuncEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_IndexFuncEXT_adr := GetFuncAdr('glIndexFuncEXT'); + public z_IndexFuncEXT_ovr_0 := GetFuncOrNil&(z_IndexFuncEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexFuncEXT(func: IndexFunctionEXT; ref: single); + begin + z_IndexFuncEXT_ovr_0(func, ref); + end; + + end; + + glIndexMaterialEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_IndexMaterialEXT_adr := GetFuncAdr('glIndexMaterialEXT'); + public z_IndexMaterialEXT_ovr_0 := GetFuncOrNil&(z_IndexMaterialEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexMaterialEXT(face: DummyEnum; mode: IndexMaterialParameterEXT); + begin + z_IndexMaterialEXT_ovr_0(face, mode); + end; + + end; + + glLightTextureEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ApplyTextureEXT_adr := GetFuncAdr('glApplyTextureEXT'); + public z_ApplyTextureEXT_ovr_0 := GetFuncOrNil&(z_ApplyTextureEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ApplyTextureEXT(mode: LightTextureModeEXT); + begin + z_ApplyTextureEXT_ovr_0(mode); + end; + + public z_TextureLightEXT_adr := GetFuncAdr('glTextureLightEXT'); + public z_TextureLightEXT_ovr_0 := GetFuncOrNil&(z_TextureLightEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureLightEXT(pname: LightTexturePNameEXT); + begin + z_TextureLightEXT_ovr_0(pname); + end; + + public z_TextureMaterialEXT_adr := GetFuncAdr('glTextureMaterialEXT'); + public z_TextureMaterialEXT_ovr_0 := GetFuncOrNil&(z_TextureMaterialEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureMaterialEXT(face: DummyEnum; mode: MaterialParameter); + begin + z_TextureMaterialEXT_ovr_0(face, mode); + end; + + end; + + glMemoryObjectEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetUnsignedBytevEXT_adr := GetFuncAdr('glGetUnsignedBytevEXT'); + public z_GetUnsignedBytevEXT_ovr_0 := GetFuncOrNil&(z_GetUnsignedBytevEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: GetPName; data: array of Byte); + begin + z_GetUnsignedBytevEXT_ovr_0(pname, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: GetPName; var data: Byte); + begin + z_GetUnsignedBytevEXT_ovr_0(pname, data); + end; + public z_GetUnsignedBytevEXT_ovr_2 := GetFuncOrNil&(z_GetUnsignedBytevEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: GetPName; data: IntPtr); + begin + z_GetUnsignedBytevEXT_ovr_2(pname, data); + end; + + public z_GetUnsignedBytei_vEXT_adr := GetFuncAdr('glGetUnsignedBytei_vEXT'); + public z_GetUnsignedBytei_vEXT_ovr_0 := GetFuncOrNil&(z_GetUnsignedBytei_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; data: array of Byte); + begin + z_GetUnsignedBytei_vEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; var data: Byte); + begin + z_GetUnsignedBytei_vEXT_ovr_0(target, index, data); + end; + public z_GetUnsignedBytei_vEXT_ovr_2 := GetFuncOrNil&(z_GetUnsignedBytei_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetUnsignedBytei_vEXT_ovr_2(target, index, data); + end; + + public z_DeleteMemoryObjectsEXT_adr := GetFuncAdr('glDeleteMemoryObjectsEXT'); + public z_DeleteMemoryObjectsEXT_ovr_0 := GetFuncOrNil&(z_DeleteMemoryObjectsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteMemoryObjectsEXT(n: Int32; memoryObjects: array of UInt32); + begin + z_DeleteMemoryObjectsEXT_ovr_0(n, memoryObjects[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteMemoryObjectsEXT(n: Int32; var memoryObjects: UInt32); + begin + z_DeleteMemoryObjectsEXT_ovr_0(n, memoryObjects); + end; + public z_DeleteMemoryObjectsEXT_ovr_2 := GetFuncOrNil&(z_DeleteMemoryObjectsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteMemoryObjectsEXT(n: Int32; memoryObjects: IntPtr); + begin + z_DeleteMemoryObjectsEXT_ovr_2(n, memoryObjects); + end; + + public z_IsMemoryObjectEXT_adr := GetFuncAdr('glIsMemoryObjectEXT'); + public z_IsMemoryObjectEXT_ovr_0 := GetFuncOrNil&(z_IsMemoryObjectEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsMemoryObjectEXT(memoryObject: UInt32): boolean; + begin + Result := z_IsMemoryObjectEXT_ovr_0(memoryObject); + end; + + public z_CreateMemoryObjectsEXT_adr := GetFuncAdr('glCreateMemoryObjectsEXT'); + public z_CreateMemoryObjectsEXT_ovr_0 := GetFuncOrNil&(z_CreateMemoryObjectsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateMemoryObjectsEXT(n: Int32; memoryObjects: array of UInt32); + begin + z_CreateMemoryObjectsEXT_ovr_0(n, memoryObjects[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateMemoryObjectsEXT(n: Int32; var memoryObjects: UInt32); + begin + z_CreateMemoryObjectsEXT_ovr_0(n, memoryObjects); + end; + public z_CreateMemoryObjectsEXT_ovr_2 := GetFuncOrNil&(z_CreateMemoryObjectsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateMemoryObjectsEXT(n: Int32; memoryObjects: IntPtr); + begin + z_CreateMemoryObjectsEXT_ovr_2(n, memoryObjects); + end; + + public z_MemoryObjectParameterivEXT_adr := GetFuncAdr('glMemoryObjectParameterivEXT'); + public z_MemoryObjectParameterivEXT_ovr_0 := GetFuncOrNil&(z_MemoryObjectParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryObjectParameterivEXT(memoryObject: UInt32; pname: MemoryObjectParameterName; ¶ms: array of Int32); + begin + z_MemoryObjectParameterivEXT_ovr_0(memoryObject, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryObjectParameterivEXT(memoryObject: UInt32; pname: MemoryObjectParameterName; var ¶ms: Int32); + begin + z_MemoryObjectParameterivEXT_ovr_0(memoryObject, pname, ¶ms); + end; + public z_MemoryObjectParameterivEXT_ovr_2 := GetFuncOrNil&(z_MemoryObjectParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryObjectParameterivEXT(memoryObject: UInt32; pname: MemoryObjectParameterName; ¶ms: IntPtr); + begin + z_MemoryObjectParameterivEXT_ovr_2(memoryObject, pname, ¶ms); + end; + + public z_GetMemoryObjectParameterivEXT_adr := GetFuncAdr('glGetMemoryObjectParameterivEXT'); + public z_GetMemoryObjectParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetMemoryObjectParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectParameterivEXT(memoryObject: UInt32; pname: MemoryObjectParameterName; ¶ms: array of Int32); + begin + z_GetMemoryObjectParameterivEXT_ovr_0(memoryObject, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectParameterivEXT(memoryObject: UInt32; pname: MemoryObjectParameterName; var ¶ms: Int32); + begin + z_GetMemoryObjectParameterivEXT_ovr_0(memoryObject, pname, ¶ms); + end; + public z_GetMemoryObjectParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetMemoryObjectParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectParameterivEXT(memoryObject: UInt32; pname: MemoryObjectParameterName; ¶ms: IntPtr); + begin + z_GetMemoryObjectParameterivEXT_ovr_2(memoryObject, pname, ¶ms); + end; + + public z_TexStorageMem2DEXT_adr := GetFuncAdr('glTexStorageMem2DEXT'); + public z_TexStorageMem2DEXT_ovr_0 := GetFuncOrNil&(z_TexStorageMem2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem2DEXT(target: TextureTarget; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; memory: UInt32; offset: UInt64); + begin + z_TexStorageMem2DEXT_ovr_0(target, levels, internalFormat, width, height, memory, offset); + end; + + public z_TexStorageMem2DMultisampleEXT_adr := GetFuncAdr('glTexStorageMem2DMultisampleEXT'); + public z_TexStorageMem2DMultisampleEXT_ovr_0 := GetFuncOrNil&(z_TexStorageMem2DMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem2DMultisampleEXT(target: TextureTarget; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64); + begin + z_TexStorageMem2DMultisampleEXT_ovr_0(target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); + end; + + public z_TexStorageMem3DEXT_adr := GetFuncAdr('glTexStorageMem3DEXT'); + public z_TexStorageMem3DEXT_ovr_0 := GetFuncOrNil&(z_TexStorageMem3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem3DEXT(target: TextureTarget; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; memory: UInt32; offset: UInt64); + begin + z_TexStorageMem3DEXT_ovr_0(target, levels, internalFormat, width, height, depth, memory, offset); + end; + + public z_TexStorageMem3DMultisampleEXT_adr := GetFuncAdr('glTexStorageMem3DMultisampleEXT'); + public z_TexStorageMem3DMultisampleEXT_ovr_0 := GetFuncOrNil&(z_TexStorageMem3DMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem3DMultisampleEXT(target: TextureTarget; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64); + begin + z_TexStorageMem3DMultisampleEXT_ovr_0(target, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); + end; + + public z_BufferStorageMemEXT_adr := GetFuncAdr('glBufferStorageMemEXT'); + public z_BufferStorageMemEXT_ovr_0 := GetFuncOrNil&(z_BufferStorageMemEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferStorageMemEXT(target: BufferTargetARB; size: IntPtr; memory: UInt32; offset: UInt64); + begin + z_BufferStorageMemEXT_ovr_0(target, size, memory, offset); + end; + + public z_TextureStorageMem2DEXT_adr := GetFuncAdr('glTextureStorageMem2DEXT'); + public z_TextureStorageMem2DEXT_ovr_0 := GetFuncOrNil&(z_TextureStorageMem2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem2DEXT(texture: UInt32; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; memory: UInt32; offset: UInt64); + begin + z_TextureStorageMem2DEXT_ovr_0(texture, levels, internalFormat, width, height, memory, offset); + end; + + public z_TextureStorageMem2DMultisampleEXT_adr := GetFuncAdr('glTextureStorageMem2DMultisampleEXT'); + public z_TextureStorageMem2DMultisampleEXT_ovr_0 := GetFuncOrNil&(z_TextureStorageMem2DMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem2DMultisampleEXT(texture: UInt32; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64); + begin + z_TextureStorageMem2DMultisampleEXT_ovr_0(texture, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); + end; + + public z_TextureStorageMem3DEXT_adr := GetFuncAdr('glTextureStorageMem3DEXT'); + public z_TextureStorageMem3DEXT_ovr_0 := GetFuncOrNil&(z_TextureStorageMem3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem3DEXT(texture: UInt32; levels: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; memory: UInt32; offset: UInt64); + begin + z_TextureStorageMem3DEXT_ovr_0(texture, levels, internalFormat, width, height, depth, memory, offset); + end; + + public z_TextureStorageMem3DMultisampleEXT_adr := GetFuncAdr('glTextureStorageMem3DMultisampleEXT'); + public z_TextureStorageMem3DMultisampleEXT_ovr_0 := GetFuncOrNil&(z_TextureStorageMem3DMultisampleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem3DMultisampleEXT(texture: UInt32; samples: Int32; internalFormat: DummyEnum; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean; memory: UInt32; offset: UInt64); + begin + z_TextureStorageMem3DMultisampleEXT_ovr_0(texture, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); + end; + + public z_NamedBufferStorageMemEXT_adr := GetFuncAdr('glNamedBufferStorageMemEXT'); + public z_NamedBufferStorageMemEXT_ovr_0 := GetFuncOrNil&(z_NamedBufferStorageMemEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferStorageMemEXT(buffer: UInt32; size: IntPtr; memory: UInt32; offset: UInt64); + begin + z_NamedBufferStorageMemEXT_ovr_0(buffer, size, memory, offset); + end; + + public z_TexStorageMem1DEXT_adr := GetFuncAdr('glTexStorageMem1DEXT'); + public z_TexStorageMem1DEXT_ovr_0 := GetFuncOrNil&(z_TexStorageMem1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexStorageMem1DEXT(target: TextureTarget; levels: Int32; internalFormat: DummyEnum; width: Int32; memory: UInt32; offset: UInt64); + begin + z_TexStorageMem1DEXT_ovr_0(target, levels, internalFormat, width, memory, offset); + end; + + public z_TextureStorageMem1DEXT_adr := GetFuncAdr('glTextureStorageMem1DEXT'); + public z_TextureStorageMem1DEXT_ovr_0 := GetFuncOrNil&(z_TextureStorageMem1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureStorageMem1DEXT(texture: UInt32; levels: Int32; internalFormat: DummyEnum; width: Int32; memory: UInt32; offset: UInt64); + begin + z_TextureStorageMem1DEXT_ovr_0(texture, levels, internalFormat, width, memory, offset); + end; + + end; + + glMemoryObjectFdEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ImportMemoryFdEXT_adr := GetFuncAdr('glImportMemoryFdEXT'); + public z_ImportMemoryFdEXT_ovr_0 := GetFuncOrNil&(z_ImportMemoryFdEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportMemoryFdEXT(memory: UInt32; size: UInt64; handleType: ExternalHandleType; fd: Int32); + begin + z_ImportMemoryFdEXT_ovr_0(memory, size, handleType, fd); + end; + + end; + + glMemoryObjectWin32EXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ImportMemoryWin32HandleEXT_adr := GetFuncAdr('glImportMemoryWin32HandleEXT'); + public z_ImportMemoryWin32HandleEXT_ovr_0 := GetFuncOrNil&(z_ImportMemoryWin32HandleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportMemoryWin32HandleEXT(memory: UInt32; size: UInt64; handleType: ExternalHandleType; handle: IntPtr); + begin + z_ImportMemoryWin32HandleEXT_ovr_0(memory, size, handleType, handle); + end; + + public z_ImportMemoryWin32NameEXT_adr := GetFuncAdr('glImportMemoryWin32NameEXT'); + public z_ImportMemoryWin32NameEXT_ovr_0 := GetFuncOrNil&(z_ImportMemoryWin32NameEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportMemoryWin32NameEXT(memory: UInt32; size: UInt64; handleType: ExternalHandleType; name: IntPtr); + begin + z_ImportMemoryWin32NameEXT_ovr_0(memory, size, handleType, name); + end; + + end; + + glMultiDrawArraysEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiDrawArraysEXT_adr := GetFuncAdr('glMultiDrawArraysEXT'); + public z_MultiDrawArraysEXT_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; first: array of Int32; count: array of Int32; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_0(mode, first[0], count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; first: array of Int32; var count: Int32; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_0(mode, first[0], count, primcount); + end; + public z_MultiDrawArraysEXT_ovr_2 := GetFuncOrNil&(z_MultiDrawArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; first: array of Int32; count: IntPtr; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_2(mode, first[0], count, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; var first: Int32; count: array of Int32; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_0(mode, first, count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; var first: Int32; var count: Int32; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_0(mode, first, count, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; var first: Int32; count: IntPtr; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_2(mode, first, count, primcount); + end; + public z_MultiDrawArraysEXT_ovr_6 := GetFuncOrNil&(z_MultiDrawArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; first: IntPtr; count: array of Int32; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_6(mode, first, count[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; first: IntPtr; var count: Int32; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_6(mode, first, count, primcount); + end; + public z_MultiDrawArraysEXT_ovr_8 := GetFuncOrNil&(z_MultiDrawArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysEXT(mode: PrimitiveType; first: IntPtr; count: IntPtr; primcount: Int32); + begin + z_MultiDrawArraysEXT_ovr_8(mode, first, count, primcount); + end; + + public z_MultiDrawElementsEXT_adr := GetFuncAdr('glMultiDrawElementsEXT'); + public z_MultiDrawElementsEXT_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_0(mode, count[0], &type, indices[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_0(mode, count[0], &type, indices, primcount); + end; + public z_MultiDrawElementsEXT_ovr_2 := GetFuncOrNil&(z_MultiDrawElementsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_2(mode, count[0], &type, indices, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_0(mode, count, &type, indices[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_0(mode, count, &type, indices, primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_2(mode, count, &type, indices, primcount); + end; + public z_MultiDrawElementsEXT_ovr_6 := GetFuncOrNil&(z_MultiDrawElementsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_6(mode, count, &type, indices[0], primcount); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_6(mode, count, &type, indices, primcount); + end; + public z_MultiDrawElementsEXT_ovr_8 := GetFuncOrNil&(z_MultiDrawElementsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsEXT(mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; primcount: Int32); + begin + z_MultiDrawElementsEXT_ovr_8(mode, count, &type, indices, primcount); + end; + + end; + + glMultisampleEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SampleMaskEXT_adr := GetFuncAdr('glSampleMaskEXT'); + public z_SampleMaskEXT_ovr_0 := GetFuncOrNil&(z_SampleMaskEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaskEXT(value: single; invert: boolean); + begin + z_SampleMaskEXT_ovr_0(value, invert); + end; + + public z_SamplePatternEXT_adr := GetFuncAdr('glSamplePatternEXT'); + public z_SamplePatternEXT_ovr_0 := GetFuncOrNil&(z_SamplePatternEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplePatternEXT(pattern: OpenGL.SamplePatternEXT); + begin + z_SamplePatternEXT_ovr_0(pattern); + end; + + end; + + glPalettedTextureEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ColorTableEXT_adr := GetFuncAdr('glColorTableEXT'); + public z_ColorTableEXT_ovr_0 := GetFuncOrNil&(z_ColorTableEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableEXT(target: ColorTableTarget; _internalFormat: InternalFormat; width: Int32; format: PixelFormat; &type: PixelType; table: IntPtr); + begin + z_ColorTableEXT_ovr_0(target, _internalFormat, width, format, &type, table); + end; + + public z_GetColorTableEXT_adr := GetFuncAdr('glGetColorTableEXT'); + public z_GetColorTableEXT_ovr_0 := GetFuncOrNil&(z_GetColorTableEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableEXT(target: ColorTableTarget; format: PixelFormat; &type: PixelType; data: IntPtr); + begin + z_GetColorTableEXT_ovr_0(target, format, &type, data); + end; + + public z_GetColorTableParameterivEXT_adr := GetFuncAdr('glGetColorTableParameterivEXT'); + public z_GetColorTableParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetColorTableParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivEXT(target: ColorTableTarget; pname: GetColorTableParameterPNameSGI; ¶ms: array of Int32); + begin + z_GetColorTableParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivEXT(target: ColorTableTarget; pname: GetColorTableParameterPNameSGI; var ¶ms: Int32); + begin + z_GetColorTableParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetColorTableParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetColorTableParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivEXT(target: ColorTableTarget; pname: GetColorTableParameterPNameSGI; ¶ms: IntPtr); + begin + z_GetColorTableParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetColorTableParameterfvEXT_adr := GetFuncAdr('glGetColorTableParameterfvEXT'); + public z_GetColorTableParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetColorTableParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvEXT(target: ColorTableTarget; pname: GetColorTableParameterPNameSGI; ¶ms: array of single); + begin + z_GetColorTableParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvEXT(target: ColorTableTarget; pname: GetColorTableParameterPNameSGI; var ¶ms: single); + begin + z_GetColorTableParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetColorTableParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetColorTableParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvEXT(target: ColorTableTarget; pname: GetColorTableParameterPNameSGI; ¶ms: IntPtr); + begin + z_GetColorTableParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + end; + + glPixelTransformEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PixelTransformParameteriEXT_adr := GetFuncAdr('glPixelTransformParameteriEXT'); + public z_PixelTransformParameteriEXT_ovr_0 := GetFuncOrNil&(z_PixelTransformParameteriEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameteriEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; param: Int32); + begin + z_PixelTransformParameteriEXT_ovr_0(target, pname, param); + end; + + public z_PixelTransformParameterfEXT_adr := GetFuncAdr('glPixelTransformParameterfEXT'); + public z_PixelTransformParameterfEXT_ovr_0 := GetFuncOrNil&(z_PixelTransformParameterfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; param: single); + begin + z_PixelTransformParameterfEXT_ovr_0(target, pname, param); + end; + + public z_PixelTransformParameterivEXT_adr := GetFuncAdr('glPixelTransformParameterivEXT'); + public z_PixelTransformParameterivEXT_ovr_0 := GetFuncOrNil&(z_PixelTransformParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; ¶ms: array of Int32); + begin + z_PixelTransformParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; var ¶ms: Int32); + begin + z_PixelTransformParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_PixelTransformParameterivEXT_ovr_2 := GetFuncOrNil&(z_PixelTransformParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterivEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; ¶ms: IntPtr); + begin + z_PixelTransformParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_PixelTransformParameterfvEXT_adr := GetFuncAdr('glPixelTransformParameterfvEXT'); + public z_PixelTransformParameterfvEXT_ovr_0 := GetFuncOrNil&(z_PixelTransformParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; ¶ms: array of single); + begin + z_PixelTransformParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; var ¶ms: single); + begin + z_PixelTransformParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_PixelTransformParameterfvEXT_ovr_2 := GetFuncOrNil&(z_PixelTransformParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransformParameterfvEXT(target: PixelTransformTargetEXT; pname: PixelTransformPNameEXT; ¶ms: IntPtr); + begin + z_PixelTransformParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetPixelTransformParameterivEXT_adr := GetFuncAdr('glGetPixelTransformParameterivEXT'); + public z_GetPixelTransformParameterivEXT_ovr_0 := GetFuncOrNil&(z_GetPixelTransformParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetPixelTransformParameterivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetPixelTransformParameterivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetPixelTransformParameterivEXT_ovr_2 := GetFuncOrNil&(z_GetPixelTransformParameterivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterivEXT(target: DummyEnum; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetPixelTransformParameterivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetPixelTransformParameterfvEXT_adr := GetFuncAdr('glGetPixelTransformParameterfvEXT'); + public z_GetPixelTransformParameterfvEXT_ovr_0 := GetFuncOrNil&(z_GetPixelTransformParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: array of single); + begin + z_GetPixelTransformParameterfvEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; var ¶ms: single); + begin + z_GetPixelTransformParameterfvEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetPixelTransformParameterfvEXT_ovr_2 := GetFuncOrNil&(z_GetPixelTransformParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTransformParameterfvEXT(target: DummyEnum; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetPixelTransformParameterfvEXT_ovr_2(target, pname, ¶ms); + end; + + end; + + glPointParametersEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PointParameterfEXT_adr := GetFuncAdr('glPointParameterfEXT'); + public z_PointParameterfEXT_ovr_0 := GetFuncOrNil&(z_PointParameterfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfEXT(pname: PointParameterNameARB; param: single); + begin + z_PointParameterfEXT_ovr_0(pname, param); + end; + + public z_PointParameterfvEXT_adr := GetFuncAdr('glPointParameterfvEXT'); + public z_PointParameterfvEXT_ovr_0 := GetFuncOrNil&(z_PointParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvEXT(pname: PointParameterNameARB; ¶ms: array of single); + begin + z_PointParameterfvEXT_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvEXT(pname: PointParameterNameARB; var ¶ms: single); + begin + z_PointParameterfvEXT_ovr_0(pname, ¶ms); + end; + public z_PointParameterfvEXT_ovr_2 := GetFuncOrNil&(z_PointParameterfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvEXT(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameterfvEXT_ovr_2(pname, ¶ms); + end; + + end; + + glPolygonOffsetEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PolygonOffsetEXT_adr := GetFuncAdr('glPolygonOffsetEXT'); + public z_PolygonOffsetEXT_ovr_0 := GetFuncOrNil&(z_PolygonOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetEXT(factor: single; bias: single); + begin + z_PolygonOffsetEXT_ovr_0(factor, bias); + end; + + end; + + glPolygonOffsetClampEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PolygonOffsetClampEXT_adr := GetFuncAdr('glPolygonOffsetClampEXT'); + public z_PolygonOffsetClampEXT_ovr_0 := GetFuncOrNil&(z_PolygonOffsetClampEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetClampEXT(factor: single; units: single; clamp: single); + begin + z_PolygonOffsetClampEXT_ovr_0(factor, units, clamp); + end; + + end; + + glProvokingVertexEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProvokingVertexEXT_adr := GetFuncAdr('glProvokingVertexEXT'); + public z_ProvokingVertexEXT_ovr_0 := GetFuncOrNil&(z_ProvokingVertexEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProvokingVertexEXT(mode: VertexProvokingMode); + begin + z_ProvokingVertexEXT_ovr_0(mode); + end; + + end; + + glRasterMultisampleEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_RasterSamplesEXT_adr := GetFuncAdr('glRasterSamplesEXT'); + public z_RasterSamplesEXT_ovr_0 := GetFuncOrNil&(z_RasterSamplesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterSamplesEXT(samples: UInt32; fixedsamplelocations: boolean); + begin + z_RasterSamplesEXT_ovr_0(samples, fixedsamplelocations); + end; + + end; + + glSemaphoreEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetUnsignedBytevEXT_adr := GetFuncAdr('glGetUnsignedBytevEXT'); + public z_GetUnsignedBytevEXT_ovr_0 := GetFuncOrNil&(z_GetUnsignedBytevEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: GetPName; data: array of Byte); + begin + z_GetUnsignedBytevEXT_ovr_0(pname, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: GetPName; var data: Byte); + begin + z_GetUnsignedBytevEXT_ovr_0(pname, data); + end; + public z_GetUnsignedBytevEXT_ovr_2 := GetFuncOrNil&(z_GetUnsignedBytevEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytevEXT(pname: GetPName; data: IntPtr); + begin + z_GetUnsignedBytevEXT_ovr_2(pname, data); + end; + + public z_GetUnsignedBytei_vEXT_adr := GetFuncAdr('glGetUnsignedBytei_vEXT'); + public z_GetUnsignedBytei_vEXT_ovr_0 := GetFuncOrNil&(z_GetUnsignedBytei_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; data: array of Byte); + begin + z_GetUnsignedBytei_vEXT_ovr_0(target, index, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; var data: Byte); + begin + z_GetUnsignedBytei_vEXT_ovr_0(target, index, data); + end; + public z_GetUnsignedBytei_vEXT_ovr_2 := GetFuncOrNil&(z_GetUnsignedBytei_vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUnsignedBytei_vEXT(target: DummyEnum; index: UInt32; data: IntPtr); + begin + z_GetUnsignedBytei_vEXT_ovr_2(target, index, data); + end; + + public z_GenSemaphoresEXT_adr := GetFuncAdr('glGenSemaphoresEXT'); + public z_GenSemaphoresEXT_ovr_0 := GetFuncOrNil&(z_GenSemaphoresEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSemaphoresEXT(n: Int32; semaphores: array of UInt32); + begin + z_GenSemaphoresEXT_ovr_0(n, semaphores[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSemaphoresEXT(n: Int32; var semaphores: UInt32); + begin + z_GenSemaphoresEXT_ovr_0(n, semaphores); + end; + public z_GenSemaphoresEXT_ovr_2 := GetFuncOrNil&(z_GenSemaphoresEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenSemaphoresEXT(n: Int32; semaphores: IntPtr); + begin + z_GenSemaphoresEXT_ovr_2(n, semaphores); + end; + + public z_DeleteSemaphoresEXT_adr := GetFuncAdr('glDeleteSemaphoresEXT'); + public z_DeleteSemaphoresEXT_ovr_0 := GetFuncOrNil&(z_DeleteSemaphoresEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSemaphoresEXT(n: Int32; semaphores: array of UInt32); + begin + z_DeleteSemaphoresEXT_ovr_0(n, semaphores[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSemaphoresEXT(n: Int32; var semaphores: UInt32); + begin + z_DeleteSemaphoresEXT_ovr_0(n, semaphores); + end; + public z_DeleteSemaphoresEXT_ovr_2 := GetFuncOrNil&(z_DeleteSemaphoresEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteSemaphoresEXT(n: Int32; semaphores: IntPtr); + begin + z_DeleteSemaphoresEXT_ovr_2(n, semaphores); + end; + + public z_IsSemaphoreEXT_adr := GetFuncAdr('glIsSemaphoreEXT'); + public z_IsSemaphoreEXT_ovr_0 := GetFuncOrNil&(z_IsSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsSemaphoreEXT(semaphore: UInt32): boolean; + begin + Result := z_IsSemaphoreEXT_ovr_0(semaphore); + end; + + public z_SemaphoreParameterui64vEXT_adr := GetFuncAdr('glSemaphoreParameterui64vEXT'); + public z_SemaphoreParameterui64vEXT_ovr_0 := GetFuncOrNil&(z_SemaphoreParameterui64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SemaphoreParameterui64vEXT(semaphore: UInt32; pname: SemaphoreParameterName; ¶ms: array of UInt64); + begin + z_SemaphoreParameterui64vEXT_ovr_0(semaphore, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SemaphoreParameterui64vEXT(semaphore: UInt32; pname: SemaphoreParameterName; var ¶ms: UInt64); + begin + z_SemaphoreParameterui64vEXT_ovr_0(semaphore, pname, ¶ms); + end; + public z_SemaphoreParameterui64vEXT_ovr_2 := GetFuncOrNil&(z_SemaphoreParameterui64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SemaphoreParameterui64vEXT(semaphore: UInt32; pname: SemaphoreParameterName; ¶ms: IntPtr); + begin + z_SemaphoreParameterui64vEXT_ovr_2(semaphore, pname, ¶ms); + end; + + public z_GetSemaphoreParameterui64vEXT_adr := GetFuncAdr('glGetSemaphoreParameterui64vEXT'); + public z_GetSemaphoreParameterui64vEXT_ovr_0 := GetFuncOrNil&(z_GetSemaphoreParameterui64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSemaphoreParameterui64vEXT(semaphore: UInt32; pname: SemaphoreParameterName; ¶ms: array of UInt64); + begin + z_GetSemaphoreParameterui64vEXT_ovr_0(semaphore, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSemaphoreParameterui64vEXT(semaphore: UInt32; pname: SemaphoreParameterName; var ¶ms: UInt64); + begin + z_GetSemaphoreParameterui64vEXT_ovr_0(semaphore, pname, ¶ms); + end; + public z_GetSemaphoreParameterui64vEXT_ovr_2 := GetFuncOrNil&(z_GetSemaphoreParameterui64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSemaphoreParameterui64vEXT(semaphore: UInt32; pname: SemaphoreParameterName; ¶ms: IntPtr); + begin + z_GetSemaphoreParameterui64vEXT_ovr_2(semaphore, pname, ¶ms); + end; + + public z_WaitSemaphoreEXT_adr := GetFuncAdr('glWaitSemaphoreEXT'); + public z_WaitSemaphoreEXT_ovr_0 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures[0], srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures[0], srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_2 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures[0], srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_6 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: IntPtr; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: IntPtr; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_8 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: IntPtr; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_8(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: IntPtr; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: IntPtr; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: IntPtr; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_8(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_18 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: array of UInt32; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_20 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: array of UInt32; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_20(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; var textures: UInt32; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; var textures: UInt32; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_20(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_24 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: IntPtr; srcLayouts: array of TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_24(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: IntPtr; var srcLayouts: TextureLayout); + begin + z_WaitSemaphoreEXT_ovr_24(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + public z_WaitSemaphoreEXT_ovr_26 := GetFuncOrNil&(z_WaitSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: IntPtr; srcLayouts: IntPtr); + begin + z_WaitSemaphoreEXT_ovr_26(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); + end; + + public z_SignalSemaphoreEXT_adr := GetFuncAdr('glSignalSemaphoreEXT'); + public z_SignalSemaphoreEXT_ovr_0 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures[0], dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures[0], dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_2 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures[0], dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_6 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: IntPtr; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: IntPtr; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_8 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: array of UInt32; numTextureBarriers: UInt32; textures: IntPtr; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_8(semaphore, numBufferBarriers, buffers[0], numTextureBarriers, textures, dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_0(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_2(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: IntPtr; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: IntPtr; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_6(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; var buffers: UInt32; numTextureBarriers: UInt32; textures: IntPtr; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_8(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_18 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: array of UInt32; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_20 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: array of UInt32; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_20(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures[0], dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; var textures: UInt32; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_18(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; var textures: UInt32; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_20(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_24 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: IntPtr; dstLayouts: array of TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_24(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: IntPtr; var dstLayouts: TextureLayout); + begin + z_SignalSemaphoreEXT_ovr_24(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + public z_SignalSemaphoreEXT_ovr_26 := GetFuncOrNil&(z_SignalSemaphoreEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreEXT(semaphore: UInt32; numBufferBarriers: UInt32; buffers: IntPtr; numTextureBarriers: UInt32; textures: IntPtr; dstLayouts: IntPtr); + begin + z_SignalSemaphoreEXT_ovr_26(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); + end; + + end; + + glSemaphoreFdEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ImportSemaphoreFdEXT_adr := GetFuncAdr('glImportSemaphoreFdEXT'); + public z_ImportSemaphoreFdEXT_ovr_0 := GetFuncOrNil&(z_ImportSemaphoreFdEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportSemaphoreFdEXT(semaphore: UInt32; handleType: ExternalHandleType; fd: Int32); + begin + z_ImportSemaphoreFdEXT_ovr_0(semaphore, handleType, fd); + end; + + end; + + glSemaphoreWin32EXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ImportSemaphoreWin32HandleEXT_adr := GetFuncAdr('glImportSemaphoreWin32HandleEXT'); + public z_ImportSemaphoreWin32HandleEXT_ovr_0 := GetFuncOrNil&(z_ImportSemaphoreWin32HandleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportSemaphoreWin32HandleEXT(semaphore: UInt32; handleType: ExternalHandleType; handle: IntPtr); + begin + z_ImportSemaphoreWin32HandleEXT_ovr_0(semaphore, handleType, handle); + end; + + public z_ImportSemaphoreWin32NameEXT_adr := GetFuncAdr('glImportSemaphoreWin32NameEXT'); + public z_ImportSemaphoreWin32NameEXT_ovr_0 := GetFuncOrNil&(z_ImportSemaphoreWin32NameEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImportSemaphoreWin32NameEXT(semaphore: UInt32; handleType: ExternalHandleType; name: IntPtr); + begin + z_ImportSemaphoreWin32NameEXT_ovr_0(semaphore, handleType, name); + end; + + end; + + glSecondaryColorEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SecondaryColor3bEXT_adr := GetFuncAdr('glSecondaryColor3bEXT'); + public z_SecondaryColor3bEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3bEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bEXT(red: SByte; green: SByte; blue: SByte); + begin + z_SecondaryColor3bEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3bvEXT_adr := GetFuncAdr('glSecondaryColor3bvEXT'); + public z_SecondaryColor3bvEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3bvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bvEXT(v: array of SByte); + begin + z_SecondaryColor3bvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bvEXT(var v: SByte); + begin + z_SecondaryColor3bvEXT_ovr_0(v); + end; + public z_SecondaryColor3bvEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3bvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3bvEXT(v: IntPtr); + begin + z_SecondaryColor3bvEXT_ovr_2(v); + end; + + public z_SecondaryColor3dEXT_adr := GetFuncAdr('glSecondaryColor3dEXT'); + public z_SecondaryColor3dEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dEXT(red: real; green: real; blue: real); + begin + z_SecondaryColor3dEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3dvEXT_adr := GetFuncAdr('glSecondaryColor3dvEXT'); + public z_SecondaryColor3dvEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dvEXT(v: array of real); + begin + z_SecondaryColor3dvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dvEXT(var v: real); + begin + z_SecondaryColor3dvEXT_ovr_0(v); + end; + public z_SecondaryColor3dvEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3dvEXT(v: IntPtr); + begin + z_SecondaryColor3dvEXT_ovr_2(v); + end; + + public z_SecondaryColor3fEXT_adr := GetFuncAdr('glSecondaryColor3fEXT'); + public z_SecondaryColor3fEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3fEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fEXT(red: single; green: single; blue: single); + begin + z_SecondaryColor3fEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3fvEXT_adr := GetFuncAdr('glSecondaryColor3fvEXT'); + public z_SecondaryColor3fvEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fvEXT(v: array of single); + begin + z_SecondaryColor3fvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fvEXT(var v: single); + begin + z_SecondaryColor3fvEXT_ovr_0(v); + end; + public z_SecondaryColor3fvEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3fvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3fvEXT(v: IntPtr); + begin + z_SecondaryColor3fvEXT_ovr_2(v); + end; + + public z_SecondaryColor3iEXT_adr := GetFuncAdr('glSecondaryColor3iEXT'); + public z_SecondaryColor3iEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3iEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3iEXT(red: Int32; green: Int32; blue: Int32); + begin + z_SecondaryColor3iEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3ivEXT_adr := GetFuncAdr('glSecondaryColor3ivEXT'); + public z_SecondaryColor3ivEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ivEXT(v: array of Int32); + begin + z_SecondaryColor3ivEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ivEXT(var v: Int32); + begin + z_SecondaryColor3ivEXT_ovr_0(v); + end; + public z_SecondaryColor3ivEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3ivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ivEXT(v: IntPtr); + begin + z_SecondaryColor3ivEXT_ovr_2(v); + end; + + public z_SecondaryColor3sEXT_adr := GetFuncAdr('glSecondaryColor3sEXT'); + public z_SecondaryColor3sEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3sEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3sEXT(red: Int16; green: Int16; blue: Int16); + begin + z_SecondaryColor3sEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3svEXT_adr := GetFuncAdr('glSecondaryColor3svEXT'); + public z_SecondaryColor3svEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3svEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3svEXT(v: array of Int16); + begin + z_SecondaryColor3svEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3svEXT(var v: Int16); + begin + z_SecondaryColor3svEXT_ovr_0(v); + end; + public z_SecondaryColor3svEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3svEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3svEXT(v: IntPtr); + begin + z_SecondaryColor3svEXT_ovr_2(v); + end; + + public z_SecondaryColor3ubEXT_adr := GetFuncAdr('glSecondaryColor3ubEXT'); + public z_SecondaryColor3ubEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3ubEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubEXT(red: Byte; green: Byte; blue: Byte); + begin + z_SecondaryColor3ubEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3ubvEXT_adr := GetFuncAdr('glSecondaryColor3ubvEXT'); + public z_SecondaryColor3ubvEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3ubvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubvEXT(v: array of Byte); + begin + z_SecondaryColor3ubvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubvEXT(var v: Byte); + begin + z_SecondaryColor3ubvEXT_ovr_0(v); + end; + public z_SecondaryColor3ubvEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3ubvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3ubvEXT(v: IntPtr); + begin + z_SecondaryColor3ubvEXT_ovr_2(v); + end; + + public z_SecondaryColor3uiEXT_adr := GetFuncAdr('glSecondaryColor3uiEXT'); + public z_SecondaryColor3uiEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3uiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uiEXT(red: UInt32; green: UInt32; blue: UInt32); + begin + z_SecondaryColor3uiEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3uivEXT_adr := GetFuncAdr('glSecondaryColor3uivEXT'); + public z_SecondaryColor3uivEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uivEXT(v: array of UInt32); + begin + z_SecondaryColor3uivEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uivEXT(var v: UInt32); + begin + z_SecondaryColor3uivEXT_ovr_0(v); + end; + public z_SecondaryColor3uivEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3uivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3uivEXT(v: IntPtr); + begin + z_SecondaryColor3uivEXT_ovr_2(v); + end; + + public z_SecondaryColor3usEXT_adr := GetFuncAdr('glSecondaryColor3usEXT'); + public z_SecondaryColor3usEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3usEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usEXT(red: UInt16; green: UInt16; blue: UInt16); + begin + z_SecondaryColor3usEXT_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3usvEXT_adr := GetFuncAdr('glSecondaryColor3usvEXT'); + public z_SecondaryColor3usvEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColor3usvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usvEXT(v: array of UInt16); + begin + z_SecondaryColor3usvEXT_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usvEXT(var v: UInt16); + begin + z_SecondaryColor3usvEXT_ovr_0(v); + end; + public z_SecondaryColor3usvEXT_ovr_2 := GetFuncOrNil&(z_SecondaryColor3usvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3usvEXT(v: IntPtr); + begin + z_SecondaryColor3usvEXT_ovr_2(v); + end; + + public z_SecondaryColorPointerEXT_adr := GetFuncAdr('glSecondaryColorPointerEXT'); + public z_SecondaryColorPointerEXT_ovr_0 := GetFuncOrNil&(z_SecondaryColorPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerEXT(size: Int32; &type: ColorPointerType; stride: Int32; pointer: IntPtr); + begin + z_SecondaryColorPointerEXT_ovr_0(size, &type, stride, pointer); + end; + + end; + + glSeparateShaderObjectsEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_UseShaderProgramEXT_adr := GetFuncAdr('glUseShaderProgramEXT'); + public z_UseShaderProgramEXT_ovr_0 := GetFuncOrNil&(z_UseShaderProgramEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UseShaderProgramEXT(&type: DummyEnum; &program: UInt32); + begin + z_UseShaderProgramEXT_ovr_0(&type, &program); + end; + + public z_ActiveProgramEXT_adr := GetFuncAdr('glActiveProgramEXT'); + public z_ActiveProgramEXT_ovr_0 := GetFuncOrNil&(z_ActiveProgramEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveProgramEXT(&program: UInt32); + begin + z_ActiveProgramEXT_ovr_0(&program); + end; + + public z_CreateShaderProgramEXT_adr := GetFuncAdr('glCreateShaderProgramEXT'); + public z_CreateShaderProgramEXT_ovr_0 := GetFuncOrNil&(z_CreateShaderProgramEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramEXT(&type: ShaderType; _string: string): UInt32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(_string); + Result := z_CreateShaderProgramEXT_ovr_0(&type, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateShaderProgramEXT(&type: ShaderType; _string: IntPtr): UInt32; + begin + Result := z_CreateShaderProgramEXT_ovr_0(&type, _string); + end; + + end; + + glShaderFramebufferFetchNonCoherentEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferFetchBarrierEXT_adr := GetFuncAdr('glFramebufferFetchBarrierEXT'); + public z_FramebufferFetchBarrierEXT_ovr_0 := GetFuncOrNil&(z_FramebufferFetchBarrierEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferFetchBarrierEXT; + begin + z_FramebufferFetchBarrierEXT_ovr_0; + end; + + end; + + glShaderImageLoadStoreEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BindImageTextureEXT_adr := GetFuncAdr('glBindImageTextureEXT'); + public z_BindImageTextureEXT_ovr_0 := GetFuncOrNil&(z_BindImageTextureEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindImageTextureEXT(index: UInt32; texture: UInt32; level: Int32; layered: boolean; layer: Int32; access: BufferAccessARB; format: Int32); + begin + z_BindImageTextureEXT_ovr_0(index, texture, level, layered, layer, access, format); + end; + + public z_MemoryBarrierEXT_adr := GetFuncAdr('glMemoryBarrierEXT'); + public z_MemoryBarrierEXT_ovr_0 := GetFuncOrNil&(z_MemoryBarrierEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MemoryBarrierEXT(barriers: MemoryBarrierMask); + begin + z_MemoryBarrierEXT_ovr_0(barriers); + end; + + end; + + glStencilClearTagEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_StencilClearTagEXT_adr := GetFuncAdr('glStencilClearTagEXT'); + public z_StencilClearTagEXT_ovr_0 := GetFuncOrNil&(z_StencilClearTagEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilClearTagEXT(stencilTagBits: Int32; stencilClearTag: UInt32); + begin + z_StencilClearTagEXT_ovr_0(stencilTagBits, stencilClearTag); + end; + + end; + + glStencilTwoSideEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ActiveStencilFaceEXT_adr := GetFuncAdr('glActiveStencilFaceEXT'); + public z_ActiveStencilFaceEXT_ovr_0 := GetFuncOrNil&(z_ActiveStencilFaceEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveStencilFaceEXT(face: StencilFaceDirection); + begin + z_ActiveStencilFaceEXT_ovr_0(face); + end; + + end; + + glSubtextureEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexSubImage1DEXT_adr := GetFuncAdr('glTexSubImage1DEXT'); + public z_TexSubImage1DEXT_ovr_0 := GetFuncOrNil&(z_TexSubImage1DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage1DEXT(target: TextureTarget; level: Int32; xoffset: Int32; width: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexSubImage1DEXT_ovr_0(target, level, xoffset, width, format, &type, pixels); + end; + + public z_TexSubImage2DEXT_adr := GetFuncAdr('glTexSubImage2DEXT'); + public z_TexSubImage2DEXT_ovr_0 := GetFuncOrNil&(z_TexSubImage2DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage2DEXT(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; width: Int32; height: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexSubImage2DEXT_ovr_0(target, level, xoffset, yoffset, width, height, format, &type, pixels); + end; + + end; + + glTexture3DEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexImage3DEXT_adr := GetFuncAdr('glTexImage3DEXT'); + public z_TexImage3DEXT_ovr_0 := GetFuncOrNil&(z_TexImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DEXT(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexImage3DEXT_ovr_0(target, level, _internalformat, width, height, depth, border, format, &type, pixels); + end; + + public z_TexSubImage3DEXT_adr := GetFuncAdr('glTexSubImage3DEXT'); + public z_TexSubImage3DEXT_ovr_0 := GetFuncOrNil&(z_TexSubImage3DEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage3DEXT(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; width: Int32; height: Int32; depth: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexSubImage3DEXT_ovr_0(target, level, xoffset, yoffset, zoffset, width, height, depth, format, &type, pixels); + end; + + end; + + glTextureArrayEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferTextureLayerEXT_adr := GetFuncAdr('glFramebufferTextureLayerEXT'); + public z_FramebufferTextureLayerEXT_ovr_0 := GetFuncOrNil&(z_FramebufferTextureLayerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureLayerEXT(target: FramebufferTarget; attachment: FramebufferAttachment; texture: UInt32; level: Int32; layer: Int32); + begin + z_FramebufferTextureLayerEXT_ovr_0(target, attachment, texture, level, layer); + end; + + end; + + glTextureBufferObjectEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexBufferEXT_adr := GetFuncAdr('glTexBufferEXT'); + public z_TexBufferEXT_ovr_0 := GetFuncOrNil&(z_TexBufferEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexBufferEXT(target: TextureTarget; _internalformat: InternalFormat; buffer: UInt32); + begin + z_TexBufferEXT_ovr_0(target, _internalformat, buffer); + end; + + end; + + glTextureIntegerEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexParameterIivEXT_adr := GetFuncAdr('glTexParameterIivEXT'); + public z_TexParameterIivEXT_ovr_0 := GetFuncOrNil&(z_TexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivEXT(target: TextureTarget; pname: TextureParameterName; ¶ms: array of Int32); + begin + z_TexParameterIivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivEXT(target: TextureTarget; pname: TextureParameterName; var ¶ms: Int32); + begin + z_TexParameterIivEXT_ovr_0(target, pname, ¶ms); + end; + public z_TexParameterIivEXT_ovr_2 := GetFuncOrNil&(z_TexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIivEXT(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TexParameterIivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_TexParameterIuivEXT_adr := GetFuncAdr('glTexParameterIuivEXT'); + public z_TexParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_TexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivEXT(target: TextureTarget; pname: TextureParameterName; ¶ms: array of UInt32); + begin + z_TexParameterIuivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivEXT(target: TextureTarget; pname: TextureParameterName; var ¶ms: UInt32); + begin + z_TexParameterIuivEXT_ovr_0(target, pname, ¶ms); + end; + public z_TexParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_TexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterIuivEXT(target: TextureTarget; pname: TextureParameterName; ¶ms: IntPtr); + begin + z_TexParameterIuivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetTexParameterIivEXT_adr := GetFuncAdr('glGetTexParameterIivEXT'); + public z_GetTexParameterIivEXT_ovr_0 := GetFuncOrNil&(z_GetTexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivEXT(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Int32); + begin + z_GetTexParameterIivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivEXT(target: TextureTarget; pname: GetTextureParameter; var ¶ms: Int32); + begin + z_GetTexParameterIivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetTexParameterIivEXT_ovr_2 := GetFuncOrNil&(z_GetTexParameterIivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIivEXT(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTexParameterIivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_GetTexParameterIuivEXT_adr := GetFuncAdr('glGetTexParameterIuivEXT'); + public z_GetTexParameterIuivEXT_ovr_0 := GetFuncOrNil&(z_GetTexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivEXT(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of UInt32); + begin + z_GetTexParameterIuivEXT_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivEXT(target: TextureTarget; pname: GetTextureParameter; var ¶ms: UInt32); + begin + z_GetTexParameterIuivEXT_ovr_0(target, pname, ¶ms); + end; + public z_GetTexParameterIuivEXT_ovr_2 := GetFuncOrNil&(z_GetTexParameterIuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterIuivEXT(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTexParameterIuivEXT_ovr_2(target, pname, ¶ms); + end; + + public z_ClearColorIiEXT_adr := GetFuncAdr('glClearColorIiEXT'); + public z_ClearColorIiEXT_ovr_0 := GetFuncOrNil&(z_ClearColorIiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColorIiEXT(red: Int32; green: Int32; blue: Int32; alpha: Int32); + begin + z_ClearColorIiEXT_ovr_0(red, green, blue, alpha); + end; + + public z_ClearColorIuiEXT_adr := GetFuncAdr('glClearColorIuiEXT'); + public z_ClearColorIuiEXT_ovr_0 := GetFuncOrNil&(z_ClearColorIuiEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColorIuiEXT(red: UInt32; green: UInt32; blue: UInt32; alpha: UInt32); + begin + z_ClearColorIuiEXT_ovr_0(red, green, blue, alpha); + end; + + end; + + glTextureObjectEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_AreTexturesResidentEXT_adr := GetFuncAdr('glAreTexturesResidentEXT'); + public z_AreTexturesResidentEXT_ovr_0 := GetFuncOrNil&(z_AreTexturesResidentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: array of UInt32; residences: array of boolean): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_0(n, textures[0], residences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: array of UInt32; var residences: boolean): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_0(n, textures[0], residences); + end; + public z_AreTexturesResidentEXT_ovr_2 := GetFuncOrNil&(z_AreTexturesResidentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: array of UInt32; residences: IntPtr): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_2(n, textures[0], residences); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; var textures: UInt32; residences: array of boolean): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_0(n, textures, residences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; var textures: UInt32; var residences: boolean): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_0(n, textures, residences); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; var textures: UInt32; residences: IntPtr): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_2(n, textures, residences); + end; + public z_AreTexturesResidentEXT_ovr_6 := GetFuncOrNil&(z_AreTexturesResidentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: IntPtr; residences: array of boolean): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_6(n, textures, residences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: IntPtr; var residences: boolean): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_6(n, textures, residences); + end; + public z_AreTexturesResidentEXT_ovr_8 := GetFuncOrNil&(z_AreTexturesResidentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreTexturesResidentEXT(n: Int32; textures: IntPtr; residences: IntPtr): boolean; + begin + Result := z_AreTexturesResidentEXT_ovr_8(n, textures, residences); + end; + + public z_BindTextureEXT_adr := GetFuncAdr('glBindTextureEXT'); + public z_BindTextureEXT_ovr_0 := GetFuncOrNil&(z_BindTextureEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTextureEXT(target: TextureTarget; texture: UInt32); + begin + z_BindTextureEXT_ovr_0(target, texture); + end; + + public z_DeleteTexturesEXT_adr := GetFuncAdr('glDeleteTexturesEXT'); + public z_DeleteTexturesEXT_ovr_0 := GetFuncOrNil&(z_DeleteTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTexturesEXT(n: Int32; textures: array of UInt32); + begin + z_DeleteTexturesEXT_ovr_0(n, textures[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTexturesEXT(n: Int32; var textures: UInt32); + begin + z_DeleteTexturesEXT_ovr_0(n, textures); + end; + public z_DeleteTexturesEXT_ovr_2 := GetFuncOrNil&(z_DeleteTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTexturesEXT(n: Int32; textures: IntPtr); + begin + z_DeleteTexturesEXT_ovr_2(n, textures); + end; + + public z_GenTexturesEXT_adr := GetFuncAdr('glGenTexturesEXT'); + public z_GenTexturesEXT_ovr_0 := GetFuncOrNil&(z_GenTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTexturesEXT(n: Int32; textures: array of UInt32); + begin + z_GenTexturesEXT_ovr_0(n, textures[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTexturesEXT(n: Int32; var textures: UInt32); + begin + z_GenTexturesEXT_ovr_0(n, textures); + end; + public z_GenTexturesEXT_ovr_2 := GetFuncOrNil&(z_GenTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTexturesEXT(n: Int32; textures: IntPtr); + begin + z_GenTexturesEXT_ovr_2(n, textures); + end; + + public z_IsTextureEXT_adr := GetFuncAdr('glIsTextureEXT'); + public z_IsTextureEXT_ovr_0 := GetFuncOrNil&(z_IsTextureEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTextureEXT(texture: UInt32): boolean; + begin + Result := z_IsTextureEXT_ovr_0(texture); + end; + + public z_PrioritizeTexturesEXT_adr := GetFuncAdr('glPrioritizeTexturesEXT'); + public z_PrioritizeTexturesEXT_ovr_0 := GetFuncOrNil&(z_PrioritizeTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: array of UInt32; priorities: array of single); + begin + z_PrioritizeTexturesEXT_ovr_0(n, textures[0], priorities[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: array of UInt32; var priorities: single); + begin + z_PrioritizeTexturesEXT_ovr_0(n, textures[0], priorities); + end; + public z_PrioritizeTexturesEXT_ovr_2 := GetFuncOrNil&(z_PrioritizeTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: array of UInt32; priorities: IntPtr); + begin + z_PrioritizeTexturesEXT_ovr_2(n, textures[0], priorities); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; var textures: UInt32; priorities: array of single); + begin + z_PrioritizeTexturesEXT_ovr_0(n, textures, priorities[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; var textures: UInt32; var priorities: single); + begin + z_PrioritizeTexturesEXT_ovr_0(n, textures, priorities); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; var textures: UInt32; priorities: IntPtr); + begin + z_PrioritizeTexturesEXT_ovr_2(n, textures, priorities); + end; + public z_PrioritizeTexturesEXT_ovr_6 := GetFuncOrNil&(z_PrioritizeTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: IntPtr; priorities: array of single); + begin + z_PrioritizeTexturesEXT_ovr_6(n, textures, priorities[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: IntPtr; var priorities: single); + begin + z_PrioritizeTexturesEXT_ovr_6(n, textures, priorities); + end; + public z_PrioritizeTexturesEXT_ovr_8 := GetFuncOrNil&(z_PrioritizeTexturesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesEXT(n: Int32; textures: IntPtr; priorities: IntPtr); + begin + z_PrioritizeTexturesEXT_ovr_8(n, textures, priorities); + end; + + end; + + glTexturePerturbNormalEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TextureNormalEXT_adr := GetFuncAdr('glTextureNormalEXT'); + public z_TextureNormalEXT_ovr_0 := GetFuncOrNil&(z_TextureNormalEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureNormalEXT(mode: TextureNormalModeEXT); + begin + z_TextureNormalEXT_ovr_0(mode); + end; + + end; + + glTimerQueryEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetQueryObjecti64vEXT_adr := GetFuncAdr('glGetQueryObjecti64vEXT'); + public z_GetQueryObjecti64vEXT_ovr_0 := GetFuncOrNil&(z_GetQueryObjecti64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64vEXT(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of Int64); + begin + z_GetQueryObjecti64vEXT_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64vEXT(id: UInt32; pname: QueryObjectParameterName; var ¶ms: Int64); + begin + z_GetQueryObjecti64vEXT_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjecti64vEXT_ovr_2 := GetFuncOrNil&(z_GetQueryObjecti64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjecti64vEXT(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjecti64vEXT_ovr_2(id, pname, ¶ms); + end; + + public z_GetQueryObjectui64vEXT_adr := GetFuncAdr('glGetQueryObjectui64vEXT'); + public z_GetQueryObjectui64vEXT_ovr_0 := GetFuncOrNil&(z_GetQueryObjectui64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64vEXT(id: UInt32; pname: QueryObjectParameterName; ¶ms: array of UInt64); + begin + z_GetQueryObjectui64vEXT_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64vEXT(id: UInt32; pname: QueryObjectParameterName; var ¶ms: UInt64); + begin + z_GetQueryObjectui64vEXT_ovr_0(id, pname, ¶ms); + end; + public z_GetQueryObjectui64vEXT_ovr_2 := GetFuncOrNil&(z_GetQueryObjectui64vEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetQueryObjectui64vEXT(id: UInt32; pname: QueryObjectParameterName; ¶ms: IntPtr); + begin + z_GetQueryObjectui64vEXT_ovr_2(id, pname, ¶ms); + end; + + end; + + glTransformFeedbackEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginTransformFeedbackEXT_adr := GetFuncAdr('glBeginTransformFeedbackEXT'); + public z_BeginTransformFeedbackEXT_ovr_0 := GetFuncOrNil&(z_BeginTransformFeedbackEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginTransformFeedbackEXT(primitiveMode: PrimitiveType); + begin + z_BeginTransformFeedbackEXT_ovr_0(primitiveMode); + end; + + public z_EndTransformFeedbackEXT_adr := GetFuncAdr('glEndTransformFeedbackEXT'); + public z_EndTransformFeedbackEXT_ovr_0 := GetFuncOrNil&(z_EndTransformFeedbackEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTransformFeedbackEXT; + begin + z_EndTransformFeedbackEXT_ovr_0; + end; + + public z_BindBufferRangeEXT_adr := GetFuncAdr('glBindBufferRangeEXT'); + public z_BindBufferRangeEXT_ovr_0 := GetFuncOrNil&(z_BindBufferRangeEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferRangeEXT(target: BufferTargetARB; index: UInt32; buffer: UInt32; offset: IntPtr; size: IntPtr); + begin + z_BindBufferRangeEXT_ovr_0(target, index, buffer, offset, size); + end; + + public z_BindBufferOffsetEXT_adr := GetFuncAdr('glBindBufferOffsetEXT'); + public z_BindBufferOffsetEXT_ovr_0 := GetFuncOrNil&(z_BindBufferOffsetEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferOffsetEXT(target: BufferTargetARB; index: UInt32; buffer: UInt32; offset: IntPtr); + begin + z_BindBufferOffsetEXT_ovr_0(target, index, buffer, offset); + end; + + public z_BindBufferBaseEXT_adr := GetFuncAdr('glBindBufferBaseEXT'); + public z_BindBufferBaseEXT_ovr_0 := GetFuncOrNil&(z_BindBufferBaseEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferBaseEXT(target: BufferTargetARB; index: UInt32; buffer: UInt32); + begin + z_BindBufferBaseEXT_ovr_0(target, index, buffer); + end; + + public z_TransformFeedbackVaryingsEXT_adr := GetFuncAdr('glTransformFeedbackVaryingsEXT'); + public z_TransformFeedbackVaryingsEXT_ovr_0 := GetFuncOrNil&(z_TransformFeedbackVaryingsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsEXT(&program: UInt32; count: Int32; varyings: array of string; bufferMode: DummyEnum); + begin + var par_3_str_ptr := varyings.ConvertAll(arr_el1->Marshal.StringToHGlobalAnsi(arr_el1)); + z_TransformFeedbackVaryingsEXT_ovr_0(&program, count, par_3_str_ptr[0], bufferMode); + foreach var arr_el1 in par_3_str_ptr do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsEXT(&program: UInt32; count: Int32; varyings: array of IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackVaryingsEXT_ovr_0(&program, count, varyings[0], bufferMode); + end; + public z_TransformFeedbackVaryingsEXT_ovr_2 := GetFuncOrNil&(z_TransformFeedbackVaryingsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsEXT(&program: UInt32; count: Int32; varyings: IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackVaryingsEXT_ovr_2(&program, count, varyings, bufferMode); + end; + + public z_GetTransformFeedbackVaryingEXT_adr := GetFuncAdr('glGetTransformFeedbackVaryingEXT'); + public z_GetTransformFeedbackVaryingEXT_ovr_0 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length[0], size[0], &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_2 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_2(&program, index, bufSize, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_2(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_6 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_6(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_6(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_8 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_8(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_2(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_0(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_2(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_6(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_6(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_8(&program, index, bufSize, length, size, &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_18 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_18(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_18(&program, index, bufSize, length, size[0], &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_20 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_20(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_18(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_18(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_20(&program, index, bufSize, length, size, &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_24 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: array of GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_24(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; var &type: GlslTypeToken; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_24(&program, index, bufSize, length, size, &type, name); + end; + public z_GetTransformFeedbackVaryingEXT_ovr_26 := GetFuncOrNil&(z_GetTransformFeedbackVaryingEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingEXT(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetTransformFeedbackVaryingEXT_ovr_26(&program, index, bufSize, length, size, &type, name); + end; + + end; + + glVertexArrayEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ArrayElementEXT_adr := GetFuncAdr('glArrayElementEXT'); + public z_ArrayElementEXT_ovr_0 := GetFuncOrNil&(z_ArrayElementEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ArrayElementEXT(i: Int32); + begin + z_ArrayElementEXT_ovr_0(i); + end; + + public z_ColorPointerEXT_adr := GetFuncAdr('glColorPointerEXT'); + public z_ColorPointerEXT_ovr_0 := GetFuncOrNil&(z_ColorPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerEXT(size: Int32; &type: ColorPointerType; stride: Int32; count: Int32; pointer: IntPtr); + begin + z_ColorPointerEXT_ovr_0(size, &type, stride, count, pointer); + end; + + public z_DrawArraysEXT_adr := GetFuncAdr('glDrawArraysEXT'); + public z_DrawArraysEXT_ovr_0 := GetFuncOrNil&(z_DrawArraysEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawArraysEXT(mode: PrimitiveType; first: Int32; count: Int32); + begin + z_DrawArraysEXT_ovr_0(mode, first, count); + end; + + public z_EdgeFlagPointerEXT_adr := GetFuncAdr('glEdgeFlagPointerEXT'); + public z_EdgeFlagPointerEXT_ovr_0 := GetFuncOrNil&(z_EdgeFlagPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerEXT(stride: Int32; count: Int32; pointer: array of boolean); + begin + z_EdgeFlagPointerEXT_ovr_0(stride, count, pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerEXT(stride: Int32; count: Int32; var pointer: boolean); + begin + z_EdgeFlagPointerEXT_ovr_0(stride, count, pointer); + end; + public z_EdgeFlagPointerEXT_ovr_2 := GetFuncOrNil&(z_EdgeFlagPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerEXT(stride: Int32; count: Int32; pointer: IntPtr); + begin + z_EdgeFlagPointerEXT_ovr_2(stride, count, pointer); + end; + + public z_GetPointervEXT_adr := GetFuncAdr('glGetPointervEXT'); + public z_GetPointervEXT_ovr_0 := GetFuncOrNil&(z_GetPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervEXT(pname: GetPointervPName; ¶ms: array of IntPtr); + begin + z_GetPointervEXT_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervEXT(pname: GetPointervPName; var ¶ms: IntPtr); + begin + z_GetPointervEXT_ovr_0(pname, ¶ms); + end; + public z_GetPointervEXT_ovr_2 := GetFuncOrNil&(z_GetPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPointervEXT(pname: GetPointervPName; ¶ms: pointer); + begin + z_GetPointervEXT_ovr_2(pname, ¶ms); + end; + + public z_IndexPointerEXT_adr := GetFuncAdr('glIndexPointerEXT'); + public z_IndexPointerEXT_ovr_0 := GetFuncOrNil&(z_IndexPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerEXT(&type: IndexPointerType; stride: Int32; count: Int32; pointer: IntPtr); + begin + z_IndexPointerEXT_ovr_0(&type, stride, count, pointer); + end; + + public z_NormalPointerEXT_adr := GetFuncAdr('glNormalPointerEXT'); + public z_NormalPointerEXT_ovr_0 := GetFuncOrNil&(z_NormalPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerEXT(&type: NormalPointerType; stride: Int32; count: Int32; pointer: IntPtr); + begin + z_NormalPointerEXT_ovr_0(&type, stride, count, pointer); + end; + + public z_TexCoordPointerEXT_adr := GetFuncAdr('glTexCoordPointerEXT'); + public z_TexCoordPointerEXT_ovr_0 := GetFuncOrNil&(z_TexCoordPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerEXT(size: Int32; &type: TexCoordPointerType; stride: Int32; count: Int32; pointer: IntPtr); + begin + z_TexCoordPointerEXT_ovr_0(size, &type, stride, count, pointer); + end; + + public z_VertexPointerEXT_adr := GetFuncAdr('glVertexPointerEXT'); + public z_VertexPointerEXT_ovr_0 := GetFuncOrNil&(z_VertexPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerEXT(size: Int32; &type: VertexPointerType; stride: Int32; count: Int32; pointer: IntPtr); + begin + z_VertexPointerEXT_ovr_0(size, &type, stride, count, pointer); + end; + + end; + + glVertexAttrib64bitEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttribL1dEXT_adr := GetFuncAdr('glVertexAttribL1dEXT'); + public z_VertexAttribL1dEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL1dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dEXT(index: UInt32; x: real); + begin + z_VertexAttribL1dEXT_ovr_0(index, x); + end; + + public z_VertexAttribL2dEXT_adr := GetFuncAdr('glVertexAttribL2dEXT'); + public z_VertexAttribL2dEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL2dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dEXT(index: UInt32; x: real; y: real); + begin + z_VertexAttribL2dEXT_ovr_0(index, x, y); + end; + + public z_VertexAttribL3dEXT_adr := GetFuncAdr('glVertexAttribL3dEXT'); + public z_VertexAttribL3dEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL3dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dEXT(index: UInt32; x: real; y: real; z: real); + begin + z_VertexAttribL3dEXT_ovr_0(index, x, y, z); + end; + + public z_VertexAttribL4dEXT_adr := GetFuncAdr('glVertexAttribL4dEXT'); + public z_VertexAttribL4dEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL4dEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dEXT(index: UInt32; x: real; y: real; z: real; w: real); + begin + z_VertexAttribL4dEXT_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttribL1dvEXT_adr := GetFuncAdr('glVertexAttribL1dvEXT'); + public z_VertexAttribL1dvEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL1dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dvEXT(index: UInt32; v: array of real); + begin + z_VertexAttribL1dvEXT_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dvEXT(index: UInt32; var v: real); + begin + z_VertexAttribL1dvEXT_ovr_0(index, v); + end; + public z_VertexAttribL1dvEXT_ovr_2 := GetFuncOrNil&(z_VertexAttribL1dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1dvEXT(index: UInt32; v: IntPtr); + begin + z_VertexAttribL1dvEXT_ovr_2(index, v); + end; + + public z_VertexAttribL2dvEXT_adr := GetFuncAdr('glVertexAttribL2dvEXT'); + public z_VertexAttribL2dvEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dvEXT(index: UInt32; v: array of real); + begin + z_VertexAttribL2dvEXT_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dvEXT(index: UInt32; var v: real); + begin + z_VertexAttribL2dvEXT_ovr_0(index, v); + end; + public z_VertexAttribL2dvEXT_ovr_2 := GetFuncOrNil&(z_VertexAttribL2dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2dvEXT(index: UInt32; v: IntPtr); + begin + z_VertexAttribL2dvEXT_ovr_2(index, v); + end; + + public z_VertexAttribL3dvEXT_adr := GetFuncAdr('glVertexAttribL3dvEXT'); + public z_VertexAttribL3dvEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dvEXT(index: UInt32; v: array of real); + begin + z_VertexAttribL3dvEXT_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dvEXT(index: UInt32; var v: real); + begin + z_VertexAttribL3dvEXT_ovr_0(index, v); + end; + public z_VertexAttribL3dvEXT_ovr_2 := GetFuncOrNil&(z_VertexAttribL3dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3dvEXT(index: UInt32; v: IntPtr); + begin + z_VertexAttribL3dvEXT_ovr_2(index, v); + end; + + public z_VertexAttribL4dvEXT_adr := GetFuncAdr('glVertexAttribL4dvEXT'); + public z_VertexAttribL4dvEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribL4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dvEXT(index: UInt32; v: array of real); + begin + z_VertexAttribL4dvEXT_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dvEXT(index: UInt32; var v: real); + begin + z_VertexAttribL4dvEXT_ovr_0(index, v); + end; + public z_VertexAttribL4dvEXT_ovr_2 := GetFuncOrNil&(z_VertexAttribL4dvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4dvEXT(index: UInt32; v: IntPtr); + begin + z_VertexAttribL4dvEXT_ovr_2(index, v); + end; + + public z_VertexAttribLPointerEXT_adr := GetFuncAdr('glVertexAttribLPointerEXT'); + public z_VertexAttribLPointerEXT_ovr_0 := GetFuncOrNil&(z_VertexAttribLPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLPointerEXT(index: UInt32; size: Int32; &type: VertexAttribPointerType; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribLPointerEXT_ovr_0(index, size, &type, stride, pointer); + end; + + public z_GetVertexAttribLdvEXT_adr := GetFuncAdr('glGetVertexAttribLdvEXT'); + public z_GetVertexAttribLdvEXT_ovr_0 := GetFuncOrNil&(z_GetVertexAttribLdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdvEXT(index: UInt32; pname: VertexAttribEnum; ¶ms: array of real); + begin + z_GetVertexAttribLdvEXT_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdvEXT(index: UInt32; pname: VertexAttribEnum; var ¶ms: real); + begin + z_GetVertexAttribLdvEXT_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribLdvEXT_ovr_2 := GetFuncOrNil&(z_GetVertexAttribLdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLdvEXT(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribLdvEXT_ovr_2(index, pname, ¶ms); + end; + + end; + + glVertexShaderEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginVertexShaderEXT_adr := GetFuncAdr('glBeginVertexShaderEXT'); + public z_BeginVertexShaderEXT_ovr_0 := GetFuncOrNil&(z_BeginVertexShaderEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginVertexShaderEXT; + begin + z_BeginVertexShaderEXT_ovr_0; + end; + + public z_EndVertexShaderEXT_adr := GetFuncAdr('glEndVertexShaderEXT'); + public z_EndVertexShaderEXT_ovr_0 := GetFuncOrNil&(z_EndVertexShaderEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndVertexShaderEXT; + begin + z_EndVertexShaderEXT_ovr_0; + end; + + public z_BindVertexShaderEXT_adr := GetFuncAdr('glBindVertexShaderEXT'); + public z_BindVertexShaderEXT_ovr_0 := GetFuncOrNil&(z_BindVertexShaderEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVertexShaderEXT(id: UInt32); + begin + z_BindVertexShaderEXT_ovr_0(id); + end; + + public z_GenVertexShadersEXT_adr := GetFuncAdr('glGenVertexShadersEXT'); + public z_GenVertexShadersEXT_ovr_0 := GetFuncOrNil&(z_GenVertexShadersEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenVertexShadersEXT(range: UInt32): UInt32; + begin + Result := z_GenVertexShadersEXT_ovr_0(range); + end; + + public z_DeleteVertexShaderEXT_adr := GetFuncAdr('glDeleteVertexShaderEXT'); + public z_DeleteVertexShaderEXT_ovr_0 := GetFuncOrNil&(z_DeleteVertexShaderEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteVertexShaderEXT(id: UInt32); + begin + z_DeleteVertexShaderEXT_ovr_0(id); + end; + + public z_ShaderOp1EXT_adr := GetFuncAdr('glShaderOp1EXT'); + public z_ShaderOp1EXT_ovr_0 := GetFuncOrNil&(z_ShaderOp1EXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderOp1EXT(op: VertexShaderOpEXT; res: UInt32; arg1: UInt32); + begin + z_ShaderOp1EXT_ovr_0(op, res, arg1); + end; + + public z_ShaderOp2EXT_adr := GetFuncAdr('glShaderOp2EXT'); + public z_ShaderOp2EXT_ovr_0 := GetFuncOrNil&(z_ShaderOp2EXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderOp2EXT(op: VertexShaderOpEXT; res: UInt32; arg1: UInt32; arg2: UInt32); + begin + z_ShaderOp2EXT_ovr_0(op, res, arg1, arg2); + end; + + public z_ShaderOp3EXT_adr := GetFuncAdr('glShaderOp3EXT'); + public z_ShaderOp3EXT_ovr_0 := GetFuncOrNil&(z_ShaderOp3EXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShaderOp3EXT(op: VertexShaderOpEXT; res: UInt32; arg1: UInt32; arg2: UInt32; arg3: UInt32); + begin + z_ShaderOp3EXT_ovr_0(op, res, arg1, arg2, arg3); + end; + + public z_SwizzleEXT_adr := GetFuncAdr('glSwizzleEXT'); + public z_SwizzleEXT_ovr_0 := GetFuncOrNil&(z_SwizzleEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SwizzleEXT(res: UInt32; &in: UInt32; outX: VertexShaderCoordOutEXT; outY: VertexShaderCoordOutEXT; outZ: VertexShaderCoordOutEXT; outW: VertexShaderCoordOutEXT); + begin + z_SwizzleEXT_ovr_0(res, &in, outX, outY, outZ, outW); + end; + + public z_WriteMaskEXT_adr := GetFuncAdr('glWriteMaskEXT'); + public z_WriteMaskEXT_ovr_0 := GetFuncOrNil&(z_WriteMaskEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WriteMaskEXT(res: UInt32; &in: UInt32; outX: VertexShaderWriteMaskEXT; outY: VertexShaderWriteMaskEXT; outZ: VertexShaderWriteMaskEXT; outW: VertexShaderWriteMaskEXT); + begin + z_WriteMaskEXT_ovr_0(res, &in, outX, outY, outZ, outW); + end; + + public z_InsertComponentEXT_adr := GetFuncAdr('glInsertComponentEXT'); + public z_InsertComponentEXT_ovr_0 := GetFuncOrNil&(z_InsertComponentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InsertComponentEXT(res: UInt32; src: UInt32; num: UInt32); + begin + z_InsertComponentEXT_ovr_0(res, src, num); + end; + + public z_ExtractComponentEXT_adr := GetFuncAdr('glExtractComponentEXT'); + public z_ExtractComponentEXT_ovr_0 := GetFuncOrNil&(z_ExtractComponentEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExtractComponentEXT(res: UInt32; src: UInt32; num: UInt32); + begin + z_ExtractComponentEXT_ovr_0(res, src, num); + end; + + public z_GenSymbolsEXT_adr := GetFuncAdr('glGenSymbolsEXT'); + public z_GenSymbolsEXT_ovr_0 := GetFuncOrNil&(z_GenSymbolsEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenSymbolsEXT(datatype: DataTypeEXT; storagetype: VertexShaderStorageTypeEXT; range: ParameterRangeEXT; components: UInt32): UInt32; + begin + Result := z_GenSymbolsEXT_ovr_0(datatype, storagetype, range, components); + end; + + public z_SetInvariantEXT_adr := GetFuncAdr('glSetInvariantEXT'); + public z_SetInvariantEXT_ovr_0 := GetFuncOrNil&(z_SetInvariantEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetInvariantEXT(id: UInt32; &type: ScalarType; addr: IntPtr); + begin + z_SetInvariantEXT_ovr_0(id, &type, addr); + end; + + public z_SetLocalConstantEXT_adr := GetFuncAdr('glSetLocalConstantEXT'); + public z_SetLocalConstantEXT_ovr_0 := GetFuncOrNil&(z_SetLocalConstantEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetLocalConstantEXT(id: UInt32; &type: ScalarType; addr: IntPtr); + begin + z_SetLocalConstantEXT_ovr_0(id, &type, addr); + end; + + public z_VariantbvEXT_adr := GetFuncAdr('glVariantbvEXT'); + public z_VariantbvEXT_ovr_0 := GetFuncOrNil&(z_VariantbvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantbvEXT(id: UInt32; addr: array of SByte); + begin + z_VariantbvEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantbvEXT(id: UInt32; var addr: SByte); + begin + z_VariantbvEXT_ovr_0(id, addr); + end; + public z_VariantbvEXT_ovr_2 := GetFuncOrNil&(z_VariantbvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantbvEXT(id: UInt32; addr: IntPtr); + begin + z_VariantbvEXT_ovr_2(id, addr); + end; + + public z_VariantsvEXT_adr := GetFuncAdr('glVariantsvEXT'); + public z_VariantsvEXT_ovr_0 := GetFuncOrNil&(z_VariantsvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantsvEXT(id: UInt32; addr: array of Int16); + begin + z_VariantsvEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantsvEXT(id: UInt32; var addr: Int16); + begin + z_VariantsvEXT_ovr_0(id, addr); + end; + public z_VariantsvEXT_ovr_2 := GetFuncOrNil&(z_VariantsvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantsvEXT(id: UInt32; addr: IntPtr); + begin + z_VariantsvEXT_ovr_2(id, addr); + end; + + public z_VariantivEXT_adr := GetFuncAdr('glVariantivEXT'); + public z_VariantivEXT_ovr_0 := GetFuncOrNil&(z_VariantivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantivEXT(id: UInt32; addr: array of Int32); + begin + z_VariantivEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantivEXT(id: UInt32; var addr: Int32); + begin + z_VariantivEXT_ovr_0(id, addr); + end; + public z_VariantivEXT_ovr_2 := GetFuncOrNil&(z_VariantivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantivEXT(id: UInt32; addr: IntPtr); + begin + z_VariantivEXT_ovr_2(id, addr); + end; + + public z_VariantfvEXT_adr := GetFuncAdr('glVariantfvEXT'); + public z_VariantfvEXT_ovr_0 := GetFuncOrNil&(z_VariantfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantfvEXT(id: UInt32; addr: array of single); + begin + z_VariantfvEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantfvEXT(id: UInt32; var addr: single); + begin + z_VariantfvEXT_ovr_0(id, addr); + end; + public z_VariantfvEXT_ovr_2 := GetFuncOrNil&(z_VariantfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantfvEXT(id: UInt32; addr: IntPtr); + begin + z_VariantfvEXT_ovr_2(id, addr); + end; + + public z_VariantdvEXT_adr := GetFuncAdr('glVariantdvEXT'); + public z_VariantdvEXT_ovr_0 := GetFuncOrNil&(z_VariantdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantdvEXT(id: UInt32; addr: array of real); + begin + z_VariantdvEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantdvEXT(id: UInt32; var addr: real); + begin + z_VariantdvEXT_ovr_0(id, addr); + end; + public z_VariantdvEXT_ovr_2 := GetFuncOrNil&(z_VariantdvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantdvEXT(id: UInt32; addr: IntPtr); + begin + z_VariantdvEXT_ovr_2(id, addr); + end; + + public z_VariantubvEXT_adr := GetFuncAdr('glVariantubvEXT'); + public z_VariantubvEXT_ovr_0 := GetFuncOrNil&(z_VariantubvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantubvEXT(id: UInt32; addr: array of Byte); + begin + z_VariantubvEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantubvEXT(id: UInt32; var addr: Byte); + begin + z_VariantubvEXT_ovr_0(id, addr); + end; + public z_VariantubvEXT_ovr_2 := GetFuncOrNil&(z_VariantubvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantubvEXT(id: UInt32; addr: IntPtr); + begin + z_VariantubvEXT_ovr_2(id, addr); + end; + + public z_VariantusvEXT_adr := GetFuncAdr('glVariantusvEXT'); + public z_VariantusvEXT_ovr_0 := GetFuncOrNil&(z_VariantusvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantusvEXT(id: UInt32; addr: array of UInt16); + begin + z_VariantusvEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantusvEXT(id: UInt32; var addr: UInt16); + begin + z_VariantusvEXT_ovr_0(id, addr); + end; + public z_VariantusvEXT_ovr_2 := GetFuncOrNil&(z_VariantusvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantusvEXT(id: UInt32; addr: IntPtr); + begin + z_VariantusvEXT_ovr_2(id, addr); + end; + + public z_VariantuivEXT_adr := GetFuncAdr('glVariantuivEXT'); + public z_VariantuivEXT_ovr_0 := GetFuncOrNil&(z_VariantuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantuivEXT(id: UInt32; addr: array of UInt32); + begin + z_VariantuivEXT_ovr_0(id, addr[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantuivEXT(id: UInt32; var addr: UInt32); + begin + z_VariantuivEXT_ovr_0(id, addr); + end; + public z_VariantuivEXT_ovr_2 := GetFuncOrNil&(z_VariantuivEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantuivEXT(id: UInt32; addr: IntPtr); + begin + z_VariantuivEXT_ovr_2(id, addr); + end; + + public z_VariantPointerEXT_adr := GetFuncAdr('glVariantPointerEXT'); + public z_VariantPointerEXT_ovr_0 := GetFuncOrNil&(z_VariantPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VariantPointerEXT(id: UInt32; &type: ScalarType; stride: UInt32; addr: IntPtr); + begin + z_VariantPointerEXT_ovr_0(id, &type, stride, addr); + end; + + public z_EnableVariantClientStateEXT_adr := GetFuncAdr('glEnableVariantClientStateEXT'); + public z_EnableVariantClientStateEXT_ovr_0 := GetFuncOrNil&(z_EnableVariantClientStateEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EnableVariantClientStateEXT(id: UInt32); + begin + z_EnableVariantClientStateEXT_ovr_0(id); + end; + + public z_DisableVariantClientStateEXT_adr := GetFuncAdr('glDisableVariantClientStateEXT'); + public z_DisableVariantClientStateEXT_ovr_0 := GetFuncOrNil&(z_DisableVariantClientStateEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DisableVariantClientStateEXT(id: UInt32); + begin + z_DisableVariantClientStateEXT_ovr_0(id); + end; + + public z_BindLightParameterEXT_adr := GetFuncAdr('glBindLightParameterEXT'); + public z_BindLightParameterEXT_ovr_0 := GetFuncOrNil&(z_BindLightParameterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindLightParameterEXT(light: LightName; value: LightParameter): UInt32; + begin + Result := z_BindLightParameterEXT_ovr_0(light, value); + end; + + public z_BindMaterialParameterEXT_adr := GetFuncAdr('glBindMaterialParameterEXT'); + public z_BindMaterialParameterEXT_ovr_0 := GetFuncOrNil&(z_BindMaterialParameterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindMaterialParameterEXT(face: DummyEnum; value: MaterialParameter): UInt32; + begin + Result := z_BindMaterialParameterEXT_ovr_0(face, value); + end; + + public z_BindTexGenParameterEXT_adr := GetFuncAdr('glBindTexGenParameterEXT'); + public z_BindTexGenParameterEXT_ovr_0 := GetFuncOrNil&(z_BindTexGenParameterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindTexGenParameterEXT(&unit: TextureUnit; coord: TextureCoordName; value: TextureGenParameter): UInt32; + begin + Result := z_BindTexGenParameterEXT_ovr_0(&unit, coord, value); + end; + + public z_BindTextureUnitParameterEXT_adr := GetFuncAdr('glBindTextureUnitParameterEXT'); + public z_BindTextureUnitParameterEXT_ovr_0 := GetFuncOrNil&(z_BindTextureUnitParameterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindTextureUnitParameterEXT(&unit: TextureUnit; value: VertexShaderTextureUnitParameter): UInt32; + begin + Result := z_BindTextureUnitParameterEXT_ovr_0(&unit, value); + end; + + public z_BindParameterEXT_adr := GetFuncAdr('glBindParameterEXT'); + public z_BindParameterEXT_ovr_0 := GetFuncOrNil&(z_BindParameterEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function BindParameterEXT(value: VertexShaderParameterEXT): UInt32; + begin + Result := z_BindParameterEXT_ovr_0(value); + end; + + public z_IsVariantEnabledEXT_adr := GetFuncAdr('glIsVariantEnabledEXT'); + public z_IsVariantEnabledEXT_ovr_0 := GetFuncOrNil&(z_IsVariantEnabledEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsVariantEnabledEXT(id: UInt32; cap: VariantCapEXT): boolean; + begin + Result := z_IsVariantEnabledEXT_ovr_0(id, cap); + end; + + public z_GetVariantBooleanvEXT_adr := GetFuncAdr('glGetVariantBooleanvEXT'); + public z_GetVariantBooleanvEXT_ovr_0 := GetFuncOrNil&(z_GetVariantBooleanvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; data: array of boolean); + begin + z_GetVariantBooleanvEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; var data: boolean); + begin + z_GetVariantBooleanvEXT_ovr_0(id, value, data); + end; + public z_GetVariantBooleanvEXT_ovr_2 := GetFuncOrNil&(z_GetVariantBooleanvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetVariantBooleanvEXT_ovr_2(id, value, data); + end; + + public z_GetVariantIntegervEXT_adr := GetFuncAdr('glGetVariantIntegervEXT'); + public z_GetVariantIntegervEXT_ovr_0 := GetFuncOrNil&(z_GetVariantIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantIntegervEXT(id: UInt32; value: GetVariantValueEXT; data: array of Int32); + begin + z_GetVariantIntegervEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantIntegervEXT(id: UInt32; value: GetVariantValueEXT; var data: Int32); + begin + z_GetVariantIntegervEXT_ovr_0(id, value, data); + end; + public z_GetVariantIntegervEXT_ovr_2 := GetFuncOrNil&(z_GetVariantIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantIntegervEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetVariantIntegervEXT_ovr_2(id, value, data); + end; + + public z_GetVariantFloatvEXT_adr := GetFuncAdr('glGetVariantFloatvEXT'); + public z_GetVariantFloatvEXT_ovr_0 := GetFuncOrNil&(z_GetVariantFloatvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantFloatvEXT(id: UInt32; value: GetVariantValueEXT; data: array of single); + begin + z_GetVariantFloatvEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantFloatvEXT(id: UInt32; value: GetVariantValueEXT; var data: single); + begin + z_GetVariantFloatvEXT_ovr_0(id, value, data); + end; + public z_GetVariantFloatvEXT_ovr_2 := GetFuncOrNil&(z_GetVariantFloatvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantFloatvEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetVariantFloatvEXT_ovr_2(id, value, data); + end; + + public z_GetVariantPointervEXT_adr := GetFuncAdr('glGetVariantPointervEXT'); + public z_GetVariantPointervEXT_ovr_0 := GetFuncOrNil&(z_GetVariantPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantPointervEXT(id: UInt32; value: GetVariantValueEXT; data: array of IntPtr); + begin + z_GetVariantPointervEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantPointervEXT(id: UInt32; value: GetVariantValueEXT; var data: IntPtr); + begin + z_GetVariantPointervEXT_ovr_0(id, value, data); + end; + public z_GetVariantPointervEXT_ovr_2 := GetFuncOrNil&(z_GetVariantPointervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVariantPointervEXT(id: UInt32; value: GetVariantValueEXT; data: pointer); + begin + z_GetVariantPointervEXT_ovr_2(id, value, data); + end; + + public z_GetInvariantBooleanvEXT_adr := GetFuncAdr('glGetInvariantBooleanvEXT'); + public z_GetInvariantBooleanvEXT_ovr_0 := GetFuncOrNil&(z_GetInvariantBooleanvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; data: array of boolean); + begin + z_GetInvariantBooleanvEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; var data: boolean); + begin + z_GetInvariantBooleanvEXT_ovr_0(id, value, data); + end; + public z_GetInvariantBooleanvEXT_ovr_2 := GetFuncOrNil&(z_GetInvariantBooleanvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetInvariantBooleanvEXT_ovr_2(id, value, data); + end; + + public z_GetInvariantIntegervEXT_adr := GetFuncAdr('glGetInvariantIntegervEXT'); + public z_GetInvariantIntegervEXT_ovr_0 := GetFuncOrNil&(z_GetInvariantIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantIntegervEXT(id: UInt32; value: GetVariantValueEXT; data: array of Int32); + begin + z_GetInvariantIntegervEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantIntegervEXT(id: UInt32; value: GetVariantValueEXT; var data: Int32); + begin + z_GetInvariantIntegervEXT_ovr_0(id, value, data); + end; + public z_GetInvariantIntegervEXT_ovr_2 := GetFuncOrNil&(z_GetInvariantIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantIntegervEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetInvariantIntegervEXT_ovr_2(id, value, data); + end; + + public z_GetInvariantFloatvEXT_adr := GetFuncAdr('glGetInvariantFloatvEXT'); + public z_GetInvariantFloatvEXT_ovr_0 := GetFuncOrNil&(z_GetInvariantFloatvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantFloatvEXT(id: UInt32; value: GetVariantValueEXT; data: array of single); + begin + z_GetInvariantFloatvEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantFloatvEXT(id: UInt32; value: GetVariantValueEXT; var data: single); + begin + z_GetInvariantFloatvEXT_ovr_0(id, value, data); + end; + public z_GetInvariantFloatvEXT_ovr_2 := GetFuncOrNil&(z_GetInvariantFloatvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInvariantFloatvEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetInvariantFloatvEXT_ovr_2(id, value, data); + end; + + public z_GetLocalConstantBooleanvEXT_adr := GetFuncAdr('glGetLocalConstantBooleanvEXT'); + public z_GetLocalConstantBooleanvEXT_ovr_0 := GetFuncOrNil&(z_GetLocalConstantBooleanvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; data: array of boolean); + begin + z_GetLocalConstantBooleanvEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; var data: boolean); + begin + z_GetLocalConstantBooleanvEXT_ovr_0(id, value, data); + end; + public z_GetLocalConstantBooleanvEXT_ovr_2 := GetFuncOrNil&(z_GetLocalConstantBooleanvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantBooleanvEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetLocalConstantBooleanvEXT_ovr_2(id, value, data); + end; + + public z_GetLocalConstantIntegervEXT_adr := GetFuncAdr('glGetLocalConstantIntegervEXT'); + public z_GetLocalConstantIntegervEXT_ovr_0 := GetFuncOrNil&(z_GetLocalConstantIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantIntegervEXT(id: UInt32; value: GetVariantValueEXT; data: array of Int32); + begin + z_GetLocalConstantIntegervEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantIntegervEXT(id: UInt32; value: GetVariantValueEXT; var data: Int32); + begin + z_GetLocalConstantIntegervEXT_ovr_0(id, value, data); + end; + public z_GetLocalConstantIntegervEXT_ovr_2 := GetFuncOrNil&(z_GetLocalConstantIntegervEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantIntegervEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetLocalConstantIntegervEXT_ovr_2(id, value, data); + end; + + public z_GetLocalConstantFloatvEXT_adr := GetFuncAdr('glGetLocalConstantFloatvEXT'); + public z_GetLocalConstantFloatvEXT_ovr_0 := GetFuncOrNil&(z_GetLocalConstantFloatvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantFloatvEXT(id: UInt32; value: GetVariantValueEXT; data: array of single); + begin + z_GetLocalConstantFloatvEXT_ovr_0(id, value, data[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantFloatvEXT(id: UInt32; value: GetVariantValueEXT; var data: single); + begin + z_GetLocalConstantFloatvEXT_ovr_0(id, value, data); + end; + public z_GetLocalConstantFloatvEXT_ovr_2 := GetFuncOrNil&(z_GetLocalConstantFloatvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLocalConstantFloatvEXT(id: UInt32; value: GetVariantValueEXT; data: IntPtr); + begin + z_GetLocalConstantFloatvEXT_ovr_2(id, value, data); + end; + + end; + + glVertexWeightingEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexWeightfEXT_adr := GetFuncAdr('glVertexWeightfEXT'); + public z_VertexWeightfEXT_ovr_0 := GetFuncOrNil&(z_VertexWeightfEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfEXT(weight: single); + begin + z_VertexWeightfEXT_ovr_0(weight); + end; + + public z_VertexWeightfvEXT_adr := GetFuncAdr('glVertexWeightfvEXT'); + public z_VertexWeightfvEXT_ovr_0 := GetFuncOrNil&(z_VertexWeightfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfvEXT(weight: array of single); + begin + z_VertexWeightfvEXT_ovr_0(weight[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfvEXT(var weight: single); + begin + z_VertexWeightfvEXT_ovr_0(weight); + end; + public z_VertexWeightfvEXT_ovr_2 := GetFuncOrNil&(z_VertexWeightfvEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightfvEXT(weight: IntPtr); + begin + z_VertexWeightfvEXT_ovr_2(weight); + end; + + public z_VertexWeightPointerEXT_adr := GetFuncAdr('glVertexWeightPointerEXT'); + public z_VertexWeightPointerEXT_ovr_0 := GetFuncOrNil&(z_VertexWeightPointerEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeightPointerEXT(size: Int32; &type: VertexWeightPointerTypeEXT; stride: Int32; pointer: IntPtr); + begin + z_VertexWeightPointerEXT_ovr_0(size, &type, stride, pointer); + end; + + end; + + glWin32KeyedMutexEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_AcquireKeyedMutexWin32EXT_adr := GetFuncAdr('glAcquireKeyedMutexWin32EXT'); + public z_AcquireKeyedMutexWin32EXT_ovr_0 := GetFuncOrNil&(z_AcquireKeyedMutexWin32EXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AcquireKeyedMutexWin32EXT(memory: UInt32; key: UInt64; timeout: UInt32): boolean; + begin + Result := z_AcquireKeyedMutexWin32EXT_ovr_0(memory, key, timeout); + end; + + public z_ReleaseKeyedMutexWin32EXT_adr := GetFuncAdr('glReleaseKeyedMutexWin32EXT'); + public z_ReleaseKeyedMutexWin32EXT_ovr_0 := GetFuncOrNil&(z_ReleaseKeyedMutexWin32EXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ReleaseKeyedMutexWin32EXT(memory: UInt32; key: UInt64): boolean; + begin + Result := z_ReleaseKeyedMutexWin32EXT_ovr_0(memory, key); + end; + + end; + + glWindowRectanglesEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_WindowRectanglesEXT_adr := GetFuncAdr('glWindowRectanglesEXT'); + public z_WindowRectanglesEXT_ovr_0 := GetFuncOrNil&(z_WindowRectanglesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowRectanglesEXT(mode: DummyEnum; count: Int32; box: array of Int32); + begin + z_WindowRectanglesEXT_ovr_0(mode, count, box[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowRectanglesEXT(mode: DummyEnum; count: Int32; var box: Int32); + begin + z_WindowRectanglesEXT_ovr_0(mode, count, box); + end; + public z_WindowRectanglesEXT_ovr_2 := GetFuncOrNil&(z_WindowRectanglesEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowRectanglesEXT(mode: DummyEnum; count: Int32; box: IntPtr); + begin + z_WindowRectanglesEXT_ovr_2(mode, count, box); + end; + + end; + + glX11SyncObjectEXT = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ImportSyncEXT_adr := GetFuncAdr('glImportSyncEXT'); + public z_ImportSyncEXT_ovr_0 := GetFuncOrNil&(z_ImportSyncEXT_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function ImportSyncEXT(external_sync_type: DummyEnum; external_sync: IntPtr; flags: DummyFlags): GLsync; + begin + Result := z_ImportSyncEXT_ovr_0(external_sync_type, external_sync, flags); + end; + + end; + + glFrameTerminatorGREMEDY = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FrameTerminatorGREMEDY_adr := GetFuncAdr('glFrameTerminatorGREMEDY'); + public z_FrameTerminatorGREMEDY_ovr_0 := GetFuncOrNil&(z_FrameTerminatorGREMEDY_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrameTerminatorGREMEDY; + begin + z_FrameTerminatorGREMEDY_ovr_0; + end; + + end; + + glStringMarkerGREMEDY = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_StringMarkerGREMEDY_adr := GetFuncAdr('glStringMarkerGREMEDY'); + public z_StringMarkerGREMEDY_ovr_0 := GetFuncOrNil&(z_StringMarkerGREMEDY_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StringMarkerGREMEDY(len: Int32; string: IntPtr); + begin + z_StringMarkerGREMEDY_ovr_0(len, string); + end; + + end; + + glImageTransformHP = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ImageTransformParameteriHP_adr := GetFuncAdr('glImageTransformParameteriHP'); + public z_ImageTransformParameteriHP_ovr_0 := GetFuncOrNil&(z_ImageTransformParameteriHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameteriHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; param: Int32); + begin + z_ImageTransformParameteriHP_ovr_0(target, pname, param); + end; + + public z_ImageTransformParameterfHP_adr := GetFuncAdr('glImageTransformParameterfHP'); + public z_ImageTransformParameterfHP_ovr_0 := GetFuncOrNil&(z_ImageTransformParameterfHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; param: single); + begin + z_ImageTransformParameterfHP_ovr_0(target, pname, param); + end; + + public z_ImageTransformParameterivHP_adr := GetFuncAdr('glImageTransformParameterivHP'); + public z_ImageTransformParameterivHP_ovr_0 := GetFuncOrNil&(z_ImageTransformParameterivHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterivHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: array of Int32); + begin + z_ImageTransformParameterivHP_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterivHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; var ¶ms: Int32); + begin + z_ImageTransformParameterivHP_ovr_0(target, pname, ¶ms); + end; + public z_ImageTransformParameterivHP_ovr_2 := GetFuncOrNil&(z_ImageTransformParameterivHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterivHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: IntPtr); + begin + z_ImageTransformParameterivHP_ovr_2(target, pname, ¶ms); + end; + + public z_ImageTransformParameterfvHP_adr := GetFuncAdr('glImageTransformParameterfvHP'); + public z_ImageTransformParameterfvHP_ovr_0 := GetFuncOrNil&(z_ImageTransformParameterfvHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfvHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: array of single); + begin + z_ImageTransformParameterfvHP_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfvHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; var ¶ms: single); + begin + z_ImageTransformParameterfvHP_ovr_0(target, pname, ¶ms); + end; + public z_ImageTransformParameterfvHP_ovr_2 := GetFuncOrNil&(z_ImageTransformParameterfvHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ImageTransformParameterfvHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: IntPtr); + begin + z_ImageTransformParameterfvHP_ovr_2(target, pname, ¶ms); + end; + + public z_GetImageTransformParameterivHP_adr := GetFuncAdr('glGetImageTransformParameterivHP'); + public z_GetImageTransformParameterivHP_ovr_0 := GetFuncOrNil&(z_GetImageTransformParameterivHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterivHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: array of Int32); + begin + z_GetImageTransformParameterivHP_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterivHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; var ¶ms: Int32); + begin + z_GetImageTransformParameterivHP_ovr_0(target, pname, ¶ms); + end; + public z_GetImageTransformParameterivHP_ovr_2 := GetFuncOrNil&(z_GetImageTransformParameterivHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterivHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: IntPtr); + begin + z_GetImageTransformParameterivHP_ovr_2(target, pname, ¶ms); + end; + + public z_GetImageTransformParameterfvHP_adr := GetFuncAdr('glGetImageTransformParameterfvHP'); + public z_GetImageTransformParameterfvHP_ovr_0 := GetFuncOrNil&(z_GetImageTransformParameterfvHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterfvHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: array of single); + begin + z_GetImageTransformParameterfvHP_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterfvHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; var ¶ms: single); + begin + z_GetImageTransformParameterfvHP_ovr_0(target, pname, ¶ms); + end; + public z_GetImageTransformParameterfvHP_ovr_2 := GetFuncOrNil&(z_GetImageTransformParameterfvHP_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetImageTransformParameterfvHP(target: ImageTransformTargetHP; pname: ImageTransformPNameHP; ¶ms: IntPtr); + begin + z_GetImageTransformParameterfvHP_ovr_2(target, pname, ¶ms); + end; + + end; + + glMultimodeDrawArraysIBM = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiModeDrawArraysIBM_adr := GetFuncAdr('glMultiModeDrawArraysIBM'); + public z_MultiModeDrawArraysIBM_ovr_0 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; first: array of Int32; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode[0], first[0], count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; first: array of Int32; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode[0], first[0], count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_2 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; first: array of Int32; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_2(mode[0], first[0], count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; var first: Int32; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode[0], first, count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; var first: Int32; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode[0], first, count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; var first: Int32; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_2(mode[0], first, count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_6 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; first: IntPtr; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_6(mode[0], first, count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; first: IntPtr; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_6(mode[0], first, count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_8 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: array of PrimitiveType; first: IntPtr; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_8(mode[0], first, count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; first: array of Int32; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode, first[0], count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; first: array of Int32; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode, first[0], count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; first: array of Int32; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_2(mode, first[0], count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; var first: Int32; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode, first, count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; var first: Int32; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_0(mode, first, count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; var first: Int32; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_2(mode, first, count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; first: IntPtr; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_6(mode, first, count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; first: IntPtr; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_6(mode, first, count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(var mode: PrimitiveType; first: IntPtr; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_8(mode, first, count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_18 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; first: array of Int32; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_18(mode, first[0], count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; first: array of Int32; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_18(mode, first[0], count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_20 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; first: array of Int32; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_20(mode, first[0], count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; var first: Int32; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_18(mode, first, count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; var first: Int32; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_18(mode, first, count, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; var first: Int32; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_20(mode, first, count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_24 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; first: IntPtr; count: array of Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_24(mode, first, count[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; first: IntPtr; var count: Int32; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_24(mode, first, count, primcount, modestride); + end; + public z_MultiModeDrawArraysIBM_ovr_26 := GetFuncOrNil&(z_MultiModeDrawArraysIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawArraysIBM(mode: IntPtr; first: IntPtr; count: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawArraysIBM_ovr_26(mode, first, count, primcount, modestride); + end; + + public z_MultiModeDrawElementsIBM_adr := GetFuncAdr('glMultiModeDrawElementsIBM'); + public z_MultiModeDrawElementsIBM_ovr_0 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode[0], count[0], &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode[0], count[0], &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_2 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_2(mode[0], count[0], &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode[0], count, &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode[0], count, &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_2(mode[0], count, &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_6 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_6(mode[0], count, &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_6(mode[0], count, &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_8 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: array of PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_8(mode[0], count, &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode, count[0], &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode, count[0], &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; count: array of Int32; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_2(mode, count[0], &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode, count, &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; var count: Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_0(mode, count, &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; var count: Int32; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_2(mode, count, &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_6(mode, count, &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_6(mode, count, &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(var mode: PrimitiveType; count: IntPtr; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_8(mode, count, &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_18 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; count: array of Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_18(mode, count[0], &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; count: array of Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_18(mode, count[0], &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_20 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; count: array of Int32; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_20(mode, count[0], &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; var count: Int32; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_18(mode, count, &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; var count: Int32; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_18(mode, count, &type, indices, primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; var count: Int32; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_20(mode, count, &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_24 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; count: IntPtr; &type: DrawElementsType; indices: array of IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_24(mode, count, &type, indices[0], primcount, modestride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; count: IntPtr; &type: DrawElementsType; var indices: IntPtr; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_24(mode, count, &type, indices, primcount, modestride); + end; + public z_MultiModeDrawElementsIBM_ovr_26 := GetFuncOrNil&(z_MultiModeDrawElementsIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiModeDrawElementsIBM(mode: IntPtr; count: IntPtr; &type: DrawElementsType; indices: pointer; primcount: Int32; modestride: Int32); + begin + z_MultiModeDrawElementsIBM_ovr_26(mode, count, &type, indices, primcount, modestride); + end; + + end; + + glStaticDataIBM = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FlushStaticDataIBM_adr := GetFuncAdr('glFlushStaticDataIBM'); + public z_FlushStaticDataIBM_ovr_0 := GetFuncOrNil&(z_FlushStaticDataIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushStaticDataIBM(target: DummyEnum); + begin + z_FlushStaticDataIBM_ovr_0(target); + end; + + end; + + glVertexArrayListsIBM = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ColorPointerListIBM_adr := GetFuncAdr('glColorPointerListIBM'); + public z_ColorPointerListIBM_ovr_0 := GetFuncOrNil&(z_ColorPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerListIBM(size: Int32; &type: ColorPointerType; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_ColorPointerListIBM_ovr_0(size, &type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerListIBM(size: Int32; &type: ColorPointerType; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_ColorPointerListIBM_ovr_0(size, &type, stride, _pointer, ptrstride); + end; + public z_ColorPointerListIBM_ovr_2 := GetFuncOrNil&(z_ColorPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointerListIBM(size: Int32; &type: ColorPointerType; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_ColorPointerListIBM_ovr_2(size, &type, stride, _pointer, ptrstride); + end; + + public z_SecondaryColorPointerListIBM_adr := GetFuncAdr('glSecondaryColorPointerListIBM'); + public z_SecondaryColorPointerListIBM_ovr_0 := GetFuncOrNil&(z_SecondaryColorPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerListIBM(size: Int32; &type: SecondaryColorPointerTypeIBM; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_SecondaryColorPointerListIBM_ovr_0(size, &type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerListIBM(size: Int32; &type: SecondaryColorPointerTypeIBM; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_SecondaryColorPointerListIBM_ovr_0(size, &type, stride, _pointer, ptrstride); + end; + public z_SecondaryColorPointerListIBM_ovr_2 := GetFuncOrNil&(z_SecondaryColorPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorPointerListIBM(size: Int32; &type: SecondaryColorPointerTypeIBM; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_SecondaryColorPointerListIBM_ovr_2(size, &type, stride, _pointer, ptrstride); + end; + + public z_EdgeFlagPointerListIBM_adr := GetFuncAdr('glEdgeFlagPointerListIBM'); + public z_EdgeFlagPointerListIBM_ovr_0 := GetFuncOrNil&(z_EdgeFlagPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerListIBM(stride: Int32; pointer: array of array of Byte; ptrstride: Int32); + begin + var par_2_temp_arr1 := pointer.ConvertAll(arr_el1->begin + var l := sizeof(Byte)*arr_el1.Length; + Result := Marshal.AllocHGlobal(l); + Marshal.Copy(arr_el1,0,Result,l); + end); + z_EdgeFlagPointerListIBM_ovr_0(stride, par_2_temp_arr1[0], ptrstride); + foreach var arr_el1 in par_2_temp_arr1 do Marshal.FreeHGlobal(arr_el1); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerListIBM(stride: Int32; pointer: array of IntPtr; ptrstride: Int32); + begin + z_EdgeFlagPointerListIBM_ovr_0(stride, pointer[0], ptrstride); + end; + public z_EdgeFlagPointerListIBM_ovr_2 := GetFuncOrNil&(z_EdgeFlagPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagPointerListIBM(stride: Int32; pointer: IntPtr; ptrstride: Int32); + begin + z_EdgeFlagPointerListIBM_ovr_2(stride, pointer, ptrstride); + end; + + public z_FogCoordPointerListIBM_adr := GetFuncAdr('glFogCoordPointerListIBM'); + public z_FogCoordPointerListIBM_ovr_0 := GetFuncOrNil&(z_FogCoordPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerListIBM(&type: FogPointerTypeIBM; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_FogCoordPointerListIBM_ovr_0(&type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerListIBM(&type: FogPointerTypeIBM; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_FogCoordPointerListIBM_ovr_0(&type, stride, _pointer, ptrstride); + end; + public z_FogCoordPointerListIBM_ovr_2 := GetFuncOrNil&(z_FogCoordPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordPointerListIBM(&type: FogPointerTypeIBM; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_FogCoordPointerListIBM_ovr_2(&type, stride, _pointer, ptrstride); + end; + + public z_IndexPointerListIBM_adr := GetFuncAdr('glIndexPointerListIBM'); + public z_IndexPointerListIBM_ovr_0 := GetFuncOrNil&(z_IndexPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerListIBM(&type: IndexPointerType; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_IndexPointerListIBM_ovr_0(&type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerListIBM(&type: IndexPointerType; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_IndexPointerListIBM_ovr_0(&type, stride, _pointer, ptrstride); + end; + public z_IndexPointerListIBM_ovr_2 := GetFuncOrNil&(z_IndexPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexPointerListIBM(&type: IndexPointerType; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_IndexPointerListIBM_ovr_2(&type, stride, _pointer, ptrstride); + end; + + public z_NormalPointerListIBM_adr := GetFuncAdr('glNormalPointerListIBM'); + public z_NormalPointerListIBM_ovr_0 := GetFuncOrNil&(z_NormalPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerListIBM(&type: NormalPointerType; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_NormalPointerListIBM_ovr_0(&type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerListIBM(&type: NormalPointerType; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_NormalPointerListIBM_ovr_0(&type, stride, _pointer, ptrstride); + end; + public z_NormalPointerListIBM_ovr_2 := GetFuncOrNil&(z_NormalPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointerListIBM(&type: NormalPointerType; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_NormalPointerListIBM_ovr_2(&type, stride, _pointer, ptrstride); + end; + + public z_TexCoordPointerListIBM_adr := GetFuncAdr('glTexCoordPointerListIBM'); + public z_TexCoordPointerListIBM_ovr_0 := GetFuncOrNil&(z_TexCoordPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerListIBM(size: Int32; &type: TexCoordPointerType; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_TexCoordPointerListIBM_ovr_0(size, &type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerListIBM(size: Int32; &type: TexCoordPointerType; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_TexCoordPointerListIBM_ovr_0(size, &type, stride, _pointer, ptrstride); + end; + public z_TexCoordPointerListIBM_ovr_2 := GetFuncOrNil&(z_TexCoordPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointerListIBM(size: Int32; &type: TexCoordPointerType; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_TexCoordPointerListIBM_ovr_2(size, &type, stride, _pointer, ptrstride); + end; + + public z_VertexPointerListIBM_adr := GetFuncAdr('glVertexPointerListIBM'); + public z_VertexPointerListIBM_ovr_0 := GetFuncOrNil&(z_VertexPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerListIBM(size: Int32; &type: VertexPointerType; stride: Int32; _pointer: array of IntPtr; ptrstride: Int32); + begin + z_VertexPointerListIBM_ovr_0(size, &type, stride, _pointer[0], ptrstride); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerListIBM(size: Int32; &type: VertexPointerType; stride: Int32; var _pointer: IntPtr; ptrstride: Int32); + begin + z_VertexPointerListIBM_ovr_0(size, &type, stride, _pointer, ptrstride); + end; + public z_VertexPointerListIBM_ovr_2 := GetFuncOrNil&(z_VertexPointerListIBM_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointerListIBM(size: Int32; &type: VertexPointerType; stride: Int32; _pointer: pointer; ptrstride: Int32); + begin + z_VertexPointerListIBM_ovr_2(size, &type, stride, _pointer, ptrstride); + end; + + end; + + glBlendFuncSeparateINGR = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendFuncSeparateINGR_adr := GetFuncAdr('glBlendFuncSeparateINGR'); + public z_BlendFuncSeparateINGR_ovr_0 := GetFuncOrNil&(z_BlendFuncSeparateINGR_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendFuncSeparateINGR(sfactorRGB: BlendingFactor; dfactorRGB: BlendingFactor; sfactorAlpha: BlendingFactor; dfactorAlpha: BlendingFactor); + begin + z_BlendFuncSeparateINGR_ovr_0(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + end; + + end; + + glFramebufferCMAAINTEL = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ApplyFramebufferAttachmentCMAAINTEL_adr := GetFuncAdr('glApplyFramebufferAttachmentCMAAINTEL'); + public z_ApplyFramebufferAttachmentCMAAINTEL_ovr_0 := GetFuncOrNil&(z_ApplyFramebufferAttachmentCMAAINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ApplyFramebufferAttachmentCMAAINTEL; + begin + z_ApplyFramebufferAttachmentCMAAINTEL_ovr_0; + end; + + end; + + glMapTextureINTEL = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SyncTextureINTEL_adr := GetFuncAdr('glSyncTextureINTEL'); + public z_SyncTextureINTEL_ovr_0 := GetFuncOrNil&(z_SyncTextureINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SyncTextureINTEL(texture: UInt32); + begin + z_SyncTextureINTEL_ovr_0(texture); + end; + + public z_UnmapTexture2DINTEL_adr := GetFuncAdr('glUnmapTexture2DINTEL'); + public z_UnmapTexture2DINTEL_ovr_0 := GetFuncOrNil&(z_UnmapTexture2DINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UnmapTexture2DINTEL(texture: UInt32; level: Int32); + begin + z_UnmapTexture2DINTEL_ovr_0(texture, level); + end; + + public z_MapTexture2DINTEL_adr := GetFuncAdr('glMapTexture2DINTEL'); + public z_MapTexture2DINTEL_ovr_0 := GetFuncOrNil&(z_MapTexture2DINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: array of Int32; layout: array of DummyEnum): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_0(texture, level, access, stride[0], layout[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: array of Int32; var layout: DummyEnum): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_0(texture, level, access, stride[0], layout); + end; + public z_MapTexture2DINTEL_ovr_2 := GetFuncOrNil&(z_MapTexture2DINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: array of Int32; layout: IntPtr): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_2(texture, level, access, stride[0], layout); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; var stride: Int32; layout: array of DummyEnum): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_0(texture, level, access, stride, layout[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; var stride: Int32; var layout: DummyEnum): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_0(texture, level, access, stride, layout); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; var stride: Int32; layout: IntPtr): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_2(texture, level, access, stride, layout); + end; + public z_MapTexture2DINTEL_ovr_6 := GetFuncOrNil&(z_MapTexture2DINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: IntPtr; layout: array of DummyEnum): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_6(texture, level, access, stride, layout[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: IntPtr; var layout: DummyEnum): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_6(texture, level, access, stride, layout); + end; + public z_MapTexture2DINTEL_ovr_8 := GetFuncOrNil&(z_MapTexture2DINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function MapTexture2DINTEL(texture: UInt32; level: Int32; access: DummyFlags; stride: IntPtr; layout: IntPtr): IntPtr; + begin + Result := z_MapTexture2DINTEL_ovr_8(texture, level, access, stride, layout); + end; + + end; + + glParallelArraysINTEL = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexPointervINTEL_adr := GetFuncAdr('glVertexPointervINTEL'); + public z_VertexPointervINTEL_ovr_0 := GetFuncOrNil&(z_VertexPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointervINTEL(size: Int32; &type: VertexPointerType; _pointer: array of IntPtr); + begin + z_VertexPointervINTEL_ovr_0(size, &type, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointervINTEL(size: Int32; &type: VertexPointerType; var _pointer: IntPtr); + begin + z_VertexPointervINTEL_ovr_0(size, &type, _pointer); + end; + public z_VertexPointervINTEL_ovr_2 := GetFuncOrNil&(z_VertexPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexPointervINTEL(size: Int32; &type: VertexPointerType; _pointer: pointer); + begin + z_VertexPointervINTEL_ovr_2(size, &type, _pointer); + end; + + public z_NormalPointervINTEL_adr := GetFuncAdr('glNormalPointervINTEL'); + public z_NormalPointervINTEL_ovr_0 := GetFuncOrNil&(z_NormalPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointervINTEL(&type: NormalPointerType; _pointer: array of IntPtr); + begin + z_NormalPointervINTEL_ovr_0(&type, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointervINTEL(&type: NormalPointerType; var _pointer: IntPtr); + begin + z_NormalPointervINTEL_ovr_0(&type, _pointer); + end; + public z_NormalPointervINTEL_ovr_2 := GetFuncOrNil&(z_NormalPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalPointervINTEL(&type: NormalPointerType; _pointer: pointer); + begin + z_NormalPointervINTEL_ovr_2(&type, _pointer); + end; + + public z_ColorPointervINTEL_adr := GetFuncAdr('glColorPointervINTEL'); + public z_ColorPointervINTEL_ovr_0 := GetFuncOrNil&(z_ColorPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointervINTEL(size: Int32; &type: VertexPointerType; _pointer: array of IntPtr); + begin + z_ColorPointervINTEL_ovr_0(size, &type, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointervINTEL(size: Int32; &type: VertexPointerType; var _pointer: IntPtr); + begin + z_ColorPointervINTEL_ovr_0(size, &type, _pointer); + end; + public z_ColorPointervINTEL_ovr_2 := GetFuncOrNil&(z_ColorPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorPointervINTEL(size: Int32; &type: VertexPointerType; _pointer: pointer); + begin + z_ColorPointervINTEL_ovr_2(size, &type, _pointer); + end; + + public z_TexCoordPointervINTEL_adr := GetFuncAdr('glTexCoordPointervINTEL'); + public z_TexCoordPointervINTEL_ovr_0 := GetFuncOrNil&(z_TexCoordPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointervINTEL(size: Int32; &type: VertexPointerType; _pointer: array of IntPtr); + begin + z_TexCoordPointervINTEL_ovr_0(size, &type, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointervINTEL(size: Int32; &type: VertexPointerType; var _pointer: IntPtr); + begin + z_TexCoordPointervINTEL_ovr_0(size, &type, _pointer); + end; + public z_TexCoordPointervINTEL_ovr_2 := GetFuncOrNil&(z_TexCoordPointervINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordPointervINTEL(size: Int32; &type: VertexPointerType; _pointer: pointer); + begin + z_TexCoordPointervINTEL_ovr_2(size, &type, _pointer); + end; + + end; + + glPerformanceQueryINTEL = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginPerfQueryINTEL_adr := GetFuncAdr('glBeginPerfQueryINTEL'); + public z_BeginPerfQueryINTEL_ovr_0 := GetFuncOrNil&(z_BeginPerfQueryINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginPerfQueryINTEL(queryHandle: PerfQueryHandleINTEL); + begin + z_BeginPerfQueryINTEL_ovr_0(queryHandle); + end; + + public z_CreatePerfQueryINTEL_adr := GetFuncAdr('glCreatePerfQueryINTEL'); + public z_CreatePerfQueryINTEL_ovr_0 := GetFuncOrNil&(z_CreatePerfQueryINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreatePerfQueryINTEL(queryId: PerfQueryIdINTEL; var queryHandle: PerfQueryHandleINTEL); + begin + z_CreatePerfQueryINTEL_ovr_0(queryId, queryHandle); + end; + public z_CreatePerfQueryINTEL_ovr_1 := GetFuncOrNil&(z_CreatePerfQueryINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreatePerfQueryINTEL(queryId: PerfQueryIdINTEL; queryHandle: IntPtr); + begin + z_CreatePerfQueryINTEL_ovr_1(queryId, queryHandle); + end; + + public z_DeletePerfQueryINTEL_adr := GetFuncAdr('glDeletePerfQueryINTEL'); + public z_DeletePerfQueryINTEL_ovr_0 := GetFuncOrNil&(z_DeletePerfQueryINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePerfQueryINTEL(queryHandle: PerfQueryHandleINTEL); + begin + z_DeletePerfQueryINTEL_ovr_0(queryHandle); + end; + + public z_EndPerfQueryINTEL_adr := GetFuncAdr('glEndPerfQueryINTEL'); + public z_EndPerfQueryINTEL_ovr_0 := GetFuncOrNil&(z_EndPerfQueryINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndPerfQueryINTEL(queryHandle: PerfQueryHandleINTEL); + begin + z_EndPerfQueryINTEL_ovr_0(queryHandle); + end; + + public z_GetFirstPerfQueryIdINTEL_adr := GetFuncAdr('glGetFirstPerfQueryIdINTEL'); + public z_GetFirstPerfQueryIdINTEL_ovr_0 := GetFuncOrNil&(z_GetFirstPerfQueryIdINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFirstPerfQueryIdINTEL(var queryId: PerfQueryIdINTEL); + begin + z_GetFirstPerfQueryIdINTEL_ovr_0(queryId); + end; + public z_GetFirstPerfQueryIdINTEL_ovr_1 := GetFuncOrNil&(z_GetFirstPerfQueryIdINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFirstPerfQueryIdINTEL(queryId: IntPtr); + begin + z_GetFirstPerfQueryIdINTEL_ovr_1(queryId); + end; + + public z_GetNextPerfQueryIdINTEL_adr := GetFuncAdr('glGetNextPerfQueryIdINTEL'); + public z_GetNextPerfQueryIdINTEL_ovr_0 := GetFuncOrNil&(z_GetNextPerfQueryIdINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNextPerfQueryIdINTEL(queryId: PerfQueryIdINTEL; nextQueryId: PerfQueryIdINTEL); + begin + z_GetNextPerfQueryIdINTEL_ovr_0(queryId, nextQueryId); + end; + public z_GetNextPerfQueryIdINTEL_ovr_1 := GetFuncOrNil&(z_GetNextPerfQueryIdINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNextPerfQueryIdINTEL(queryId: PerfQueryIdINTEL; nextQueryId: IntPtr); + begin + z_GetNextPerfQueryIdINTEL_ovr_1(queryId, nextQueryId); + end; + + public z_GetPerfCounterInfoINTEL_adr := GetFuncAdr('glGetPerfCounterInfoINTEL'); + public z_GetPerfCounterInfoINTEL_ovr_0 := GetFuncOrNil&(z_GetPerfCounterInfoINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfCounterInfoINTEL(queryId: PerfQueryIdINTEL; counterId: UInt32; counterNameLength: UInt32; counterName: IntPtr; counterDescLength: UInt32; counterDesc: IntPtr; var counterOffset: UInt32; var counterDataSize: UInt32; var counterTypeEnum: UInt32; var counterDataTypeEnum: UInt32; var rawCounterMaxValue: UInt64); + begin + z_GetPerfCounterInfoINTEL_ovr_0(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); + end; + public z_GetPerfCounterInfoINTEL_ovr_1 := GetFuncOrNil&(z_GetPerfCounterInfoINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfCounterInfoINTEL(queryId: PerfQueryIdINTEL; counterId: UInt32; counterNameLength: UInt32; counterName: IntPtr; counterDescLength: UInt32; counterDesc: IntPtr; counterOffset: IntPtr; counterDataSize: IntPtr; counterTypeEnum: IntPtr; counterDataTypeEnum: IntPtr; rawCounterMaxValue: IntPtr); + begin + z_GetPerfCounterInfoINTEL_ovr_1(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); + end; + + public z_GetPerfQueryDataINTEL_adr := GetFuncAdr('glGetPerfQueryDataINTEL'); + public z_GetPerfQueryDataINTEL_ovr_0 := GetFuncOrNil&(z_GetPerfQueryDataINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryDataINTEL(queryHandle: PerfQueryHandleINTEL; flags: PerfQueryDataFlagsINTEL; dataSize: Int32; data: IntPtr; var bytesWritten: UInt32); + begin + z_GetPerfQueryDataINTEL_ovr_0(queryHandle, flags, dataSize, data, bytesWritten); + end; + public z_GetPerfQueryDataINTEL_ovr_1 := GetFuncOrNil&(z_GetPerfQueryDataINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryDataINTEL(queryHandle: PerfQueryHandleINTEL; flags: PerfQueryDataFlagsINTEL; dataSize: Int32; data: IntPtr; bytesWritten: IntPtr); + begin + z_GetPerfQueryDataINTEL_ovr_1(queryHandle, flags, dataSize, data, bytesWritten); + end; + + public z_GetPerfQueryIdByNameINTEL_adr := GetFuncAdr('glGetPerfQueryIdByNameINTEL'); + public z_GetPerfQueryIdByNameINTEL_ovr_0 := GetFuncOrNil&(z_GetPerfQueryIdByNameINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: string; var queryId: PerfQueryIdINTEL); + begin + var par_1_str_ptr := Marshal.StringToHGlobalAnsi(queryName); + z_GetPerfQueryIdByNameINTEL_ovr_0(par_1_str_ptr, queryId); + Marshal.FreeHGlobal(par_1_str_ptr); + end; + public z_GetPerfQueryIdByNameINTEL_ovr_1 := GetFuncOrNil&(z_GetPerfQueryIdByNameINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: string; queryId: IntPtr); + begin + var par_1_str_ptr := Marshal.StringToHGlobalAnsi(queryName); + z_GetPerfQueryIdByNameINTEL_ovr_1(par_1_str_ptr, queryId); + Marshal.FreeHGlobal(par_1_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: IntPtr; var queryId: PerfQueryIdINTEL); + begin + z_GetPerfQueryIdByNameINTEL_ovr_0(queryName, queryId); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryIdByNameINTEL(queryName: IntPtr; queryId: IntPtr); + begin + z_GetPerfQueryIdByNameINTEL_ovr_1(queryName, queryId); + end; + + public z_GetPerfQueryInfoINTEL_adr := GetFuncAdr('glGetPerfQueryInfoINTEL'); + public z_GetPerfQueryInfoINTEL_ovr_0 := GetFuncOrNil&(z_GetPerfQueryInfoINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryInfoINTEL(queryId: PerfQueryIdINTEL; queryNameLength: UInt32; queryName: IntPtr; var dataSize: UInt32; var noCounters: UInt32; var noInstances: UInt32; var capsMask: PerfQueryCapFlagsINTEL); + begin + z_GetPerfQueryInfoINTEL_ovr_0(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); + end; + public z_GetPerfQueryInfoINTEL_ovr_1 := GetFuncOrNil&(z_GetPerfQueryInfoINTEL_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPerfQueryInfoINTEL(queryId: PerfQueryIdINTEL; queryNameLength: UInt32; queryName: IntPtr; dataSize: IntPtr; noCounters: IntPtr; noInstances: IntPtr; var capsMask: PerfQueryCapFlagsINTEL); + begin + z_GetPerfQueryInfoINTEL_ovr_1(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); + end; + + end; + + glBlendEquationAdvancedKHR = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendBarrierKHR_adr := GetFuncAdr('glBlendBarrierKHR'); + public z_BlendBarrierKHR_ovr_0 := GetFuncOrNil&(z_BlendBarrierKHR_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendBarrierKHR; + begin + z_BlendBarrierKHR_ovr_0; + end; + + end; + + glDebugKHR = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glRobustnessKHR = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glParallelShaderCompileKHR = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MaxShaderCompilerThreadsKHR_adr := GetFuncAdr('glMaxShaderCompilerThreadsKHR'); + public z_MaxShaderCompilerThreadsKHR_ovr_0 := GetFuncOrNil&(z_MaxShaderCompilerThreadsKHR_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaxShaderCompilerThreadsKHR(count: UInt32); + begin + z_MaxShaderCompilerThreadsKHR_ovr_0(count); + end; + + end; + + glFramebufferFlipYMESA = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferParameteriMESA_adr := GetFuncAdr('glFramebufferParameteriMESA'); + public z_FramebufferParameteriMESA_ovr_0 := GetFuncOrNil&(z_FramebufferParameteriMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferParameteriMESA(target: FramebufferTarget; pname: FramebufferParameterName; param: Int32); + begin + z_FramebufferParameteriMESA_ovr_0(target, pname, param); + end; + + public z_GetFramebufferParameterivMESA_adr := GetFuncAdr('glGetFramebufferParameterivMESA'); + public z_GetFramebufferParameterivMESA_ovr_0 := GetFuncOrNil&(z_GetFramebufferParameterivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivMESA(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; ¶ms: array of Int32); + begin + z_GetFramebufferParameterivMESA_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivMESA(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; var ¶ms: Int32); + begin + z_GetFramebufferParameterivMESA_ovr_0(target, pname, ¶ms); + end; + public z_GetFramebufferParameterivMESA_ovr_2 := GetFuncOrNil&(z_GetFramebufferParameterivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFramebufferParameterivMESA(target: FramebufferTarget; pname: FramebufferAttachmentParameterName; ¶ms: IntPtr); + begin + z_GetFramebufferParameterivMESA_ovr_2(target, pname, ¶ms); + end; + + end; + + glResizeBuffersMESA = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ResizeBuffersMESA_adr := GetFuncAdr('glResizeBuffersMESA'); + public z_ResizeBuffersMESA_ovr_0 := GetFuncOrNil&(z_ResizeBuffersMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResizeBuffersMESA; + begin + z_ResizeBuffersMESA_ovr_0; + end; + + end; + + glWindowPosMESA = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_WindowPos2dMESA_adr := GetFuncAdr('glWindowPos2dMESA'); + public z_WindowPos2dMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2dMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dMESA(x: real; y: real); + begin + z_WindowPos2dMESA_ovr_0(x, y); + end; + + public z_WindowPos2dvMESA_adr := GetFuncAdr('glWindowPos2dvMESA'); + public z_WindowPos2dvMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2dvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvMESA(v: array of real); + begin + z_WindowPos2dvMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvMESA(var v: real); + begin + z_WindowPos2dvMESA_ovr_0(v); + end; + public z_WindowPos2dvMESA_ovr_2 := GetFuncOrNil&(z_WindowPos2dvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2dvMESA(v: IntPtr); + begin + z_WindowPos2dvMESA_ovr_2(v); + end; + + public z_WindowPos2fMESA_adr := GetFuncAdr('glWindowPos2fMESA'); + public z_WindowPos2fMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2fMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fMESA(x: single; y: single); + begin + z_WindowPos2fMESA_ovr_0(x, y); + end; + + public z_WindowPos2fvMESA_adr := GetFuncAdr('glWindowPos2fvMESA'); + public z_WindowPos2fvMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2fvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvMESA(v: array of single); + begin + z_WindowPos2fvMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvMESA(var v: single); + begin + z_WindowPos2fvMESA_ovr_0(v); + end; + public z_WindowPos2fvMESA_ovr_2 := GetFuncOrNil&(z_WindowPos2fvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2fvMESA(v: IntPtr); + begin + z_WindowPos2fvMESA_ovr_2(v); + end; + + public z_WindowPos2iMESA_adr := GetFuncAdr('glWindowPos2iMESA'); + public z_WindowPos2iMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2iMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2iMESA(x: Int32; y: Int32); + begin + z_WindowPos2iMESA_ovr_0(x, y); + end; + + public z_WindowPos2ivMESA_adr := GetFuncAdr('glWindowPos2ivMESA'); + public z_WindowPos2ivMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2ivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivMESA(v: array of Int32); + begin + z_WindowPos2ivMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivMESA(var v: Int32); + begin + z_WindowPos2ivMESA_ovr_0(v); + end; + public z_WindowPos2ivMESA_ovr_2 := GetFuncOrNil&(z_WindowPos2ivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2ivMESA(v: IntPtr); + begin + z_WindowPos2ivMESA_ovr_2(v); + end; + + public z_WindowPos2sMESA_adr := GetFuncAdr('glWindowPos2sMESA'); + public z_WindowPos2sMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2sMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2sMESA(x: Int16; y: Int16); + begin + z_WindowPos2sMESA_ovr_0(x, y); + end; + + public z_WindowPos2svMESA_adr := GetFuncAdr('glWindowPos2svMESA'); + public z_WindowPos2svMESA_ovr_0 := GetFuncOrNil&(z_WindowPos2svMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svMESA(v: array of Int16); + begin + z_WindowPos2svMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svMESA(var v: Int16); + begin + z_WindowPos2svMESA_ovr_0(v); + end; + public z_WindowPos2svMESA_ovr_2 := GetFuncOrNil&(z_WindowPos2svMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos2svMESA(v: IntPtr); + begin + z_WindowPos2svMESA_ovr_2(v); + end; + + public z_WindowPos3dMESA_adr := GetFuncAdr('glWindowPos3dMESA'); + public z_WindowPos3dMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3dMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dMESA(x: real; y: real; z: real); + begin + z_WindowPos3dMESA_ovr_0(x, y, z); + end; + + public z_WindowPos3dvMESA_adr := GetFuncAdr('glWindowPos3dvMESA'); + public z_WindowPos3dvMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3dvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvMESA(v: array of real); + begin + z_WindowPos3dvMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvMESA(var v: real); + begin + z_WindowPos3dvMESA_ovr_0(v); + end; + public z_WindowPos3dvMESA_ovr_2 := GetFuncOrNil&(z_WindowPos3dvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3dvMESA(v: IntPtr); + begin + z_WindowPos3dvMESA_ovr_2(v); + end; + + public z_WindowPos3fMESA_adr := GetFuncAdr('glWindowPos3fMESA'); + public z_WindowPos3fMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3fMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fMESA(x: single; y: single; z: single); + begin + z_WindowPos3fMESA_ovr_0(x, y, z); + end; + + public z_WindowPos3fvMESA_adr := GetFuncAdr('glWindowPos3fvMESA'); + public z_WindowPos3fvMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3fvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvMESA(v: array of single); + begin + z_WindowPos3fvMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvMESA(var v: single); + begin + z_WindowPos3fvMESA_ovr_0(v); + end; + public z_WindowPos3fvMESA_ovr_2 := GetFuncOrNil&(z_WindowPos3fvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3fvMESA(v: IntPtr); + begin + z_WindowPos3fvMESA_ovr_2(v); + end; + + public z_WindowPos3iMESA_adr := GetFuncAdr('glWindowPos3iMESA'); + public z_WindowPos3iMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3iMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3iMESA(x: Int32; y: Int32; z: Int32); + begin + z_WindowPos3iMESA_ovr_0(x, y, z); + end; + + public z_WindowPos3ivMESA_adr := GetFuncAdr('glWindowPos3ivMESA'); + public z_WindowPos3ivMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3ivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivMESA(v: array of Int32); + begin + z_WindowPos3ivMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivMESA(var v: Int32); + begin + z_WindowPos3ivMESA_ovr_0(v); + end; + public z_WindowPos3ivMESA_ovr_2 := GetFuncOrNil&(z_WindowPos3ivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3ivMESA(v: IntPtr); + begin + z_WindowPos3ivMESA_ovr_2(v); + end; + + public z_WindowPos3sMESA_adr := GetFuncAdr('glWindowPos3sMESA'); + public z_WindowPos3sMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3sMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3sMESA(x: Int16; y: Int16; z: Int16); + begin + z_WindowPos3sMESA_ovr_0(x, y, z); + end; + + public z_WindowPos3svMESA_adr := GetFuncAdr('glWindowPos3svMESA'); + public z_WindowPos3svMESA_ovr_0 := GetFuncOrNil&(z_WindowPos3svMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svMESA(v: array of Int16); + begin + z_WindowPos3svMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svMESA(var v: Int16); + begin + z_WindowPos3svMESA_ovr_0(v); + end; + public z_WindowPos3svMESA_ovr_2 := GetFuncOrNil&(z_WindowPos3svMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos3svMESA(v: IntPtr); + begin + z_WindowPos3svMESA_ovr_2(v); + end; + + public z_WindowPos4dMESA_adr := GetFuncAdr('glWindowPos4dMESA'); + public z_WindowPos4dMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4dMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dMESA(x: real; y: real; z: real; w: real); + begin + z_WindowPos4dMESA_ovr_0(x, y, z, w); + end; + + public z_WindowPos4dvMESA_adr := GetFuncAdr('glWindowPos4dvMESA'); + public z_WindowPos4dvMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4dvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dvMESA(v: array of real); + begin + z_WindowPos4dvMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dvMESA(var v: real); + begin + z_WindowPos4dvMESA_ovr_0(v); + end; + public z_WindowPos4dvMESA_ovr_2 := GetFuncOrNil&(z_WindowPos4dvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4dvMESA(v: IntPtr); + begin + z_WindowPos4dvMESA_ovr_2(v); + end; + + public z_WindowPos4fMESA_adr := GetFuncAdr('glWindowPos4fMESA'); + public z_WindowPos4fMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4fMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fMESA(x: single; y: single; z: single; w: single); + begin + z_WindowPos4fMESA_ovr_0(x, y, z, w); + end; + + public z_WindowPos4fvMESA_adr := GetFuncAdr('glWindowPos4fvMESA'); + public z_WindowPos4fvMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4fvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fvMESA(v: array of single); + begin + z_WindowPos4fvMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fvMESA(var v: single); + begin + z_WindowPos4fvMESA_ovr_0(v); + end; + public z_WindowPos4fvMESA_ovr_2 := GetFuncOrNil&(z_WindowPos4fvMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4fvMESA(v: IntPtr); + begin + z_WindowPos4fvMESA_ovr_2(v); + end; + + public z_WindowPos4iMESA_adr := GetFuncAdr('glWindowPos4iMESA'); + public z_WindowPos4iMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4iMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4iMESA(x: Int32; y: Int32; z: Int32; w: Int32); + begin + z_WindowPos4iMESA_ovr_0(x, y, z, w); + end; + + public z_WindowPos4ivMESA_adr := GetFuncAdr('glWindowPos4ivMESA'); + public z_WindowPos4ivMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4ivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4ivMESA(v: array of Int32); + begin + z_WindowPos4ivMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4ivMESA(var v: Int32); + begin + z_WindowPos4ivMESA_ovr_0(v); + end; + public z_WindowPos4ivMESA_ovr_2 := GetFuncOrNil&(z_WindowPos4ivMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4ivMESA(v: IntPtr); + begin + z_WindowPos4ivMESA_ovr_2(v); + end; + + public z_WindowPos4sMESA_adr := GetFuncAdr('glWindowPos4sMESA'); + public z_WindowPos4sMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4sMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4sMESA(x: Int16; y: Int16; z: Int16; w: Int16); + begin + z_WindowPos4sMESA_ovr_0(x, y, z, w); + end; + + public z_WindowPos4svMESA_adr := GetFuncAdr('glWindowPos4svMESA'); + public z_WindowPos4svMESA_ovr_0 := GetFuncOrNil&(z_WindowPos4svMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4svMESA(v: array of Int16); + begin + z_WindowPos4svMESA_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4svMESA(var v: Int16); + begin + z_WindowPos4svMESA_ovr_0(v); + end; + public z_WindowPos4svMESA_ovr_2 := GetFuncOrNil&(z_WindowPos4svMESA_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WindowPos4svMESA(v: IntPtr); + begin + z_WindowPos4svMESA_ovr_2(v); + end; + + end; + + glConditionalRenderNVX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginConditionalRenderNVX_adr := GetFuncAdr('glBeginConditionalRenderNVX'); + public z_BeginConditionalRenderNVX_ovr_0 := GetFuncOrNil&(z_BeginConditionalRenderNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginConditionalRenderNVX(id: UInt32); + begin + z_BeginConditionalRenderNVX_ovr_0(id); + end; + + public z_EndConditionalRenderNVX_adr := GetFuncAdr('glEndConditionalRenderNVX'); + public z_EndConditionalRenderNVX_ovr_0 := GetFuncOrNil&(z_EndConditionalRenderNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndConditionalRenderNVX; + begin + z_EndConditionalRenderNVX_ovr_0; + end; + + end; + + glLinkedGpuMulticastNVX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_LGPUNamedBufferSubDataNVX_adr := GetFuncAdr('glLGPUNamedBufferSubDataNVX'); + public z_LGPUNamedBufferSubDataNVX_ovr_0 := GetFuncOrNil&(z_LGPUNamedBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LGPUNamedBufferSubDataNVX(gpuMask: DummyFlags; buffer: UInt32; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_LGPUNamedBufferSubDataNVX_ovr_0(gpuMask, buffer, offset, size, data); + end; + + public z_LGPUCopyImageSubDataNVX_adr := GetFuncAdr('glLGPUCopyImageSubDataNVX'); + public z_LGPUCopyImageSubDataNVX_ovr_0 := GetFuncOrNil&(z_LGPUCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LGPUCopyImageSubDataNVX(sourceGpu: UInt32; destinationGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srxY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32); + begin + z_LGPUCopyImageSubDataNVX_ovr_0(sourceGpu, destinationGpuMask, srcName, srcTarget, srcLevel, srcX, srxY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); + end; + + public z_LGPUInterlockNVX_adr := GetFuncAdr('glLGPUInterlockNVX'); + public z_LGPUInterlockNVX_ovr_0 := GetFuncOrNil&(z_LGPUInterlockNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LGPUInterlockNVX; + begin + z_LGPUInterlockNVX_ovr_0; + end; + + end; + + glAlphaToCoverageDitherControlNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_AlphaToCoverageDitherControlNV_adr := GetFuncAdr('glAlphaToCoverageDitherControlNV'); + public z_AlphaToCoverageDitherControlNV_ovr_0 := GetFuncOrNil&(z_AlphaToCoverageDitherControlNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaToCoverageDitherControlNV(mode: DummyEnum); + begin + z_AlphaToCoverageDitherControlNV_ovr_0(mode); + end; + + end; + + glBindlessMultiDrawIndirectNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiDrawArraysIndirectBindlessNV_adr := GetFuncAdr('glMultiDrawArraysIndirectBindlessNV'); + public z_MultiDrawArraysIndirectBindlessNV_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysIndirectBindlessNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectBindlessNV(mode: PrimitiveType; indirect: IntPtr; drawCount: Int32; stride: Int32; vertexBufferCount: Int32); + begin + z_MultiDrawArraysIndirectBindlessNV_ovr_0(mode, indirect, drawCount, stride, vertexBufferCount); + end; + + public z_MultiDrawElementsIndirectBindlessNV_adr := GetFuncAdr('glMultiDrawElementsIndirectBindlessNV'); + public z_MultiDrawElementsIndirectBindlessNV_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsIndirectBindlessNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectBindlessNV(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr; drawCount: Int32; stride: Int32; vertexBufferCount: Int32); + begin + z_MultiDrawElementsIndirectBindlessNV_ovr_0(mode, &type, indirect, drawCount, stride, vertexBufferCount); + end; + + end; + + glBindlessMultiDrawIndirectCountNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiDrawArraysIndirectBindlessCountNV_adr := GetFuncAdr('glMultiDrawArraysIndirectBindlessCountNV'); + public z_MultiDrawArraysIndirectBindlessCountNV_ovr_0 := GetFuncOrNil&(z_MultiDrawArraysIndirectBindlessCountNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawArraysIndirectBindlessCountNV(mode: PrimitiveType; indirect: IntPtr; drawCount: Int32; maxDrawCount: Int32; stride: Int32; vertexBufferCount: Int32); + begin + z_MultiDrawArraysIndirectBindlessCountNV_ovr_0(mode, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); + end; + + public z_MultiDrawElementsIndirectBindlessCountNV_adr := GetFuncAdr('glMultiDrawElementsIndirectBindlessCountNV'); + public z_MultiDrawElementsIndirectBindlessCountNV_ovr_0 := GetFuncOrNil&(z_MultiDrawElementsIndirectBindlessCountNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawElementsIndirectBindlessCountNV(mode: PrimitiveType; &type: DrawElementsType; indirect: IntPtr; drawCount: Int32; maxDrawCount: Int32; stride: Int32; vertexBufferCount: Int32); + begin + z_MultiDrawElementsIndirectBindlessCountNV_ovr_0(mode, &type, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); + end; + + end; + + glBindlessTextureNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetTextureHandleNV_adr := GetFuncAdr('glGetTextureHandleNV'); + public z_GetTextureHandleNV_ovr_0 := GetFuncOrNil&(z_GetTextureHandleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureHandleNV(texture: UInt32): UInt64; + begin + Result := z_GetTextureHandleNV_ovr_0(texture); + end; + + public z_GetTextureSamplerHandleNV_adr := GetFuncAdr('glGetTextureSamplerHandleNV'); + public z_GetTextureSamplerHandleNV_ovr_0 := GetFuncOrNil&(z_GetTextureSamplerHandleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetTextureSamplerHandleNV(texture: UInt32; sampler: UInt32): UInt64; + begin + Result := z_GetTextureSamplerHandleNV_ovr_0(texture, sampler); + end; + + public z_MakeTextureHandleResidentNV_adr := GetFuncAdr('glMakeTextureHandleResidentNV'); + public z_MakeTextureHandleResidentNV_ovr_0 := GetFuncOrNil&(z_MakeTextureHandleResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleResidentNV(handle: UInt64); + begin + z_MakeTextureHandleResidentNV_ovr_0(handle); + end; + + public z_MakeTextureHandleNonResidentNV_adr := GetFuncAdr('glMakeTextureHandleNonResidentNV'); + public z_MakeTextureHandleNonResidentNV_ovr_0 := GetFuncOrNil&(z_MakeTextureHandleNonResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeTextureHandleNonResidentNV(handle: UInt64); + begin + z_MakeTextureHandleNonResidentNV_ovr_0(handle); + end; + + public z_GetImageHandleNV_adr := GetFuncAdr('glGetImageHandleNV'); + public z_GetImageHandleNV_ovr_0 := GetFuncOrNil&(z_GetImageHandleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetImageHandleNV(texture: UInt32; level: Int32; layered: boolean; layer: Int32; format: PixelFormat): UInt64; + begin + Result := z_GetImageHandleNV_ovr_0(texture, level, layered, layer, format); + end; + + public z_MakeImageHandleResidentNV_adr := GetFuncAdr('glMakeImageHandleResidentNV'); + public z_MakeImageHandleResidentNV_ovr_0 := GetFuncOrNil&(z_MakeImageHandleResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleResidentNV(handle: UInt64; access: DummyEnum); + begin + z_MakeImageHandleResidentNV_ovr_0(handle, access); + end; + + public z_MakeImageHandleNonResidentNV_adr := GetFuncAdr('glMakeImageHandleNonResidentNV'); + public z_MakeImageHandleNonResidentNV_ovr_0 := GetFuncOrNil&(z_MakeImageHandleNonResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeImageHandleNonResidentNV(handle: UInt64); + begin + z_MakeImageHandleNonResidentNV_ovr_0(handle); + end; + + public z_UniformHandleui64NV_adr := GetFuncAdr('glUniformHandleui64NV'); + public z_UniformHandleui64NV_ovr_0 := GetFuncOrNil&(z_UniformHandleui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64NV(location: Int32; value: UInt64); + begin + z_UniformHandleui64NV_ovr_0(location, value); + end; + + public z_UniformHandleui64vNV_adr := GetFuncAdr('glUniformHandleui64vNV'); + public z_UniformHandleui64vNV_ovr_0 := GetFuncOrNil&(z_UniformHandleui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vNV(location: Int32; count: Int32; value: array of UInt64); + begin + z_UniformHandleui64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vNV(location: Int32; count: Int32; var value: UInt64); + begin + z_UniformHandleui64vNV_ovr_0(location, count, value); + end; + public z_UniformHandleui64vNV_ovr_2 := GetFuncOrNil&(z_UniformHandleui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UniformHandleui64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_UniformHandleui64vNV_ovr_2(location, count, value); + end; + + public z_ProgramUniformHandleui64NV_adr := GetFuncAdr('glProgramUniformHandleui64NV'); + public z_ProgramUniformHandleui64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniformHandleui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64NV(&program: UInt32; location: Int32; value: UInt64); + begin + z_ProgramUniformHandleui64NV_ovr_0(&program, location, value); + end; + + public z_ProgramUniformHandleui64vNV_adr := GetFuncAdr('glProgramUniformHandleui64vNV'); + public z_ProgramUniformHandleui64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniformHandleui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vNV(&program: UInt32; location: Int32; count: Int32; values: array of UInt64); + begin + z_ProgramUniformHandleui64vNV_ovr_0(&program, location, count, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vNV(&program: UInt32; location: Int32; count: Int32; var values: UInt64); + begin + z_ProgramUniformHandleui64vNV_ovr_0(&program, location, count, values); + end; + public z_ProgramUniformHandleui64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniformHandleui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformHandleui64vNV(&program: UInt32; location: Int32; count: Int32; values: IntPtr); + begin + z_ProgramUniformHandleui64vNV_ovr_2(&program, location, count, values); + end; + + public z_IsTextureHandleResidentNV_adr := GetFuncAdr('glIsTextureHandleResidentNV'); + public z_IsTextureHandleResidentNV_ovr_0 := GetFuncOrNil&(z_IsTextureHandleResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTextureHandleResidentNV(handle: UInt64): boolean; + begin + Result := z_IsTextureHandleResidentNV_ovr_0(handle); + end; + + public z_IsImageHandleResidentNV_adr := GetFuncAdr('glIsImageHandleResidentNV'); + public z_IsImageHandleResidentNV_ovr_0 := GetFuncOrNil&(z_IsImageHandleResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsImageHandleResidentNV(handle: UInt64): boolean; + begin + Result := z_IsImageHandleResidentNV_ovr_0(handle); + end; + + end; + + glBlendEquationAdvancedNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BlendParameteriNV_adr := GetFuncAdr('glBlendParameteriNV'); + public z_BlendParameteriNV_ovr_0 := GetFuncOrNil&(z_BlendParameteriNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendParameteriNV(pname: DummyEnum; value: Int32); + begin + z_BlendParameteriNV_ovr_0(pname, value); + end; + + public z_BlendBarrierNV_adr := GetFuncAdr('glBlendBarrierNV'); + public z_BlendBarrierNV_ovr_0 := GetFuncOrNil&(z_BlendBarrierNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendBarrierNV; + begin + z_BlendBarrierNV_ovr_0; + end; + + end; + + glClipSpaceWScalingNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ViewportPositionWScaleNV_adr := GetFuncAdr('glViewportPositionWScaleNV'); + public z_ViewportPositionWScaleNV_ovr_0 := GetFuncOrNil&(z_ViewportPositionWScaleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportPositionWScaleNV(index: UInt32; xcoeff: single; ycoeff: single); + begin + z_ViewportPositionWScaleNV_ovr_0(index, xcoeff, ycoeff); + end; + + end; + + glCommandListNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CreateStatesNV_adr := GetFuncAdr('glCreateStatesNV'); + public z_CreateStatesNV_ovr_0 := GetFuncOrNil&(z_CreateStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateStatesNV(n: Int32; states: array of UInt32); + begin + z_CreateStatesNV_ovr_0(n, states[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateStatesNV(n: Int32; var states: UInt32); + begin + z_CreateStatesNV_ovr_0(n, states); + end; + public z_CreateStatesNV_ovr_2 := GetFuncOrNil&(z_CreateStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateStatesNV(n: Int32; states: IntPtr); + begin + z_CreateStatesNV_ovr_2(n, states); + end; + + public z_DeleteStatesNV_adr := GetFuncAdr('glDeleteStatesNV'); + public z_DeleteStatesNV_ovr_0 := GetFuncOrNil&(z_DeleteStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteStatesNV(n: Int32; states: array of UInt32); + begin + z_DeleteStatesNV_ovr_0(n, states[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteStatesNV(n: Int32; var states: UInt32); + begin + z_DeleteStatesNV_ovr_0(n, states); + end; + public z_DeleteStatesNV_ovr_2 := GetFuncOrNil&(z_DeleteStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteStatesNV(n: Int32; states: IntPtr); + begin + z_DeleteStatesNV_ovr_2(n, states); + end; + + public z_IsStateNV_adr := GetFuncAdr('glIsStateNV'); + public z_IsStateNV_ovr_0 := GetFuncOrNil&(z_IsStateNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsStateNV(state: UInt32): boolean; + begin + Result := z_IsStateNV_ovr_0(state); + end; + + public z_StateCaptureNV_adr := GetFuncAdr('glStateCaptureNV'); + public z_StateCaptureNV_ovr_0 := GetFuncOrNil&(z_StateCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StateCaptureNV(state: UInt32; mode: DummyEnum); + begin + z_StateCaptureNV_ovr_0(state, mode); + end; + + public z_GetCommandHeaderNV_adr := GetFuncAdr('glGetCommandHeaderNV'); + public z_GetCommandHeaderNV_ovr_0 := GetFuncOrNil&(z_GetCommandHeaderNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetCommandHeaderNV(tokenID: DummyEnum; size: UInt32): UInt32; + begin + Result := z_GetCommandHeaderNV_ovr_0(tokenID, size); + end; + + public z_GetStageIndexNV_adr := GetFuncAdr('glGetStageIndexNV'); + public z_GetStageIndexNV_ovr_0 := GetFuncOrNil&(z_GetStageIndexNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetStageIndexNV(_shadertype: ShaderType): UInt16; + begin + Result := z_GetStageIndexNV_ovr_0(_shadertype); + end; + + public z_DrawCommandsNV_adr := GetFuncAdr('glDrawCommandsNV'); + public z_DrawCommandsNV_ovr_0 := GetFuncOrNil&(z_DrawCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; count: UInt32); + begin + z_DrawCommandsNV_ovr_0(primitiveMode, buffer, indirects[0], sizes[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; count: UInt32); + begin + z_DrawCommandsNV_ovr_0(primitiveMode, buffer, indirects[0], sizes, count); + end; + public z_DrawCommandsNV_ovr_2 := GetFuncOrNil&(z_DrawCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; count: UInt32); + begin + z_DrawCommandsNV_ovr_2(primitiveMode, buffer, indirects[0], sizes, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; count: UInt32); + begin + z_DrawCommandsNV_ovr_0(primitiveMode, buffer, indirects, sizes[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; var indirects: IntPtr; var sizes: Int32; count: UInt32); + begin + z_DrawCommandsNV_ovr_0(primitiveMode, buffer, indirects, sizes, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; count: UInt32); + begin + z_DrawCommandsNV_ovr_2(primitiveMode, buffer, indirects, sizes, count); + end; + public z_DrawCommandsNV_ovr_6 := GetFuncOrNil&(z_DrawCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: pointer; sizes: array of Int32; count: UInt32); + begin + z_DrawCommandsNV_ovr_6(primitiveMode, buffer, indirects, sizes[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: pointer; var sizes: Int32; count: UInt32); + begin + z_DrawCommandsNV_ovr_6(primitiveMode, buffer, indirects, sizes, count); + end; + public z_DrawCommandsNV_ovr_8 := GetFuncOrNil&(z_DrawCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsNV(primitiveMode: DummyEnum; buffer: UInt32; indirects: pointer; sizes: IntPtr; count: UInt32); + begin + z_DrawCommandsNV_ovr_8(primitiveMode, buffer, indirects, sizes, count); + end; + + public z_DrawCommandsAddressNV_adr := GetFuncAdr('glDrawCommandsAddressNV'); + public z_DrawCommandsAddressNV_ovr_0 := GetFuncOrNil&(z_DrawCommandsAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: array of UInt64; sizes: array of Int32; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_0(primitiveMode, indirects[0], sizes[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: array of UInt64; var sizes: Int32; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_0(primitiveMode, indirects[0], sizes, count); + end; + public z_DrawCommandsAddressNV_ovr_2 := GetFuncOrNil&(z_DrawCommandsAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: array of UInt64; sizes: IntPtr; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_2(primitiveMode, indirects[0], sizes, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; var indirects: UInt64; sizes: array of Int32; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_0(primitiveMode, indirects, sizes[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; var indirects: UInt64; var sizes: Int32; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_0(primitiveMode, indirects, sizes, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; var indirects: UInt64; sizes: IntPtr; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_2(primitiveMode, indirects, sizes, count); + end; + public z_DrawCommandsAddressNV_ovr_6 := GetFuncOrNil&(z_DrawCommandsAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: IntPtr; sizes: array of Int32; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_6(primitiveMode, indirects, sizes[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: IntPtr; var sizes: Int32; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_6(primitiveMode, indirects, sizes, count); + end; + public z_DrawCommandsAddressNV_ovr_8 := GetFuncOrNil&(z_DrawCommandsAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsAddressNV(primitiveMode: DummyEnum; indirects: IntPtr; sizes: IntPtr; count: UInt32); + begin + z_DrawCommandsAddressNV_ovr_8(primitiveMode, indirects, sizes, count); + end; + + public z_DrawCommandsStatesNV_adr := GetFuncAdr('glDrawCommandsStatesNV'); + public z_DrawCommandsStatesNV_ovr_0 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes[0], states[0], fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_2 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects[0], sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects[0], sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_6 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects[0], sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects[0], sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_8 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_8(buffer, indirects[0], sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_8(buffer, indirects[0], sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_18 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects[0], sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects[0], sizes, states[0], fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_20 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_20(buffer, indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_20(buffer, indirects[0], sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_24 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_24(buffer, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_24(buffer, indirects[0], sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_26 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_26(buffer, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_8(buffer, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_0(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_2(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_6(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_8(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_20(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_18(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_20(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_24(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_24(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; var indirects: IntPtr; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_26(buffer, indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_54 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes[0], states[0], fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_56 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_56(buffer, indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_56(buffer, indirects, sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_60 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_60(buffer, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_60(buffer, indirects, sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_62 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_62(buffer, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_56(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_54(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_56(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_60(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_60(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_62(buffer, indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_72 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_72(buffer, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_72(buffer, indirects, sizes, states[0], fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_74 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_74(buffer, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_72(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_72(buffer, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_74(buffer, indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_78 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_78(buffer, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_78(buffer, indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesNV_ovr_80 := GetFuncOrNil&(z_DrawCommandsStatesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesNV(buffer: UInt32; indirects: pointer; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesNV_ovr_80(buffer, indirects, sizes, states, fbos, count); + end; + + public z_DrawCommandsStatesAddressNV_adr := GetFuncAdr('glDrawCommandsStatesAddressNV'); + public z_DrawCommandsStatesAddressNV_ovr_0 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes[0], states[0], fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_2 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects[0], sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects[0], sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_6 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects[0], sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects[0], sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_8 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_8(indirects[0], sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_8(indirects[0], sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_18 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects[0], sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects[0], sizes, states[0], fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_20 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_20(indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_20(indirects[0], sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_24 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_24(indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_24(indirects[0], sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_26 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: array of UInt64; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_26(indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_8(indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_0(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_2(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_6(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_8(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_20(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_18(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_20(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_24(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_24(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(var indirects: UInt64; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_26(indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_54 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes[0], states[0], fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_56 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_56(indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_56(indirects, sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_60 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_60(indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_60(indirects, sizes[0], states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_62 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_62(indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_56(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_54(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_56(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_60(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_60(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_62(indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_72 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_72(indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_72(indirects, sizes, states[0], fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_74 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_74(indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_72(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_72(indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_74(indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_78 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_78(indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_78(indirects, sizes, states, fbos, count); + end; + public z_DrawCommandsStatesAddressNV_ovr_80 := GetFuncOrNil&(z_DrawCommandsStatesAddressNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawCommandsStatesAddressNV(indirects: IntPtr; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_DrawCommandsStatesAddressNV_ovr_80(indirects, sizes, states, fbos, count); + end; + + public z_CreateCommandListsNV_adr := GetFuncAdr('glCreateCommandListsNV'); + public z_CreateCommandListsNV_ovr_0 := GetFuncOrNil&(z_CreateCommandListsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateCommandListsNV(n: Int32; lists: array of UInt32); + begin + z_CreateCommandListsNV_ovr_0(n, lists[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateCommandListsNV(n: Int32; var lists: UInt32); + begin + z_CreateCommandListsNV_ovr_0(n, lists); + end; + public z_CreateCommandListsNV_ovr_2 := GetFuncOrNil&(z_CreateCommandListsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CreateCommandListsNV(n: Int32; lists: IntPtr); + begin + z_CreateCommandListsNV_ovr_2(n, lists); + end; + + public z_DeleteCommandListsNV_adr := GetFuncAdr('glDeleteCommandListsNV'); + public z_DeleteCommandListsNV_ovr_0 := GetFuncOrNil&(z_DeleteCommandListsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteCommandListsNV(n: Int32; lists: array of UInt32); + begin + z_DeleteCommandListsNV_ovr_0(n, lists[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteCommandListsNV(n: Int32; var lists: UInt32); + begin + z_DeleteCommandListsNV_ovr_0(n, lists); + end; + public z_DeleteCommandListsNV_ovr_2 := GetFuncOrNil&(z_DeleteCommandListsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteCommandListsNV(n: Int32; lists: IntPtr); + begin + z_DeleteCommandListsNV_ovr_2(n, lists); + end; + + public z_IsCommandListNV_adr := GetFuncAdr('glIsCommandListNV'); + public z_IsCommandListNV_ovr_0 := GetFuncOrNil&(z_IsCommandListNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsCommandListNV(list: UInt32): boolean; + begin + Result := z_IsCommandListNV_ovr_0(list); + end; + + public z_ListDrawCommandsStatesClientNV_adr := GetFuncAdr('glListDrawCommandsStatesClientNV'); + public z_ListDrawCommandsStatesClientNV_ovr_0 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes[0], states[0], fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_2 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects[0], sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects[0], sizes[0], states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_6 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects[0], sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects[0], sizes[0], states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_8 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_8(list, segment, indirects[0], sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_8(list, segment, indirects[0], sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_18 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects[0], sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects[0], sizes, states[0], fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_20 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_20(list, segment, indirects[0], sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_20(list, segment, indirects[0], sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_24 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_24(list, segment, indirects[0], sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_24(list, segment, indirects[0], sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_26 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: array of IntPtr; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_26(list, segment, indirects[0], sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_8(list, segment, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_0(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_2(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_6(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_8(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_20(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_18(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_20(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_24(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_24(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; var indirects: IntPtr; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_26(list, segment, indirects, sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_54 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes[0], states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes[0], states[0], fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_56 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_56(list, segment, indirects, sizes[0], states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_56(list, segment, indirects, sizes[0], states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_60 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_60(list, segment, indirects, sizes[0], states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_60(list, segment, indirects, sizes[0], states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_62 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: array of Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_62(list, segment, indirects, sizes[0], states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_56(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_54(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_56(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_60(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_60(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; var sizes: Int32; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_62(list, segment, indirects, sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_72 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; states: array of UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_72(list, segment, indirects, sizes, states[0], fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; states: array of UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_72(list, segment, indirects, sizes, states[0], fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_74 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; states: array of UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_74(list, segment, indirects, sizes, states[0], fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; var states: UInt32; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_72(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; var states: UInt32; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_72(list, segment, indirects, sizes, states, fbos, count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; var states: UInt32; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_74(list, segment, indirects, sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_78 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; states: IntPtr; fbos: array of UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_78(list, segment, indirects, sizes, states, fbos[0], count); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; states: IntPtr; var fbos: UInt32; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_78(list, segment, indirects, sizes, states, fbos, count); + end; + public z_ListDrawCommandsStatesClientNV_ovr_80 := GetFuncOrNil&(z_ListDrawCommandsStatesClientNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListDrawCommandsStatesClientNV(list: UInt32; segment: UInt32; indirects: pointer; sizes: IntPtr; states: IntPtr; fbos: IntPtr; count: UInt32); + begin + z_ListDrawCommandsStatesClientNV_ovr_80(list, segment, indirects, sizes, states, fbos, count); + end; + + public z_CommandListSegmentsNV_adr := GetFuncAdr('glCommandListSegmentsNV'); + public z_CommandListSegmentsNV_ovr_0 := GetFuncOrNil&(z_CommandListSegmentsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CommandListSegmentsNV(list: UInt32; segments: UInt32); + begin + z_CommandListSegmentsNV_ovr_0(list, segments); + end; + + public z_CompileCommandListNV_adr := GetFuncAdr('glCompileCommandListNV'); + public z_CompileCommandListNV_ovr_0 := GetFuncOrNil&(z_CompileCommandListNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CompileCommandListNV(list: UInt32); + begin + z_CompileCommandListNV_ovr_0(list); + end; + + public z_CallCommandListNV_adr := GetFuncAdr('glCallCommandListNV'); + public z_CallCommandListNV_ovr_0 := GetFuncOrNil&(z_CallCommandListNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CallCommandListNV(list: UInt32); + begin + z_CallCommandListNV_ovr_0(list); + end; + + end; + + glConditionalRenderNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginConditionalRenderNV_adr := GetFuncAdr('glBeginConditionalRenderNV'); + public z_BeginConditionalRenderNV_ovr_0 := GetFuncOrNil&(z_BeginConditionalRenderNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginConditionalRenderNV(id: UInt32; mode: ConditionalRenderMode); + begin + z_BeginConditionalRenderNV_ovr_0(id, mode); + end; + + public z_EndConditionalRenderNV_adr := GetFuncAdr('glEndConditionalRenderNV'); + public z_EndConditionalRenderNV_ovr_0 := GetFuncOrNil&(z_EndConditionalRenderNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndConditionalRenderNV; + begin + z_EndConditionalRenderNV_ovr_0; + end; + + end; + + glConservativeRasterNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SubpixelPrecisionBiasNV_adr := GetFuncAdr('glSubpixelPrecisionBiasNV'); + public z_SubpixelPrecisionBiasNV_ovr_0 := GetFuncOrNil&(z_SubpixelPrecisionBiasNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SubpixelPrecisionBiasNV(xbits: UInt32; ybits: UInt32); + begin + z_SubpixelPrecisionBiasNV_ovr_0(xbits, ybits); + end; + + end; + + glConservativeRasterDilateNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ConservativeRasterParameterfNV_adr := GetFuncAdr('glConservativeRasterParameterfNV'); + public z_ConservativeRasterParameterfNV_ovr_0 := GetFuncOrNil&(z_ConservativeRasterParameterfNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConservativeRasterParameterfNV(pname: DummyEnum; value: single); + begin + z_ConservativeRasterParameterfNV_ovr_0(pname, value); + end; + + end; + + glConservativeRasterPreSnapTrianglesNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ConservativeRasterParameteriNV_adr := GetFuncAdr('glConservativeRasterParameteriNV'); + public z_ConservativeRasterParameteriNV_ovr_0 := GetFuncOrNil&(z_ConservativeRasterParameteriNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConservativeRasterParameteriNV(pname: DummyEnum; param: Int32); + begin + z_ConservativeRasterParameteriNV_ovr_0(pname, param); + end; + + end; + + glCopyImageNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CopyImageSubDataNV_adr := GetFuncAdr('glCopyImageSubDataNV'); + public z_CopyImageSubDataNV_ovr_0 := GetFuncOrNil&(z_CopyImageSubDataNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyImageSubDataNV(srcName: UInt32; srcTarget: CopyBufferSubDataTarget; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: CopyBufferSubDataTarget; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32); + begin + z_CopyImageSubDataNV_ovr_0(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); + end; + + end; + + glDepthBufferFloatNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DepthRangedNV_adr := GetFuncAdr('glDepthRangedNV'); + public z_DepthRangedNV_ovr_0 := GetFuncOrNil&(z_DepthRangedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangedNV(zNear: real; zFar: real); + begin + z_DepthRangedNV_ovr_0(zNear, zFar); + end; + + public z_ClearDepthdNV_adr := GetFuncAdr('glClearDepthdNV'); + public z_ClearDepthdNV_ovr_0 := GetFuncOrNil&(z_ClearDepthdNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthdNV(depth: real); + begin + z_ClearDepthdNV_ovr_0(depth); + end; + + public z_DepthBoundsdNV_adr := GetFuncAdr('glDepthBoundsdNV'); + public z_DepthBoundsdNV_ovr_0 := GetFuncOrNil&(z_DepthBoundsdNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthBoundsdNV(zmin: real; zmax: real); + begin + z_DepthBoundsdNV_ovr_0(zmin, zmax); + end; + + end; + + glDrawTextureNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawTextureNV_adr := GetFuncAdr('glDrawTextureNV'); + public z_DrawTextureNV_ovr_0 := GetFuncOrNil&(z_DrawTextureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTextureNV(texture: UInt32; sampler: UInt32; x0: single; y0: single; x1: single; y1: single; z: single; s0: single; t0: single; s1: single; t1: single); + begin + z_DrawTextureNV_ovr_0(texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); + end; + + end; + + glDrawVulkanImageNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawVkImageNV_adr := GetFuncAdr('glDrawVkImageNV'); + public z_DrawVkImageNV_ovr_0 := GetFuncOrNil&(z_DrawVkImageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawVkImageNV(vkImage: UInt64; sampler: UInt32; x0: single; y0: single; x1: single; y1: single; z: single; s0: single; t0: single; s1: single; t1: single); + begin + z_DrawVkImageNV_ovr_0(vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); + end; + + public z_GetVkProcAddrNV_adr := GetFuncAdr('glGetVkProcAddrNV'); + public z_GetVkProcAddrNV_ovr_0 := GetFuncOrNil&(z_GetVkProcAddrNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVkProcAddrNV(name: string): GLVULKANPROCNV; + begin + var par_1_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetVkProcAddrNV_ovr_0(par_1_str_ptr); + Marshal.FreeHGlobal(par_1_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVkProcAddrNV(name: IntPtr): GLVULKANPROCNV; + begin + Result := z_GetVkProcAddrNV_ovr_0(name); + end; + + public z_WaitVkSemaphoreNV_adr := GetFuncAdr('glWaitVkSemaphoreNV'); + public z_WaitVkSemaphoreNV_ovr_0 := GetFuncOrNil&(z_WaitVkSemaphoreNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitVkSemaphoreNV(vkSemaphore: UInt64); + begin + z_WaitVkSemaphoreNV_ovr_0(vkSemaphore); + end; + + public z_SignalVkSemaphoreNV_adr := GetFuncAdr('glSignalVkSemaphoreNV'); + public z_SignalVkSemaphoreNV_ovr_0 := GetFuncOrNil&(z_SignalVkSemaphoreNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalVkSemaphoreNV(vkSemaphore: UInt64); + begin + z_SignalVkSemaphoreNV_ovr_0(vkSemaphore); + end; + + public z_SignalVkFenceNV_adr := GetFuncAdr('glSignalVkFenceNV'); + public z_SignalVkFenceNV_ovr_0 := GetFuncOrNil&(z_SignalVkFenceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalVkFenceNV(vkFence: UInt64); + begin + z_SignalVkFenceNV_ovr_0(vkFence); + end; + + end; + + glEvaluatorsNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MapControlPointsNV_adr := GetFuncAdr('glMapControlPointsNV'); + public z_MapControlPointsNV_ovr_0 := GetFuncOrNil&(z_MapControlPointsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapControlPointsNV(target: EvalTargetNV; index: UInt32; &type: MapTypeNV; ustride: Int32; vstride: Int32; uorder: Int32; vorder: Int32; &packed: boolean; points: IntPtr); + begin + z_MapControlPointsNV_ovr_0(target, index, &type, ustride, vstride, uorder, vorder, &packed, points); + end; + + public z_MapParameterivNV_adr := GetFuncAdr('glMapParameterivNV'); + public z_MapParameterivNV_ovr_0 := GetFuncOrNil&(z_MapParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterivNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: array of Int32); + begin + z_MapParameterivNV_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterivNV(target: EvalTargetNV; pname: MapParameterNV; var ¶ms: Int32); + begin + z_MapParameterivNV_ovr_0(target, pname, ¶ms); + end; + public z_MapParameterivNV_ovr_2 := GetFuncOrNil&(z_MapParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterivNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: IntPtr); + begin + z_MapParameterivNV_ovr_2(target, pname, ¶ms); + end; + + public z_MapParameterfvNV_adr := GetFuncAdr('glMapParameterfvNV'); + public z_MapParameterfvNV_ovr_0 := GetFuncOrNil&(z_MapParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterfvNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: array of single); + begin + z_MapParameterfvNV_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterfvNV(target: EvalTargetNV; pname: MapParameterNV; var ¶ms: single); + begin + z_MapParameterfvNV_ovr_0(target, pname, ¶ms); + end; + public z_MapParameterfvNV_ovr_2 := GetFuncOrNil&(z_MapParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapParameterfvNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: IntPtr); + begin + z_MapParameterfvNV_ovr_2(target, pname, ¶ms); + end; + + public z_GetMapControlPointsNV_adr := GetFuncAdr('glGetMapControlPointsNV'); + public z_GetMapControlPointsNV_ovr_0 := GetFuncOrNil&(z_GetMapControlPointsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapControlPointsNV(target: EvalTargetNV; index: UInt32; &type: MapTypeNV; ustride: Int32; vstride: Int32; &packed: boolean; points: IntPtr); + begin + z_GetMapControlPointsNV_ovr_0(target, index, &type, ustride, vstride, &packed, points); + end; + + public z_GetMapParameterivNV_adr := GetFuncAdr('glGetMapParameterivNV'); + public z_GetMapParameterivNV_ovr_0 := GetFuncOrNil&(z_GetMapParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterivNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: array of Int32); + begin + z_GetMapParameterivNV_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterivNV(target: EvalTargetNV; pname: MapParameterNV; var ¶ms: Int32); + begin + z_GetMapParameterivNV_ovr_0(target, pname, ¶ms); + end; + public z_GetMapParameterivNV_ovr_2 := GetFuncOrNil&(z_GetMapParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterivNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: IntPtr); + begin + z_GetMapParameterivNV_ovr_2(target, pname, ¶ms); + end; + + public z_GetMapParameterfvNV_adr := GetFuncAdr('glGetMapParameterfvNV'); + public z_GetMapParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetMapParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterfvNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: array of single); + begin + z_GetMapParameterfvNV_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterfvNV(target: EvalTargetNV; pname: MapParameterNV; var ¶ms: single); + begin + z_GetMapParameterfvNV_ovr_0(target, pname, ¶ms); + end; + public z_GetMapParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetMapParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapParameterfvNV(target: EvalTargetNV; pname: MapParameterNV; ¶ms: IntPtr); + begin + z_GetMapParameterfvNV_ovr_2(target, pname, ¶ms); + end; + + public z_GetMapAttribParameterivNV_adr := GetFuncAdr('glGetMapAttribParameterivNV'); + public z_GetMapAttribParameterivNV_ovr_0 := GetFuncOrNil&(z_GetMapAttribParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterivNV(target: EvalTargetNV; index: UInt32; pname: MapAttribParameterNV; ¶ms: array of Int32); + begin + z_GetMapAttribParameterivNV_ovr_0(target, index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterivNV(target: EvalTargetNV; index: UInt32; pname: MapAttribParameterNV; var ¶ms: Int32); + begin + z_GetMapAttribParameterivNV_ovr_0(target, index, pname, ¶ms); + end; + public z_GetMapAttribParameterivNV_ovr_2 := GetFuncOrNil&(z_GetMapAttribParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterivNV(target: EvalTargetNV; index: UInt32; pname: MapAttribParameterNV; ¶ms: IntPtr); + begin + z_GetMapAttribParameterivNV_ovr_2(target, index, pname, ¶ms); + end; + + public z_GetMapAttribParameterfvNV_adr := GetFuncAdr('glGetMapAttribParameterfvNV'); + public z_GetMapAttribParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetMapAttribParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterfvNV(target: EvalTargetNV; index: UInt32; pname: MapAttribParameterNV; ¶ms: array of single); + begin + z_GetMapAttribParameterfvNV_ovr_0(target, index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterfvNV(target: EvalTargetNV; index: UInt32; pname: MapAttribParameterNV; var ¶ms: single); + begin + z_GetMapAttribParameterfvNV_ovr_0(target, index, pname, ¶ms); + end; + public z_GetMapAttribParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetMapAttribParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapAttribParameterfvNV(target: EvalTargetNV; index: UInt32; pname: MapAttribParameterNV; ¶ms: IntPtr); + begin + z_GetMapAttribParameterfvNV_ovr_2(target, index, pname, ¶ms); + end; + + public z_EvalMapsNV_adr := GetFuncAdr('glEvalMapsNV'); + public z_EvalMapsNV_ovr_0 := GetFuncOrNil&(z_EvalMapsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalMapsNV(target: EvalTargetNV; mode: EvalMapsModeNV); + begin + z_EvalMapsNV_ovr_0(target, mode); + end; + + end; + + glExplicitMultisampleNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetMultisamplefvNV_adr := GetFuncAdr('glGetMultisamplefvNV'); + public z_GetMultisamplefvNV_ovr_0 := GetFuncOrNil&(z_GetMultisamplefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefvNV(pname: GetMultisamplePNameNV; index: UInt32; val: array of single); + begin + z_GetMultisamplefvNV_ovr_0(pname, index, val[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefvNV(pname: GetMultisamplePNameNV; index: UInt32; var val: single); + begin + z_GetMultisamplefvNV_ovr_0(pname, index, val); + end; + public z_GetMultisamplefvNV_ovr_2 := GetFuncOrNil&(z_GetMultisamplefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMultisamplefvNV(pname: GetMultisamplePNameNV; index: UInt32; val: IntPtr); + begin + z_GetMultisamplefvNV_ovr_2(pname, index, val); + end; + + public z_SampleMaskIndexedNV_adr := GetFuncAdr('glSampleMaskIndexedNV'); + public z_SampleMaskIndexedNV_ovr_0 := GetFuncOrNil&(z_SampleMaskIndexedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaskIndexedNV(index: UInt32; mask: DummyFlags); + begin + z_SampleMaskIndexedNV_ovr_0(index, mask); + end; + + public z_TexRenderbufferNV_adr := GetFuncAdr('glTexRenderbufferNV'); + public z_TexRenderbufferNV_ovr_0 := GetFuncOrNil&(z_TexRenderbufferNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexRenderbufferNV(target: TextureTarget; renderbuffer: UInt32); + begin + z_TexRenderbufferNV_ovr_0(target, renderbuffer); + end; + + end; + + glFenceNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DeleteFencesNV_adr := GetFuncAdr('glDeleteFencesNV'); + public z_DeleteFencesNV_ovr_0 := GetFuncOrNil&(z_DeleteFencesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesNV(n: Int32; fences: array of UInt32); + begin + z_DeleteFencesNV_ovr_0(n, fences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesNV(n: Int32; var fences: UInt32); + begin + z_DeleteFencesNV_ovr_0(n, fences); + end; + public z_DeleteFencesNV_ovr_2 := GetFuncOrNil&(z_DeleteFencesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteFencesNV(n: Int32; fences: IntPtr); + begin + z_DeleteFencesNV_ovr_2(n, fences); + end; + + public z_GenFencesNV_adr := GetFuncAdr('glGenFencesNV'); + public z_GenFencesNV_ovr_0 := GetFuncOrNil&(z_GenFencesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesNV(n: Int32; fences: array of UInt32); + begin + z_GenFencesNV_ovr_0(n, fences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesNV(n: Int32; var fences: UInt32); + begin + z_GenFencesNV_ovr_0(n, fences); + end; + public z_GenFencesNV_ovr_2 := GetFuncOrNil&(z_GenFencesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenFencesNV(n: Int32; fences: IntPtr); + begin + z_GenFencesNV_ovr_2(n, fences); + end; + + public z_IsFenceNV_adr := GetFuncAdr('glIsFenceNV'); + public z_IsFenceNV_ovr_0 := GetFuncOrNil&(z_IsFenceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsFenceNV(fence: UInt32): boolean; + begin + Result := z_IsFenceNV_ovr_0(fence); + end; + + public z_TestFenceNV_adr := GetFuncAdr('glTestFenceNV'); + public z_TestFenceNV_ovr_0 := GetFuncOrNil&(z_TestFenceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function TestFenceNV(fence: UInt32): boolean; + begin + Result := z_TestFenceNV_ovr_0(fence); + end; + + public z_GetFenceivNV_adr := GetFuncAdr('glGetFenceivNV'); + public z_GetFenceivNV_ovr_0 := GetFuncOrNil&(z_GetFenceivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFenceivNV(fence: UInt32; pname: FenceParameterNameNV; ¶ms: array of Int32); + begin + z_GetFenceivNV_ovr_0(fence, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFenceivNV(fence: UInt32; pname: FenceParameterNameNV; var ¶ms: Int32); + begin + z_GetFenceivNV_ovr_0(fence, pname, ¶ms); + end; + public z_GetFenceivNV_ovr_2 := GetFuncOrNil&(z_GetFenceivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFenceivNV(fence: UInt32; pname: FenceParameterNameNV; ¶ms: IntPtr); + begin + z_GetFenceivNV_ovr_2(fence, pname, ¶ms); + end; + + public z_FinishFenceNV_adr := GetFuncAdr('glFinishFenceNV'); + public z_FinishFenceNV_ovr_0 := GetFuncOrNil&(z_FinishFenceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishFenceNV(fence: UInt32); + begin + z_FinishFenceNV_ovr_0(fence); + end; + + public z_SetFenceNV_adr := GetFuncAdr('glSetFenceNV'); + public z_SetFenceNV_ovr_0 := GetFuncOrNil&(z_SetFenceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SetFenceNV(fence: UInt32; condition: FenceConditionNV); + begin + z_SetFenceNV_ovr_0(fence, condition); + end; + + end; + + glFragmentCoverageToColorNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FragmentCoverageColorNV_adr := GetFuncAdr('glFragmentCoverageColorNV'); + public z_FragmentCoverageColorNV_ovr_0 := GetFuncOrNil&(z_FragmentCoverageColorNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentCoverageColorNV(color: UInt32); + begin + z_FragmentCoverageColorNV_ovr_0(color); + end; + + end; + + glFragmentProgramNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramNamedParameter4fNV_adr := GetFuncAdr('glProgramNamedParameter4fNV'); + public z_ProgramNamedParameter4fNV_ovr_0 := GetFuncOrNil&(z_ProgramNamedParameter4fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fNV(id: UInt32; len: Int32; name: array of Byte; x: single; y: single; z: single; w: single); + begin + z_ProgramNamedParameter4fNV_ovr_0(id, len, name[0], x, y, z, w); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fNV(id: UInt32; len: Int32; var name: Byte; x: single; y: single; z: single; w: single); + begin + z_ProgramNamedParameter4fNV_ovr_0(id, len, name, x, y, z, w); + end; + public z_ProgramNamedParameter4fNV_ovr_2 := GetFuncOrNil&(z_ProgramNamedParameter4fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fNV(id: UInt32; len: Int32; name: IntPtr; x: single; y: single; z: single; w: single); + begin + z_ProgramNamedParameter4fNV_ovr_2(id, len, name, x, y, z, w); + end; + + public z_ProgramNamedParameter4fvNV_adr := GetFuncAdr('glProgramNamedParameter4fvNV'); + public z_ProgramNamedParameter4fvNV_ovr_0 := GetFuncOrNil&(z_ProgramNamedParameter4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: array of Byte; v: array of single); + begin + z_ProgramNamedParameter4fvNV_ovr_0(id, len, name[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: array of Byte; var v: single); + begin + z_ProgramNamedParameter4fvNV_ovr_0(id, len, name[0], v); + end; + public z_ProgramNamedParameter4fvNV_ovr_2 := GetFuncOrNil&(z_ProgramNamedParameter4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: array of Byte; v: IntPtr); + begin + z_ProgramNamedParameter4fvNV_ovr_2(id, len, name[0], v); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; var name: Byte; v: array of single); + begin + z_ProgramNamedParameter4fvNV_ovr_0(id, len, name, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; var name: Byte; var v: single); + begin + z_ProgramNamedParameter4fvNV_ovr_0(id, len, name, v); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; var name: Byte; v: IntPtr); + begin + z_ProgramNamedParameter4fvNV_ovr_2(id, len, name, v); + end; + public z_ProgramNamedParameter4fvNV_ovr_6 := GetFuncOrNil&(z_ProgramNamedParameter4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: IntPtr; v: array of single); + begin + z_ProgramNamedParameter4fvNV_ovr_6(id, len, name, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: IntPtr; var v: single); + begin + z_ProgramNamedParameter4fvNV_ovr_6(id, len, name, v); + end; + public z_ProgramNamedParameter4fvNV_ovr_8 := GetFuncOrNil&(z_ProgramNamedParameter4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4fvNV(id: UInt32; len: Int32; name: IntPtr; v: IntPtr); + begin + z_ProgramNamedParameter4fvNV_ovr_8(id, len, name, v); + end; + + public z_ProgramNamedParameter4dNV_adr := GetFuncAdr('glProgramNamedParameter4dNV'); + public z_ProgramNamedParameter4dNV_ovr_0 := GetFuncOrNil&(z_ProgramNamedParameter4dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dNV(id: UInt32; len: Int32; name: array of Byte; x: real; y: real; z: real; w: real); + begin + z_ProgramNamedParameter4dNV_ovr_0(id, len, name[0], x, y, z, w); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dNV(id: UInt32; len: Int32; var name: Byte; x: real; y: real; z: real; w: real); + begin + z_ProgramNamedParameter4dNV_ovr_0(id, len, name, x, y, z, w); + end; + public z_ProgramNamedParameter4dNV_ovr_2 := GetFuncOrNil&(z_ProgramNamedParameter4dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dNV(id: UInt32; len: Int32; name: IntPtr; x: real; y: real; z: real; w: real); + begin + z_ProgramNamedParameter4dNV_ovr_2(id, len, name, x, y, z, w); + end; + + public z_ProgramNamedParameter4dvNV_adr := GetFuncAdr('glProgramNamedParameter4dvNV'); + public z_ProgramNamedParameter4dvNV_ovr_0 := GetFuncOrNil&(z_ProgramNamedParameter4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: array of Byte; v: array of real); + begin + z_ProgramNamedParameter4dvNV_ovr_0(id, len, name[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: array of Byte; var v: real); + begin + z_ProgramNamedParameter4dvNV_ovr_0(id, len, name[0], v); + end; + public z_ProgramNamedParameter4dvNV_ovr_2 := GetFuncOrNil&(z_ProgramNamedParameter4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: array of Byte; v: IntPtr); + begin + z_ProgramNamedParameter4dvNV_ovr_2(id, len, name[0], v); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; var name: Byte; v: array of real); + begin + z_ProgramNamedParameter4dvNV_ovr_0(id, len, name, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; var name: Byte; var v: real); + begin + z_ProgramNamedParameter4dvNV_ovr_0(id, len, name, v); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; var name: Byte; v: IntPtr); + begin + z_ProgramNamedParameter4dvNV_ovr_2(id, len, name, v); + end; + public z_ProgramNamedParameter4dvNV_ovr_6 := GetFuncOrNil&(z_ProgramNamedParameter4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: IntPtr; v: array of real); + begin + z_ProgramNamedParameter4dvNV_ovr_6(id, len, name, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: IntPtr; var v: real); + begin + z_ProgramNamedParameter4dvNV_ovr_6(id, len, name, v); + end; + public z_ProgramNamedParameter4dvNV_ovr_8 := GetFuncOrNil&(z_ProgramNamedParameter4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramNamedParameter4dvNV(id: UInt32; len: Int32; name: IntPtr; v: IntPtr); + begin + z_ProgramNamedParameter4dvNV_ovr_8(id, len, name, v); + end; + + public z_GetProgramNamedParameterfvNV_adr := GetFuncAdr('glGetProgramNamedParameterfvNV'); + public z_GetProgramNamedParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetProgramNamedParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: array of single); + begin + z_GetProgramNamedParameterfvNV_ovr_0(id, len, name[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: array of Byte; var ¶ms: single); + begin + z_GetProgramNamedParameterfvNV_ovr_0(id, len, name[0], ¶ms); + end; + public z_GetProgramNamedParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetProgramNamedParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: IntPtr); + begin + z_GetProgramNamedParameterfvNV_ovr_2(id, len, name[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: array of single); + begin + z_GetProgramNamedParameterfvNV_ovr_0(id, len, name, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; var name: Byte; var ¶ms: single); + begin + z_GetProgramNamedParameterfvNV_ovr_0(id, len, name, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: IntPtr); + begin + z_GetProgramNamedParameterfvNV_ovr_2(id, len, name, ¶ms); + end; + public z_GetProgramNamedParameterfvNV_ovr_6 := GetFuncOrNil&(z_GetProgramNamedParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: IntPtr; ¶ms: array of single); + begin + z_GetProgramNamedParameterfvNV_ovr_6(id, len, name, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: IntPtr; var ¶ms: single); + begin + z_GetProgramNamedParameterfvNV_ovr_6(id, len, name, ¶ms); + end; + public z_GetProgramNamedParameterfvNV_ovr_8 := GetFuncOrNil&(z_GetProgramNamedParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterfvNV(id: UInt32; len: Int32; name: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramNamedParameterfvNV_ovr_8(id, len, name, ¶ms); + end; + + public z_GetProgramNamedParameterdvNV_adr := GetFuncAdr('glGetProgramNamedParameterdvNV'); + public z_GetProgramNamedParameterdvNV_ovr_0 := GetFuncOrNil&(z_GetProgramNamedParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: array of real); + begin + z_GetProgramNamedParameterdvNV_ovr_0(id, len, name[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: array of Byte; var ¶ms: real); + begin + z_GetProgramNamedParameterdvNV_ovr_0(id, len, name[0], ¶ms); + end; + public z_GetProgramNamedParameterdvNV_ovr_2 := GetFuncOrNil&(z_GetProgramNamedParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: array of Byte; ¶ms: IntPtr); + begin + z_GetProgramNamedParameterdvNV_ovr_2(id, len, name[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: array of real); + begin + z_GetProgramNamedParameterdvNV_ovr_0(id, len, name, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; var name: Byte; var ¶ms: real); + begin + z_GetProgramNamedParameterdvNV_ovr_0(id, len, name, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; var name: Byte; ¶ms: IntPtr); + begin + z_GetProgramNamedParameterdvNV_ovr_2(id, len, name, ¶ms); + end; + public z_GetProgramNamedParameterdvNV_ovr_6 := GetFuncOrNil&(z_GetProgramNamedParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: IntPtr; ¶ms: array of real); + begin + z_GetProgramNamedParameterdvNV_ovr_6(id, len, name, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: IntPtr; var ¶ms: real); + begin + z_GetProgramNamedParameterdvNV_ovr_6(id, len, name, ¶ms); + end; + public z_GetProgramNamedParameterdvNV_ovr_8 := GetFuncOrNil&(z_GetProgramNamedParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramNamedParameterdvNV(id: UInt32; len: Int32; name: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramNamedParameterdvNV_ovr_8(id, len, name, ¶ms); + end; + + end; + + glFramebufferMixedSamplesNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CoverageModulationTableNV_adr := GetFuncAdr('glCoverageModulationTableNV'); + public z_CoverageModulationTableNV_ovr_0 := GetFuncOrNil&(z_CoverageModulationTableNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationTableNV(n: Int32; v: array of single); + begin + z_CoverageModulationTableNV_ovr_0(n, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationTableNV(n: Int32; var v: single); + begin + z_CoverageModulationTableNV_ovr_0(n, v); + end; + public z_CoverageModulationTableNV_ovr_2 := GetFuncOrNil&(z_CoverageModulationTableNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationTableNV(n: Int32; v: IntPtr); + begin + z_CoverageModulationTableNV_ovr_2(n, v); + end; + + public z_GetCoverageModulationTableNV_adr := GetFuncAdr('glGetCoverageModulationTableNV'); + public z_GetCoverageModulationTableNV_ovr_0 := GetFuncOrNil&(z_GetCoverageModulationTableNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCoverageModulationTableNV(bufSize: Int32; v: array of single); + begin + z_GetCoverageModulationTableNV_ovr_0(bufSize, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCoverageModulationTableNV(bufSize: Int32; var v: single); + begin + z_GetCoverageModulationTableNV_ovr_0(bufSize, v); + end; + public z_GetCoverageModulationTableNV_ovr_2 := GetFuncOrNil&(z_GetCoverageModulationTableNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCoverageModulationTableNV(bufSize: Int32; v: IntPtr); + begin + z_GetCoverageModulationTableNV_ovr_2(bufSize, v); + end; + + public z_CoverageModulationNV_adr := GetFuncAdr('glCoverageModulationNV'); + public z_CoverageModulationNV_ovr_0 := GetFuncOrNil&(z_CoverageModulationNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverageModulationNV(components: DummyEnum); + begin + z_CoverageModulationNV_ovr_0(components); + end; + + end; + + glFramebufferMultisampleCoverageNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_RenderbufferStorageMultisampleCoverageNV_adr := GetFuncAdr('glRenderbufferStorageMultisampleCoverageNV'); + public z_RenderbufferStorageMultisampleCoverageNV_ovr_0 := GetFuncOrNil&(z_RenderbufferStorageMultisampleCoverageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderbufferStorageMultisampleCoverageNV(target: RenderbufferTarget; coverageSamples: Int32; colorSamples: Int32; _internalformat: InternalFormat; width: Int32; height: Int32); + begin + z_RenderbufferStorageMultisampleCoverageNV_ovr_0(target, coverageSamples, colorSamples, _internalformat, width, height); + end; + + end; + + glGeometryProgram4NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramVertexLimitNV_adr := GetFuncAdr('glProgramVertexLimitNV'); + public z_ProgramVertexLimitNV_ovr_0 := GetFuncOrNil&(z_ProgramVertexLimitNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramVertexLimitNV(target: ProgramTarget; limit: Int32); + begin + z_ProgramVertexLimitNV_ovr_0(target, limit); + end; + + end; + + glGpuProgram4NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramLocalParameterI4iNV_adr := GetFuncAdr('glProgramLocalParameterI4iNV'); + public z_ProgramLocalParameterI4iNV_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameterI4iNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4iNV(target: ProgramTarget; index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32); + begin + z_ProgramLocalParameterI4iNV_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramLocalParameterI4ivNV_adr := GetFuncAdr('glProgramLocalParameterI4ivNV'); + public z_ProgramLocalParameterI4ivNV_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameterI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4ivNV(target: ProgramTarget; index: UInt32; ¶ms: array of Int32); + begin + z_ProgramLocalParameterI4ivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4ivNV(target: ProgramTarget; index: UInt32; var ¶ms: Int32); + begin + z_ProgramLocalParameterI4ivNV_ovr_0(target, index, ¶ms); + end; + public z_ProgramLocalParameterI4ivNV_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameterI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4ivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramLocalParameterI4ivNV_ovr_2(target, index, ¶ms); + end; + + public z_ProgramLocalParametersI4ivNV_adr := GetFuncAdr('glProgramLocalParametersI4ivNV'); + public z_ProgramLocalParametersI4ivNV_ovr_0 := GetFuncOrNil&(z_ProgramLocalParametersI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4ivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of Int32); + begin + z_ProgramLocalParametersI4ivNV_ovr_0(target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4ivNV(target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: Int32); + begin + z_ProgramLocalParametersI4ivNV_ovr_0(target, index, count, ¶ms); + end; + public z_ProgramLocalParametersI4ivNV_ovr_2 := GetFuncOrNil&(z_ProgramLocalParametersI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4ivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramLocalParametersI4ivNV_ovr_2(target, index, count, ¶ms); + end; + + public z_ProgramLocalParameterI4uiNV_adr := GetFuncAdr('glProgramLocalParameterI4uiNV'); + public z_ProgramLocalParameterI4uiNV_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameterI4uiNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uiNV(target: ProgramTarget; index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32); + begin + z_ProgramLocalParameterI4uiNV_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramLocalParameterI4uivNV_adr := GetFuncAdr('glProgramLocalParameterI4uivNV'); + public z_ProgramLocalParameterI4uivNV_ovr_0 := GetFuncOrNil&(z_ProgramLocalParameterI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uivNV(target: ProgramTarget; index: UInt32; ¶ms: array of UInt32); + begin + z_ProgramLocalParameterI4uivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uivNV(target: ProgramTarget; index: UInt32; var ¶ms: UInt32); + begin + z_ProgramLocalParameterI4uivNV_ovr_0(target, index, ¶ms); + end; + public z_ProgramLocalParameterI4uivNV_ovr_2 := GetFuncOrNil&(z_ProgramLocalParameterI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParameterI4uivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramLocalParameterI4uivNV_ovr_2(target, index, ¶ms); + end; + + public z_ProgramLocalParametersI4uivNV_adr := GetFuncAdr('glProgramLocalParametersI4uivNV'); + public z_ProgramLocalParametersI4uivNV_ovr_0 := GetFuncOrNil&(z_ProgramLocalParametersI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4uivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of UInt32); + begin + z_ProgramLocalParametersI4uivNV_ovr_0(target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4uivNV(target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: UInt32); + begin + z_ProgramLocalParametersI4uivNV_ovr_0(target, index, count, ¶ms); + end; + public z_ProgramLocalParametersI4uivNV_ovr_2 := GetFuncOrNil&(z_ProgramLocalParametersI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramLocalParametersI4uivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramLocalParametersI4uivNV_ovr_2(target, index, count, ¶ms); + end; + + public z_ProgramEnvParameterI4iNV_adr := GetFuncAdr('glProgramEnvParameterI4iNV'); + public z_ProgramEnvParameterI4iNV_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameterI4iNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4iNV(target: ProgramTarget; index: UInt32; x: Int32; y: Int32; z: Int32; w: Int32); + begin + z_ProgramEnvParameterI4iNV_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramEnvParameterI4ivNV_adr := GetFuncAdr('glProgramEnvParameterI4ivNV'); + public z_ProgramEnvParameterI4ivNV_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameterI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4ivNV(target: ProgramTarget; index: UInt32; ¶ms: array of Int32); + begin + z_ProgramEnvParameterI4ivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4ivNV(target: ProgramTarget; index: UInt32; var ¶ms: Int32); + begin + z_ProgramEnvParameterI4ivNV_ovr_0(target, index, ¶ms); + end; + public z_ProgramEnvParameterI4ivNV_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameterI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4ivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramEnvParameterI4ivNV_ovr_2(target, index, ¶ms); + end; + + public z_ProgramEnvParametersI4ivNV_adr := GetFuncAdr('glProgramEnvParametersI4ivNV'); + public z_ProgramEnvParametersI4ivNV_ovr_0 := GetFuncOrNil&(z_ProgramEnvParametersI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4ivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of Int32); + begin + z_ProgramEnvParametersI4ivNV_ovr_0(target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4ivNV(target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: Int32); + begin + z_ProgramEnvParametersI4ivNV_ovr_0(target, index, count, ¶ms); + end; + public z_ProgramEnvParametersI4ivNV_ovr_2 := GetFuncOrNil&(z_ProgramEnvParametersI4ivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4ivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramEnvParametersI4ivNV_ovr_2(target, index, count, ¶ms); + end; + + public z_ProgramEnvParameterI4uiNV_adr := GetFuncAdr('glProgramEnvParameterI4uiNV'); + public z_ProgramEnvParameterI4uiNV_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameterI4uiNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uiNV(target: ProgramTarget; index: UInt32; x: UInt32; y: UInt32; z: UInt32; w: UInt32); + begin + z_ProgramEnvParameterI4uiNV_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramEnvParameterI4uivNV_adr := GetFuncAdr('glProgramEnvParameterI4uivNV'); + public z_ProgramEnvParameterI4uivNV_ovr_0 := GetFuncOrNil&(z_ProgramEnvParameterI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uivNV(target: ProgramTarget; index: UInt32; ¶ms: array of UInt32); + begin + z_ProgramEnvParameterI4uivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uivNV(target: ProgramTarget; index: UInt32; var ¶ms: UInt32); + begin + z_ProgramEnvParameterI4uivNV_ovr_0(target, index, ¶ms); + end; + public z_ProgramEnvParameterI4uivNV_ovr_2 := GetFuncOrNil&(z_ProgramEnvParameterI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParameterI4uivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_ProgramEnvParameterI4uivNV_ovr_2(target, index, ¶ms); + end; + + public z_ProgramEnvParametersI4uivNV_adr := GetFuncAdr('glProgramEnvParametersI4uivNV'); + public z_ProgramEnvParametersI4uivNV_ovr_0 := GetFuncOrNil&(z_ProgramEnvParametersI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4uivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: array of UInt32); + begin + z_ProgramEnvParametersI4uivNV_ovr_0(target, index, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4uivNV(target: ProgramTarget; index: UInt32; count: Int32; var ¶ms: UInt32); + begin + z_ProgramEnvParametersI4uivNV_ovr_0(target, index, count, ¶ms); + end; + public z_ProgramEnvParametersI4uivNV_ovr_2 := GetFuncOrNil&(z_ProgramEnvParametersI4uivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramEnvParametersI4uivNV(target: ProgramTarget; index: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramEnvParametersI4uivNV_ovr_2(target, index, count, ¶ms); + end; + + public z_GetProgramLocalParameterIivNV_adr := GetFuncAdr('glGetProgramLocalParameterIivNV'); + public z_GetProgramLocalParameterIivNV_ovr_0 := GetFuncOrNil&(z_GetProgramLocalParameterIivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIivNV(target: ProgramTarget; index: UInt32; ¶ms: array of Int32); + begin + z_GetProgramLocalParameterIivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIivNV(target: ProgramTarget; index: UInt32; var ¶ms: Int32); + begin + z_GetProgramLocalParameterIivNV_ovr_0(target, index, ¶ms); + end; + public z_GetProgramLocalParameterIivNV_ovr_2 := GetFuncOrNil&(z_GetProgramLocalParameterIivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramLocalParameterIivNV_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramLocalParameterIuivNV_adr := GetFuncAdr('glGetProgramLocalParameterIuivNV'); + public z_GetProgramLocalParameterIuivNV_ovr_0 := GetFuncOrNil&(z_GetProgramLocalParameterIuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIuivNV(target: ProgramTarget; index: UInt32; ¶ms: array of UInt32); + begin + z_GetProgramLocalParameterIuivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIuivNV(target: ProgramTarget; index: UInt32; var ¶ms: UInt32); + begin + z_GetProgramLocalParameterIuivNV_ovr_0(target, index, ¶ms); + end; + public z_GetProgramLocalParameterIuivNV_ovr_2 := GetFuncOrNil&(z_GetProgramLocalParameterIuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramLocalParameterIuivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramLocalParameterIuivNV_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramEnvParameterIivNV_adr := GetFuncAdr('glGetProgramEnvParameterIivNV'); + public z_GetProgramEnvParameterIivNV_ovr_0 := GetFuncOrNil&(z_GetProgramEnvParameterIivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIivNV(target: ProgramTarget; index: UInt32; ¶ms: array of Int32); + begin + z_GetProgramEnvParameterIivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIivNV(target: ProgramTarget; index: UInt32; var ¶ms: Int32); + begin + z_GetProgramEnvParameterIivNV_ovr_0(target, index, ¶ms); + end; + public z_GetProgramEnvParameterIivNV_ovr_2 := GetFuncOrNil&(z_GetProgramEnvParameterIivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramEnvParameterIivNV_ovr_2(target, index, ¶ms); + end; + + public z_GetProgramEnvParameterIuivNV_adr := GetFuncAdr('glGetProgramEnvParameterIuivNV'); + public z_GetProgramEnvParameterIuivNV_ovr_0 := GetFuncOrNil&(z_GetProgramEnvParameterIuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIuivNV(target: ProgramTarget; index: UInt32; ¶ms: array of UInt32); + begin + z_GetProgramEnvParameterIuivNV_ovr_0(target, index, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIuivNV(target: ProgramTarget; index: UInt32; var ¶ms: UInt32); + begin + z_GetProgramEnvParameterIuivNV_ovr_0(target, index, ¶ms); + end; + public z_GetProgramEnvParameterIuivNV_ovr_2 := GetFuncOrNil&(z_GetProgramEnvParameterIuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramEnvParameterIuivNV(target: ProgramTarget; index: UInt32; ¶ms: IntPtr); + begin + z_GetProgramEnvParameterIuivNV_ovr_2(target, index, ¶ms); + end; + + end; + + glGpuProgram5NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramSubroutineParametersuivNV_adr := GetFuncAdr('glProgramSubroutineParametersuivNV'); + public z_ProgramSubroutineParametersuivNV_ovr_0 := GetFuncOrNil&(z_ProgramSubroutineParametersuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramSubroutineParametersuivNV(target: DummyEnum; count: Int32; ¶ms: array of UInt32); + begin + z_ProgramSubroutineParametersuivNV_ovr_0(target, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramSubroutineParametersuivNV(target: DummyEnum; count: Int32; var ¶ms: UInt32); + begin + z_ProgramSubroutineParametersuivNV_ovr_0(target, count, ¶ms); + end; + public z_ProgramSubroutineParametersuivNV_ovr_2 := GetFuncOrNil&(z_ProgramSubroutineParametersuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramSubroutineParametersuivNV(target: DummyEnum; count: Int32; ¶ms: IntPtr); + begin + z_ProgramSubroutineParametersuivNV_ovr_2(target, count, ¶ms); + end; + + public z_GetProgramSubroutineParameteruivNV_adr := GetFuncAdr('glGetProgramSubroutineParameteruivNV'); + public z_GetProgramSubroutineParameteruivNV_ovr_0 := GetFuncOrNil&(z_GetProgramSubroutineParameteruivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramSubroutineParameteruivNV(target: DummyEnum; index: UInt32; param: array of UInt32); + begin + z_GetProgramSubroutineParameteruivNV_ovr_0(target, index, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramSubroutineParameteruivNV(target: DummyEnum; index: UInt32; var param: UInt32); + begin + z_GetProgramSubroutineParameteruivNV_ovr_0(target, index, param); + end; + public z_GetProgramSubroutineParameteruivNV_ovr_2 := GetFuncOrNil&(z_GetProgramSubroutineParameteruivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramSubroutineParameteruivNV(target: DummyEnum; index: UInt32; param: IntPtr); + begin + z_GetProgramSubroutineParameteruivNV_ovr_2(target, index, param); + end; + + end; + + glGpuShader5NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_Uniform1i64NV_adr := GetFuncAdr('glUniform1i64NV'); + public z_Uniform1i64NV_ovr_0 := GetFuncOrNil&(z_Uniform1i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64NV(location: Int32; x: Int64); + begin + z_Uniform1i64NV_ovr_0(location, x); + end; + + public z_Uniform2i64NV_adr := GetFuncAdr('glUniform2i64NV'); + public z_Uniform2i64NV_ovr_0 := GetFuncOrNil&(z_Uniform2i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64NV(location: Int32; x: Int64; y: Int64); + begin + z_Uniform2i64NV_ovr_0(location, x, y); + end; + + public z_Uniform3i64NV_adr := GetFuncAdr('glUniform3i64NV'); + public z_Uniform3i64NV_ovr_0 := GetFuncOrNil&(z_Uniform3i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64NV(location: Int32; x: Int64; y: Int64; z: Int64); + begin + z_Uniform3i64NV_ovr_0(location, x, y, z); + end; + + public z_Uniform4i64NV_adr := GetFuncAdr('glUniform4i64NV'); + public z_Uniform4i64NV_ovr_0 := GetFuncOrNil&(z_Uniform4i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64NV(location: Int32; x: Int64; y: Int64; z: Int64; w: Int64); + begin + z_Uniform4i64NV_ovr_0(location, x, y, z, w); + end; + + public z_Uniform1i64vNV_adr := GetFuncAdr('glUniform1i64vNV'); + public z_Uniform1i64vNV_ovr_0 := GetFuncOrNil&(z_Uniform1i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vNV(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform1i64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vNV(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform1i64vNV_ovr_0(location, count, value); + end; + public z_Uniform1i64vNV_ovr_2 := GetFuncOrNil&(z_Uniform1i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1i64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1i64vNV_ovr_2(location, count, value); + end; + + public z_Uniform2i64vNV_adr := GetFuncAdr('glUniform2i64vNV'); + public z_Uniform2i64vNV_ovr_0 := GetFuncOrNil&(z_Uniform2i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vNV(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform2i64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vNV(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform2i64vNV_ovr_0(location, count, value); + end; + public z_Uniform2i64vNV_ovr_2 := GetFuncOrNil&(z_Uniform2i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2i64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2i64vNV_ovr_2(location, count, value); + end; + + public z_Uniform3i64vNV_adr := GetFuncAdr('glUniform3i64vNV'); + public z_Uniform3i64vNV_ovr_0 := GetFuncOrNil&(z_Uniform3i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vNV(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform3i64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vNV(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform3i64vNV_ovr_0(location, count, value); + end; + public z_Uniform3i64vNV_ovr_2 := GetFuncOrNil&(z_Uniform3i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3i64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3i64vNV_ovr_2(location, count, value); + end; + + public z_Uniform4i64vNV_adr := GetFuncAdr('glUniform4i64vNV'); + public z_Uniform4i64vNV_ovr_0 := GetFuncOrNil&(z_Uniform4i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vNV(location: Int32; count: Int32; value: array of Int64); + begin + z_Uniform4i64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vNV(location: Int32; count: Int32; var value: Int64); + begin + z_Uniform4i64vNV_ovr_0(location, count, value); + end; + public z_Uniform4i64vNV_ovr_2 := GetFuncOrNil&(z_Uniform4i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4i64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4i64vNV_ovr_2(location, count, value); + end; + + public z_Uniform1ui64NV_adr := GetFuncAdr('glUniform1ui64NV'); + public z_Uniform1ui64NV_ovr_0 := GetFuncOrNil&(z_Uniform1ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64NV(location: Int32; x: UInt64); + begin + z_Uniform1ui64NV_ovr_0(location, x); + end; + + public z_Uniform2ui64NV_adr := GetFuncAdr('glUniform2ui64NV'); + public z_Uniform2ui64NV_ovr_0 := GetFuncOrNil&(z_Uniform2ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64NV(location: Int32; x: UInt64; y: UInt64); + begin + z_Uniform2ui64NV_ovr_0(location, x, y); + end; + + public z_Uniform3ui64NV_adr := GetFuncAdr('glUniform3ui64NV'); + public z_Uniform3ui64NV_ovr_0 := GetFuncOrNil&(z_Uniform3ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64NV(location: Int32; x: UInt64; y: UInt64; z: UInt64); + begin + z_Uniform3ui64NV_ovr_0(location, x, y, z); + end; + + public z_Uniform4ui64NV_adr := GetFuncAdr('glUniform4ui64NV'); + public z_Uniform4ui64NV_ovr_0 := GetFuncOrNil&(z_Uniform4ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64NV(location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64); + begin + z_Uniform4ui64NV_ovr_0(location, x, y, z, w); + end; + + public z_Uniform1ui64vNV_adr := GetFuncAdr('glUniform1ui64vNV'); + public z_Uniform1ui64vNV_ovr_0 := GetFuncOrNil&(z_Uniform1ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vNV(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform1ui64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vNV(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform1ui64vNV_ovr_0(location, count, value); + end; + public z_Uniform1ui64vNV_ovr_2 := GetFuncOrNil&(z_Uniform1ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform1ui64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform1ui64vNV_ovr_2(location, count, value); + end; + + public z_Uniform2ui64vNV_adr := GetFuncAdr('glUniform2ui64vNV'); + public z_Uniform2ui64vNV_ovr_0 := GetFuncOrNil&(z_Uniform2ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vNV(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform2ui64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vNV(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform2ui64vNV_ovr_0(location, count, value); + end; + public z_Uniform2ui64vNV_ovr_2 := GetFuncOrNil&(z_Uniform2ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform2ui64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform2ui64vNV_ovr_2(location, count, value); + end; + + public z_Uniform3ui64vNV_adr := GetFuncAdr('glUniform3ui64vNV'); + public z_Uniform3ui64vNV_ovr_0 := GetFuncOrNil&(z_Uniform3ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vNV(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform3ui64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vNV(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform3ui64vNV_ovr_0(location, count, value); + end; + public z_Uniform3ui64vNV_ovr_2 := GetFuncOrNil&(z_Uniform3ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform3ui64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform3ui64vNV_ovr_2(location, count, value); + end; + + public z_Uniform4ui64vNV_adr := GetFuncAdr('glUniform4ui64vNV'); + public z_Uniform4ui64vNV_ovr_0 := GetFuncOrNil&(z_Uniform4ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vNV(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniform4ui64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vNV(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniform4ui64vNV_ovr_0(location, count, value); + end; + public z_Uniform4ui64vNV_ovr_2 := GetFuncOrNil&(z_Uniform4ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniform4ui64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniform4ui64vNV_ovr_2(location, count, value); + end; + + public z_GetUniformi64vNV_adr := GetFuncAdr('glGetUniformi64vNV'); + public z_GetUniformi64vNV_ovr_0 := GetFuncOrNil&(z_GetUniformi64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vNV(&program: UInt32; location: Int32; ¶ms: array of Int64); + begin + z_GetUniformi64vNV_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vNV(&program: UInt32; location: Int32; var ¶ms: Int64); + begin + z_GetUniformi64vNV_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformi64vNV_ovr_2 := GetFuncOrNil&(z_GetUniformi64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformi64vNV(&program: UInt32; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformi64vNV_ovr_2(&program, location, ¶ms); + end; + + public z_ProgramUniform1i64NV_adr := GetFuncAdr('glProgramUniform1i64NV'); + public z_ProgramUniform1i64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform1i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64NV(&program: UInt32; location: Int32; x: Int64); + begin + z_ProgramUniform1i64NV_ovr_0(&program, location, x); + end; + + public z_ProgramUniform2i64NV_adr := GetFuncAdr('glProgramUniform2i64NV'); + public z_ProgramUniform2i64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform2i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64NV(&program: UInt32; location: Int32; x: Int64; y: Int64); + begin + z_ProgramUniform2i64NV_ovr_0(&program, location, x, y); + end; + + public z_ProgramUniform3i64NV_adr := GetFuncAdr('glProgramUniform3i64NV'); + public z_ProgramUniform3i64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform3i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64NV(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64); + begin + z_ProgramUniform3i64NV_ovr_0(&program, location, x, y, z); + end; + + public z_ProgramUniform4i64NV_adr := GetFuncAdr('glProgramUniform4i64NV'); + public z_ProgramUniform4i64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform4i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64NV(&program: UInt32; location: Int32; x: Int64; y: Int64; z: Int64; w: Int64); + begin + z_ProgramUniform4i64NV_ovr_0(&program, location, x, y, z, w); + end; + + public z_ProgramUniform1i64vNV_adr := GetFuncAdr('glProgramUniform1i64vNV'); + public z_ProgramUniform1i64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform1i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform1i64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform1i64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1i64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform1i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1i64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1i64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2i64vNV_adr := GetFuncAdr('glProgramUniform2i64vNV'); + public z_ProgramUniform2i64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform2i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform2i64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform2i64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2i64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform2i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2i64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2i64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3i64vNV_adr := GetFuncAdr('glProgramUniform3i64vNV'); + public z_ProgramUniform3i64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform3i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform3i64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform3i64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3i64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform3i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3i64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3i64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4i64vNV_adr := GetFuncAdr('glProgramUniform4i64vNV'); + public z_ProgramUniform4i64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform4i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vNV(&program: UInt32; location: Int32; count: Int32; value: array of Int64); + begin + z_ProgramUniform4i64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vNV(&program: UInt32; location: Int32; count: Int32; var value: Int64); + begin + z_ProgramUniform4i64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4i64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform4i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4i64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4i64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform1ui64NV_adr := GetFuncAdr('glProgramUniform1ui64NV'); + public z_ProgramUniform1ui64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform1ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64NV(&program: UInt32; location: Int32; x: UInt64); + begin + z_ProgramUniform1ui64NV_ovr_0(&program, location, x); + end; + + public z_ProgramUniform2ui64NV_adr := GetFuncAdr('glProgramUniform2ui64NV'); + public z_ProgramUniform2ui64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform2ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64NV(&program: UInt32; location: Int32; x: UInt64; y: UInt64); + begin + z_ProgramUniform2ui64NV_ovr_0(&program, location, x, y); + end; + + public z_ProgramUniform3ui64NV_adr := GetFuncAdr('glProgramUniform3ui64NV'); + public z_ProgramUniform3ui64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform3ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64NV(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64); + begin + z_ProgramUniform3ui64NV_ovr_0(&program, location, x, y, z); + end; + + public z_ProgramUniform4ui64NV_adr := GetFuncAdr('glProgramUniform4ui64NV'); + public z_ProgramUniform4ui64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniform4ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64NV(&program: UInt32; location: Int32; x: UInt64; y: UInt64; z: UInt64; w: UInt64); + begin + z_ProgramUniform4ui64NV_ovr_0(&program, location, x, y, z, w); + end; + + public z_ProgramUniform1ui64vNV_adr := GetFuncAdr('glProgramUniform1ui64vNV'); + public z_ProgramUniform1ui64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform1ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform1ui64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform1ui64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform1ui64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform1ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform1ui64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform1ui64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform2ui64vNV_adr := GetFuncAdr('glProgramUniform2ui64vNV'); + public z_ProgramUniform2ui64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform2ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform2ui64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform2ui64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform2ui64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform2ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform2ui64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform2ui64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform3ui64vNV_adr := GetFuncAdr('glProgramUniform3ui64vNV'); + public z_ProgramUniform3ui64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform3ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform3ui64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform3ui64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform3ui64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform3ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform3ui64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform3ui64vNV_ovr_2(&program, location, count, value); + end; + + public z_ProgramUniform4ui64vNV_adr := GetFuncAdr('glProgramUniform4ui64vNV'); + public z_ProgramUniform4ui64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniform4ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniform4ui64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniform4ui64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniform4ui64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniform4ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniform4ui64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniform4ui64vNV_ovr_2(&program, location, count, value); + end; + + end; + + glHalfFloatNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_Vertex2hNV_adr := GetFuncAdr('glVertex2hNV'); + public z_Vertex2hNV_ovr_0 := GetFuncOrNil&(z_Vertex2hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hNV(x: Half; y: Half); + begin + z_Vertex2hNV_ovr_0(x, y); + end; + + public z_Vertex2hvNV_adr := GetFuncAdr('glVertex2hvNV'); + public z_Vertex2hvNV_ovr_0 := GetFuncOrNil&(z_Vertex2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hvNV(v: array of Half); + begin + z_Vertex2hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hvNV(var v: Half); + begin + z_Vertex2hvNV_ovr_0(v); + end; + public z_Vertex2hvNV_ovr_2 := GetFuncOrNil&(z_Vertex2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2hvNV(v: IntPtr); + begin + z_Vertex2hvNV_ovr_2(v); + end; + + public z_Vertex3hNV_adr := GetFuncAdr('glVertex3hNV'); + public z_Vertex3hNV_ovr_0 := GetFuncOrNil&(z_Vertex3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hNV(x: Half; y: Half; z: Half); + begin + z_Vertex3hNV_ovr_0(x, y, z); + end; + + public z_Vertex3hvNV_adr := GetFuncAdr('glVertex3hvNV'); + public z_Vertex3hvNV_ovr_0 := GetFuncOrNil&(z_Vertex3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hvNV(v: array of Half); + begin + z_Vertex3hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hvNV(var v: Half); + begin + z_Vertex3hvNV_ovr_0(v); + end; + public z_Vertex3hvNV_ovr_2 := GetFuncOrNil&(z_Vertex3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3hvNV(v: IntPtr); + begin + z_Vertex3hvNV_ovr_2(v); + end; + + public z_Vertex4hNV_adr := GetFuncAdr('glVertex4hNV'); + public z_Vertex4hNV_ovr_0 := GetFuncOrNil&(z_Vertex4hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hNV(x: Half; y: Half; z: Half; w: Half); + begin + z_Vertex4hNV_ovr_0(x, y, z, w); + end; + + public z_Vertex4hvNV_adr := GetFuncAdr('glVertex4hvNV'); + public z_Vertex4hvNV_ovr_0 := GetFuncOrNil&(z_Vertex4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hvNV(v: array of Half); + begin + z_Vertex4hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hvNV(var v: Half); + begin + z_Vertex4hvNV_ovr_0(v); + end; + public z_Vertex4hvNV_ovr_2 := GetFuncOrNil&(z_Vertex4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4hvNV(v: IntPtr); + begin + z_Vertex4hvNV_ovr_2(v); + end; + + public z_Normal3hNV_adr := GetFuncAdr('glNormal3hNV'); + public z_Normal3hNV_ovr_0 := GetFuncOrNil&(z_Normal3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hNV(nx: Half; ny: Half; nz: Half); + begin + z_Normal3hNV_ovr_0(nx, ny, nz); + end; + + public z_Normal3hvNV_adr := GetFuncAdr('glNormal3hvNV'); + public z_Normal3hvNV_ovr_0 := GetFuncOrNil&(z_Normal3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hvNV(v: array of Half); + begin + z_Normal3hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hvNV(var v: Half); + begin + z_Normal3hvNV_ovr_0(v); + end; + public z_Normal3hvNV_ovr_2 := GetFuncOrNil&(z_Normal3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3hvNV(v: IntPtr); + begin + z_Normal3hvNV_ovr_2(v); + end; + + public z_Color3hNV_adr := GetFuncAdr('glColor3hNV'); + public z_Color3hNV_ovr_0 := GetFuncOrNil&(z_Color3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hNV(red: Half; green: Half; blue: Half); + begin + z_Color3hNV_ovr_0(red, green, blue); + end; + + public z_Color3hvNV_adr := GetFuncAdr('glColor3hvNV'); + public z_Color3hvNV_ovr_0 := GetFuncOrNil&(z_Color3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hvNV(v: array of Half); + begin + z_Color3hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hvNV(var v: Half); + begin + z_Color3hvNV_ovr_0(v); + end; + public z_Color3hvNV_ovr_2 := GetFuncOrNil&(z_Color3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3hvNV(v: IntPtr); + begin + z_Color3hvNV_ovr_2(v); + end; + + public z_Color4hNV_adr := GetFuncAdr('glColor4hNV'); + public z_Color4hNV_ovr_0 := GetFuncOrNil&(z_Color4hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hNV(red: Half; green: Half; blue: Half; alpha: Half); + begin + z_Color4hNV_ovr_0(red, green, blue, alpha); + end; + + public z_Color4hvNV_adr := GetFuncAdr('glColor4hvNV'); + public z_Color4hvNV_ovr_0 := GetFuncOrNil&(z_Color4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hvNV(v: array of Half); + begin + z_Color4hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hvNV(var v: Half); + begin + z_Color4hvNV_ovr_0(v); + end; + public z_Color4hvNV_ovr_2 := GetFuncOrNil&(z_Color4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4hvNV(v: IntPtr); + begin + z_Color4hvNV_ovr_2(v); + end; + + public z_TexCoord1hNV_adr := GetFuncAdr('glTexCoord1hNV'); + public z_TexCoord1hNV_ovr_0 := GetFuncOrNil&(z_TexCoord1hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hNV(s: Half); + begin + z_TexCoord1hNV_ovr_0(s); + end; + + public z_TexCoord1hvNV_adr := GetFuncAdr('glTexCoord1hvNV'); + public z_TexCoord1hvNV_ovr_0 := GetFuncOrNil&(z_TexCoord1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hvNV(v: array of Half); + begin + z_TexCoord1hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hvNV(var v: Half); + begin + z_TexCoord1hvNV_ovr_0(v); + end; + public z_TexCoord1hvNV_ovr_2 := GetFuncOrNil&(z_TexCoord1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1hvNV(v: IntPtr); + begin + z_TexCoord1hvNV_ovr_2(v); + end; + + public z_TexCoord2hNV_adr := GetFuncAdr('glTexCoord2hNV'); + public z_TexCoord2hNV_ovr_0 := GetFuncOrNil&(z_TexCoord2hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hNV(s: Half; t: Half); + begin + z_TexCoord2hNV_ovr_0(s, t); + end; + + public z_TexCoord2hvNV_adr := GetFuncAdr('glTexCoord2hvNV'); + public z_TexCoord2hvNV_ovr_0 := GetFuncOrNil&(z_TexCoord2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hvNV(v: array of Half); + begin + z_TexCoord2hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hvNV(var v: Half); + begin + z_TexCoord2hvNV_ovr_0(v); + end; + public z_TexCoord2hvNV_ovr_2 := GetFuncOrNil&(z_TexCoord2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2hvNV(v: IntPtr); + begin + z_TexCoord2hvNV_ovr_2(v); + end; + + public z_TexCoord3hNV_adr := GetFuncAdr('glTexCoord3hNV'); + public z_TexCoord3hNV_ovr_0 := GetFuncOrNil&(z_TexCoord3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hNV(s: Half; t: Half; r: Half); + begin + z_TexCoord3hNV_ovr_0(s, t, r); + end; + + public z_TexCoord3hvNV_adr := GetFuncAdr('glTexCoord3hvNV'); + public z_TexCoord3hvNV_ovr_0 := GetFuncOrNil&(z_TexCoord3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hvNV(v: array of Half); + begin + z_TexCoord3hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hvNV(var v: Half); + begin + z_TexCoord3hvNV_ovr_0(v); + end; + public z_TexCoord3hvNV_ovr_2 := GetFuncOrNil&(z_TexCoord3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3hvNV(v: IntPtr); + begin + z_TexCoord3hvNV_ovr_2(v); + end; + + public z_TexCoord4hNV_adr := GetFuncAdr('glTexCoord4hNV'); + public z_TexCoord4hNV_ovr_0 := GetFuncOrNil&(z_TexCoord4hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hNV(s: Half; t: Half; r: Half; q: Half); + begin + z_TexCoord4hNV_ovr_0(s, t, r, q); + end; + + public z_TexCoord4hvNV_adr := GetFuncAdr('glTexCoord4hvNV'); + public z_TexCoord4hvNV_ovr_0 := GetFuncOrNil&(z_TexCoord4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hvNV(v: array of Half); + begin + z_TexCoord4hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hvNV(var v: Half); + begin + z_TexCoord4hvNV_ovr_0(v); + end; + public z_TexCoord4hvNV_ovr_2 := GetFuncOrNil&(z_TexCoord4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4hvNV(v: IntPtr); + begin + z_TexCoord4hvNV_ovr_2(v); + end; + + public z_MultiTexCoord1hNV_adr := GetFuncAdr('glMultiTexCoord1hNV'); + public z_MultiTexCoord1hNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hNV(target: TextureUnit; s: Half); + begin + z_MultiTexCoord1hNV_ovr_0(target, s); + end; + + public z_MultiTexCoord1hvNV_adr := GetFuncAdr('glMultiTexCoord1hvNV'); + public z_MultiTexCoord1hvNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hvNV(target: TextureUnit; v: array of Half); + begin + z_MultiTexCoord1hvNV_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hvNV(target: TextureUnit; var v: Half); + begin + z_MultiTexCoord1hvNV_ovr_0(target, v); + end; + public z_MultiTexCoord1hvNV_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1hvNV(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord1hvNV_ovr_2(target, v); + end; + + public z_MultiTexCoord2hNV_adr := GetFuncAdr('glMultiTexCoord2hNV'); + public z_MultiTexCoord2hNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hNV(target: TextureUnit; s: Half; t: Half); + begin + z_MultiTexCoord2hNV_ovr_0(target, s, t); + end; + + public z_MultiTexCoord2hvNV_adr := GetFuncAdr('glMultiTexCoord2hvNV'); + public z_MultiTexCoord2hvNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hvNV(target: TextureUnit; v: array of Half); + begin + z_MultiTexCoord2hvNV_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hvNV(target: TextureUnit; var v: Half); + begin + z_MultiTexCoord2hvNV_ovr_0(target, v); + end; + public z_MultiTexCoord2hvNV_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2hvNV(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord2hvNV_ovr_2(target, v); + end; + + public z_MultiTexCoord3hNV_adr := GetFuncAdr('glMultiTexCoord3hNV'); + public z_MultiTexCoord3hNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hNV(target: TextureUnit; s: Half; t: Half; r: Half); + begin + z_MultiTexCoord3hNV_ovr_0(target, s, t, r); + end; + + public z_MultiTexCoord3hvNV_adr := GetFuncAdr('glMultiTexCoord3hvNV'); + public z_MultiTexCoord3hvNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hvNV(target: TextureUnit; v: array of Half); + begin + z_MultiTexCoord3hvNV_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hvNV(target: TextureUnit; var v: Half); + begin + z_MultiTexCoord3hvNV_ovr_0(target, v); + end; + public z_MultiTexCoord3hvNV_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3hvNV(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord3hvNV_ovr_2(target, v); + end; + + public z_MultiTexCoord4hNV_adr := GetFuncAdr('glMultiTexCoord4hNV'); + public z_MultiTexCoord4hNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hNV(target: TextureUnit; s: Half; t: Half; r: Half; q: Half); + begin + z_MultiTexCoord4hNV_ovr_0(target, s, t, r, q); + end; + + public z_MultiTexCoord4hvNV_adr := GetFuncAdr('glMultiTexCoord4hvNV'); + public z_MultiTexCoord4hvNV_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hvNV(target: TextureUnit; v: array of Half); + begin + z_MultiTexCoord4hvNV_ovr_0(target, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hvNV(target: TextureUnit; var v: Half); + begin + z_MultiTexCoord4hvNV_ovr_0(target, v); + end; + public z_MultiTexCoord4hvNV_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4hvNV(target: TextureUnit; v: IntPtr); + begin + z_MultiTexCoord4hvNV_ovr_2(target, v); + end; + + public z_FogCoordhNV_adr := GetFuncAdr('glFogCoordhNV'); + public z_FogCoordhNV_ovr_0 := GetFuncOrNil&(z_FogCoordhNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhNV(fog: Half); + begin + z_FogCoordhNV_ovr_0(fog); + end; + + public z_FogCoordhvNV_adr := GetFuncAdr('glFogCoordhvNV'); + public z_FogCoordhvNV_ovr_0 := GetFuncOrNil&(z_FogCoordhvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhvNV(fog: array of Half); + begin + z_FogCoordhvNV_ovr_0(fog[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhvNV(var fog: Half); + begin + z_FogCoordhvNV_ovr_0(fog); + end; + public z_FogCoordhvNV_ovr_2 := GetFuncOrNil&(z_FogCoordhvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordhvNV(fog: IntPtr); + begin + z_FogCoordhvNV_ovr_2(fog); + end; + + public z_SecondaryColor3hNV_adr := GetFuncAdr('glSecondaryColor3hNV'); + public z_SecondaryColor3hNV_ovr_0 := GetFuncOrNil&(z_SecondaryColor3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hNV(red: Half; green: Half; blue: Half); + begin + z_SecondaryColor3hNV_ovr_0(red, green, blue); + end; + + public z_SecondaryColor3hvNV_adr := GetFuncAdr('glSecondaryColor3hvNV'); + public z_SecondaryColor3hvNV_ovr_0 := GetFuncOrNil&(z_SecondaryColor3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hvNV(v: array of Half); + begin + z_SecondaryColor3hvNV_ovr_0(v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hvNV(var v: Half); + begin + z_SecondaryColor3hvNV_ovr_0(v); + end; + public z_SecondaryColor3hvNV_ovr_2 := GetFuncOrNil&(z_SecondaryColor3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColor3hvNV(v: IntPtr); + begin + z_SecondaryColor3hvNV_ovr_2(v); + end; + + public z_VertexWeighthNV_adr := GetFuncAdr('glVertexWeighthNV'); + public z_VertexWeighthNV_ovr_0 := GetFuncOrNil&(z_VertexWeighthNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthNV(weight: Half); + begin + z_VertexWeighthNV_ovr_0(weight); + end; + + public z_VertexWeighthvNV_adr := GetFuncAdr('glVertexWeighthvNV'); + public z_VertexWeighthvNV_ovr_0 := GetFuncOrNil&(z_VertexWeighthvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthvNV(weight: array of Half); + begin + z_VertexWeighthvNV_ovr_0(weight[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthvNV(var weight: Half); + begin + z_VertexWeighthvNV_ovr_0(weight); + end; + public z_VertexWeighthvNV_ovr_2 := GetFuncOrNil&(z_VertexWeighthvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexWeighthvNV(weight: IntPtr); + begin + z_VertexWeighthvNV_ovr_2(weight); + end; + + public z_VertexAttrib1hNV_adr := GetFuncAdr('glVertexAttrib1hNV'); + public z_VertexAttrib1hNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hNV(index: UInt32; x: Half); + begin + z_VertexAttrib1hNV_ovr_0(index, x); + end; + + public z_VertexAttrib1hvNV_adr := GetFuncAdr('glVertexAttrib1hvNV'); + public z_VertexAttrib1hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hvNV(index: UInt32; v: array of Half); + begin + z_VertexAttrib1hvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hvNV(index: UInt32; var v: Half); + begin + z_VertexAttrib1hvNV_ovr_0(index, v); + end; + public z_VertexAttrib1hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1hvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1hvNV_ovr_2(index, v); + end; + + public z_VertexAttrib2hNV_adr := GetFuncAdr('glVertexAttrib2hNV'); + public z_VertexAttrib2hNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hNV(index: UInt32; x: Half; y: Half); + begin + z_VertexAttrib2hNV_ovr_0(index, x, y); + end; + + public z_VertexAttrib2hvNV_adr := GetFuncAdr('glVertexAttrib2hvNV'); + public z_VertexAttrib2hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hvNV(index: UInt32; v: array of Half); + begin + z_VertexAttrib2hvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hvNV(index: UInt32; var v: Half); + begin + z_VertexAttrib2hvNV_ovr_0(index, v); + end; + public z_VertexAttrib2hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2hvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2hvNV_ovr_2(index, v); + end; + + public z_VertexAttrib3hNV_adr := GetFuncAdr('glVertexAttrib3hNV'); + public z_VertexAttrib3hNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hNV(index: UInt32; x: Half; y: Half; z: Half); + begin + z_VertexAttrib3hNV_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3hvNV_adr := GetFuncAdr('glVertexAttrib3hvNV'); + public z_VertexAttrib3hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hvNV(index: UInt32; v: array of Half); + begin + z_VertexAttrib3hvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hvNV(index: UInt32; var v: Half); + begin + z_VertexAttrib3hvNV_ovr_0(index, v); + end; + public z_VertexAttrib3hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3hvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3hvNV_ovr_2(index, v); + end; + + public z_VertexAttrib4hNV_adr := GetFuncAdr('glVertexAttrib4hNV'); + public z_VertexAttrib4hNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4hNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hNV(index: UInt32; x: Half; y: Half; z: Half; w: Half); + begin + z_VertexAttrib4hNV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4hvNV_adr := GetFuncAdr('glVertexAttrib4hvNV'); + public z_VertexAttrib4hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hvNV(index: UInt32; v: array of Half); + begin + z_VertexAttrib4hvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hvNV(index: UInt32; var v: Half); + begin + z_VertexAttrib4hvNV_ovr_0(index, v); + end; + public z_VertexAttrib4hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4hvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4hvNV_ovr_2(index, v); + end; + + public z_VertexAttribs1hvNV_adr := GetFuncAdr('glVertexAttribs1hvNV'); + public z_VertexAttribs1hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1hvNV(index: UInt32; n: Int32; v: array of Half); + begin + z_VertexAttribs1hvNV_ovr_0(index, n, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1hvNV(index: UInt32; n: Int32; var v: Half); + begin + z_VertexAttribs1hvNV_ovr_0(index, n, v); + end; + public z_VertexAttribs1hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs1hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1hvNV(index: UInt32; n: Int32; v: IntPtr); + begin + z_VertexAttribs1hvNV_ovr_2(index, n, v); + end; + + public z_VertexAttribs2hvNV_adr := GetFuncAdr('glVertexAttribs2hvNV'); + public z_VertexAttribs2hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2hvNV(index: UInt32; n: Int32; v: array of Half); + begin + z_VertexAttribs2hvNV_ovr_0(index, n, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2hvNV(index: UInt32; n: Int32; var v: Half); + begin + z_VertexAttribs2hvNV_ovr_0(index, n, v); + end; + public z_VertexAttribs2hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs2hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2hvNV(index: UInt32; n: Int32; v: IntPtr); + begin + z_VertexAttribs2hvNV_ovr_2(index, n, v); + end; + + public z_VertexAttribs3hvNV_adr := GetFuncAdr('glVertexAttribs3hvNV'); + public z_VertexAttribs3hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3hvNV(index: UInt32; n: Int32; v: array of Half); + begin + z_VertexAttribs3hvNV_ovr_0(index, n, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3hvNV(index: UInt32; n: Int32; var v: Half); + begin + z_VertexAttribs3hvNV_ovr_0(index, n, v); + end; + public z_VertexAttribs3hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs3hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3hvNV(index: UInt32; n: Int32; v: IntPtr); + begin + z_VertexAttribs3hvNV_ovr_2(index, n, v); + end; + + public z_VertexAttribs4hvNV_adr := GetFuncAdr('glVertexAttribs4hvNV'); + public z_VertexAttribs4hvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4hvNV(index: UInt32; n: Int32; v: array of Half); + begin + z_VertexAttribs4hvNV_ovr_0(index, n, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4hvNV(index: UInt32; n: Int32; var v: Half); + begin + z_VertexAttribs4hvNV_ovr_0(index, n, v); + end; + public z_VertexAttribs4hvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs4hvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4hvNV(index: UInt32; n: Int32; v: IntPtr); + begin + z_VertexAttribs4hvNV_ovr_2(index, n, v); + end; + + end; + + glInternalformatSampleQueryNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetInternalformatSampleivNV_adr := GetFuncAdr('glGetInternalformatSampleivNV'); + public z_GetInternalformatSampleivNV_ovr_0 := GetFuncOrNil&(z_GetInternalformatSampleivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformatSampleivNV(target: TextureTarget; _internalformat: InternalFormat; samples: Int32; pname: InternalFormatPName; count: Int32; ¶ms: array of Int32); + begin + z_GetInternalformatSampleivNV_ovr_0(target, _internalformat, samples, pname, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformatSampleivNV(target: TextureTarget; _internalformat: InternalFormat; samples: Int32; pname: InternalFormatPName; count: Int32; var ¶ms: Int32); + begin + z_GetInternalformatSampleivNV_ovr_0(target, _internalformat, samples, pname, count, ¶ms); + end; + public z_GetInternalformatSampleivNV_ovr_2 := GetFuncOrNil&(z_GetInternalformatSampleivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetInternalformatSampleivNV(target: TextureTarget; _internalformat: InternalFormat; samples: Int32; pname: InternalFormatPName; count: Int32; ¶ms: IntPtr); + begin + z_GetInternalformatSampleivNV_ovr_2(target, _internalformat, samples, pname, count, ¶ms); + end; + + end; + + glGpuMulticastNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_RenderGpuMaskNV_adr := GetFuncAdr('glRenderGpuMaskNV'); + public z_RenderGpuMaskNV_ovr_0 := GetFuncOrNil&(z_RenderGpuMaskNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RenderGpuMaskNV(mask: DummyFlags); + begin + z_RenderGpuMaskNV_ovr_0(mask); + end; + + public z_MulticastBufferSubDataNV_adr := GetFuncAdr('glMulticastBufferSubDataNV'); + public z_MulticastBufferSubDataNV_ovr_0 := GetFuncOrNil&(z_MulticastBufferSubDataNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastBufferSubDataNV(gpuMask: DummyFlags; buffer: UInt32; offset: IntPtr; size: IntPtr; data: IntPtr); + begin + z_MulticastBufferSubDataNV_ovr_0(gpuMask, buffer, offset, size, data); + end; + + public z_MulticastCopyBufferSubDataNV_adr := GetFuncAdr('glMulticastCopyBufferSubDataNV'); + public z_MulticastCopyBufferSubDataNV_ovr_0 := GetFuncOrNil&(z_MulticastCopyBufferSubDataNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastCopyBufferSubDataNV(readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr); + begin + z_MulticastCopyBufferSubDataNV_ovr_0(readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size); + end; + + public z_MulticastCopyImageSubDataNV_adr := GetFuncAdr('glMulticastCopyImageSubDataNV'); + public z_MulticastCopyImageSubDataNV_ovr_0 := GetFuncOrNil&(z_MulticastCopyImageSubDataNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastCopyImageSubDataNV(srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32); + begin + z_MulticastCopyImageSubDataNV_ovr_0(srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); + end; + + public z_MulticastBlitFramebufferNV_adr := GetFuncAdr('glMulticastBlitFramebufferNV'); + public z_MulticastBlitFramebufferNV_ovr_0 := GetFuncOrNil&(z_MulticastBlitFramebufferNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastBlitFramebufferNV(srcGpu: UInt32; dstGpu: UInt32; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: ClearBufferMask; filter: DummyEnum); + begin + z_MulticastBlitFramebufferNV_ovr_0(srcGpu, dstGpu, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + end; + + public z_MulticastFramebufferSampleLocationsfvNV_adr := GetFuncAdr('glMulticastFramebufferSampleLocationsfvNV'); + public z_MulticastFramebufferSampleLocationsfvNV_ovr_0 := GetFuncOrNil&(z_MulticastFramebufferSampleLocationsfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastFramebufferSampleLocationsfvNV(gpu: UInt32; framebuffer: UInt32; start: UInt32; count: Int32; v: array of single); + begin + z_MulticastFramebufferSampleLocationsfvNV_ovr_0(gpu, framebuffer, start, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastFramebufferSampleLocationsfvNV(gpu: UInt32; framebuffer: UInt32; start: UInt32; count: Int32; var v: single); + begin + z_MulticastFramebufferSampleLocationsfvNV_ovr_0(gpu, framebuffer, start, count, v); + end; + public z_MulticastFramebufferSampleLocationsfvNV_ovr_2 := GetFuncOrNil&(z_MulticastFramebufferSampleLocationsfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastFramebufferSampleLocationsfvNV(gpu: UInt32; framebuffer: UInt32; start: UInt32; count: Int32; v: IntPtr); + begin + z_MulticastFramebufferSampleLocationsfvNV_ovr_2(gpu, framebuffer, start, count, v); + end; + + public z_MulticastBarrierNV_adr := GetFuncAdr('glMulticastBarrierNV'); + public z_MulticastBarrierNV_ovr_0 := GetFuncOrNil&(z_MulticastBarrierNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastBarrierNV; + begin + z_MulticastBarrierNV_ovr_0; + end; + + public z_MulticastWaitSyncNV_adr := GetFuncAdr('glMulticastWaitSyncNV'); + public z_MulticastWaitSyncNV_ovr_0 := GetFuncOrNil&(z_MulticastWaitSyncNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastWaitSyncNV(signalGpu: UInt32; waitGpuMask: DummyFlags); + begin + z_MulticastWaitSyncNV_ovr_0(signalGpu, waitGpuMask); + end; + + public z_MulticastGetQueryObjectivNV_adr := GetFuncAdr('glMulticastGetQueryObjectivNV'); + public z_MulticastGetQueryObjectivNV_ovr_0 := GetFuncOrNil&(z_MulticastGetQueryObjectivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of Int32); + begin + z_MulticastGetQueryObjectivNV_ovr_0(gpu, id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: Int32); + begin + z_MulticastGetQueryObjectivNV_ovr_0(gpu, id, pname, ¶ms); + end; + public z_MulticastGetQueryObjectivNV_ovr_2 := GetFuncOrNil&(z_MulticastGetQueryObjectivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_MulticastGetQueryObjectivNV_ovr_2(gpu, id, pname, ¶ms); + end; + + public z_MulticastGetQueryObjectuivNV_adr := GetFuncAdr('glMulticastGetQueryObjectuivNV'); + public z_MulticastGetQueryObjectuivNV_ovr_0 := GetFuncOrNil&(z_MulticastGetQueryObjectuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectuivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of UInt32); + begin + z_MulticastGetQueryObjectuivNV_ovr_0(gpu, id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectuivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: UInt32); + begin + z_MulticastGetQueryObjectuivNV_ovr_0(gpu, id, pname, ¶ms); + end; + public z_MulticastGetQueryObjectuivNV_ovr_2 := GetFuncOrNil&(z_MulticastGetQueryObjectuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectuivNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_MulticastGetQueryObjectuivNV_ovr_2(gpu, id, pname, ¶ms); + end; + + public z_MulticastGetQueryObjecti64vNV_adr := GetFuncAdr('glMulticastGetQueryObjecti64vNV'); + public z_MulticastGetQueryObjecti64vNV_ovr_0 := GetFuncOrNil&(z_MulticastGetQueryObjecti64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjecti64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of Int64); + begin + z_MulticastGetQueryObjecti64vNV_ovr_0(gpu, id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjecti64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: Int64); + begin + z_MulticastGetQueryObjecti64vNV_ovr_0(gpu, id, pname, ¶ms); + end; + public z_MulticastGetQueryObjecti64vNV_ovr_2 := GetFuncOrNil&(z_MulticastGetQueryObjecti64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjecti64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_MulticastGetQueryObjecti64vNV_ovr_2(gpu, id, pname, ¶ms); + end; + + public z_MulticastGetQueryObjectui64vNV_adr := GetFuncAdr('glMulticastGetQueryObjectui64vNV'); + public z_MulticastGetQueryObjectui64vNV_ovr_0 := GetFuncOrNil&(z_MulticastGetQueryObjectui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectui64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: array of UInt64); + begin + z_MulticastGetQueryObjectui64vNV_ovr_0(gpu, id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectui64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; var ¶ms: UInt64); + begin + z_MulticastGetQueryObjectui64vNV_ovr_0(gpu, id, pname, ¶ms); + end; + public z_MulticastGetQueryObjectui64vNV_ovr_2 := GetFuncOrNil&(z_MulticastGetQueryObjectui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastGetQueryObjectui64vNV(gpu: UInt32; id: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_MulticastGetQueryObjectui64vNV_ovr_2(gpu, id, pname, ¶ms); + end; + + end; + + glGpuMulticast2NVX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_UploadGpuMaskNVX_adr := GetFuncAdr('glUploadGpuMaskNVX'); + public z_UploadGpuMaskNVX_ovr_0 := GetFuncOrNil&(z_UploadGpuMaskNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure UploadGpuMaskNVX(mask: DummyFlags); + begin + z_UploadGpuMaskNVX_ovr_0(mask); + end; + + public z_MulticastViewportArrayvNVX_adr := GetFuncAdr('glMulticastViewportArrayvNVX'); + public z_MulticastViewportArrayvNVX_ovr_0 := GetFuncOrNil&(z_MulticastViewportArrayvNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: array of single); + begin + z_MulticastViewportArrayvNVX_ovr_0(gpu, first, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; var v: single); + begin + z_MulticastViewportArrayvNVX_ovr_0(gpu, first, count, v); + end; + public z_MulticastViewportArrayvNVX_ovr_2 := GetFuncOrNil&(z_MulticastViewportArrayvNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: IntPtr); + begin + z_MulticastViewportArrayvNVX_ovr_2(gpu, first, count, v); + end; + + public z_MulticastViewportPositionWScaleNVX_adr := GetFuncAdr('glMulticastViewportPositionWScaleNVX'); + public z_MulticastViewportPositionWScaleNVX_ovr_0 := GetFuncOrNil&(z_MulticastViewportPositionWScaleNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastViewportPositionWScaleNVX(gpu: UInt32; index: UInt32; xcoeff: single; ycoeff: single); + begin + z_MulticastViewportPositionWScaleNVX_ovr_0(gpu, index, xcoeff, ycoeff); + end; + + public z_MulticastScissorArrayvNVX_adr := GetFuncAdr('glMulticastScissorArrayvNVX'); + public z_MulticastScissorArrayvNVX_ovr_0 := GetFuncOrNil&(z_MulticastScissorArrayvNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastScissorArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: array of Int32); + begin + z_MulticastScissorArrayvNVX_ovr_0(gpu, first, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastScissorArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; var v: Int32); + begin + z_MulticastScissorArrayvNVX_ovr_0(gpu, first, count, v); + end; + public z_MulticastScissorArrayvNVX_ovr_2 := GetFuncOrNil&(z_MulticastScissorArrayvNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MulticastScissorArrayvNVX(gpu: UInt32; first: UInt32; count: Int32; v: IntPtr); + begin + z_MulticastScissorArrayvNVX_ovr_2(gpu, first, count, v); + end; + + public z_AsyncCopyBufferSubDataNVX_adr := GetFuncAdr('glAsyncCopyBufferSubDataNVX'); + public z_AsyncCopyBufferSubDataNVX_ovr_0 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_2 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_6 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_8 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_18 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_20 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_24 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_26 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_26(waitSemaphoreCount, waitSemaphoreArray[0], fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_26(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_54 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_56 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_60 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_62 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: array of UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_62(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray[0], readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var fenceValueArray: UInt64; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_62(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_72 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_74 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_74(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_74(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_78 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_78(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_78(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyBufferSubDataNVX_ovr_80 := GetFuncOrNil&(z_AsyncCopyBufferSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyBufferSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; fenceValueArray: IntPtr; readGpu: UInt32; writeGpuMask: DummyFlags; readBuffer: UInt32; writeBuffer: UInt32; readOffset: IntPtr; writeOffset: IntPtr; size: IntPtr; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyBufferSubDataNVX_ovr_80(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + + public z_AsyncCopyImageSubDataNVX_adr := GetFuncAdr('glAsyncCopyImageSubDataNVX'); + public z_AsyncCopyImageSubDataNVX_ovr_0 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_2 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_6 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_8 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_18 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_20 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_24 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_26 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: array of UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_26(waitSemaphoreCount, waitSemaphoreArray[0], waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_0(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_2(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_6(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_8(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_18(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_20(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_24(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; var waitSemaphoreArray: UInt32; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_26(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_54 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_56 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_60 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_62 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: array of UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_62(waitSemaphoreCount, waitSemaphoreArray, waitValueArray[0], srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_54(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_56(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_60(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; var waitValueArray: UInt64; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_62(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_72 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_74 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: array of UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_74(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray[0], signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_72(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; var signalSemaphoreArray: UInt32; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_74(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_78 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: array of UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_78(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; var signalValueArray: UInt64): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_78(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + public z_AsyncCopyImageSubDataNVX_ovr_80 := GetFuncOrNil&(z_AsyncCopyImageSubDataNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AsyncCopyImageSubDataNVX(waitSemaphoreCount: Int32; waitSemaphoreArray: IntPtr; waitValueArray: IntPtr; srcGpu: UInt32; dstGpuMask: DummyFlags; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; srcWidth: Int32; srcHeight: Int32; srcDepth: Int32; signalSemaphoreCount: Int32; signalSemaphoreArray: IntPtr; signalValueArray: IntPtr): UInt32; + begin + Result := z_AsyncCopyImageSubDataNVX_ovr_80(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + end; + + end; + + glProgressFenceNVX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CreateProgressFenceNVX_adr := GetFuncAdr('glCreateProgressFenceNVX'); + public z_CreateProgressFenceNVX_ovr_0 := GetFuncOrNil&(z_CreateProgressFenceNVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function CreateProgressFenceNVX: UInt32; + begin + Result := z_CreateProgressFenceNVX_ovr_0; + end; + + public z_SignalSemaphoreui64NVX_adr := GetFuncAdr('glSignalSemaphoreui64NVX'); + public z_SignalSemaphoreui64NVX_ovr_0 := GetFuncOrNil&(z_SignalSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: array of UInt64); + begin + z_SignalSemaphoreui64NVX_ovr_0(signalGpu, fenceObjectCount, semaphoreArray[0], fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; var fenceValueArray: UInt64); + begin + z_SignalSemaphoreui64NVX_ovr_0(signalGpu, fenceObjectCount, semaphoreArray[0], fenceValueArray); + end; + public z_SignalSemaphoreui64NVX_ovr_2 := GetFuncOrNil&(z_SignalSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: IntPtr); + begin + z_SignalSemaphoreui64NVX_ovr_2(signalGpu, fenceObjectCount, semaphoreArray[0], fenceValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: array of UInt64); + begin + z_SignalSemaphoreui64NVX_ovr_0(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; var fenceValueArray: UInt64); + begin + z_SignalSemaphoreui64NVX_ovr_0(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: IntPtr); + begin + z_SignalSemaphoreui64NVX_ovr_2(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public z_SignalSemaphoreui64NVX_ovr_6 := GetFuncOrNil&(z_SignalSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: IntPtr; fenceValueArray: array of UInt64); + begin + z_SignalSemaphoreui64NVX_ovr_6(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: IntPtr; var fenceValueArray: UInt64); + begin + z_SignalSemaphoreui64NVX_ovr_6(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public z_SignalSemaphoreui64NVX_ovr_8 := GetFuncOrNil&(z_SignalSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SignalSemaphoreui64NVX(signalGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: IntPtr; fenceValueArray: IntPtr); + begin + z_SignalSemaphoreui64NVX_ovr_8(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + + public z_WaitSemaphoreui64NVX_adr := GetFuncAdr('glWaitSemaphoreui64NVX'); + public z_WaitSemaphoreui64NVX_ovr_0 := GetFuncOrNil&(z_WaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: array of UInt64); + begin + z_WaitSemaphoreui64NVX_ovr_0(waitGpu, fenceObjectCount, semaphoreArray[0], fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; var fenceValueArray: UInt64); + begin + z_WaitSemaphoreui64NVX_ovr_0(waitGpu, fenceObjectCount, semaphoreArray[0], fenceValueArray); + end; + public z_WaitSemaphoreui64NVX_ovr_2 := GetFuncOrNil&(z_WaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: IntPtr); + begin + z_WaitSemaphoreui64NVX_ovr_2(waitGpu, fenceObjectCount, semaphoreArray[0], fenceValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: array of UInt64); + begin + z_WaitSemaphoreui64NVX_ovr_0(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; var fenceValueArray: UInt64); + begin + z_WaitSemaphoreui64NVX_ovr_0(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: IntPtr); + begin + z_WaitSemaphoreui64NVX_ovr_2(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public z_WaitSemaphoreui64NVX_ovr_6 := GetFuncOrNil&(z_WaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: IntPtr; fenceValueArray: array of UInt64); + begin + z_WaitSemaphoreui64NVX_ovr_6(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: IntPtr; var fenceValueArray: UInt64); + begin + z_WaitSemaphoreui64NVX_ovr_6(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public z_WaitSemaphoreui64NVX_ovr_8 := GetFuncOrNil&(z_WaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WaitSemaphoreui64NVX(waitGpu: UInt32; fenceObjectCount: Int32; semaphoreArray: IntPtr; fenceValueArray: IntPtr); + begin + z_WaitSemaphoreui64NVX_ovr_8(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); + end; + + public z_ClientWaitSemaphoreui64NVX_adr := GetFuncAdr('glClientWaitSemaphoreui64NVX'); + public z_ClientWaitSemaphoreui64NVX_ovr_0 := GetFuncOrNil&(z_ClientWaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: array of UInt64); + begin + z_ClientWaitSemaphoreui64NVX_ovr_0(fenceObjectCount, semaphoreArray[0], fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: array of UInt32; var fenceValueArray: UInt64); + begin + z_ClientWaitSemaphoreui64NVX_ovr_0(fenceObjectCount, semaphoreArray[0], fenceValueArray); + end; + public z_ClientWaitSemaphoreui64NVX_ovr_2 := GetFuncOrNil&(z_ClientWaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: array of UInt32; fenceValueArray: IntPtr); + begin + z_ClientWaitSemaphoreui64NVX_ovr_2(fenceObjectCount, semaphoreArray[0], fenceValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: array of UInt64); + begin + z_ClientWaitSemaphoreui64NVX_ovr_0(fenceObjectCount, semaphoreArray, fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; var semaphoreArray: UInt32; var fenceValueArray: UInt64); + begin + z_ClientWaitSemaphoreui64NVX_ovr_0(fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; var semaphoreArray: UInt32; fenceValueArray: IntPtr); + begin + z_ClientWaitSemaphoreui64NVX_ovr_2(fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public z_ClientWaitSemaphoreui64NVX_ovr_6 := GetFuncOrNil&(z_ClientWaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: IntPtr; fenceValueArray: array of UInt64); + begin + z_ClientWaitSemaphoreui64NVX_ovr_6(fenceObjectCount, semaphoreArray, fenceValueArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: IntPtr; var fenceValueArray: UInt64); + begin + z_ClientWaitSemaphoreui64NVX_ovr_6(fenceObjectCount, semaphoreArray, fenceValueArray); + end; + public z_ClientWaitSemaphoreui64NVX_ovr_8 := GetFuncOrNil&(z_ClientWaitSemaphoreui64NVX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClientWaitSemaphoreui64NVX(fenceObjectCount: Int32; semaphoreArray: IntPtr; fenceValueArray: IntPtr); + begin + z_ClientWaitSemaphoreui64NVX_ovr_8(fenceObjectCount, semaphoreArray, fenceValueArray); + end; + + end; + + glMemoryAttachmentNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetMemoryObjectDetachedResourcesuivNV_adr := GetFuncAdr('glGetMemoryObjectDetachedResourcesuivNV'); + public z_GetMemoryObjectDetachedResourcesuivNV_ovr_0 := GetFuncOrNil&(z_GetMemoryObjectDetachedResourcesuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectDetachedResourcesuivNV(memory: UInt32; pname: DummyEnum; first: Int32; count: Int32; ¶ms: array of UInt32); + begin + z_GetMemoryObjectDetachedResourcesuivNV_ovr_0(memory, pname, first, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectDetachedResourcesuivNV(memory: UInt32; pname: DummyEnum; first: Int32; count: Int32; var ¶ms: UInt32); + begin + z_GetMemoryObjectDetachedResourcesuivNV_ovr_0(memory, pname, first, count, ¶ms); + end; + public z_GetMemoryObjectDetachedResourcesuivNV_ovr_2 := GetFuncOrNil&(z_GetMemoryObjectDetachedResourcesuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMemoryObjectDetachedResourcesuivNV(memory: UInt32; pname: DummyEnum; first: Int32; count: Int32; ¶ms: IntPtr); + begin + z_GetMemoryObjectDetachedResourcesuivNV_ovr_2(memory, pname, first, count, ¶ms); + end; + + public z_ResetMemoryObjectParameterNV_adr := GetFuncAdr('glResetMemoryObjectParameterNV'); + public z_ResetMemoryObjectParameterNV_ovr_0 := GetFuncOrNil&(z_ResetMemoryObjectParameterNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResetMemoryObjectParameterNV(memory: UInt32; pname: DummyEnum); + begin + z_ResetMemoryObjectParameterNV_ovr_0(memory, pname); + end; + + public z_TexAttachMemoryNV_adr := GetFuncAdr('glTexAttachMemoryNV'); + public z_TexAttachMemoryNV_ovr_0 := GetFuncOrNil&(z_TexAttachMemoryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexAttachMemoryNV(target: TextureTarget; memory: UInt32; offset: UInt64); + begin + z_TexAttachMemoryNV_ovr_0(target, memory, offset); + end; + + public z_BufferAttachMemoryNV_adr := GetFuncAdr('glBufferAttachMemoryNV'); + public z_BufferAttachMemoryNV_ovr_0 := GetFuncOrNil&(z_BufferAttachMemoryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferAttachMemoryNV(target: BufferTargetARB; memory: UInt32; offset: UInt64); + begin + z_BufferAttachMemoryNV_ovr_0(target, memory, offset); + end; + + public z_TextureAttachMemoryNV_adr := GetFuncAdr('glTextureAttachMemoryNV'); + public z_TextureAttachMemoryNV_ovr_0 := GetFuncOrNil&(z_TextureAttachMemoryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureAttachMemoryNV(texture: UInt32; memory: UInt32; offset: UInt64); + begin + z_TextureAttachMemoryNV_ovr_0(texture, memory, offset); + end; + + public z_NamedBufferAttachMemoryNV_adr := GetFuncAdr('glNamedBufferAttachMemoryNV'); + public z_NamedBufferAttachMemoryNV_ovr_0 := GetFuncOrNil&(z_NamedBufferAttachMemoryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedBufferAttachMemoryNV(buffer: UInt32; memory: UInt32; offset: UInt64); + begin + z_NamedBufferAttachMemoryNV_ovr_0(buffer, memory, offset); + end; + + end; + + glMeshShaderNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawMeshTasksNV_adr := GetFuncAdr('glDrawMeshTasksNV'); + public z_DrawMeshTasksNV_ovr_0 := GetFuncOrNil&(z_DrawMeshTasksNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawMeshTasksNV(first: UInt32; count: UInt32); + begin + z_DrawMeshTasksNV_ovr_0(first, count); + end; + + public z_DrawMeshTasksIndirectNV_adr := GetFuncAdr('glDrawMeshTasksIndirectNV'); + public z_DrawMeshTasksIndirectNV_ovr_0 := GetFuncOrNil&(z_DrawMeshTasksIndirectNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawMeshTasksIndirectNV(indirect: IntPtr); + begin + z_DrawMeshTasksIndirectNV_ovr_0(indirect); + end; + + public z_MultiDrawMeshTasksIndirectNV_adr := GetFuncAdr('glMultiDrawMeshTasksIndirectNV'); + public z_MultiDrawMeshTasksIndirectNV_ovr_0 := GetFuncOrNil&(z_MultiDrawMeshTasksIndirectNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawMeshTasksIndirectNV(indirect: IntPtr; drawcount: Int32; stride: Int32); + begin + z_MultiDrawMeshTasksIndirectNV_ovr_0(indirect, drawcount, stride); + end; + + public z_MultiDrawMeshTasksIndirectCountNV_adr := GetFuncAdr('glMultiDrawMeshTasksIndirectCountNV'); + public z_MultiDrawMeshTasksIndirectCountNV_ovr_0 := GetFuncOrNil&(z_MultiDrawMeshTasksIndirectCountNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiDrawMeshTasksIndirectCountNV(indirect: IntPtr; drawcount: IntPtr; maxdrawcount: Int32; stride: Int32); + begin + z_MultiDrawMeshTasksIndirectCountNV_ovr_0(indirect, drawcount, maxdrawcount, stride); + end; + + end; + + glOcclusionQueryNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenOcclusionQueriesNV_adr := GetFuncAdr('glGenOcclusionQueriesNV'); + public z_GenOcclusionQueriesNV_ovr_0 := GetFuncOrNil&(z_GenOcclusionQueriesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenOcclusionQueriesNV(n: Int32; ids: array of UInt32); + begin + z_GenOcclusionQueriesNV_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenOcclusionQueriesNV(n: Int32; var ids: UInt32); + begin + z_GenOcclusionQueriesNV_ovr_0(n, ids); + end; + public z_GenOcclusionQueriesNV_ovr_2 := GetFuncOrNil&(z_GenOcclusionQueriesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenOcclusionQueriesNV(n: Int32; ids: IntPtr); + begin + z_GenOcclusionQueriesNV_ovr_2(n, ids); + end; + + public z_DeleteOcclusionQueriesNV_adr := GetFuncAdr('glDeleteOcclusionQueriesNV'); + public z_DeleteOcclusionQueriesNV_ovr_0 := GetFuncOrNil&(z_DeleteOcclusionQueriesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteOcclusionQueriesNV(n: Int32; ids: array of UInt32); + begin + z_DeleteOcclusionQueriesNV_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteOcclusionQueriesNV(n: Int32; var ids: UInt32); + begin + z_DeleteOcclusionQueriesNV_ovr_0(n, ids); + end; + public z_DeleteOcclusionQueriesNV_ovr_2 := GetFuncOrNil&(z_DeleteOcclusionQueriesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteOcclusionQueriesNV(n: Int32; ids: IntPtr); + begin + z_DeleteOcclusionQueriesNV_ovr_2(n, ids); + end; + + public z_IsOcclusionQueryNV_adr := GetFuncAdr('glIsOcclusionQueryNV'); + public z_IsOcclusionQueryNV_ovr_0 := GetFuncOrNil&(z_IsOcclusionQueryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsOcclusionQueryNV(id: UInt32): boolean; + begin + Result := z_IsOcclusionQueryNV_ovr_0(id); + end; + + public z_BeginOcclusionQueryNV_adr := GetFuncAdr('glBeginOcclusionQueryNV'); + public z_BeginOcclusionQueryNV_ovr_0 := GetFuncOrNil&(z_BeginOcclusionQueryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginOcclusionQueryNV(id: UInt32); + begin + z_BeginOcclusionQueryNV_ovr_0(id); + end; + + public z_EndOcclusionQueryNV_adr := GetFuncAdr('glEndOcclusionQueryNV'); + public z_EndOcclusionQueryNV_ovr_0 := GetFuncOrNil&(z_EndOcclusionQueryNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndOcclusionQueryNV; + begin + z_EndOcclusionQueryNV_ovr_0; + end; + + public z_GetOcclusionQueryivNV_adr := GetFuncAdr('glGetOcclusionQueryivNV'); + public z_GetOcclusionQueryivNV_ovr_0 := GetFuncOrNil&(z_GetOcclusionQueryivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryivNV(id: UInt32; pname: OcclusionQueryParameterNameNV; ¶ms: array of Int32); + begin + z_GetOcclusionQueryivNV_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryivNV(id: UInt32; pname: OcclusionQueryParameterNameNV; var ¶ms: Int32); + begin + z_GetOcclusionQueryivNV_ovr_0(id, pname, ¶ms); + end; + public z_GetOcclusionQueryivNV_ovr_2 := GetFuncOrNil&(z_GetOcclusionQueryivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryivNV(id: UInt32; pname: OcclusionQueryParameterNameNV; ¶ms: IntPtr); + begin + z_GetOcclusionQueryivNV_ovr_2(id, pname, ¶ms); + end; + + public z_GetOcclusionQueryuivNV_adr := GetFuncAdr('glGetOcclusionQueryuivNV'); + public z_GetOcclusionQueryuivNV_ovr_0 := GetFuncOrNil&(z_GetOcclusionQueryuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryuivNV(id: UInt32; pname: OcclusionQueryParameterNameNV; ¶ms: array of UInt32); + begin + z_GetOcclusionQueryuivNV_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryuivNV(id: UInt32; pname: OcclusionQueryParameterNameNV; var ¶ms: UInt32); + begin + z_GetOcclusionQueryuivNV_ovr_0(id, pname, ¶ms); + end; + public z_GetOcclusionQueryuivNV_ovr_2 := GetFuncOrNil&(z_GetOcclusionQueryuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetOcclusionQueryuivNV(id: UInt32; pname: OcclusionQueryParameterNameNV; ¶ms: IntPtr); + begin + z_GetOcclusionQueryuivNV_ovr_2(id, pname, ¶ms); + end; + + end; + + glParameterBufferObjectNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ProgramBufferParametersfvNV_adr := GetFuncAdr('glProgramBufferParametersfvNV'); + public z_ProgramBufferParametersfvNV_ovr_0 := GetFuncOrNil&(z_ProgramBufferParametersfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersfvNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: array of single); + begin + z_ProgramBufferParametersfvNV_ovr_0(target, bindingIndex, wordIndex, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersfvNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; var ¶ms: single); + begin + z_ProgramBufferParametersfvNV_ovr_0(target, bindingIndex, wordIndex, count, ¶ms); + end; + public z_ProgramBufferParametersfvNV_ovr_2 := GetFuncOrNil&(z_ProgramBufferParametersfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersfvNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramBufferParametersfvNV_ovr_2(target, bindingIndex, wordIndex, count, ¶ms); + end; + + public z_ProgramBufferParametersIivNV_adr := GetFuncAdr('glProgramBufferParametersIivNV'); + public z_ProgramBufferParametersIivNV_ovr_0 := GetFuncOrNil&(z_ProgramBufferParametersIivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIivNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: array of Int32); + begin + z_ProgramBufferParametersIivNV_ovr_0(target, bindingIndex, wordIndex, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIivNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; var ¶ms: Int32); + begin + z_ProgramBufferParametersIivNV_ovr_0(target, bindingIndex, wordIndex, count, ¶ms); + end; + public z_ProgramBufferParametersIivNV_ovr_2 := GetFuncOrNil&(z_ProgramBufferParametersIivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIivNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramBufferParametersIivNV_ovr_2(target, bindingIndex, wordIndex, count, ¶ms); + end; + + public z_ProgramBufferParametersIuivNV_adr := GetFuncAdr('glProgramBufferParametersIuivNV'); + public z_ProgramBufferParametersIuivNV_ovr_0 := GetFuncOrNil&(z_ProgramBufferParametersIuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIuivNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: array of UInt32); + begin + z_ProgramBufferParametersIuivNV_ovr_0(target, bindingIndex, wordIndex, count, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIuivNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; var ¶ms: UInt32); + begin + z_ProgramBufferParametersIuivNV_ovr_0(target, bindingIndex, wordIndex, count, ¶ms); + end; + public z_ProgramBufferParametersIuivNV_ovr_2 := GetFuncOrNil&(z_ProgramBufferParametersIuivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramBufferParametersIuivNV(target: ProgramTarget; bindingIndex: UInt32; wordIndex: UInt32; count: Int32; ¶ms: IntPtr); + begin + z_ProgramBufferParametersIuivNV_ovr_2(target, bindingIndex, wordIndex, count, ¶ms); + end; + + end; + + glPathRenderingNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenPathsNV_adr := GetFuncAdr('glGenPathsNV'); + public z_GenPathsNV_ovr_0 := GetFuncOrNil&(z_GenPathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenPathsNV(range: Int32): UInt32; + begin + Result := z_GenPathsNV_ovr_0(range); + end; + + public z_DeletePathsNV_adr := GetFuncAdr('glDeletePathsNV'); + public z_DeletePathsNV_ovr_0 := GetFuncOrNil&(z_DeletePathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeletePathsNV(path: UInt32; range: Int32); + begin + z_DeletePathsNV_ovr_0(path, range); + end; + + public z_IsPathNV_adr := GetFuncAdr('glIsPathNV'); + public z_IsPathNV_ovr_0 := GetFuncOrNil&(z_IsPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsPathNV(path: UInt32): boolean; + begin + Result := z_IsPathNV_ovr_0(path); + end; + + public z_PathCommandsNV_adr := GetFuncAdr('glPathCommandsNV'); + public z_PathCommandsNV_ovr_0 := GetFuncOrNil&(z_PathCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCommandsNV(path: UInt32; numCommands: Int32; commands: array of Byte; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathCommandsNV_ovr_0(path, numCommands, commands[0], numCoords, coordType, coords); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCommandsNV(path: UInt32; numCommands: Int32; var commands: Byte; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathCommandsNV_ovr_0(path, numCommands, commands, numCoords, coordType, coords); + end; + public z_PathCommandsNV_ovr_2 := GetFuncOrNil&(z_PathCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCommandsNV(path: UInt32; numCommands: Int32; commands: IntPtr; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathCommandsNV_ovr_2(path, numCommands, commands, numCoords, coordType, coords); + end; + + public z_PathCoordsNV_adr := GetFuncAdr('glPathCoordsNV'); + public z_PathCoordsNV_ovr_0 := GetFuncOrNil&(z_PathCoordsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCoordsNV(path: UInt32; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathCoordsNV_ovr_0(path, numCoords, coordType, coords); + end; + + public z_PathSubCommandsNV_adr := GetFuncAdr('glPathSubCommandsNV'); + public z_PathSubCommandsNV_ovr_0 := GetFuncOrNil&(z_PathSubCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCommandsNV(path: UInt32; commandStart: Int32; commandsToDelete: Int32; numCommands: Int32; commands: array of Byte; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathSubCommandsNV_ovr_0(path, commandStart, commandsToDelete, numCommands, commands[0], numCoords, coordType, coords); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCommandsNV(path: UInt32; commandStart: Int32; commandsToDelete: Int32; numCommands: Int32; var commands: Byte; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathSubCommandsNV_ovr_0(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); + end; + public z_PathSubCommandsNV_ovr_2 := GetFuncOrNil&(z_PathSubCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCommandsNV(path: UInt32; commandStart: Int32; commandsToDelete: Int32; numCommands: Int32; commands: IntPtr; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathSubCommandsNV_ovr_2(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); + end; + + public z_PathSubCoordsNV_adr := GetFuncAdr('glPathSubCoordsNV'); + public z_PathSubCoordsNV_ovr_0 := GetFuncOrNil&(z_PathSubCoordsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathSubCoordsNV(path: UInt32; coordStart: Int32; numCoords: Int32; coordType: PathCoordType; coords: IntPtr); + begin + z_PathSubCoordsNV_ovr_0(path, coordStart, numCoords, coordType, coords); + end; + + public z_PathStringNV_adr := GetFuncAdr('glPathStringNV'); + public z_PathStringNV_ovr_0 := GetFuncOrNil&(z_PathStringNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathStringNV(path: UInt32; format: PathStringFormat; length: Int32; pathString: IntPtr); + begin + z_PathStringNV_ovr_0(path, format, length, pathString); + end; + + public z_PathGlyphsNV_adr := GetFuncAdr('glPathGlyphsNV'); + public z_PathGlyphsNV_ovr_0 := GetFuncOrNil&(z_PathGlyphsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathGlyphsNV(firstPathName: UInt32; fontTarget: PathFontTarget; fontName: IntPtr; fontStyle: PathFontStyle; numGlyphs: Int32; &type: PathElementType; charcodes: IntPtr; handleMissingGlyphs: PathHandleMissingGlyphs; pathParameterTemplate: UInt32; emScale: single); + begin + z_PathGlyphsNV_ovr_0(firstPathName, fontTarget, fontName, fontStyle, numGlyphs, &type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); + end; + + public z_PathGlyphRangeNV_adr := GetFuncAdr('glPathGlyphRangeNV'); + public z_PathGlyphRangeNV_ovr_0 := GetFuncOrNil&(z_PathGlyphRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathGlyphRangeNV(firstPathName: UInt32; fontTarget: PathFontTarget; fontName: IntPtr; fontStyle: PathFontStyle; firstGlyph: UInt32; numGlyphs: Int32; handleMissingGlyphs: PathHandleMissingGlyphs; pathParameterTemplate: UInt32; emScale: single); + begin + z_PathGlyphRangeNV_ovr_0(firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); + end; + + public z_WeightPathsNV_adr := GetFuncAdr('glWeightPathsNV'); + public z_WeightPathsNV_ovr_0 := GetFuncOrNil&(z_WeightPathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: array of UInt32; weights: array of single); + begin + z_WeightPathsNV_ovr_0(resultPath, numPaths, paths[0], weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: array of UInt32; var weights: single); + begin + z_WeightPathsNV_ovr_0(resultPath, numPaths, paths[0], weights); + end; + public z_WeightPathsNV_ovr_2 := GetFuncOrNil&(z_WeightPathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: array of UInt32; weights: IntPtr); + begin + z_WeightPathsNV_ovr_2(resultPath, numPaths, paths[0], weights); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; var paths: UInt32; weights: array of single); + begin + z_WeightPathsNV_ovr_0(resultPath, numPaths, paths, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; var paths: UInt32; var weights: single); + begin + z_WeightPathsNV_ovr_0(resultPath, numPaths, paths, weights); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; var paths: UInt32; weights: IntPtr); + begin + z_WeightPathsNV_ovr_2(resultPath, numPaths, paths, weights); + end; + public z_WeightPathsNV_ovr_6 := GetFuncOrNil&(z_WeightPathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: IntPtr; weights: array of single); + begin + z_WeightPathsNV_ovr_6(resultPath, numPaths, paths, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: IntPtr; var weights: single); + begin + z_WeightPathsNV_ovr_6(resultPath, numPaths, paths, weights); + end; + public z_WeightPathsNV_ovr_8 := GetFuncOrNil&(z_WeightPathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure WeightPathsNV(resultPath: UInt32; numPaths: Int32; paths: IntPtr; weights: IntPtr); + begin + z_WeightPathsNV_ovr_8(resultPath, numPaths, paths, weights); + end; + + public z_CopyPathNV_adr := GetFuncAdr('glCopyPathNV'); + public z_CopyPathNV_ovr_0 := GetFuncOrNil&(z_CopyPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyPathNV(resultPath: UInt32; srcPath: UInt32); + begin + z_CopyPathNV_ovr_0(resultPath, srcPath); + end; + + public z_InterpolatePathsNV_adr := GetFuncAdr('glInterpolatePathsNV'); + public z_InterpolatePathsNV_ovr_0 := GetFuncOrNil&(z_InterpolatePathsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InterpolatePathsNV(resultPath: UInt32; pathA: UInt32; pathB: UInt32; weight: single); + begin + z_InterpolatePathsNV_ovr_0(resultPath, pathA, pathB, weight); + end; + + public z_TransformPathNV_adr := GetFuncAdr('glTransformPathNV'); + public z_TransformPathNV_ovr_0 := GetFuncOrNil&(z_TransformPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformPathNV(resultPath: UInt32; srcPath: UInt32; transformType: PathTransformType; transformValues: array of single); + begin + z_TransformPathNV_ovr_0(resultPath, srcPath, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformPathNV(resultPath: UInt32; srcPath: UInt32; transformType: PathTransformType; var transformValues: single); + begin + z_TransformPathNV_ovr_0(resultPath, srcPath, transformType, transformValues); + end; + public z_TransformPathNV_ovr_2 := GetFuncOrNil&(z_TransformPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformPathNV(resultPath: UInt32; srcPath: UInt32; transformType: PathTransformType; transformValues: IntPtr); + begin + z_TransformPathNV_ovr_2(resultPath, srcPath, transformType, transformValues); + end; + + public z_PathParameterivNV_adr := GetFuncAdr('glPathParameterivNV'); + public z_PathParameterivNV_ovr_0 := GetFuncOrNil&(z_PathParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterivNV(path: UInt32; pname: PathParameter; value: array of Int32); + begin + z_PathParameterivNV_ovr_0(path, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterivNV(path: UInt32; pname: PathParameter; var value: Int32); + begin + z_PathParameterivNV_ovr_0(path, pname, value); + end; + public z_PathParameterivNV_ovr_2 := GetFuncOrNil&(z_PathParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterivNV(path: UInt32; pname: PathParameter; value: IntPtr); + begin + z_PathParameterivNV_ovr_2(path, pname, value); + end; + + public z_PathParameteriNV_adr := GetFuncAdr('glPathParameteriNV'); + public z_PathParameteriNV_ovr_0 := GetFuncOrNil&(z_PathParameteriNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameteriNV(path: UInt32; pname: PathParameter; value: Int32); + begin + z_PathParameteriNV_ovr_0(path, pname, value); + end; + + public z_PathParameterfvNV_adr := GetFuncAdr('glPathParameterfvNV'); + public z_PathParameterfvNV_ovr_0 := GetFuncOrNil&(z_PathParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfvNV(path: UInt32; pname: PathParameter; value: array of single); + begin + z_PathParameterfvNV_ovr_0(path, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfvNV(path: UInt32; pname: PathParameter; var value: single); + begin + z_PathParameterfvNV_ovr_0(path, pname, value); + end; + public z_PathParameterfvNV_ovr_2 := GetFuncOrNil&(z_PathParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfvNV(path: UInt32; pname: PathParameter; value: IntPtr); + begin + z_PathParameterfvNV_ovr_2(path, pname, value); + end; + + public z_PathParameterfNV_adr := GetFuncAdr('glPathParameterfNV'); + public z_PathParameterfNV_ovr_0 := GetFuncOrNil&(z_PathParameterfNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathParameterfNV(path: UInt32; pname: PathParameter; value: single); + begin + z_PathParameterfNV_ovr_0(path, pname, value); + end; + + public z_PathDashArrayNV_adr := GetFuncAdr('glPathDashArrayNV'); + public z_PathDashArrayNV_ovr_0 := GetFuncOrNil&(z_PathDashArrayNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathDashArrayNV(path: UInt32; dashCount: Int32; dashArray: array of single); + begin + z_PathDashArrayNV_ovr_0(path, dashCount, dashArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathDashArrayNV(path: UInt32; dashCount: Int32; var dashArray: single); + begin + z_PathDashArrayNV_ovr_0(path, dashCount, dashArray); + end; + public z_PathDashArrayNV_ovr_2 := GetFuncOrNil&(z_PathDashArrayNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathDashArrayNV(path: UInt32; dashCount: Int32; dashArray: IntPtr); + begin + z_PathDashArrayNV_ovr_2(path, dashCount, dashArray); + end; + + public z_PathStencilFuncNV_adr := GetFuncAdr('glPathStencilFuncNV'); + public z_PathStencilFuncNV_ovr_0 := GetFuncOrNil&(z_PathStencilFuncNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathStencilFuncNV(func: StencilFunction; ref: Int32; mask: UInt32); + begin + z_PathStencilFuncNV_ovr_0(func, ref, mask); + end; + + public z_PathStencilDepthOffsetNV_adr := GetFuncAdr('glPathStencilDepthOffsetNV'); + public z_PathStencilDepthOffsetNV_ovr_0 := GetFuncOrNil&(z_PathStencilDepthOffsetNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathStencilDepthOffsetNV(factor: single; units: single); + begin + z_PathStencilDepthOffsetNV_ovr_0(factor, units); + end; + + public z_StencilFillPathNV_adr := GetFuncAdr('glStencilFillPathNV'); + public z_StencilFillPathNV_ovr_0 := GetFuncOrNil&(z_StencilFillPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathNV(path: UInt32; fillMode: PathFillMode; mask: UInt32); + begin + z_StencilFillPathNV_ovr_0(path, fillMode, mask); + end; + + public z_StencilStrokePathNV_adr := GetFuncAdr('glStencilStrokePathNV'); + public z_StencilStrokePathNV_ovr_0 := GetFuncOrNil&(z_StencilStrokePathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathNV(path: UInt32; reference: Int32; mask: UInt32); + begin + z_StencilStrokePathNV_ovr_0(path, reference, mask); + end; + + public z_StencilFillPathInstancedNV_adr := GetFuncAdr('glStencilFillPathInstancedNV'); + public z_StencilFillPathInstancedNV_ovr_0 := GetFuncOrNil&(z_StencilFillPathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; fillMode: PathFillMode; mask: UInt32; transformType: PathTransformType; transformValues: array of single); + begin + z_StencilFillPathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; fillMode: PathFillMode; mask: UInt32; transformType: PathTransformType; var transformValues: single); + begin + z_StencilFillPathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); + end; + public z_StencilFillPathInstancedNV_ovr_2 := GetFuncOrNil&(z_StencilFillPathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilFillPathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; fillMode: PathFillMode; mask: UInt32; transformType: PathTransformType; transformValues: IntPtr); + begin + z_StencilFillPathInstancedNV_ovr_2(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); + end; + + public z_StencilStrokePathInstancedNV_adr := GetFuncAdr('glStencilStrokePathInstancedNV'); + public z_StencilStrokePathInstancedNV_ovr_0 := GetFuncOrNil&(z_StencilStrokePathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; reference: Int32; mask: UInt32; transformType: PathTransformType; transformValues: array of single); + begin + z_StencilStrokePathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; reference: Int32; mask: UInt32; transformType: PathTransformType; var transformValues: single); + begin + z_StencilStrokePathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); + end; + public z_StencilStrokePathInstancedNV_ovr_2 := GetFuncOrNil&(z_StencilStrokePathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilStrokePathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; reference: Int32; mask: UInt32; transformType: PathTransformType; transformValues: IntPtr); + begin + z_StencilStrokePathInstancedNV_ovr_2(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); + end; + + public z_PathCoverDepthFuncNV_adr := GetFuncAdr('glPathCoverDepthFuncNV'); + public z_PathCoverDepthFuncNV_ovr_0 := GetFuncOrNil&(z_PathCoverDepthFuncNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathCoverDepthFuncNV(func: DepthFunction); + begin + z_PathCoverDepthFuncNV_ovr_0(func); + end; + + public z_CoverFillPathNV_adr := GetFuncAdr('glCoverFillPathNV'); + public z_CoverFillPathNV_ovr_0 := GetFuncOrNil&(z_CoverFillPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathNV(path: UInt32; coverMode: PathCoverMode); + begin + z_CoverFillPathNV_ovr_0(path, coverMode); + end; + + public z_CoverStrokePathNV_adr := GetFuncAdr('glCoverStrokePathNV'); + public z_CoverStrokePathNV_ovr_0 := GetFuncOrNil&(z_CoverStrokePathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathNV(path: UInt32; coverMode: PathCoverMode); + begin + z_CoverStrokePathNV_ovr_0(path, coverMode); + end; + + public z_CoverFillPathInstancedNV_adr := GetFuncAdr('glCoverFillPathInstancedNV'); + public z_CoverFillPathInstancedNV_ovr_0 := GetFuncOrNil&(z_CoverFillPathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; coverMode: PathCoverMode; transformType: PathTransformType; transformValues: array of single); + begin + z_CoverFillPathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; coverMode: PathCoverMode; transformType: PathTransformType; var transformValues: single); + begin + z_CoverFillPathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + end; + public z_CoverFillPathInstancedNV_ovr_2 := GetFuncOrNil&(z_CoverFillPathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverFillPathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; coverMode: PathCoverMode; transformType: PathTransformType; transformValues: IntPtr); + begin + z_CoverFillPathInstancedNV_ovr_2(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + end; + + public z_CoverStrokePathInstancedNV_adr := GetFuncAdr('glCoverStrokePathInstancedNV'); + public z_CoverStrokePathInstancedNV_ovr_0 := GetFuncOrNil&(z_CoverStrokePathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; coverMode: PathCoverMode; transformType: PathTransformType; transformValues: array of single); + begin + z_CoverStrokePathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; coverMode: PathCoverMode; transformType: PathTransformType; var transformValues: single); + begin + z_CoverStrokePathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + end; + public z_CoverStrokePathInstancedNV_ovr_2 := GetFuncOrNil&(z_CoverStrokePathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CoverStrokePathInstancedNV(numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; coverMode: PathCoverMode; transformType: PathTransformType; transformValues: IntPtr); + begin + z_CoverStrokePathInstancedNV_ovr_2(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + end; + + public z_GetPathParameterivNV_adr := GetFuncAdr('glGetPathParameterivNV'); + public z_GetPathParameterivNV_ovr_0 := GetFuncOrNil&(z_GetPathParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterivNV(path: UInt32; pname: PathParameter; value: array of Int32); + begin + z_GetPathParameterivNV_ovr_0(path, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterivNV(path: UInt32; pname: PathParameter; var value: Int32); + begin + z_GetPathParameterivNV_ovr_0(path, pname, value); + end; + public z_GetPathParameterivNV_ovr_2 := GetFuncOrNil&(z_GetPathParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterivNV(path: UInt32; pname: PathParameter; value: IntPtr); + begin + z_GetPathParameterivNV_ovr_2(path, pname, value); + end; + + public z_GetPathParameterfvNV_adr := GetFuncAdr('glGetPathParameterfvNV'); + public z_GetPathParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetPathParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterfvNV(path: UInt32; pname: PathParameter; value: array of single); + begin + z_GetPathParameterfvNV_ovr_0(path, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterfvNV(path: UInt32; pname: PathParameter; var value: single); + begin + z_GetPathParameterfvNV_ovr_0(path, pname, value); + end; + public z_GetPathParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetPathParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathParameterfvNV(path: UInt32; pname: PathParameter; value: IntPtr); + begin + z_GetPathParameterfvNV_ovr_2(path, pname, value); + end; + + public z_GetPathCommandsNV_adr := GetFuncAdr('glGetPathCommandsNV'); + public z_GetPathCommandsNV_ovr_0 := GetFuncOrNil&(z_GetPathCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCommandsNV(path: UInt32; commands: array of Byte); + begin + z_GetPathCommandsNV_ovr_0(path, commands[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCommandsNV(path: UInt32; var commands: Byte); + begin + z_GetPathCommandsNV_ovr_0(path, commands); + end; + public z_GetPathCommandsNV_ovr_2 := GetFuncOrNil&(z_GetPathCommandsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCommandsNV(path: UInt32; commands: IntPtr); + begin + z_GetPathCommandsNV_ovr_2(path, commands); + end; + + public z_GetPathCoordsNV_adr := GetFuncAdr('glGetPathCoordsNV'); + public z_GetPathCoordsNV_ovr_0 := GetFuncOrNil&(z_GetPathCoordsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCoordsNV(path: UInt32; coords: array of single); + begin + z_GetPathCoordsNV_ovr_0(path, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCoordsNV(path: UInt32; var coords: single); + begin + z_GetPathCoordsNV_ovr_0(path, coords); + end; + public z_GetPathCoordsNV_ovr_2 := GetFuncOrNil&(z_GetPathCoordsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathCoordsNV(path: UInt32; coords: IntPtr); + begin + z_GetPathCoordsNV_ovr_2(path, coords); + end; + + public z_GetPathDashArrayNV_adr := GetFuncAdr('glGetPathDashArrayNV'); + public z_GetPathDashArrayNV_ovr_0 := GetFuncOrNil&(z_GetPathDashArrayNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathDashArrayNV(path: UInt32; dashArray: array of single); + begin + z_GetPathDashArrayNV_ovr_0(path, dashArray[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathDashArrayNV(path: UInt32; var dashArray: single); + begin + z_GetPathDashArrayNV_ovr_0(path, dashArray); + end; + public z_GetPathDashArrayNV_ovr_2 := GetFuncOrNil&(z_GetPathDashArrayNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathDashArrayNV(path: UInt32; dashArray: IntPtr); + begin + z_GetPathDashArrayNV_ovr_2(path, dashArray); + end; + + public z_GetPathMetricsNV_adr := GetFuncAdr('glGetPathMetricsNV'); + public z_GetPathMetricsNV_ovr_0 := GetFuncOrNil&(z_GetPathMetricsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricsNV(metricQueryMask: PathMetricMask; numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; stride: Int32; metrics: array of single); + begin + z_GetPathMetricsNV_ovr_0(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricsNV(metricQueryMask: PathMetricMask; numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; stride: Int32; var metrics: single); + begin + z_GetPathMetricsNV_ovr_0(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); + end; + public z_GetPathMetricsNV_ovr_2 := GetFuncOrNil&(z_GetPathMetricsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricsNV(metricQueryMask: PathMetricMask; numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; stride: Int32; metrics: IntPtr); + begin + z_GetPathMetricsNV_ovr_2(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); + end; + + public z_GetPathMetricRangeNV_adr := GetFuncAdr('glGetPathMetricRangeNV'); + public z_GetPathMetricRangeNV_ovr_0 := GetFuncOrNil&(z_GetPathMetricRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricRangeNV(metricQueryMask: PathMetricMask; firstPathName: UInt32; numPaths: Int32; stride: Int32; metrics: array of single); + begin + z_GetPathMetricRangeNV_ovr_0(metricQueryMask, firstPathName, numPaths, stride, metrics[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricRangeNV(metricQueryMask: PathMetricMask; firstPathName: UInt32; numPaths: Int32; stride: Int32; var metrics: single); + begin + z_GetPathMetricRangeNV_ovr_0(metricQueryMask, firstPathName, numPaths, stride, metrics); + end; + public z_GetPathMetricRangeNV_ovr_2 := GetFuncOrNil&(z_GetPathMetricRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathMetricRangeNV(metricQueryMask: PathMetricMask; firstPathName: UInt32; numPaths: Int32; stride: Int32; metrics: IntPtr); + begin + z_GetPathMetricRangeNV_ovr_2(metricQueryMask, firstPathName, numPaths, stride, metrics); + end; + + public z_GetPathSpacingNV_adr := GetFuncAdr('glGetPathSpacingNV'); + public z_GetPathSpacingNV_ovr_0 := GetFuncOrNil&(z_GetPathSpacingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathSpacingNV(_pathListMode: PathListMode; numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; advanceScale: single; kerningScale: single; transformType: PathTransformType; returnedSpacing: array of single); + begin + z_GetPathSpacingNV_ovr_0(_pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathSpacingNV(_pathListMode: PathListMode; numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; advanceScale: single; kerningScale: single; transformType: PathTransformType; var returnedSpacing: single); + begin + z_GetPathSpacingNV_ovr_0(_pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); + end; + public z_GetPathSpacingNV_ovr_2 := GetFuncOrNil&(z_GetPathSpacingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathSpacingNV(_pathListMode: PathListMode; numPaths: Int32; pathNameType: PathElementType; paths: IntPtr; pathBase: UInt32; advanceScale: single; kerningScale: single; transformType: PathTransformType; returnedSpacing: IntPtr); + begin + z_GetPathSpacingNV_ovr_2(_pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); + end; + + public z_IsPointInFillPathNV_adr := GetFuncAdr('glIsPointInFillPathNV'); + public z_IsPointInFillPathNV_ovr_0 := GetFuncOrNil&(z_IsPointInFillPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsPointInFillPathNV(path: UInt32; mask: UInt32; x: single; y: single): boolean; + begin + Result := z_IsPointInFillPathNV_ovr_0(path, mask, x, y); + end; + + public z_IsPointInStrokePathNV_adr := GetFuncAdr('glIsPointInStrokePathNV'); + public z_IsPointInStrokePathNV_ovr_0 := GetFuncOrNil&(z_IsPointInStrokePathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsPointInStrokePathNV(path: UInt32; x: single; y: single): boolean; + begin + Result := z_IsPointInStrokePathNV_ovr_0(path, x, y); + end; + + public z_GetPathLengthNV_adr := GetFuncAdr('glGetPathLengthNV'); + public z_GetPathLengthNV_ovr_0 := GetFuncOrNil&(z_GetPathLengthNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetPathLengthNV(path: UInt32; startSegment: Int32; numSegments: Int32): single; + begin + Result := z_GetPathLengthNV_ovr_0(path, startSegment, numSegments); + end; + + public z_PointAlongPathNV_adr := GetFuncAdr('glPointAlongPathNV'); + public z_PointAlongPathNV_ovr_0 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y[0], tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y[0], tangentX[0], tangentY); + end; + public z_PointAlongPathNV_ovr_2 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x[0], y[0], tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y[0], tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x[0], y[0], tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_6 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x[0], y[0], tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x[0], y[0], tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_8 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: array of single; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_8(path, startSegment, numSegments, distance, x[0], y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y, tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x[0], y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; var y: single; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_8(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_18 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x[0], y, tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x[0], y, tangentX[0], tangentY); + end; + public z_PointAlongPathNV_ovr_20 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_20(path, startSegment, numSegments, distance, x[0], y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_20(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_24 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_24(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_24(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_26 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: array of single; y: IntPtr; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_26(path, startSegment, numSegments, distance, x[0], y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y[0], tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y[0], tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x, y[0], tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: array of single; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_8(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_0(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_2(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_6(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; var y: single; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_8(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_20(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_18(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_20(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_24(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_24(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; var x: single; y: IntPtr; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_26(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_54 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y[0], tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y[0], tangentX[0], tangentY); + end; + public z_PointAlongPathNV_ovr_56 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_56(path, startSegment, numSegments, distance, x, y[0], tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_56(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_60 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_60(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_60(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_62 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: array of single; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_62(path, startSegment, numSegments, distance, x, y[0], tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_56(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_54(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_56(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_60(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_60(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; var y: single; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_62(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_72 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; tangentX: array of single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_72(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; tangentX: array of single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_72(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public z_PointAlongPathNV_ovr_74 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; tangentX: array of single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_74(path, startSegment, numSegments, distance, x, y, tangentX[0], tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; var tangentX: single; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_72(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; var tangentX: single; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_72(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; var tangentX: single; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_74(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_78 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; tangentX: IntPtr; tangentY: array of single): boolean; + begin + Result := z_PointAlongPathNV_ovr_78(path, startSegment, numSegments, distance, x, y, tangentX, tangentY[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; tangentX: IntPtr; var tangentY: single): boolean; + begin + Result := z_PointAlongPathNV_ovr_78(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + public z_PointAlongPathNV_ovr_80 := GetFuncOrNil&(z_PointAlongPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PointAlongPathNV(path: UInt32; startSegment: Int32; numSegments: Int32; distance: single; x: IntPtr; y: IntPtr; tangentX: IntPtr; tangentY: IntPtr): boolean; + begin + Result := z_PointAlongPathNV_ovr_80(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + end; + + public z_MatrixLoad3x2fNV_adr := GetFuncAdr('glMatrixLoad3x2fNV'); + public z_MatrixLoad3x2fNV_ovr_0 := GetFuncOrNil&(z_MatrixLoad3x2fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x2fNV(matrixMode: DummyEnum; m: array of single); + begin + z_MatrixLoad3x2fNV_ovr_0(matrixMode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x2fNV(matrixMode: DummyEnum; var m: single); + begin + z_MatrixLoad3x2fNV_ovr_0(matrixMode, m); + end; + public z_MatrixLoad3x2fNV_ovr_2 := GetFuncOrNil&(z_MatrixLoad3x2fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x2fNV(matrixMode: DummyEnum; m: IntPtr); + begin + z_MatrixLoad3x2fNV_ovr_2(matrixMode, m); + end; + + public z_MatrixLoad3x3fNV_adr := GetFuncAdr('glMatrixLoad3x3fNV'); + public z_MatrixLoad3x3fNV_ovr_0 := GetFuncOrNil&(z_MatrixLoad3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x3fNV(matrixMode: DummyEnum; m: array of single); + begin + z_MatrixLoad3x3fNV_ovr_0(matrixMode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x3fNV(matrixMode: DummyEnum; var m: single); + begin + z_MatrixLoad3x3fNV_ovr_0(matrixMode, m); + end; + public z_MatrixLoad3x3fNV_ovr_2 := GetFuncOrNil&(z_MatrixLoad3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoad3x3fNV(matrixMode: DummyEnum; m: IntPtr); + begin + z_MatrixLoad3x3fNV_ovr_2(matrixMode, m); + end; + + public z_MatrixLoadTranspose3x3fNV_adr := GetFuncAdr('glMatrixLoadTranspose3x3fNV'); + public z_MatrixLoadTranspose3x3fNV_ovr_0 := GetFuncOrNil&(z_MatrixLoadTranspose3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTranspose3x3fNV(matrixMode: DummyEnum; m: array of single); + begin + z_MatrixLoadTranspose3x3fNV_ovr_0(matrixMode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTranspose3x3fNV(matrixMode: DummyEnum; var m: single); + begin + z_MatrixLoadTranspose3x3fNV_ovr_0(matrixMode, m); + end; + public z_MatrixLoadTranspose3x3fNV_ovr_2 := GetFuncOrNil&(z_MatrixLoadTranspose3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixLoadTranspose3x3fNV(matrixMode: DummyEnum; m: IntPtr); + begin + z_MatrixLoadTranspose3x3fNV_ovr_2(matrixMode, m); + end; + + public z_MatrixMult3x2fNV_adr := GetFuncAdr('glMatrixMult3x2fNV'); + public z_MatrixMult3x2fNV_ovr_0 := GetFuncOrNil&(z_MatrixMult3x2fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x2fNV(matrixMode: DummyEnum; m: array of single); + begin + z_MatrixMult3x2fNV_ovr_0(matrixMode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x2fNV(matrixMode: DummyEnum; var m: single); + begin + z_MatrixMult3x2fNV_ovr_0(matrixMode, m); + end; + public z_MatrixMult3x2fNV_ovr_2 := GetFuncOrNil&(z_MatrixMult3x2fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x2fNV(matrixMode: DummyEnum; m: IntPtr); + begin + z_MatrixMult3x2fNV_ovr_2(matrixMode, m); + end; + + public z_MatrixMult3x3fNV_adr := GetFuncAdr('glMatrixMult3x3fNV'); + public z_MatrixMult3x3fNV_ovr_0 := GetFuncOrNil&(z_MatrixMult3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x3fNV(matrixMode: DummyEnum; m: array of single); + begin + z_MatrixMult3x3fNV_ovr_0(matrixMode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x3fNV(matrixMode: DummyEnum; var m: single); + begin + z_MatrixMult3x3fNV_ovr_0(matrixMode, m); + end; + public z_MatrixMult3x3fNV_ovr_2 := GetFuncOrNil&(z_MatrixMult3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMult3x3fNV(matrixMode: DummyEnum; m: IntPtr); + begin + z_MatrixMult3x3fNV_ovr_2(matrixMode, m); + end; + + public z_MatrixMultTranspose3x3fNV_adr := GetFuncAdr('glMatrixMultTranspose3x3fNV'); + public z_MatrixMultTranspose3x3fNV_ovr_0 := GetFuncOrNil&(z_MatrixMultTranspose3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTranspose3x3fNV(matrixMode: DummyEnum; m: array of single); + begin + z_MatrixMultTranspose3x3fNV_ovr_0(matrixMode, m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTranspose3x3fNV(matrixMode: DummyEnum; var m: single); + begin + z_MatrixMultTranspose3x3fNV_ovr_0(matrixMode, m); + end; + public z_MatrixMultTranspose3x3fNV_ovr_2 := GetFuncOrNil&(z_MatrixMultTranspose3x3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MatrixMultTranspose3x3fNV(matrixMode: DummyEnum; m: IntPtr); + begin + z_MatrixMultTranspose3x3fNV_ovr_2(matrixMode, m); + end; + + public z_StencilThenCoverFillPathNV_adr := GetFuncAdr('glStencilThenCoverFillPathNV'); + public z_StencilThenCoverFillPathNV_ovr_0 := GetFuncOrNil&(z_StencilThenCoverFillPathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathNV(path: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum); + begin + z_StencilThenCoverFillPathNV_ovr_0(path, fillMode, mask, coverMode); + end; + + public z_StencilThenCoverStrokePathNV_adr := GetFuncAdr('glStencilThenCoverStrokePathNV'); + public z_StencilThenCoverStrokePathNV_ovr_0 := GetFuncOrNil&(z_StencilThenCoverStrokePathNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathNV(path: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum); + begin + z_StencilThenCoverStrokePathNV_ovr_0(path, reference, mask, coverMode); + end; + + public z_StencilThenCoverFillPathInstancedNV_adr := GetFuncAdr('glStencilThenCoverFillPathInstancedNV'); + public z_StencilThenCoverFillPathInstancedNV_ovr_0 := GetFuncOrNil&(z_StencilThenCoverFillPathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: IntPtr; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: array of single); + begin + z_StencilThenCoverFillPathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: IntPtr; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; var transformValues: single); + begin + z_StencilThenCoverFillPathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); + end; + public z_StencilThenCoverFillPathInstancedNV_ovr_2 := GetFuncOrNil&(z_StencilThenCoverFillPathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverFillPathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: IntPtr; pathBase: UInt32; fillMode: DummyEnum; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: IntPtr); + begin + z_StencilThenCoverFillPathInstancedNV_ovr_2(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); + end; + + public z_StencilThenCoverStrokePathInstancedNV_adr := GetFuncAdr('glStencilThenCoverStrokePathInstancedNV'); + public z_StencilThenCoverStrokePathInstancedNV_ovr_0 := GetFuncOrNil&(z_StencilThenCoverStrokePathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: IntPtr; pathBase: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: array of single); + begin + z_StencilThenCoverStrokePathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: IntPtr; pathBase: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; var transformValues: single); + begin + z_StencilThenCoverStrokePathInstancedNV_ovr_0(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); + end; + public z_StencilThenCoverStrokePathInstancedNV_ovr_2 := GetFuncOrNil&(z_StencilThenCoverStrokePathInstancedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StencilThenCoverStrokePathInstancedNV(numPaths: Int32; pathNameType: DummyEnum; paths: IntPtr; pathBase: UInt32; reference: Int32; mask: UInt32; coverMode: DummyEnum; transformType: DummyEnum; transformValues: IntPtr); + begin + z_StencilThenCoverStrokePathInstancedNV_ovr_2(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); + end; + + public z_PathGlyphIndexRangeNV_adr := GetFuncAdr('glPathGlyphIndexRangeNV'); + public z_PathGlyphIndexRangeNV_ovr_0 := GetFuncOrNil&(z_PathGlyphIndexRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PathGlyphIndexRangeNV(fontTarget: DummyEnum; fontName: IntPtr; fontStyle: PathFontStyle; pathParameterTemplate: UInt32; emScale: single; baseAndCount: UInt32): DummyEnum; + begin + Result := z_PathGlyphIndexRangeNV_ovr_0(fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); + end; + + public z_PathGlyphIndexArrayNV_adr := GetFuncAdr('glPathGlyphIndexArrayNV'); + public z_PathGlyphIndexArrayNV_ovr_0 := GetFuncOrNil&(z_PathGlyphIndexArrayNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PathGlyphIndexArrayNV(firstPathName: UInt32; fontTarget: DummyEnum; fontName: IntPtr; fontStyle: PathFontStyle; firstGlyphIndex: UInt32; numGlyphs: Int32; pathParameterTemplate: UInt32; emScale: single): DummyEnum; + begin + Result := z_PathGlyphIndexArrayNV_ovr_0(firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + end; + + public z_PathMemoryGlyphIndexArrayNV_adr := GetFuncAdr('glPathMemoryGlyphIndexArrayNV'); + public z_PathMemoryGlyphIndexArrayNV_ovr_0 := GetFuncOrNil&(z_PathMemoryGlyphIndexArrayNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PathMemoryGlyphIndexArrayNV(firstPathName: UInt32; fontTarget: DummyEnum; fontSize: IntPtr; fontData: IntPtr; faceIndex: Int32; firstGlyphIndex: UInt32; numGlyphs: Int32; pathParameterTemplate: UInt32; emScale: single): DummyEnum; + begin + Result := z_PathMemoryGlyphIndexArrayNV_ovr_0(firstPathName, fontTarget, fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + end; + + public z_ProgramPathFragmentInputGenNV_adr := GetFuncAdr('glProgramPathFragmentInputGenNV'); + public z_ProgramPathFragmentInputGenNV_ovr_0 := GetFuncOrNil&(z_ProgramPathFragmentInputGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramPathFragmentInputGenNV(&program: UInt32; location: Int32; genMode: DummyEnum; components: Int32; coeffs: array of single); + begin + z_ProgramPathFragmentInputGenNV_ovr_0(&program, location, genMode, components, coeffs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramPathFragmentInputGenNV(&program: UInt32; location: Int32; genMode: DummyEnum; components: Int32; var coeffs: single); + begin + z_ProgramPathFragmentInputGenNV_ovr_0(&program, location, genMode, components, coeffs); + end; + public z_ProgramPathFragmentInputGenNV_ovr_2 := GetFuncOrNil&(z_ProgramPathFragmentInputGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramPathFragmentInputGenNV(&program: UInt32; location: Int32; genMode: DummyEnum; components: Int32; coeffs: IntPtr); + begin + z_ProgramPathFragmentInputGenNV_ovr_2(&program, location, genMode, components, coeffs); + end; + + public z_GetProgramResourcefvNV_adr := GetFuncAdr('glGetProgramResourcefvNV'); + public z_GetProgramResourcefvNV_ovr_0 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props[0], count, length[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props[0], count, length[0], ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_2 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: array of Int32; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_2(&program, _programInterface, index, propCount, props[0], count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props[0], count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; var length: Int32; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_2(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_6 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: IntPtr; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_6(&program, _programInterface, index, propCount, props[0], count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: IntPtr; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_6(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_8 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: array of DummyEnum; count: Int32; length: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_8(&program, _programInterface, index, propCount, props[0], count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props, count, length[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: array of Int32; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_2(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_0(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; var length: Int32; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_2(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: IntPtr; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_6(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: IntPtr; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_6(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; var props: DummyEnum; count: Int32; length: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_8(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_18 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: array of Int32; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_18(&program, _programInterface, index, propCount, props, count, length[0], ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: array of Int32; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_18(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_20 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: array of Int32; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_20(&program, _programInterface, index, propCount, props, count, length[0], ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; var length: Int32; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_18(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; var length: Int32; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_18(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; var length: Int32; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_20(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_24 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: IntPtr; ¶ms: array of single); + begin + z_GetProgramResourcefvNV_ovr_24(&program, _programInterface, index, propCount, props, count, length, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: IntPtr; var ¶ms: single); + begin + z_GetProgramResourcefvNV_ovr_24(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + public z_GetProgramResourcefvNV_ovr_26 := GetFuncOrNil&(z_GetProgramResourcefvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramResourcefvNV(&program: UInt32; _programInterface: ProgramInterface; index: UInt32; propCount: Int32; props: IntPtr; count: Int32; length: IntPtr; ¶ms: IntPtr); + begin + z_GetProgramResourcefvNV_ovr_26(&program, _programInterface, index, propCount, props, count, length, ¶ms); + end; + + public z_PathColorGenNV_adr := GetFuncAdr('glPathColorGenNV'); + public z_PathColorGenNV_ovr_0 := GetFuncOrNil&(z_PathColorGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathColorGenNV(color: PathColor; genMode: PathGenMode; colorFormat: PathColorFormat; coeffs: array of single); + begin + z_PathColorGenNV_ovr_0(color, genMode, colorFormat, coeffs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathColorGenNV(color: PathColor; genMode: PathGenMode; colorFormat: PathColorFormat; var coeffs: single); + begin + z_PathColorGenNV_ovr_0(color, genMode, colorFormat, coeffs); + end; + public z_PathColorGenNV_ovr_2 := GetFuncOrNil&(z_PathColorGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathColorGenNV(color: PathColor; genMode: PathGenMode; colorFormat: PathColorFormat; coeffs: IntPtr); + begin + z_PathColorGenNV_ovr_2(color, genMode, colorFormat, coeffs); + end; + + public z_PathTexGenNV_adr := GetFuncAdr('glPathTexGenNV'); + public z_PathTexGenNV_ovr_0 := GetFuncOrNil&(z_PathTexGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathTexGenNV(texCoordSet: PathColor; genMode: PathGenMode; components: Int32; coeffs: array of single); + begin + z_PathTexGenNV_ovr_0(texCoordSet, genMode, components, coeffs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathTexGenNV(texCoordSet: PathColor; genMode: PathGenMode; components: Int32; var coeffs: single); + begin + z_PathTexGenNV_ovr_0(texCoordSet, genMode, components, coeffs); + end; + public z_PathTexGenNV_ovr_2 := GetFuncOrNil&(z_PathTexGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathTexGenNV(texCoordSet: PathColor; genMode: PathGenMode; components: Int32; coeffs: IntPtr); + begin + z_PathTexGenNV_ovr_2(texCoordSet, genMode, components, coeffs); + end; + + public z_PathFogGenNV_adr := GetFuncAdr('glPathFogGenNV'); + public z_PathFogGenNV_ovr_0 := GetFuncOrNil&(z_PathFogGenNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PathFogGenNV(genMode: PathGenMode); + begin + z_PathFogGenNV_ovr_0(genMode); + end; + + public z_GetPathColorGenivNV_adr := GetFuncAdr('glGetPathColorGenivNV'); + public z_GetPathColorGenivNV_ovr_0 := GetFuncOrNil&(z_GetPathColorGenivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenivNV(color: PathColor; pname: PathGenMode; value: array of Int32); + begin + z_GetPathColorGenivNV_ovr_0(color, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenivNV(color: PathColor; pname: PathGenMode; var value: Int32); + begin + z_GetPathColorGenivNV_ovr_0(color, pname, value); + end; + public z_GetPathColorGenivNV_ovr_2 := GetFuncOrNil&(z_GetPathColorGenivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenivNV(color: PathColor; pname: PathGenMode; value: IntPtr); + begin + z_GetPathColorGenivNV_ovr_2(color, pname, value); + end; + + public z_GetPathColorGenfvNV_adr := GetFuncAdr('glGetPathColorGenfvNV'); + public z_GetPathColorGenfvNV_ovr_0 := GetFuncOrNil&(z_GetPathColorGenfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenfvNV(color: PathColor; pname: PathGenMode; value: array of single); + begin + z_GetPathColorGenfvNV_ovr_0(color, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenfvNV(color: PathColor; pname: PathGenMode; var value: single); + begin + z_GetPathColorGenfvNV_ovr_0(color, pname, value); + end; + public z_GetPathColorGenfvNV_ovr_2 := GetFuncOrNil&(z_GetPathColorGenfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathColorGenfvNV(color: PathColor; pname: PathGenMode; value: IntPtr); + begin + z_GetPathColorGenfvNV_ovr_2(color, pname, value); + end; + + public z_GetPathTexGenivNV_adr := GetFuncAdr('glGetPathTexGenivNV'); + public z_GetPathTexGenivNV_ovr_0 := GetFuncOrNil&(z_GetPathTexGenivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenivNV(texCoordSet: TextureUnit; pname: PathGenMode; value: array of Int32); + begin + z_GetPathTexGenivNV_ovr_0(texCoordSet, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenivNV(texCoordSet: TextureUnit; pname: PathGenMode; var value: Int32); + begin + z_GetPathTexGenivNV_ovr_0(texCoordSet, pname, value); + end; + public z_GetPathTexGenivNV_ovr_2 := GetFuncOrNil&(z_GetPathTexGenivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenivNV(texCoordSet: TextureUnit; pname: PathGenMode; value: IntPtr); + begin + z_GetPathTexGenivNV_ovr_2(texCoordSet, pname, value); + end; + + public z_GetPathTexGenfvNV_adr := GetFuncAdr('glGetPathTexGenfvNV'); + public z_GetPathTexGenfvNV_ovr_0 := GetFuncOrNil&(z_GetPathTexGenfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenfvNV(texCoordSet: TextureUnit; pname: PathGenMode; value: array of single); + begin + z_GetPathTexGenfvNV_ovr_0(texCoordSet, pname, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenfvNV(texCoordSet: TextureUnit; pname: PathGenMode; var value: single); + begin + z_GetPathTexGenfvNV_ovr_0(texCoordSet, pname, value); + end; + public z_GetPathTexGenfvNV_ovr_2 := GetFuncOrNil&(z_GetPathTexGenfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPathTexGenfvNV(texCoordSet: TextureUnit; pname: PathGenMode; value: IntPtr); + begin + z_GetPathTexGenfvNV_ovr_2(texCoordSet, pname, value); + end; + + end; + + glPixelDataRangeNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PixelDataRangeNV_adr := GetFuncAdr('glPixelDataRangeNV'); + public z_PixelDataRangeNV_ovr_0 := GetFuncOrNil&(z_PixelDataRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelDataRangeNV(target: PixelDataRangeTargetNV; length: Int32; pointer: IntPtr); + begin + z_PixelDataRangeNV_ovr_0(target, length, pointer); + end; + + public z_FlushPixelDataRangeNV_adr := GetFuncAdr('glFlushPixelDataRangeNV'); + public z_FlushPixelDataRangeNV_ovr_0 := GetFuncOrNil&(z_FlushPixelDataRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushPixelDataRangeNV(target: PixelDataRangeTargetNV); + begin + z_FlushPixelDataRangeNV_ovr_0(target); + end; + + end; + + glPointSpriteNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PointParameteriNV_adr := GetFuncAdr('glPointParameteriNV'); + public z_PointParameteriNV_ovr_0 := GetFuncOrNil&(z_PointParameteriNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameteriNV(pname: PointParameterNameARB; param: Int32); + begin + z_PointParameteriNV_ovr_0(pname, param); + end; + + public z_PointParameterivNV_adr := GetFuncAdr('glPointParameterivNV'); + public z_PointParameterivNV_ovr_0 := GetFuncOrNil&(z_PointParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterivNV(pname: PointParameterNameARB; ¶ms: array of Int32); + begin + z_PointParameterivNV_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterivNV(pname: PointParameterNameARB; var ¶ms: Int32); + begin + z_PointParameterivNV_ovr_0(pname, ¶ms); + end; + public z_PointParameterivNV_ovr_2 := GetFuncOrNil&(z_PointParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterivNV(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameterivNV_ovr_2(pname, ¶ms); + end; + + end; + + glPresentVideoNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PresentFrameKeyedNV_adr := GetFuncAdr('glPresentFrameKeyedNV'); + public z_PresentFrameKeyedNV_ovr_0 := GetFuncOrNil&(z_PresentFrameKeyedNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PresentFrameKeyedNV(video_slot: UInt32; minPresentTime: UInt64; beginPresentTimeId: UInt32; presentDurationId: UInt32; &type: DummyEnum; target0: DummyEnum; fill0: UInt32; key0: UInt32; target1: DummyEnum; fill1: UInt32; key1: UInt32); + begin + z_PresentFrameKeyedNV_ovr_0(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, &type, target0, fill0, key0, target1, fill1, key1); + end; + + public z_PresentFrameDualFillNV_adr := GetFuncAdr('glPresentFrameDualFillNV'); + public z_PresentFrameDualFillNV_ovr_0 := GetFuncOrNil&(z_PresentFrameDualFillNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PresentFrameDualFillNV(video_slot: UInt32; minPresentTime: UInt64; beginPresentTimeId: UInt32; presentDurationId: UInt32; &type: DummyEnum; target0: DummyEnum; fill0: UInt32; target1: DummyEnum; fill1: UInt32; target2: DummyEnum; fill2: UInt32; target3: DummyEnum; fill3: UInt32); + begin + z_PresentFrameDualFillNV_ovr_0(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, &type, target0, fill0, target1, fill1, target2, fill2, target3, fill3); + end; + + public z_GetVideoivNV_adr := GetFuncAdr('glGetVideoivNV'); + public z_GetVideoivNV_ovr_0 := GetFuncOrNil&(z_GetVideoivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetVideoivNV_ovr_0(video_slot, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetVideoivNV_ovr_0(video_slot, pname, ¶ms); + end; + public z_GetVideoivNV_ovr_2 := GetFuncOrNil&(z_GetVideoivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoivNV_ovr_2(video_slot, pname, ¶ms); + end; + + public z_GetVideouivNV_adr := GetFuncAdr('glGetVideouivNV'); + public z_GetVideouivNV_ovr_0 := GetFuncOrNil&(z_GetVideouivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of UInt32); + begin + z_GetVideouivNV_ovr_0(video_slot, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: UInt32); + begin + z_GetVideouivNV_ovr_0(video_slot, pname, ¶ms); + end; + public z_GetVideouivNV_ovr_2 := GetFuncOrNil&(z_GetVideouivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideouivNV(video_slot: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideouivNV_ovr_2(video_slot, pname, ¶ms); + end; + + public z_GetVideoi64vNV_adr := GetFuncAdr('glGetVideoi64vNV'); + public z_GetVideoi64vNV_ovr_0 := GetFuncOrNil&(z_GetVideoi64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of Int64); + begin + z_GetVideoi64vNV_ovr_0(video_slot, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: Int64); + begin + z_GetVideoi64vNV_ovr_0(video_slot, pname, ¶ms); + end; + public z_GetVideoi64vNV_ovr_2 := GetFuncOrNil&(z_GetVideoi64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoi64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoi64vNV_ovr_2(video_slot, pname, ¶ms); + end; + + public z_GetVideoui64vNV_adr := GetFuncAdr('glGetVideoui64vNV'); + public z_GetVideoui64vNV_ovr_0 := GetFuncOrNil&(z_GetVideoui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: array of UInt64); + begin + z_GetVideoui64vNV_ovr_0(video_slot, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; var ¶ms: UInt64); + begin + z_GetVideoui64vNV_ovr_0(video_slot, pname, ¶ms); + end; + public z_GetVideoui64vNV_ovr_2 := GetFuncOrNil&(z_GetVideoui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoui64vNV(video_slot: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoui64vNV_ovr_2(video_slot, pname, ¶ms); + end; + + end; + + glPrimitiveRestartNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PrimitiveRestartNV_adr := GetFuncAdr('glPrimitiveRestartNV'); + public z_PrimitiveRestartNV_ovr_0 := GetFuncOrNil&(z_PrimitiveRestartNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveRestartNV; + begin + z_PrimitiveRestartNV_ovr_0; + end; + + public z_PrimitiveRestartIndexNV_adr := GetFuncAdr('glPrimitiveRestartIndexNV'); + public z_PrimitiveRestartIndexNV_ovr_0 := GetFuncOrNil&(z_PrimitiveRestartIndexNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrimitiveRestartIndexNV(index: UInt32); + begin + z_PrimitiveRestartIndexNV_ovr_0(index); + end; + + end; + + glQueryResourceNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_QueryResourceNV_adr := GetFuncAdr('glQueryResourceNV'); + public z_QueryResourceNV_ovr_0 := GetFuncOrNil&(z_QueryResourceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryResourceNV(queryType: DummyEnum; tagId: Int32; count: UInt32; buffer: array of Int32): Int32; + begin + Result := z_QueryResourceNV_ovr_0(queryType, tagId, count, buffer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryResourceNV(queryType: DummyEnum; tagId: Int32; count: UInt32; var buffer: Int32): Int32; + begin + Result := z_QueryResourceNV_ovr_0(queryType, tagId, count, buffer); + end; + public z_QueryResourceNV_ovr_2 := GetFuncOrNil&(z_QueryResourceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryResourceNV(queryType: DummyEnum; tagId: Int32; count: UInt32; buffer: IntPtr): Int32; + begin + Result := z_QueryResourceNV_ovr_2(queryType, tagId, count, buffer); + end; + + end; + + glQueryResourceTagNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GenQueryResourceTagNV_adr := GetFuncAdr('glGenQueryResourceTagNV'); + public z_GenQueryResourceTagNV_ovr_0 := GetFuncOrNil&(z_GenQueryResourceTagNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueryResourceTagNV(n: Int32; tagIds: array of Int32); + begin + z_GenQueryResourceTagNV_ovr_0(n, tagIds[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueryResourceTagNV(n: Int32; var tagIds: Int32); + begin + z_GenQueryResourceTagNV_ovr_0(n, tagIds); + end; + public z_GenQueryResourceTagNV_ovr_2 := GetFuncOrNil&(z_GenQueryResourceTagNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenQueryResourceTagNV(n: Int32; tagIds: IntPtr); + begin + z_GenQueryResourceTagNV_ovr_2(n, tagIds); + end; + + public z_DeleteQueryResourceTagNV_adr := GetFuncAdr('glDeleteQueryResourceTagNV'); + public z_DeleteQueryResourceTagNV_ovr_0 := GetFuncOrNil&(z_DeleteQueryResourceTagNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueryResourceTagNV(n: Int32; tagIds: array of Int32); + begin + z_DeleteQueryResourceTagNV_ovr_0(n, tagIds[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueryResourceTagNV(n: Int32; var tagIds: Int32); + begin + z_DeleteQueryResourceTagNV_ovr_0(n, tagIds); + end; + public z_DeleteQueryResourceTagNV_ovr_2 := GetFuncOrNil&(z_DeleteQueryResourceTagNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteQueryResourceTagNV(n: Int32; tagIds: IntPtr); + begin + z_DeleteQueryResourceTagNV_ovr_2(n, tagIds); + end; + + public z_QueryResourceTagNV_adr := GetFuncAdr('glQueryResourceTagNV'); + public z_QueryResourceTagNV_ovr_0 := GetFuncOrNil&(z_QueryResourceTagNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryResourceTagNV(tagId: Int32; tagString: string); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(tagString); + z_QueryResourceTagNV_ovr_0(tagId, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure QueryResourceTagNV(tagId: Int32; tagString: IntPtr); + begin + z_QueryResourceTagNV_ovr_0(tagId, tagString); + end; + + end; + + glRegisterCombinersNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CombinerParameterfvNV_adr := GetFuncAdr('glCombinerParameterfvNV'); + public z_CombinerParameterfvNV_ovr_0 := GetFuncOrNil&(z_CombinerParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfvNV(pname: CombinerParameterNV; ¶ms: array of single); + begin + z_CombinerParameterfvNV_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfvNV(pname: CombinerParameterNV; var ¶ms: single); + begin + z_CombinerParameterfvNV_ovr_0(pname, ¶ms); + end; + public z_CombinerParameterfvNV_ovr_2 := GetFuncOrNil&(z_CombinerParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfvNV(pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_CombinerParameterfvNV_ovr_2(pname, ¶ms); + end; + + public z_CombinerParameterfNV_adr := GetFuncAdr('glCombinerParameterfNV'); + public z_CombinerParameterfNV_ovr_0 := GetFuncOrNil&(z_CombinerParameterfNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterfNV(pname: CombinerParameterNV; param: single); + begin + z_CombinerParameterfNV_ovr_0(pname, param); + end; + + public z_CombinerParameterivNV_adr := GetFuncAdr('glCombinerParameterivNV'); + public z_CombinerParameterivNV_ovr_0 := GetFuncOrNil&(z_CombinerParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterivNV(pname: CombinerParameterNV; ¶ms: array of Int32); + begin + z_CombinerParameterivNV_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterivNV(pname: CombinerParameterNV; var ¶ms: Int32); + begin + z_CombinerParameterivNV_ovr_0(pname, ¶ms); + end; + public z_CombinerParameterivNV_ovr_2 := GetFuncOrNil&(z_CombinerParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameterivNV(pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_CombinerParameterivNV_ovr_2(pname, ¶ms); + end; + + public z_CombinerParameteriNV_adr := GetFuncAdr('glCombinerParameteriNV'); + public z_CombinerParameteriNV_ovr_0 := GetFuncOrNil&(z_CombinerParameteriNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerParameteriNV(pname: CombinerParameterNV; param: Int32); + begin + z_CombinerParameteriNV_ovr_0(pname, param); + end; + + public z_CombinerInputNV_adr := GetFuncAdr('glCombinerInputNV'); + public z_CombinerInputNV_ovr_0 := GetFuncOrNil&(z_CombinerInputNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerInputNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; input: CombinerRegisterNV; mapping: CombinerMappingNV; componentUsage: CombinerComponentUsageNV); + begin + z_CombinerInputNV_ovr_0(stage, portion, variable, input, mapping, componentUsage); + end; + + public z_CombinerOutputNV_adr := GetFuncAdr('glCombinerOutputNV'); + public z_CombinerOutputNV_ovr_0 := GetFuncOrNil&(z_CombinerOutputNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerOutputNV(stage: CombinerStageNV; portion: CombinerPortionNV; abOutput: CombinerRegisterNV; cdOutput: CombinerRegisterNV; sumOutput: CombinerRegisterNV; scale: CombinerScaleNV; bias: CombinerBiasNV; abDotProduct: boolean; cdDotProduct: boolean; muxSum: boolean); + begin + z_CombinerOutputNV_ovr_0(stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum); + end; + + public z_FinalCombinerInputNV_adr := GetFuncAdr('glFinalCombinerInputNV'); + public z_FinalCombinerInputNV_ovr_0 := GetFuncOrNil&(z_FinalCombinerInputNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinalCombinerInputNV(variable: CombinerVariableNV; input: CombinerRegisterNV; mapping: CombinerMappingNV; componentUsage: CombinerComponentUsageNV); + begin + z_FinalCombinerInputNV_ovr_0(variable, input, mapping, componentUsage); + end; + + public z_GetCombinerInputParameterfvNV_adr := GetFuncAdr('glGetCombinerInputParameterfvNV'); + public z_GetCombinerInputParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetCombinerInputParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterfvNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: array of single); + begin + z_GetCombinerInputParameterfvNV_ovr_0(stage, portion, variable, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterfvNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; pname: CombinerParameterNV; var ¶ms: single); + begin + z_GetCombinerInputParameterfvNV_ovr_0(stage, portion, variable, pname, ¶ms); + end; + public z_GetCombinerInputParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetCombinerInputParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterfvNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetCombinerInputParameterfvNV_ovr_2(stage, portion, variable, pname, ¶ms); + end; + + public z_GetCombinerInputParameterivNV_adr := GetFuncAdr('glGetCombinerInputParameterivNV'); + public z_GetCombinerInputParameterivNV_ovr_0 := GetFuncOrNil&(z_GetCombinerInputParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterivNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: array of Int32); + begin + z_GetCombinerInputParameterivNV_ovr_0(stage, portion, variable, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterivNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; pname: CombinerParameterNV; var ¶ms: Int32); + begin + z_GetCombinerInputParameterivNV_ovr_0(stage, portion, variable, pname, ¶ms); + end; + public z_GetCombinerInputParameterivNV_ovr_2 := GetFuncOrNil&(z_GetCombinerInputParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerInputParameterivNV(stage: CombinerStageNV; portion: CombinerPortionNV; variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetCombinerInputParameterivNV_ovr_2(stage, portion, variable, pname, ¶ms); + end; + + public z_GetCombinerOutputParameterfvNV_adr := GetFuncAdr('glGetCombinerOutputParameterfvNV'); + public z_GetCombinerOutputParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetCombinerOutputParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterfvNV(stage: CombinerStageNV; portion: CombinerPortionNV; pname: CombinerParameterNV; ¶ms: array of single); + begin + z_GetCombinerOutputParameterfvNV_ovr_0(stage, portion, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterfvNV(stage: CombinerStageNV; portion: CombinerPortionNV; pname: CombinerParameterNV; var ¶ms: single); + begin + z_GetCombinerOutputParameterfvNV_ovr_0(stage, portion, pname, ¶ms); + end; + public z_GetCombinerOutputParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetCombinerOutputParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterfvNV(stage: CombinerStageNV; portion: CombinerPortionNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetCombinerOutputParameterfvNV_ovr_2(stage, portion, pname, ¶ms); + end; + + public z_GetCombinerOutputParameterivNV_adr := GetFuncAdr('glGetCombinerOutputParameterivNV'); + public z_GetCombinerOutputParameterivNV_ovr_0 := GetFuncOrNil&(z_GetCombinerOutputParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterivNV(stage: CombinerStageNV; portion: CombinerPortionNV; pname: CombinerParameterNV; ¶ms: array of Int32); + begin + z_GetCombinerOutputParameterivNV_ovr_0(stage, portion, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterivNV(stage: CombinerStageNV; portion: CombinerPortionNV; pname: CombinerParameterNV; var ¶ms: Int32); + begin + z_GetCombinerOutputParameterivNV_ovr_0(stage, portion, pname, ¶ms); + end; + public z_GetCombinerOutputParameterivNV_ovr_2 := GetFuncOrNil&(z_GetCombinerOutputParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerOutputParameterivNV(stage: CombinerStageNV; portion: CombinerPortionNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetCombinerOutputParameterivNV_ovr_2(stage, portion, pname, ¶ms); + end; + + public z_GetFinalCombinerInputParameterfvNV_adr := GetFuncAdr('glGetFinalCombinerInputParameterfvNV'); + public z_GetFinalCombinerInputParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetFinalCombinerInputParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterfvNV(variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: array of single); + begin + z_GetFinalCombinerInputParameterfvNV_ovr_0(variable, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterfvNV(variable: CombinerVariableNV; pname: CombinerParameterNV; var ¶ms: single); + begin + z_GetFinalCombinerInputParameterfvNV_ovr_0(variable, pname, ¶ms); + end; + public z_GetFinalCombinerInputParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetFinalCombinerInputParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterfvNV(variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetFinalCombinerInputParameterfvNV_ovr_2(variable, pname, ¶ms); + end; + + public z_GetFinalCombinerInputParameterivNV_adr := GetFuncAdr('glGetFinalCombinerInputParameterivNV'); + public z_GetFinalCombinerInputParameterivNV_ovr_0 := GetFuncOrNil&(z_GetFinalCombinerInputParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterivNV(variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: array of Int32); + begin + z_GetFinalCombinerInputParameterivNV_ovr_0(variable, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterivNV(variable: CombinerVariableNV; pname: CombinerParameterNV; var ¶ms: Int32); + begin + z_GetFinalCombinerInputParameterivNV_ovr_0(variable, pname, ¶ms); + end; + public z_GetFinalCombinerInputParameterivNV_ovr_2 := GetFuncOrNil&(z_GetFinalCombinerInputParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFinalCombinerInputParameterivNV(variable: CombinerVariableNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetFinalCombinerInputParameterivNV_ovr_2(variable, pname, ¶ms); + end; + + end; + + glRegisterCombiners2NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_CombinerStageParameterfvNV_adr := GetFuncAdr('glCombinerStageParameterfvNV'); + public z_CombinerStageParameterfvNV_ovr_0 := GetFuncOrNil&(z_CombinerStageParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerStageParameterfvNV(stage: CombinerStageNV; pname: CombinerParameterNV; ¶ms: array of single); + begin + z_CombinerStageParameterfvNV_ovr_0(stage, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerStageParameterfvNV(stage: CombinerStageNV; pname: CombinerParameterNV; var ¶ms: single); + begin + z_CombinerStageParameterfvNV_ovr_0(stage, pname, ¶ms); + end; + public z_CombinerStageParameterfvNV_ovr_2 := GetFuncOrNil&(z_CombinerStageParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CombinerStageParameterfvNV(stage: CombinerStageNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_CombinerStageParameterfvNV_ovr_2(stage, pname, ¶ms); + end; + + public z_GetCombinerStageParameterfvNV_adr := GetFuncAdr('glGetCombinerStageParameterfvNV'); + public z_GetCombinerStageParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetCombinerStageParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerStageParameterfvNV(stage: CombinerStageNV; pname: CombinerParameterNV; ¶ms: array of single); + begin + z_GetCombinerStageParameterfvNV_ovr_0(stage, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerStageParameterfvNV(stage: CombinerStageNV; pname: CombinerParameterNV; var ¶ms: single); + begin + z_GetCombinerStageParameterfvNV_ovr_0(stage, pname, ¶ms); + end; + public z_GetCombinerStageParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetCombinerStageParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetCombinerStageParameterfvNV(stage: CombinerStageNV; pname: CombinerParameterNV; ¶ms: IntPtr); + begin + z_GetCombinerStageParameterfvNV_ovr_2(stage, pname, ¶ms); + end; + + end; + + glSampleLocationsNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferSampleLocationsfvNV_adr := GetFuncAdr('glFramebufferSampleLocationsfvNV'); + public z_FramebufferSampleLocationsfvNV_ovr_0 := GetFuncOrNil&(z_FramebufferSampleLocationsfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvNV(target: FramebufferTarget; start: UInt32; count: Int32; v: array of single); + begin + z_FramebufferSampleLocationsfvNV_ovr_0(target, start, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvNV(target: FramebufferTarget; start: UInt32; count: Int32; var v: single); + begin + z_FramebufferSampleLocationsfvNV_ovr_0(target, start, count, v); + end; + public z_FramebufferSampleLocationsfvNV_ovr_2 := GetFuncOrNil&(z_FramebufferSampleLocationsfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferSampleLocationsfvNV(target: FramebufferTarget; start: UInt32; count: Int32; v: IntPtr); + begin + z_FramebufferSampleLocationsfvNV_ovr_2(target, start, count, v); + end; + + public z_NamedFramebufferSampleLocationsfvNV_adr := GetFuncAdr('glNamedFramebufferSampleLocationsfvNV'); + public z_NamedFramebufferSampleLocationsfvNV_ovr_0 := GetFuncOrNil&(z_NamedFramebufferSampleLocationsfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvNV(framebuffer: UInt32; start: UInt32; count: Int32; v: array of single); + begin + z_NamedFramebufferSampleLocationsfvNV_ovr_0(framebuffer, start, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvNV(framebuffer: UInt32; start: UInt32; count: Int32; var v: single); + begin + z_NamedFramebufferSampleLocationsfvNV_ovr_0(framebuffer, start, count, v); + end; + public z_NamedFramebufferSampleLocationsfvNV_ovr_2 := GetFuncOrNil&(z_NamedFramebufferSampleLocationsfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NamedFramebufferSampleLocationsfvNV(framebuffer: UInt32; start: UInt32; count: Int32; v: IntPtr); + begin + z_NamedFramebufferSampleLocationsfvNV_ovr_2(framebuffer, start, count, v); + end; + + public z_ResolveDepthValuesNV_adr := GetFuncAdr('glResolveDepthValuesNV'); + public z_ResolveDepthValuesNV_ovr_0 := GetFuncOrNil&(z_ResolveDepthValuesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResolveDepthValuesNV; + begin + z_ResolveDepthValuesNV_ovr_0; + end; + + end; + + glScissorExclusiveNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ScissorExclusiveNV_adr := GetFuncAdr('glScissorExclusiveNV'); + public z_ScissorExclusiveNV_ovr_0 := GetFuncOrNil&(z_ScissorExclusiveNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveNV(x: Int32; y: Int32; width: Int32; height: Int32); + begin + z_ScissorExclusiveNV_ovr_0(x, y, width, height); + end; + + public z_ScissorExclusiveArrayvNV_adr := GetFuncAdr('glScissorExclusiveArrayvNV'); + public z_ScissorExclusiveArrayvNV_ovr_0 := GetFuncOrNil&(z_ScissorExclusiveArrayvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveArrayvNV(first: UInt32; count: Int32; v: array of Int32); + begin + z_ScissorExclusiveArrayvNV_ovr_0(first, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveArrayvNV(first: UInt32; count: Int32; var v: Int32); + begin + z_ScissorExclusiveArrayvNV_ovr_0(first, count, v); + end; + public z_ScissorExclusiveArrayvNV_ovr_2 := GetFuncOrNil&(z_ScissorExclusiveArrayvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScissorExclusiveArrayvNV(first: UInt32; count: Int32; v: IntPtr); + begin + z_ScissorExclusiveArrayvNV_ovr_2(first, count, v); + end; + + end; + + glShaderBufferLoadNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MakeBufferResidentNV_adr := GetFuncAdr('glMakeBufferResidentNV'); + public z_MakeBufferResidentNV_ovr_0 := GetFuncOrNil&(z_MakeBufferResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeBufferResidentNV(target: DummyEnum; access: DummyEnum); + begin + z_MakeBufferResidentNV_ovr_0(target, access); + end; + + public z_MakeBufferNonResidentNV_adr := GetFuncAdr('glMakeBufferNonResidentNV'); + public z_MakeBufferNonResidentNV_ovr_0 := GetFuncOrNil&(z_MakeBufferNonResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeBufferNonResidentNV(target: DummyEnum); + begin + z_MakeBufferNonResidentNV_ovr_0(target); + end; + + public z_IsBufferResidentNV_adr := GetFuncAdr('glIsBufferResidentNV'); + public z_IsBufferResidentNV_ovr_0 := GetFuncOrNil&(z_IsBufferResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsBufferResidentNV(target: DummyEnum): boolean; + begin + Result := z_IsBufferResidentNV_ovr_0(target); + end; + + public z_MakeNamedBufferResidentNV_adr := GetFuncAdr('glMakeNamedBufferResidentNV'); + public z_MakeNamedBufferResidentNV_ovr_0 := GetFuncOrNil&(z_MakeNamedBufferResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeNamedBufferResidentNV(buffer: UInt32; access: DummyEnum); + begin + z_MakeNamedBufferResidentNV_ovr_0(buffer, access); + end; + + public z_MakeNamedBufferNonResidentNV_adr := GetFuncAdr('glMakeNamedBufferNonResidentNV'); + public z_MakeNamedBufferNonResidentNV_ovr_0 := GetFuncOrNil&(z_MakeNamedBufferNonResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MakeNamedBufferNonResidentNV(buffer: UInt32); + begin + z_MakeNamedBufferNonResidentNV_ovr_0(buffer); + end; + + public z_IsNamedBufferResidentNV_adr := GetFuncAdr('glIsNamedBufferResidentNV'); + public z_IsNamedBufferResidentNV_ovr_0 := GetFuncOrNil&(z_IsNamedBufferResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsNamedBufferResidentNV(buffer: UInt32): boolean; + begin + Result := z_IsNamedBufferResidentNV_ovr_0(buffer); + end; + + public z_GetBufferParameterui64vNV_adr := GetFuncAdr('glGetBufferParameterui64vNV'); + public z_GetBufferParameterui64vNV_ovr_0 := GetFuncOrNil&(z_GetBufferParameterui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterui64vNV(target: BufferTargetARB; pname: DummyEnum; ¶ms: array of UInt64); + begin + z_GetBufferParameterui64vNV_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterui64vNV(target: BufferTargetARB; pname: DummyEnum; var ¶ms: UInt64); + begin + z_GetBufferParameterui64vNV_ovr_0(target, pname, ¶ms); + end; + public z_GetBufferParameterui64vNV_ovr_2 := GetFuncOrNil&(z_GetBufferParameterui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetBufferParameterui64vNV(target: BufferTargetARB; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetBufferParameterui64vNV_ovr_2(target, pname, ¶ms); + end; + + public z_GetNamedBufferParameterui64vNV_adr := GetFuncAdr('glGetNamedBufferParameterui64vNV'); + public z_GetNamedBufferParameterui64vNV_ovr_0 := GetFuncOrNil&(z_GetNamedBufferParameterui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterui64vNV(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: array of UInt64); + begin + z_GetNamedBufferParameterui64vNV_ovr_0(buffer, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterui64vNV(buffer: UInt32; pname: VertexBufferObjectParameter; var ¶ms: UInt64); + begin + z_GetNamedBufferParameterui64vNV_ovr_0(buffer, pname, ¶ms); + end; + public z_GetNamedBufferParameterui64vNV_ovr_2 := GetFuncOrNil&(z_GetNamedBufferParameterui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetNamedBufferParameterui64vNV(buffer: UInt32; pname: VertexBufferObjectParameter; ¶ms: IntPtr); + begin + z_GetNamedBufferParameterui64vNV_ovr_2(buffer, pname, ¶ms); + end; + + public z_GetIntegerui64vNV_adr := GetFuncAdr('glGetIntegerui64vNV'); + public z_GetIntegerui64vNV_ovr_0 := GetFuncOrNil&(z_GetIntegerui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64vNV(value: DummyEnum; result: array of UInt64); + begin + z_GetIntegerui64vNV_ovr_0(value, result[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64vNV(value: DummyEnum; var result: UInt64); + begin + z_GetIntegerui64vNV_ovr_0(value, result); + end; + public z_GetIntegerui64vNV_ovr_2 := GetFuncOrNil&(z_GetIntegerui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64vNV(value: DummyEnum; result: IntPtr); + begin + z_GetIntegerui64vNV_ovr_2(value, result); + end; + + public z_Uniformui64NV_adr := GetFuncAdr('glUniformui64NV'); + public z_Uniformui64NV_ovr_0 := GetFuncOrNil&(z_Uniformui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64NV(location: Int32; value: UInt64); + begin + z_Uniformui64NV_ovr_0(location, value); + end; + + public z_Uniformui64vNV_adr := GetFuncAdr('glUniformui64vNV'); + public z_Uniformui64vNV_ovr_0 := GetFuncOrNil&(z_Uniformui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64vNV(location: Int32; count: Int32; value: array of UInt64); + begin + z_Uniformui64vNV_ovr_0(location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64vNV(location: Int32; count: Int32; var value: UInt64); + begin + z_Uniformui64vNV_ovr_0(location, count, value); + end; + public z_Uniformui64vNV_ovr_2 := GetFuncOrNil&(z_Uniformui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Uniformui64vNV(location: Int32; count: Int32; value: IntPtr); + begin + z_Uniformui64vNV_ovr_2(location, count, value); + end; + + public z_GetUniformui64vNV_adr := GetFuncAdr('glGetUniformui64vNV'); + public z_GetUniformui64vNV_ovr_0 := GetFuncOrNil&(z_GetUniformui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vNV(&program: UInt32; location: Int32; ¶ms: array of UInt64); + begin + z_GetUniformui64vNV_ovr_0(&program, location, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vNV(&program: UInt32; location: Int32; var ¶ms: UInt64); + begin + z_GetUniformui64vNV_ovr_0(&program, location, ¶ms); + end; + public z_GetUniformui64vNV_ovr_2 := GetFuncOrNil&(z_GetUniformui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetUniformui64vNV(&program: UInt32; location: Int32; ¶ms: IntPtr); + begin + z_GetUniformui64vNV_ovr_2(&program, location, ¶ms); + end; + + public z_ProgramUniformui64NV_adr := GetFuncAdr('glProgramUniformui64NV'); + public z_ProgramUniformui64NV_ovr_0 := GetFuncOrNil&(z_ProgramUniformui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64NV(&program: UInt32; location: Int32; value: UInt64); + begin + z_ProgramUniformui64NV_ovr_0(&program, location, value); + end; + + public z_ProgramUniformui64vNV_adr := GetFuncAdr('glProgramUniformui64vNV'); + public z_ProgramUniformui64vNV_ovr_0 := GetFuncOrNil&(z_ProgramUniformui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64vNV(&program: UInt32; location: Int32; count: Int32; value: array of UInt64); + begin + z_ProgramUniformui64vNV_ovr_0(&program, location, count, value[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64vNV(&program: UInt32; location: Int32; count: Int32; var value: UInt64); + begin + z_ProgramUniformui64vNV_ovr_0(&program, location, count, value); + end; + public z_ProgramUniformui64vNV_ovr_2 := GetFuncOrNil&(z_ProgramUniformui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramUniformui64vNV(&program: UInt32; location: Int32; count: Int32; value: IntPtr); + begin + z_ProgramUniformui64vNV_ovr_2(&program, location, count, value); + end; + + end; + + glShadingRateImageNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BindShadingRateImageNV_adr := GetFuncAdr('glBindShadingRateImageNV'); + public z_BindShadingRateImageNV_ovr_0 := GetFuncOrNil&(z_BindShadingRateImageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindShadingRateImageNV(texture: UInt32); + begin + z_BindShadingRateImageNV_ovr_0(texture); + end; + + public z_GetShadingRateImagePaletteNV_adr := GetFuncAdr('glGetShadingRateImagePaletteNV'); + public z_GetShadingRateImagePaletteNV_ovr_0 := GetFuncOrNil&(z_GetShadingRateImagePaletteNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateImagePaletteNV(viewport: UInt32; entry: UInt32; rate: array of DummyEnum); + begin + z_GetShadingRateImagePaletteNV_ovr_0(viewport, entry, rate[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateImagePaletteNV(viewport: UInt32; entry: UInt32; var rate: DummyEnum); + begin + z_GetShadingRateImagePaletteNV_ovr_0(viewport, entry, rate); + end; + public z_GetShadingRateImagePaletteNV_ovr_2 := GetFuncOrNil&(z_GetShadingRateImagePaletteNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateImagePaletteNV(viewport: UInt32; entry: UInt32; rate: IntPtr); + begin + z_GetShadingRateImagePaletteNV_ovr_2(viewport, entry, rate); + end; + + public z_GetShadingRateSampleLocationivNV_adr := GetFuncAdr('glGetShadingRateSampleLocationivNV'); + public z_GetShadingRateSampleLocationivNV_ovr_0 := GetFuncOrNil&(z_GetShadingRateSampleLocationivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateSampleLocationivNV(rate: DummyEnum; samples: UInt32; index: UInt32; location: array of Int32); + begin + z_GetShadingRateSampleLocationivNV_ovr_0(rate, samples, index, location[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateSampleLocationivNV(rate: DummyEnum; samples: UInt32; index: UInt32; var location: Int32); + begin + z_GetShadingRateSampleLocationivNV_ovr_0(rate, samples, index, location); + end; + public z_GetShadingRateSampleLocationivNV_ovr_2 := GetFuncOrNil&(z_GetShadingRateSampleLocationivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetShadingRateSampleLocationivNV(rate: DummyEnum; samples: UInt32; index: UInt32; location: IntPtr); + begin + z_GetShadingRateSampleLocationivNV_ovr_2(rate, samples, index, location); + end; + + public z_ShadingRateImageBarrierNV_adr := GetFuncAdr('glShadingRateImageBarrierNV'); + public z_ShadingRateImageBarrierNV_ovr_0 := GetFuncOrNil&(z_ShadingRateImageBarrierNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImageBarrierNV(synchronize: boolean); + begin + z_ShadingRateImageBarrierNV_ovr_0(synchronize); + end; + + public z_ShadingRateImagePaletteNV_adr := GetFuncAdr('glShadingRateImagePaletteNV'); + public z_ShadingRateImagePaletteNV_ovr_0 := GetFuncOrNil&(z_ShadingRateImagePaletteNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImagePaletteNV(viewport: UInt32; first: UInt32; count: Int32; rates: array of DummyEnum); + begin + z_ShadingRateImagePaletteNV_ovr_0(viewport, first, count, rates[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImagePaletteNV(viewport: UInt32; first: UInt32; count: Int32; var rates: DummyEnum); + begin + z_ShadingRateImagePaletteNV_ovr_0(viewport, first, count, rates); + end; + public z_ShadingRateImagePaletteNV_ovr_2 := GetFuncOrNil&(z_ShadingRateImagePaletteNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateImagePaletteNV(viewport: UInt32; first: UInt32; count: Int32; rates: IntPtr); + begin + z_ShadingRateImagePaletteNV_ovr_2(viewport, first, count, rates); + end; + + public z_ShadingRateSampleOrderNV_adr := GetFuncAdr('glShadingRateSampleOrderNV'); + public z_ShadingRateSampleOrderNV_ovr_0 := GetFuncOrNil&(z_ShadingRateSampleOrderNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderNV(order: DummyEnum); + begin + z_ShadingRateSampleOrderNV_ovr_0(order); + end; + + public z_ShadingRateSampleOrderCustomNV_adr := GetFuncAdr('glShadingRateSampleOrderCustomNV'); + public z_ShadingRateSampleOrderCustomNV_ovr_0 := GetFuncOrNil&(z_ShadingRateSampleOrderCustomNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderCustomNV(rate: DummyEnum; samples: UInt32; locations: array of Int32); + begin + z_ShadingRateSampleOrderCustomNV_ovr_0(rate, samples, locations[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderCustomNV(rate: DummyEnum; samples: UInt32; var locations: Int32); + begin + z_ShadingRateSampleOrderCustomNV_ovr_0(rate, samples, locations); + end; + public z_ShadingRateSampleOrderCustomNV_ovr_2 := GetFuncOrNil&(z_ShadingRateSampleOrderCustomNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ShadingRateSampleOrderCustomNV(rate: DummyEnum; samples: UInt32; locations: IntPtr); + begin + z_ShadingRateSampleOrderCustomNV_ovr_2(rate, samples, locations); + end; + + end; + + glTextureBarrierNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TextureBarrierNV_adr := GetFuncAdr('glTextureBarrierNV'); + public z_TextureBarrierNV_ovr_0 := GetFuncOrNil&(z_TextureBarrierNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureBarrierNV; + begin + z_TextureBarrierNV_ovr_0; + end; + + end; + + glTextureMultisampleNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexImage2DMultisampleCoverageNV_adr := GetFuncAdr('glTexImage2DMultisampleCoverageNV'); + public z_TexImage2DMultisampleCoverageNV_ovr_0 := GetFuncOrNil&(z_TexImage2DMultisampleCoverageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage2DMultisampleCoverageNV(target: TextureTarget; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; fixedSampleLocations: boolean); + begin + z_TexImage2DMultisampleCoverageNV_ovr_0(target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); + end; + + public z_TexImage3DMultisampleCoverageNV_adr := GetFuncAdr('glTexImage3DMultisampleCoverageNV'); + public z_TexImage3DMultisampleCoverageNV_ovr_0 := GetFuncOrNil&(z_TexImage3DMultisampleCoverageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage3DMultisampleCoverageNV(target: TextureTarget; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean); + begin + z_TexImage3DMultisampleCoverageNV_ovr_0(target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); + end; + + public z_TextureImage2DMultisampleNV_adr := GetFuncAdr('glTextureImage2DMultisampleNV'); + public z_TextureImage2DMultisampleNV_ovr_0 := GetFuncOrNil&(z_TextureImage2DMultisampleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage2DMultisampleNV(texture: UInt32; target: TextureTarget; samples: Int32; internalFormat: Int32; width: Int32; height: Int32; fixedSampleLocations: boolean); + begin + z_TextureImage2DMultisampleNV_ovr_0(texture, target, samples, internalFormat, width, height, fixedSampleLocations); + end; + + public z_TextureImage3DMultisampleNV_adr := GetFuncAdr('glTextureImage3DMultisampleNV'); + public z_TextureImage3DMultisampleNV_ovr_0 := GetFuncOrNil&(z_TextureImage3DMultisampleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage3DMultisampleNV(texture: UInt32; target: TextureTarget; samples: Int32; internalFormat: Int32; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean); + begin + z_TextureImage3DMultisampleNV_ovr_0(texture, target, samples, internalFormat, width, height, depth, fixedSampleLocations); + end; + + public z_TextureImage2DMultisampleCoverageNV_adr := GetFuncAdr('glTextureImage2DMultisampleCoverageNV'); + public z_TextureImage2DMultisampleCoverageNV_ovr_0 := GetFuncOrNil&(z_TextureImage2DMultisampleCoverageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage2DMultisampleCoverageNV(texture: UInt32; target: TextureTarget; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; fixedSampleLocations: boolean); + begin + z_TextureImage2DMultisampleCoverageNV_ovr_0(texture, target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); + end; + + public z_TextureImage3DMultisampleCoverageNV_adr := GetFuncAdr('glTextureImage3DMultisampleCoverageNV'); + public z_TextureImage3DMultisampleCoverageNV_ovr_0 := GetFuncOrNil&(z_TextureImage3DMultisampleCoverageNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureImage3DMultisampleCoverageNV(texture: UInt32; target: TextureTarget; coverageSamples: Int32; colorSamples: Int32; internalFormat: Int32; width: Int32; height: Int32; depth: Int32; fixedSampleLocations: boolean); + begin + z_TextureImage3DMultisampleCoverageNV_ovr_0(texture, target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); + end; + + end; + + glTransformFeedbackNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginTransformFeedbackNV_adr := GetFuncAdr('glBeginTransformFeedbackNV'); + public z_BeginTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_BeginTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginTransformFeedbackNV(primitiveMode: PrimitiveType); + begin + z_BeginTransformFeedbackNV_ovr_0(primitiveMode); + end; + + public z_EndTransformFeedbackNV_adr := GetFuncAdr('glEndTransformFeedbackNV'); + public z_EndTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_EndTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndTransformFeedbackNV; + begin + z_EndTransformFeedbackNV_ovr_0; + end; + + public z_TransformFeedbackAttribsNV_adr := GetFuncAdr('glTransformFeedbackAttribsNV'); + public z_TransformFeedbackAttribsNV_ovr_0 := GetFuncOrNil&(z_TransformFeedbackAttribsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackAttribsNV(count: Int32; attribs: array of Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackAttribsNV_ovr_0(count, attribs[0], bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackAttribsNV(count: Int32; var attribs: Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackAttribsNV_ovr_0(count, attribs, bufferMode); + end; + public z_TransformFeedbackAttribsNV_ovr_2 := GetFuncOrNil&(z_TransformFeedbackAttribsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackAttribsNV(count: Int32; attribs: IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackAttribsNV_ovr_2(count, attribs, bufferMode); + end; + + public z_BindBufferRangeNV_adr := GetFuncAdr('glBindBufferRangeNV'); + public z_BindBufferRangeNV_ovr_0 := GetFuncOrNil&(z_BindBufferRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferRangeNV(target: BufferTargetARB; index: UInt32; buffer: UInt32; offset: IntPtr; size: IntPtr); + begin + z_BindBufferRangeNV_ovr_0(target, index, buffer, offset, size); + end; + + public z_BindBufferOffsetNV_adr := GetFuncAdr('glBindBufferOffsetNV'); + public z_BindBufferOffsetNV_ovr_0 := GetFuncOrNil&(z_BindBufferOffsetNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferOffsetNV(target: BufferTargetARB; index: UInt32; buffer: UInt32; offset: IntPtr); + begin + z_BindBufferOffsetNV_ovr_0(target, index, buffer, offset); + end; + + public z_BindBufferBaseNV_adr := GetFuncAdr('glBindBufferBaseNV'); + public z_BindBufferBaseNV_ovr_0 := GetFuncOrNil&(z_BindBufferBaseNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindBufferBaseNV(target: BufferTargetARB; index: UInt32; buffer: UInt32); + begin + z_BindBufferBaseNV_ovr_0(target, index, buffer); + end; + + public z_TransformFeedbackVaryingsNV_adr := GetFuncAdr('glTransformFeedbackVaryingsNV'); + public z_TransformFeedbackVaryingsNV_ovr_0 := GetFuncOrNil&(z_TransformFeedbackVaryingsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsNV(&program: UInt32; count: Int32; locations: array of Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackVaryingsNV_ovr_0(&program, count, locations[0], bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsNV(&program: UInt32; count: Int32; var locations: Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackVaryingsNV_ovr_0(&program, count, locations, bufferMode); + end; + public z_TransformFeedbackVaryingsNV_ovr_2 := GetFuncOrNil&(z_TransformFeedbackVaryingsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackVaryingsNV(&program: UInt32; count: Int32; locations: IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackVaryingsNV_ovr_2(&program, count, locations, bufferMode); + end; + + public z_ActiveVaryingNV_adr := GetFuncAdr('glActiveVaryingNV'); + public z_ActiveVaryingNV_ovr_0 := GetFuncOrNil&(z_ActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveVaryingNV(&program: UInt32; name: string); + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + z_ActiveVaryingNV_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ActiveVaryingNV(&program: UInt32; name: IntPtr); + begin + z_ActiveVaryingNV_ovr_0(&program, name); + end; + + public z_GetVaryingLocationNV_adr := GetFuncAdr('glGetVaryingLocationNV'); + public z_GetVaryingLocationNV_ovr_0 := GetFuncOrNil&(z_GetVaryingLocationNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVaryingLocationNV(&program: UInt32; name: string): Int32; + begin + var par_2_str_ptr := Marshal.StringToHGlobalAnsi(name); + Result := z_GetVaryingLocationNV_ovr_0(&program, par_2_str_ptr); + Marshal.FreeHGlobal(par_2_str_ptr); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetVaryingLocationNV(&program: UInt32; name: IntPtr): Int32; + begin + Result := z_GetVaryingLocationNV_ovr_0(&program, name); + end; + + public z_GetActiveVaryingNV_adr := GetFuncAdr('glGetActiveVaryingNV'); + public z_GetActiveVaryingNV_ovr_0 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length[0], size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length[0], size[0], &type, name); + end; + public z_GetActiveVaryingNV_ovr_2 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_2(&program, index, bufSize, length[0], size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_2(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetActiveVaryingNV_ovr_6 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_6(&program, index, bufSize, length[0], size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_6(&program, index, bufSize, length[0], size, &type, name); + end; + public z_GetActiveVaryingNV_ovr_8 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: array of Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_8(&program, index, bufSize, length[0], size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_2(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_0(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_2(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_6(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_6(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; var length: Int32; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_8(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveVaryingNV_ovr_18 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_18(&program, index, bufSize, length, size[0], &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_18(&program, index, bufSize, length, size[0], &type, name); + end; + public z_GetActiveVaryingNV_ovr_20 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: array of Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_20(&program, index, bufSize, length, size[0], &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_18(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_18(&program, index, bufSize, length, size, &type, name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; var size: Int32; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_20(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveVaryingNV_ovr_24 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: array of DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_24(&program, index, bufSize, length, size, &type[0], name); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; var &type: DummyEnum; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_24(&program, index, bufSize, length, size, &type, name); + end; + public z_GetActiveVaryingNV_ovr_26 := GetFuncOrNil&(z_GetActiveVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetActiveVaryingNV(&program: UInt32; index: UInt32; bufSize: Int32; length: IntPtr; size: IntPtr; &type: IntPtr; name: IntPtr); + begin + z_GetActiveVaryingNV_ovr_26(&program, index, bufSize, length, size, &type, name); + end; + + public z_GetTransformFeedbackVaryingNV_adr := GetFuncAdr('glGetTransformFeedbackVaryingNV'); + public z_GetTransformFeedbackVaryingNV_ovr_0 := GetFuncOrNil&(z_GetTransformFeedbackVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingNV(&program: UInt32; index: UInt32; location: array of Int32); + begin + z_GetTransformFeedbackVaryingNV_ovr_0(&program, index, location[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingNV(&program: UInt32; index: UInt32; var location: Int32); + begin + z_GetTransformFeedbackVaryingNV_ovr_0(&program, index, location); + end; + public z_GetTransformFeedbackVaryingNV_ovr_2 := GetFuncOrNil&(z_GetTransformFeedbackVaryingNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTransformFeedbackVaryingNV(&program: UInt32; index: UInt32; location: IntPtr); + begin + z_GetTransformFeedbackVaryingNV_ovr_2(&program, index, location); + end; + + public z_TransformFeedbackStreamAttribsNV_adr := GetFuncAdr('glTransformFeedbackStreamAttribsNV'); + public z_TransformFeedbackStreamAttribsNV_ovr_0 := GetFuncOrNil&(z_TransformFeedbackStreamAttribsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: array of Int32; nbuffers: Int32; bufstreams: array of Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_0(count, attribs[0], nbuffers, bufstreams[0], bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: array of Int32; nbuffers: Int32; var bufstreams: Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_0(count, attribs[0], nbuffers, bufstreams, bufferMode); + end; + public z_TransformFeedbackStreamAttribsNV_ovr_2 := GetFuncOrNil&(z_TransformFeedbackStreamAttribsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: array of Int32; nbuffers: Int32; bufstreams: IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_2(count, attribs[0], nbuffers, bufstreams, bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; var attribs: Int32; nbuffers: Int32; bufstreams: array of Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_0(count, attribs, nbuffers, bufstreams[0], bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; var attribs: Int32; nbuffers: Int32; var bufstreams: Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_0(count, attribs, nbuffers, bufstreams, bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; var attribs: Int32; nbuffers: Int32; bufstreams: IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_2(count, attribs, nbuffers, bufstreams, bufferMode); + end; + public z_TransformFeedbackStreamAttribsNV_ovr_6 := GetFuncOrNil&(z_TransformFeedbackStreamAttribsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: IntPtr; nbuffers: Int32; bufstreams: array of Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_6(count, attribs, nbuffers, bufstreams[0], bufferMode); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: IntPtr; nbuffers: Int32; var bufstreams: Int32; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_6(count, attribs, nbuffers, bufstreams, bufferMode); + end; + public z_TransformFeedbackStreamAttribsNV_ovr_8 := GetFuncOrNil&(z_TransformFeedbackStreamAttribsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TransformFeedbackStreamAttribsNV(count: Int32; attribs: IntPtr; nbuffers: Int32; bufstreams: IntPtr; bufferMode: DummyEnum); + begin + z_TransformFeedbackStreamAttribsNV_ovr_8(count, attribs, nbuffers, bufstreams, bufferMode); + end; + + end; + + glTransformFeedback2NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BindTransformFeedbackNV_adr := GetFuncAdr('glBindTransformFeedbackNV'); + public z_BindTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_BindTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindTransformFeedbackNV(target: BufferTargetARB; id: UInt32); + begin + z_BindTransformFeedbackNV_ovr_0(target, id); + end; + + public z_DeleteTransformFeedbacksNV_adr := GetFuncAdr('glDeleteTransformFeedbacksNV'); + public z_DeleteTransformFeedbacksNV_ovr_0 := GetFuncOrNil&(z_DeleteTransformFeedbacksNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacksNV(n: Int32; ids: array of UInt32); + begin + z_DeleteTransformFeedbacksNV_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacksNV(n: Int32; var ids: UInt32); + begin + z_DeleteTransformFeedbacksNV_ovr_0(n, ids); + end; + public z_DeleteTransformFeedbacksNV_ovr_2 := GetFuncOrNil&(z_DeleteTransformFeedbacksNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteTransformFeedbacksNV(n: Int32; ids: IntPtr); + begin + z_DeleteTransformFeedbacksNV_ovr_2(n, ids); + end; + + public z_GenTransformFeedbacksNV_adr := GetFuncAdr('glGenTransformFeedbacksNV'); + public z_GenTransformFeedbacksNV_ovr_0 := GetFuncOrNil&(z_GenTransformFeedbacksNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacksNV(n: Int32; ids: array of UInt32); + begin + z_GenTransformFeedbacksNV_ovr_0(n, ids[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacksNV(n: Int32; var ids: UInt32); + begin + z_GenTransformFeedbacksNV_ovr_0(n, ids); + end; + public z_GenTransformFeedbacksNV_ovr_2 := GetFuncOrNil&(z_GenTransformFeedbacksNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenTransformFeedbacksNV(n: Int32; ids: IntPtr); + begin + z_GenTransformFeedbacksNV_ovr_2(n, ids); + end; + + public z_IsTransformFeedbackNV_adr := GetFuncAdr('glIsTransformFeedbackNV'); + public z_IsTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_IsTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsTransformFeedbackNV(id: UInt32): boolean; + begin + Result := z_IsTransformFeedbackNV_ovr_0(id); + end; + + public z_PauseTransformFeedbackNV_adr := GetFuncAdr('glPauseTransformFeedbackNV'); + public z_PauseTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_PauseTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PauseTransformFeedbackNV; + begin + z_PauseTransformFeedbackNV_ovr_0; + end; + + public z_ResumeTransformFeedbackNV_adr := GetFuncAdr('glResumeTransformFeedbackNV'); + public z_ResumeTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_ResumeTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ResumeTransformFeedbackNV; + begin + z_ResumeTransformFeedbackNV_ovr_0; + end; + + public z_DrawTransformFeedbackNV_adr := GetFuncAdr('glDrawTransformFeedbackNV'); + public z_DrawTransformFeedbackNV_ovr_0 := GetFuncOrNil&(z_DrawTransformFeedbackNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawTransformFeedbackNV(mode: PrimitiveType; id: UInt32); + begin + z_DrawTransformFeedbackNV_ovr_0(mode, id); + end; + + end; + + glVdpauInteropNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VDPAUInitNV_adr := GetFuncAdr('glVDPAUInitNV'); + public z_VDPAUInitNV_ovr_0 := GetFuncOrNil&(z_VDPAUInitNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUInitNV(vdpDevice: IntPtr; getProcAddress: IntPtr); + begin + z_VDPAUInitNV_ovr_0(vdpDevice, getProcAddress); + end; + + public z_VDPAUFiniNV_adr := GetFuncAdr('glVDPAUFiniNV'); + public z_VDPAUFiniNV_ovr_0 := GetFuncOrNil&(z_VDPAUFiniNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUFiniNV; + begin + z_VDPAUFiniNV_ovr_0; + end; + + public z_VDPAURegisterVideoSurfaceNV_adr := GetFuncAdr('glVDPAURegisterVideoSurfaceNV'); + public z_VDPAURegisterVideoSurfaceNV_ovr_0 := GetFuncOrNil&(z_VDPAURegisterVideoSurfaceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; textureNames: array of UInt32): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterVideoSurfaceNV_ovr_0(vdpSurface, target, numTextureNames, textureNames[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; var textureNames: UInt32): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterVideoSurfaceNV_ovr_0(vdpSurface, target, numTextureNames, textureNames); + end; + public z_VDPAURegisterVideoSurfaceNV_ovr_2 := GetFuncOrNil&(z_VDPAURegisterVideoSurfaceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; textureNames: IntPtr): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterVideoSurfaceNV_ovr_2(vdpSurface, target, numTextureNames, textureNames); + end; + + public z_VDPAURegisterOutputSurfaceNV_adr := GetFuncAdr('glVDPAURegisterOutputSurfaceNV'); + public z_VDPAURegisterOutputSurfaceNV_ovr_0 := GetFuncOrNil&(z_VDPAURegisterOutputSurfaceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterOutputSurfaceNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; textureNames: array of UInt32): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterOutputSurfaceNV_ovr_0(vdpSurface, target, numTextureNames, textureNames[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterOutputSurfaceNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; var textureNames: UInt32): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterOutputSurfaceNV_ovr_0(vdpSurface, target, numTextureNames, textureNames); + end; + public z_VDPAURegisterOutputSurfaceNV_ovr_2 := GetFuncOrNil&(z_VDPAURegisterOutputSurfaceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterOutputSurfaceNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; textureNames: IntPtr): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterOutputSurfaceNV_ovr_2(vdpSurface, target, numTextureNames, textureNames); + end; + + public z_VDPAUIsSurfaceNV_adr := GetFuncAdr('glVDPAUIsSurfaceNV'); + public z_VDPAUIsSurfaceNV_ovr_0 := GetFuncOrNil&(z_VDPAUIsSurfaceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAUIsSurfaceNV(surface: GLvdpauSurfaceNV): boolean; + begin + Result := z_VDPAUIsSurfaceNV_ovr_0(surface); + end; + + public z_VDPAUUnregisterSurfaceNV_adr := GetFuncAdr('glVDPAUUnregisterSurfaceNV'); + public z_VDPAUUnregisterSurfaceNV_ovr_0 := GetFuncOrNil&(z_VDPAUUnregisterSurfaceNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnregisterSurfaceNV(surface: GLvdpauSurfaceNV); + begin + z_VDPAUUnregisterSurfaceNV_ovr_0(surface); + end; + + public z_VDPAUGetSurfaceivNV_adr := GetFuncAdr('glVDPAUGetSurfaceivNV'); + public z_VDPAUGetSurfaceivNV_ovr_0 := GetFuncOrNil&(z_VDPAUGetSurfaceivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: array of Int32; values: array of Int32); + begin + z_VDPAUGetSurfaceivNV_ovr_0(surface, pname, count, length[0], values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: array of Int32; var values: Int32); + begin + z_VDPAUGetSurfaceivNV_ovr_0(surface, pname, count, length[0], values); + end; + public z_VDPAUGetSurfaceivNV_ovr_2 := GetFuncOrNil&(z_VDPAUGetSurfaceivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: array of Int32; values: IntPtr); + begin + z_VDPAUGetSurfaceivNV_ovr_2(surface, pname, count, length[0], values); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; var length: Int32; values: array of Int32); + begin + z_VDPAUGetSurfaceivNV_ovr_0(surface, pname, count, length, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; var length: Int32; var values: Int32); + begin + z_VDPAUGetSurfaceivNV_ovr_0(surface, pname, count, length, values); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; var length: Int32; values: IntPtr); + begin + z_VDPAUGetSurfaceivNV_ovr_2(surface, pname, count, length, values); + end; + public z_VDPAUGetSurfaceivNV_ovr_6 := GetFuncOrNil&(z_VDPAUGetSurfaceivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: IntPtr; values: array of Int32); + begin + z_VDPAUGetSurfaceivNV_ovr_6(surface, pname, count, length, values[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: IntPtr; var values: Int32); + begin + z_VDPAUGetSurfaceivNV_ovr_6(surface, pname, count, length, values); + end; + public z_VDPAUGetSurfaceivNV_ovr_8 := GetFuncOrNil&(z_VDPAUGetSurfaceivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUGetSurfaceivNV(surface: GLvdpauSurfaceNV; pname: DummyEnum; count: Int32; length: IntPtr; values: IntPtr); + begin + z_VDPAUGetSurfaceivNV_ovr_8(surface, pname, count, length, values); + end; + + public z_VDPAUSurfaceAccessNV_adr := GetFuncAdr('glVDPAUSurfaceAccessNV'); + public z_VDPAUSurfaceAccessNV_ovr_0 := GetFuncOrNil&(z_VDPAUSurfaceAccessNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUSurfaceAccessNV(surface: GLvdpauSurfaceNV; access: DummyEnum); + begin + z_VDPAUSurfaceAccessNV_ovr_0(surface, access); + end; + + public z_VDPAUMapSurfacesNV_adr := GetFuncAdr('glVDPAUMapSurfacesNV'); + public z_VDPAUMapSurfacesNV_ovr_0 := GetFuncOrNil&(z_VDPAUMapSurfacesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUMapSurfacesNV(numSurfaces: Int32; surfaces: array of GLvdpauSurfaceNV); + begin + z_VDPAUMapSurfacesNV_ovr_0(numSurfaces, surfaces[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUMapSurfacesNV(numSurfaces: Int32; var surfaces: GLvdpauSurfaceNV); + begin + z_VDPAUMapSurfacesNV_ovr_0(numSurfaces, surfaces); + end; + public z_VDPAUMapSurfacesNV_ovr_2 := GetFuncOrNil&(z_VDPAUMapSurfacesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUMapSurfacesNV(numSurfaces: Int32; surfaces: IntPtr); + begin + z_VDPAUMapSurfacesNV_ovr_2(numSurfaces, surfaces); + end; + + public z_VDPAUUnmapSurfacesNV_adr := GetFuncAdr('glVDPAUUnmapSurfacesNV'); + public z_VDPAUUnmapSurfacesNV_ovr_0 := GetFuncOrNil&(z_VDPAUUnmapSurfacesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnmapSurfacesNV(numSurface: Int32; surfaces: array of GLvdpauSurfaceNV); + begin + z_VDPAUUnmapSurfacesNV_ovr_0(numSurface, surfaces[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnmapSurfacesNV(numSurface: Int32; var surfaces: GLvdpauSurfaceNV); + begin + z_VDPAUUnmapSurfacesNV_ovr_0(numSurface, surfaces); + end; + public z_VDPAUUnmapSurfacesNV_ovr_2 := GetFuncOrNil&(z_VDPAUUnmapSurfacesNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VDPAUUnmapSurfacesNV(numSurface: Int32; surfaces: IntPtr); + begin + z_VDPAUUnmapSurfacesNV_ovr_2(numSurface, surfaces); + end; + + end; + + glVdpauInterop2NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VDPAURegisterVideoSurfaceWithPictureStructureNV_adr := GetFuncAdr('glVDPAURegisterVideoSurfaceWithPictureStructureNV'); + public z_VDPAURegisterVideoSurfaceWithPictureStructureNV_ovr_0 := GetFuncOrNil&(z_VDPAURegisterVideoSurfaceWithPictureStructureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; textureNames: array of UInt32; isFrameStructure: boolean): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterVideoSurfaceWithPictureStructureNV_ovr_0(vdpSurface, target, numTextureNames, textureNames[0], isFrameStructure); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; var textureNames: UInt32; isFrameStructure: boolean): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterVideoSurfaceWithPictureStructureNV_ovr_0(vdpSurface, target, numTextureNames, textureNames, isFrameStructure); + end; + public z_VDPAURegisterVideoSurfaceWithPictureStructureNV_ovr_2 := GetFuncOrNil&(z_VDPAURegisterVideoSurfaceWithPictureStructureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VDPAURegisterVideoSurfaceWithPictureStructureNV(vdpSurface: IntPtr; target: DummyEnum; numTextureNames: Int32; textureNames: IntPtr; isFrameStructure: boolean): GLvdpauSurfaceNV; + begin + Result := z_VDPAURegisterVideoSurfaceWithPictureStructureNV_ovr_2(vdpSurface, target, numTextureNames, textureNames, isFrameStructure); + end; + + end; + + glVertexArrayRangeNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FlushVertexArrayRangeNV_adr := GetFuncAdr('glFlushVertexArrayRangeNV'); + public z_FlushVertexArrayRangeNV_ovr_0 := GetFuncOrNil&(z_FlushVertexArrayRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushVertexArrayRangeNV; + begin + z_FlushVertexArrayRangeNV_ovr_0; + end; + + public z_VertexArrayRangeNV_adr := GetFuncAdr('glVertexArrayRangeNV'); + public z_VertexArrayRangeNV_ovr_0 := GetFuncOrNil&(z_VertexArrayRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexArrayRangeNV(length: Int32; pointer: IntPtr); + begin + z_VertexArrayRangeNV_ovr_0(length, pointer); + end; + + end; + + glVertexAttribInteger64bitNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_VertexAttribL1i64NV_adr := GetFuncAdr('glVertexAttribL1i64NV'); + public z_VertexAttribL1i64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL1i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64NV(index: UInt32; x: Int64); + begin + z_VertexAttribL1i64NV_ovr_0(index, x); + end; + + public z_VertexAttribL2i64NV_adr := GetFuncAdr('glVertexAttribL2i64NV'); + public z_VertexAttribL2i64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL2i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64NV(index: UInt32; x: Int64; y: Int64); + begin + z_VertexAttribL2i64NV_ovr_0(index, x, y); + end; + + public z_VertexAttribL3i64NV_adr := GetFuncAdr('glVertexAttribL3i64NV'); + public z_VertexAttribL3i64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL3i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64NV(index: UInt32; x: Int64; y: Int64; z: Int64); + begin + z_VertexAttribL3i64NV_ovr_0(index, x, y, z); + end; + + public z_VertexAttribL4i64NV_adr := GetFuncAdr('glVertexAttribL4i64NV'); + public z_VertexAttribL4i64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL4i64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64NV(index: UInt32; x: Int64; y: Int64; z: Int64; w: Int64); + begin + z_VertexAttribL4i64NV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttribL1i64vNV_adr := GetFuncAdr('glVertexAttribL1i64vNV'); + public z_VertexAttribL1i64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL1i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64vNV(index: UInt32; v: array of Int64); + begin + z_VertexAttribL1i64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64vNV(index: UInt32; var v: Int64); + begin + z_VertexAttribL1i64vNV_ovr_0(index, v); + end; + public z_VertexAttribL1i64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL1i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1i64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL1i64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL2i64vNV_adr := GetFuncAdr('glVertexAttribL2i64vNV'); + public z_VertexAttribL2i64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL2i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64vNV(index: UInt32; v: array of Int64); + begin + z_VertexAttribL2i64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64vNV(index: UInt32; var v: Int64); + begin + z_VertexAttribL2i64vNV_ovr_0(index, v); + end; + public z_VertexAttribL2i64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL2i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2i64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL2i64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL3i64vNV_adr := GetFuncAdr('glVertexAttribL3i64vNV'); + public z_VertexAttribL3i64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL3i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64vNV(index: UInt32; v: array of Int64); + begin + z_VertexAttribL3i64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64vNV(index: UInt32; var v: Int64); + begin + z_VertexAttribL3i64vNV_ovr_0(index, v); + end; + public z_VertexAttribL3i64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL3i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3i64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL3i64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL4i64vNV_adr := GetFuncAdr('glVertexAttribL4i64vNV'); + public z_VertexAttribL4i64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL4i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64vNV(index: UInt32; v: array of Int64); + begin + z_VertexAttribL4i64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64vNV(index: UInt32; var v: Int64); + begin + z_VertexAttribL4i64vNV_ovr_0(index, v); + end; + public z_VertexAttribL4i64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL4i64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4i64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL4i64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL1ui64NV_adr := GetFuncAdr('glVertexAttribL1ui64NV'); + public z_VertexAttribL1ui64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL1ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64NV(index: UInt32; x: UInt64); + begin + z_VertexAttribL1ui64NV_ovr_0(index, x); + end; + + public z_VertexAttribL2ui64NV_adr := GetFuncAdr('glVertexAttribL2ui64NV'); + public z_VertexAttribL2ui64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL2ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64NV(index: UInt32; x: UInt64; y: UInt64); + begin + z_VertexAttribL2ui64NV_ovr_0(index, x, y); + end; + + public z_VertexAttribL3ui64NV_adr := GetFuncAdr('glVertexAttribL3ui64NV'); + public z_VertexAttribL3ui64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL3ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64NV(index: UInt32; x: UInt64; y: UInt64; z: UInt64); + begin + z_VertexAttribL3ui64NV_ovr_0(index, x, y, z); + end; + + public z_VertexAttribL4ui64NV_adr := GetFuncAdr('glVertexAttribL4ui64NV'); + public z_VertexAttribL4ui64NV_ovr_0 := GetFuncOrNil&(z_VertexAttribL4ui64NV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64NV(index: UInt32; x: UInt64; y: UInt64; z: UInt64; w: UInt64); + begin + z_VertexAttribL4ui64NV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttribL1ui64vNV_adr := GetFuncAdr('glVertexAttribL1ui64vNV'); + public z_VertexAttribL1ui64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL1ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vNV(index: UInt32; v: array of UInt64); + begin + z_VertexAttribL1ui64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vNV(index: UInt32; var v: UInt64); + begin + z_VertexAttribL1ui64vNV_ovr_0(index, v); + end; + public z_VertexAttribL1ui64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL1ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL1ui64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL1ui64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL2ui64vNV_adr := GetFuncAdr('glVertexAttribL2ui64vNV'); + public z_VertexAttribL2ui64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL2ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64vNV(index: UInt32; v: array of UInt64); + begin + z_VertexAttribL2ui64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64vNV(index: UInt32; var v: UInt64); + begin + z_VertexAttribL2ui64vNV_ovr_0(index, v); + end; + public z_VertexAttribL2ui64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL2ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL2ui64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL2ui64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL3ui64vNV_adr := GetFuncAdr('glVertexAttribL3ui64vNV'); + public z_VertexAttribL3ui64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL3ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64vNV(index: UInt32; v: array of UInt64); + begin + z_VertexAttribL3ui64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64vNV(index: UInt32; var v: UInt64); + begin + z_VertexAttribL3ui64vNV_ovr_0(index, v); + end; + public z_VertexAttribL3ui64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL3ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL3ui64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL3ui64vNV_ovr_2(index, v); + end; + + public z_VertexAttribL4ui64vNV_adr := GetFuncAdr('glVertexAttribL4ui64vNV'); + public z_VertexAttribL4ui64vNV_ovr_0 := GetFuncOrNil&(z_VertexAttribL4ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64vNV(index: UInt32; v: array of UInt64); + begin + z_VertexAttribL4ui64vNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64vNV(index: UInt32; var v: UInt64); + begin + z_VertexAttribL4ui64vNV_ovr_0(index, v); + end; + public z_VertexAttribL4ui64vNV_ovr_2 := GetFuncOrNil&(z_VertexAttribL4ui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribL4ui64vNV(index: UInt32; v: IntPtr); + begin + z_VertexAttribL4ui64vNV_ovr_2(index, v); + end; + + public z_GetVertexAttribLi64vNV_adr := GetFuncAdr('glGetVertexAttribLi64vNV'); + public z_GetVertexAttribLi64vNV_ovr_0 := GetFuncOrNil&(z_GetVertexAttribLi64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLi64vNV(index: UInt32; pname: VertexAttribEnum; ¶ms: array of Int64); + begin + z_GetVertexAttribLi64vNV_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLi64vNV(index: UInt32; pname: VertexAttribEnum; var ¶ms: Int64); + begin + z_GetVertexAttribLi64vNV_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribLi64vNV_ovr_2 := GetFuncOrNil&(z_GetVertexAttribLi64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLi64vNV(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribLi64vNV_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribLui64vNV_adr := GetFuncAdr('glGetVertexAttribLui64vNV'); + public z_GetVertexAttribLui64vNV_ovr_0 := GetFuncOrNil&(z_GetVertexAttribLui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vNV(index: UInt32; pname: VertexAttribEnum; ¶ms: array of UInt64); + begin + z_GetVertexAttribLui64vNV_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vNV(index: UInt32; pname: VertexAttribEnum; var ¶ms: UInt64); + begin + z_GetVertexAttribLui64vNV_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribLui64vNV_ovr_2 := GetFuncOrNil&(z_GetVertexAttribLui64vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribLui64vNV(index: UInt32; pname: VertexAttribEnum; ¶ms: IntPtr); + begin + z_GetVertexAttribLui64vNV_ovr_2(index, pname, ¶ms); + end; + + public z_VertexAttribLFormatNV_adr := GetFuncAdr('glVertexAttribLFormatNV'); + public z_VertexAttribLFormatNV_ovr_0 := GetFuncOrNil&(z_VertexAttribLFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribLFormatNV(index: UInt32; size: Int32; &type: VertexAttribLType; stride: Int32); + begin + z_VertexAttribLFormatNV_ovr_0(index, size, &type, stride); + end; + + end; + + glVertexBufferUnifiedMemoryNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BufferAddressRangeNV_adr := GetFuncAdr('glBufferAddressRangeNV'); + public z_BufferAddressRangeNV_ovr_0 := GetFuncOrNil&(z_BufferAddressRangeNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BufferAddressRangeNV(pname: DummyEnum; index: UInt32; address: UInt64; length: IntPtr); + begin + z_BufferAddressRangeNV_ovr_0(pname, index, address, length); + end; + + public z_VertexFormatNV_adr := GetFuncAdr('glVertexFormatNV'); + public z_VertexFormatNV_ovr_0 := GetFuncOrNil&(z_VertexFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexFormatNV(size: Int32; &type: VertexPointerType; stride: Int32); + begin + z_VertexFormatNV_ovr_0(size, &type, stride); + end; + + public z_NormalFormatNV_adr := GetFuncAdr('glNormalFormatNV'); + public z_NormalFormatNV_ovr_0 := GetFuncOrNil&(z_NormalFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure NormalFormatNV(&type: DummyEnum; stride: Int32); + begin + z_NormalFormatNV_ovr_0(&type, stride); + end; + + public z_ColorFormatNV_adr := GetFuncAdr('glColorFormatNV'); + public z_ColorFormatNV_ovr_0 := GetFuncOrNil&(z_ColorFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorFormatNV(size: Int32; &type: DummyEnum; stride: Int32); + begin + z_ColorFormatNV_ovr_0(size, &type, stride); + end; + + public z_IndexFormatNV_adr := GetFuncAdr('glIndexFormatNV'); + public z_IndexFormatNV_ovr_0 := GetFuncOrNil&(z_IndexFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexFormatNV(&type: DummyEnum; stride: Int32); + begin + z_IndexFormatNV_ovr_0(&type, stride); + end; + + public z_TexCoordFormatNV_adr := GetFuncAdr('glTexCoordFormatNV'); + public z_TexCoordFormatNV_ovr_0 := GetFuncOrNil&(z_TexCoordFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoordFormatNV(size: Int32; &type: DummyEnum; stride: Int32); + begin + z_TexCoordFormatNV_ovr_0(size, &type, stride); + end; + + public z_EdgeFlagFormatNV_adr := GetFuncAdr('glEdgeFlagFormatNV'); + public z_EdgeFlagFormatNV_ovr_0 := GetFuncOrNil&(z_EdgeFlagFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EdgeFlagFormatNV(stride: Int32); + begin + z_EdgeFlagFormatNV_ovr_0(stride); + end; + + public z_SecondaryColorFormatNV_adr := GetFuncAdr('glSecondaryColorFormatNV'); + public z_SecondaryColorFormatNV_ovr_0 := GetFuncOrNil&(z_SecondaryColorFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SecondaryColorFormatNV(size: Int32; &type: ColorPointerType; stride: Int32); + begin + z_SecondaryColorFormatNV_ovr_0(size, &type, stride); + end; + + public z_FogCoordFormatNV_adr := GetFuncAdr('glFogCoordFormatNV'); + public z_FogCoordFormatNV_ovr_0 := GetFuncOrNil&(z_FogCoordFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogCoordFormatNV(&type: DummyEnum; stride: Int32); + begin + z_FogCoordFormatNV_ovr_0(&type, stride); + end; + + public z_VertexAttribFormatNV_adr := GetFuncAdr('glVertexAttribFormatNV'); + public z_VertexAttribFormatNV_ovr_0 := GetFuncOrNil&(z_VertexAttribFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribFormatNV(index: UInt32; size: Int32; &type: VertexAttribType; normalized: boolean; stride: Int32); + begin + z_VertexAttribFormatNV_ovr_0(index, size, &type, normalized, stride); + end; + + public z_VertexAttribIFormatNV_adr := GetFuncAdr('glVertexAttribIFormatNV'); + public z_VertexAttribIFormatNV_ovr_0 := GetFuncOrNil&(z_VertexAttribIFormatNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribIFormatNV(index: UInt32; size: Int32; &type: VertexAttribIType; stride: Int32); + begin + z_VertexAttribIFormatNV_ovr_0(index, size, &type, stride); + end; + + public z_GetIntegerui64i_vNV_adr := GetFuncAdr('glGetIntegerui64i_vNV'); + public z_GetIntegerui64i_vNV_ovr_0 := GetFuncOrNil&(z_GetIntegerui64i_vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64i_vNV(value: DummyEnum; index: UInt32; result: array of UInt64); + begin + z_GetIntegerui64i_vNV_ovr_0(value, index, result[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64i_vNV(value: DummyEnum; index: UInt32; var result: UInt64); + begin + z_GetIntegerui64i_vNV_ovr_0(value, index, result); + end; + public z_GetIntegerui64i_vNV_ovr_2 := GetFuncOrNil&(z_GetIntegerui64i_vNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetIntegerui64i_vNV(value: DummyEnum; index: UInt32; result: IntPtr); + begin + z_GetIntegerui64i_vNV_ovr_2(value, index, result); + end; + + end; + + glVertexProgramNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_AreProgramsResidentNV_adr := GetFuncAdr('glAreProgramsResidentNV'); + public z_AreProgramsResidentNV_ovr_0 := GetFuncOrNil&(z_AreProgramsResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: array of UInt32; residences: array of boolean): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_0(n, programs[0], residences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: array of UInt32; var residences: boolean): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_0(n, programs[0], residences); + end; + public z_AreProgramsResidentNV_ovr_2 := GetFuncOrNil&(z_AreProgramsResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: array of UInt32; residences: IntPtr): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_2(n, programs[0], residences); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; var programs: UInt32; residences: array of boolean): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_0(n, programs, residences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; var programs: UInt32; var residences: boolean): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_0(n, programs, residences); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; var programs: UInt32; residences: IntPtr): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_2(n, programs, residences); + end; + public z_AreProgramsResidentNV_ovr_6 := GetFuncOrNil&(z_AreProgramsResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: IntPtr; residences: array of boolean): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_6(n, programs, residences[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: IntPtr; var residences: boolean): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_6(n, programs, residences); + end; + public z_AreProgramsResidentNV_ovr_8 := GetFuncOrNil&(z_AreProgramsResidentNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function AreProgramsResidentNV(n: Int32; programs: IntPtr; residences: IntPtr): boolean; + begin + Result := z_AreProgramsResidentNV_ovr_8(n, programs, residences); + end; + + public z_BindProgramNV_adr := GetFuncAdr('glBindProgramNV'); + public z_BindProgramNV_ovr_0 := GetFuncOrNil&(z_BindProgramNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindProgramNV(target: VertexAttribEnumNV; id: UInt32); + begin + z_BindProgramNV_ovr_0(target, id); + end; + + public z_DeleteProgramsNV_adr := GetFuncAdr('glDeleteProgramsNV'); + public z_DeleteProgramsNV_ovr_0 := GetFuncOrNil&(z_DeleteProgramsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsNV(n: Int32; programs: array of UInt32); + begin + z_DeleteProgramsNV_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsNV(n: Int32; var programs: UInt32); + begin + z_DeleteProgramsNV_ovr_0(n, programs); + end; + public z_DeleteProgramsNV_ovr_2 := GetFuncOrNil&(z_DeleteProgramsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteProgramsNV(n: Int32; programs: IntPtr); + begin + z_DeleteProgramsNV_ovr_2(n, programs); + end; + + public z_ExecuteProgramNV_adr := GetFuncAdr('glExecuteProgramNV'); + public z_ExecuteProgramNV_ovr_0 := GetFuncOrNil&(z_ExecuteProgramNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExecuteProgramNV(target: VertexAttribEnumNV; id: UInt32; ¶ms: array of single); + begin + z_ExecuteProgramNV_ovr_0(target, id, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExecuteProgramNV(target: VertexAttribEnumNV; id: UInt32; var ¶ms: single); + begin + z_ExecuteProgramNV_ovr_0(target, id, ¶ms); + end; + public z_ExecuteProgramNV_ovr_2 := GetFuncOrNil&(z_ExecuteProgramNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ExecuteProgramNV(target: VertexAttribEnumNV; id: UInt32; ¶ms: IntPtr); + begin + z_ExecuteProgramNV_ovr_2(target, id, ¶ms); + end; + + public z_GenProgramsNV_adr := GetFuncAdr('glGenProgramsNV'); + public z_GenProgramsNV_ovr_0 := GetFuncOrNil&(z_GenProgramsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsNV(n: Int32; programs: array of UInt32); + begin + z_GenProgramsNV_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsNV(n: Int32; var programs: UInt32); + begin + z_GenProgramsNV_ovr_0(n, programs); + end; + public z_GenProgramsNV_ovr_2 := GetFuncOrNil&(z_GenProgramsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GenProgramsNV(n: Int32; programs: IntPtr); + begin + z_GenProgramsNV_ovr_2(n, programs); + end; + + public z_GetProgramParameterdvNV_adr := GetFuncAdr('glGetProgramParameterdvNV'); + public z_GetProgramParameterdvNV_ovr_0 := GetFuncOrNil&(z_GetProgramParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterdvNV(target: VertexAttribEnumNV; index: UInt32; pname: VertexAttribEnumNV; ¶ms: array of real); + begin + z_GetProgramParameterdvNV_ovr_0(target, index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterdvNV(target: VertexAttribEnumNV; index: UInt32; pname: VertexAttribEnumNV; var ¶ms: real); + begin + z_GetProgramParameterdvNV_ovr_0(target, index, pname, ¶ms); + end; + public z_GetProgramParameterdvNV_ovr_2 := GetFuncOrNil&(z_GetProgramParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterdvNV(target: VertexAttribEnumNV; index: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetProgramParameterdvNV_ovr_2(target, index, pname, ¶ms); + end; + + public z_GetProgramParameterfvNV_adr := GetFuncAdr('glGetProgramParameterfvNV'); + public z_GetProgramParameterfvNV_ovr_0 := GetFuncOrNil&(z_GetProgramParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterfvNV(target: VertexAttribEnumNV; index: UInt32; pname: VertexAttribEnumNV; ¶ms: array of single); + begin + z_GetProgramParameterfvNV_ovr_0(target, index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterfvNV(target: VertexAttribEnumNV; index: UInt32; pname: VertexAttribEnumNV; var ¶ms: single); + begin + z_GetProgramParameterfvNV_ovr_0(target, index, pname, ¶ms); + end; + public z_GetProgramParameterfvNV_ovr_2 := GetFuncOrNil&(z_GetProgramParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramParameterfvNV(target: VertexAttribEnumNV; index: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetProgramParameterfvNV_ovr_2(target, index, pname, ¶ms); + end; + + public z_GetProgramivNV_adr := GetFuncAdr('glGetProgramivNV'); + public z_GetProgramivNV_ovr_0 := GetFuncOrNil&(z_GetProgramivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivNV(id: UInt32; pname: VertexAttribEnumNV; ¶ms: array of Int32); + begin + z_GetProgramivNV_ovr_0(id, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivNV(id: UInt32; pname: VertexAttribEnumNV; var ¶ms: Int32); + begin + z_GetProgramivNV_ovr_0(id, pname, ¶ms); + end; + public z_GetProgramivNV_ovr_2 := GetFuncOrNil&(z_GetProgramivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramivNV(id: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetProgramivNV_ovr_2(id, pname, ¶ms); + end; + + public z_GetProgramStringNV_adr := GetFuncAdr('glGetProgramStringNV'); + public z_GetProgramStringNV_ovr_0 := GetFuncOrNil&(z_GetProgramStringNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringNV(id: UInt32; pname: VertexAttribEnumNV; &program: array of Byte); + begin + z_GetProgramStringNV_ovr_0(id, pname, &program[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringNV(id: UInt32; pname: VertexAttribEnumNV; var &program: Byte); + begin + z_GetProgramStringNV_ovr_0(id, pname, &program); + end; + public z_GetProgramStringNV_ovr_2 := GetFuncOrNil&(z_GetProgramStringNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetProgramStringNV(id: UInt32; pname: VertexAttribEnumNV; &program: IntPtr); + begin + z_GetProgramStringNV_ovr_2(id, pname, &program); + end; + + public z_GetTrackMatrixivNV_adr := GetFuncAdr('glGetTrackMatrixivNV'); + public z_GetTrackMatrixivNV_ovr_0 := GetFuncOrNil&(z_GetTrackMatrixivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTrackMatrixivNV(target: VertexAttribEnumNV; address: UInt32; pname: VertexAttribEnumNV; ¶ms: array of Int32); + begin + z_GetTrackMatrixivNV_ovr_0(target, address, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTrackMatrixivNV(target: VertexAttribEnumNV; address: UInt32; pname: VertexAttribEnumNV; var ¶ms: Int32); + begin + z_GetTrackMatrixivNV_ovr_0(target, address, pname, ¶ms); + end; + public z_GetTrackMatrixivNV_ovr_2 := GetFuncOrNil&(z_GetTrackMatrixivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTrackMatrixivNV(target: VertexAttribEnumNV; address: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetTrackMatrixivNV_ovr_2(target, address, pname, ¶ms); + end; + + public z_GetVertexAttribdvNV_adr := GetFuncAdr('glGetVertexAttribdvNV'); + public z_GetVertexAttribdvNV_ovr_0 := GetFuncOrNil&(z_GetVertexAttribdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvNV(index: UInt32; pname: VertexAttribEnumNV; ¶ms: array of real); + begin + z_GetVertexAttribdvNV_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvNV(index: UInt32; pname: VertexAttribEnumNV; var ¶ms: real); + begin + z_GetVertexAttribdvNV_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribdvNV_ovr_2 := GetFuncOrNil&(z_GetVertexAttribdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribdvNV(index: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetVertexAttribdvNV_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribfvNV_adr := GetFuncAdr('glGetVertexAttribfvNV'); + public z_GetVertexAttribfvNV_ovr_0 := GetFuncOrNil&(z_GetVertexAttribfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvNV(index: UInt32; pname: VertexAttribEnumNV; ¶ms: array of single); + begin + z_GetVertexAttribfvNV_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvNV(index: UInt32; pname: VertexAttribEnumNV; var ¶ms: single); + begin + z_GetVertexAttribfvNV_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribfvNV_ovr_2 := GetFuncOrNil&(z_GetVertexAttribfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribfvNV(index: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetVertexAttribfvNV_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribivNV_adr := GetFuncAdr('glGetVertexAttribivNV'); + public z_GetVertexAttribivNV_ovr_0 := GetFuncOrNil&(z_GetVertexAttribivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivNV(index: UInt32; pname: VertexAttribEnumNV; ¶ms: array of Int32); + begin + z_GetVertexAttribivNV_ovr_0(index, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivNV(index: UInt32; pname: VertexAttribEnumNV; var ¶ms: Int32); + begin + z_GetVertexAttribivNV_ovr_0(index, pname, ¶ms); + end; + public z_GetVertexAttribivNV_ovr_2 := GetFuncOrNil&(z_GetVertexAttribivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribivNV(index: UInt32; pname: VertexAttribEnumNV; ¶ms: IntPtr); + begin + z_GetVertexAttribivNV_ovr_2(index, pname, ¶ms); + end; + + public z_GetVertexAttribPointervNV_adr := GetFuncAdr('glGetVertexAttribPointervNV'); + public z_GetVertexAttribPointervNV_ovr_0 := GetFuncOrNil&(z_GetVertexAttribPointervNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervNV(index: UInt32; pname: VertexAttribEnumNV; _pointer: array of IntPtr); + begin + z_GetVertexAttribPointervNV_ovr_0(index, pname, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervNV(index: UInt32; pname: VertexAttribEnumNV; var _pointer: IntPtr); + begin + z_GetVertexAttribPointervNV_ovr_0(index, pname, _pointer); + end; + public z_GetVertexAttribPointervNV_ovr_2 := GetFuncOrNil&(z_GetVertexAttribPointervNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVertexAttribPointervNV(index: UInt32; pname: VertexAttribEnumNV; _pointer: pointer); + begin + z_GetVertexAttribPointervNV_ovr_2(index, pname, _pointer); + end; + + public z_IsProgramNV_adr := GetFuncAdr('glIsProgramNV'); + public z_IsProgramNV_ovr_0 := GetFuncOrNil&(z_IsProgramNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsProgramNV(id: UInt32): boolean; + begin + Result := z_IsProgramNV_ovr_0(id); + end; + + public z_LoadProgramNV_adr := GetFuncAdr('glLoadProgramNV'); + public z_LoadProgramNV_ovr_0 := GetFuncOrNil&(z_LoadProgramNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadProgramNV(target: VertexAttribEnumNV; id: UInt32; len: Int32; &program: array of Byte); + begin + z_LoadProgramNV_ovr_0(target, id, len, &program[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadProgramNV(target: VertexAttribEnumNV; id: UInt32; len: Int32; var &program: Byte); + begin + z_LoadProgramNV_ovr_0(target, id, len, &program); + end; + public z_LoadProgramNV_ovr_2 := GetFuncOrNil&(z_LoadProgramNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadProgramNV(target: VertexAttribEnumNV; id: UInt32; len: Int32; &program: IntPtr); + begin + z_LoadProgramNV_ovr_2(target, id, len, &program); + end; + + public z_ProgramParameter4dNV_adr := GetFuncAdr('glProgramParameter4dNV'); + public z_ProgramParameter4dNV_ovr_0 := GetFuncOrNil&(z_ProgramParameter4dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dNV(target: VertexAttribEnumNV; index: UInt32; x: real; y: real; z: real; w: real); + begin + z_ProgramParameter4dNV_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramParameter4dvNV_adr := GetFuncAdr('glProgramParameter4dvNV'); + public z_ProgramParameter4dvNV_ovr_0 := GetFuncOrNil&(z_ProgramParameter4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dvNV(target: VertexAttribEnumNV; index: UInt32; v: array of real); + begin + z_ProgramParameter4dvNV_ovr_0(target, index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dvNV(target: VertexAttribEnumNV; index: UInt32; var v: real); + begin + z_ProgramParameter4dvNV_ovr_0(target, index, v); + end; + public z_ProgramParameter4dvNV_ovr_2 := GetFuncOrNil&(z_ProgramParameter4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4dvNV(target: VertexAttribEnumNV; index: UInt32; v: IntPtr); + begin + z_ProgramParameter4dvNV_ovr_2(target, index, v); + end; + + public z_ProgramParameter4fNV_adr := GetFuncAdr('glProgramParameter4fNV'); + public z_ProgramParameter4fNV_ovr_0 := GetFuncOrNil&(z_ProgramParameter4fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fNV(target: VertexAttribEnumNV; index: UInt32; x: single; y: single; z: single; w: single); + begin + z_ProgramParameter4fNV_ovr_0(target, index, x, y, z, w); + end; + + public z_ProgramParameter4fvNV_adr := GetFuncAdr('glProgramParameter4fvNV'); + public z_ProgramParameter4fvNV_ovr_0 := GetFuncOrNil&(z_ProgramParameter4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fvNV(target: VertexAttribEnumNV; index: UInt32; v: array of single); + begin + z_ProgramParameter4fvNV_ovr_0(target, index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fvNV(target: VertexAttribEnumNV; index: UInt32; var v: single); + begin + z_ProgramParameter4fvNV_ovr_0(target, index, v); + end; + public z_ProgramParameter4fvNV_ovr_2 := GetFuncOrNil&(z_ProgramParameter4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameter4fvNV(target: VertexAttribEnumNV; index: UInt32; v: IntPtr); + begin + z_ProgramParameter4fvNV_ovr_2(target, index, v); + end; + + public z_ProgramParameters4dvNV_adr := GetFuncAdr('glProgramParameters4dvNV'); + public z_ProgramParameters4dvNV_ovr_0 := GetFuncOrNil&(z_ProgramParameters4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4dvNV(target: VertexAttribEnumNV; index: UInt32; count: Int32; v: array of real); + begin + z_ProgramParameters4dvNV_ovr_0(target, index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4dvNV(target: VertexAttribEnumNV; index: UInt32; count: Int32; var v: real); + begin + z_ProgramParameters4dvNV_ovr_0(target, index, count, v); + end; + public z_ProgramParameters4dvNV_ovr_2 := GetFuncOrNil&(z_ProgramParameters4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4dvNV(target: VertexAttribEnumNV; index: UInt32; count: Int32; v: IntPtr); + begin + z_ProgramParameters4dvNV_ovr_2(target, index, count, v); + end; + + public z_ProgramParameters4fvNV_adr := GetFuncAdr('glProgramParameters4fvNV'); + public z_ProgramParameters4fvNV_ovr_0 := GetFuncOrNil&(z_ProgramParameters4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4fvNV(target: VertexAttribEnumNV; index: UInt32; count: Int32; v: array of single); + begin + z_ProgramParameters4fvNV_ovr_0(target, index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4fvNV(target: VertexAttribEnumNV; index: UInt32; count: Int32; var v: single); + begin + z_ProgramParameters4fvNV_ovr_0(target, index, count, v); + end; + public z_ProgramParameters4fvNV_ovr_2 := GetFuncOrNil&(z_ProgramParameters4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ProgramParameters4fvNV(target: VertexAttribEnumNV; index: UInt32; count: Int32; v: IntPtr); + begin + z_ProgramParameters4fvNV_ovr_2(target, index, count, v); + end; + + public z_RequestResidentProgramsNV_adr := GetFuncAdr('glRequestResidentProgramsNV'); + public z_RequestResidentProgramsNV_ovr_0 := GetFuncOrNil&(z_RequestResidentProgramsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RequestResidentProgramsNV(n: Int32; programs: array of UInt32); + begin + z_RequestResidentProgramsNV_ovr_0(n, programs[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RequestResidentProgramsNV(n: Int32; var programs: UInt32); + begin + z_RequestResidentProgramsNV_ovr_0(n, programs); + end; + public z_RequestResidentProgramsNV_ovr_2 := GetFuncOrNil&(z_RequestResidentProgramsNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RequestResidentProgramsNV(n: Int32; programs: IntPtr); + begin + z_RequestResidentProgramsNV_ovr_2(n, programs); + end; + + public z_TrackMatrixNV_adr := GetFuncAdr('glTrackMatrixNV'); + public z_TrackMatrixNV_ovr_0 := GetFuncOrNil&(z_TrackMatrixNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TrackMatrixNV(target: VertexAttribEnumNV; address: UInt32; matrix: VertexAttribEnumNV; transform: VertexAttribEnumNV); + begin + z_TrackMatrixNV_ovr_0(target, address, matrix, transform); + end; + + public z_VertexAttribPointerNV_adr := GetFuncAdr('glVertexAttribPointerNV'); + public z_VertexAttribPointerNV_ovr_0 := GetFuncOrNil&(z_VertexAttribPointerNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribPointerNV(index: UInt32; fsize: Int32; &type: VertexAttribEnumNV; stride: Int32; pointer: IntPtr); + begin + z_VertexAttribPointerNV_ovr_0(index, fsize, &type, stride, pointer); + end; + + public z_VertexAttrib1dNV_adr := GetFuncAdr('glVertexAttrib1dNV'); + public z_VertexAttrib1dNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dNV(index: UInt32; x: real); + begin + z_VertexAttrib1dNV_ovr_0(index, x); + end; + + public z_VertexAttrib1dvNV_adr := GetFuncAdr('glVertexAttrib1dvNV'); + public z_VertexAttrib1dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvNV(index: UInt32; v: array of real); + begin + z_VertexAttrib1dvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvNV(index: UInt32; var v: real); + begin + z_VertexAttrib1dvNV_ovr_0(index, v); + end; + public z_VertexAttrib1dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib1dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1dvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1dvNV_ovr_2(index, v); + end; + + public z_VertexAttrib1fNV_adr := GetFuncAdr('glVertexAttrib1fNV'); + public z_VertexAttrib1fNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fNV(index: UInt32; x: single); + begin + z_VertexAttrib1fNV_ovr_0(index, x); + end; + + public z_VertexAttrib1fvNV_adr := GetFuncAdr('glVertexAttrib1fvNV'); + public z_VertexAttrib1fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvNV(index: UInt32; v: array of single); + begin + z_VertexAttrib1fvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvNV(index: UInt32; var v: single); + begin + z_VertexAttrib1fvNV_ovr_0(index, v); + end; + public z_VertexAttrib1fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib1fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1fvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1fvNV_ovr_2(index, v); + end; + + public z_VertexAttrib1sNV_adr := GetFuncAdr('glVertexAttrib1sNV'); + public z_VertexAttrib1sNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1sNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1sNV(index: UInt32; x: Int16); + begin + z_VertexAttrib1sNV_ovr_0(index, x); + end; + + public z_VertexAttrib1svNV_adr := GetFuncAdr('glVertexAttrib1svNV'); + public z_VertexAttrib1svNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib1svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svNV(index: UInt32; v: array of Int16); + begin + z_VertexAttrib1svNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svNV(index: UInt32; var v: Int16); + begin + z_VertexAttrib1svNV_ovr_0(index, v); + end; + public z_VertexAttrib1svNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib1svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib1svNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib1svNV_ovr_2(index, v); + end; + + public z_VertexAttrib2dNV_adr := GetFuncAdr('glVertexAttrib2dNV'); + public z_VertexAttrib2dNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dNV(index: UInt32; x: real; y: real); + begin + z_VertexAttrib2dNV_ovr_0(index, x, y); + end; + + public z_VertexAttrib2dvNV_adr := GetFuncAdr('glVertexAttrib2dvNV'); + public z_VertexAttrib2dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvNV(index: UInt32; v: array of real); + begin + z_VertexAttrib2dvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvNV(index: UInt32; var v: real); + begin + z_VertexAttrib2dvNV_ovr_0(index, v); + end; + public z_VertexAttrib2dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib2dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2dvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2dvNV_ovr_2(index, v); + end; + + public z_VertexAttrib2fNV_adr := GetFuncAdr('glVertexAttrib2fNV'); + public z_VertexAttrib2fNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fNV(index: UInt32; x: single; y: single); + begin + z_VertexAttrib2fNV_ovr_0(index, x, y); + end; + + public z_VertexAttrib2fvNV_adr := GetFuncAdr('glVertexAttrib2fvNV'); + public z_VertexAttrib2fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvNV(index: UInt32; v: array of single); + begin + z_VertexAttrib2fvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvNV(index: UInt32; var v: single); + begin + z_VertexAttrib2fvNV_ovr_0(index, v); + end; + public z_VertexAttrib2fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib2fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2fvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2fvNV_ovr_2(index, v); + end; + + public z_VertexAttrib2sNV_adr := GetFuncAdr('glVertexAttrib2sNV'); + public z_VertexAttrib2sNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2sNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2sNV(index: UInt32; x: Int16; y: Int16); + begin + z_VertexAttrib2sNV_ovr_0(index, x, y); + end; + + public z_VertexAttrib2svNV_adr := GetFuncAdr('glVertexAttrib2svNV'); + public z_VertexAttrib2svNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib2svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svNV(index: UInt32; v: array of Int16); + begin + z_VertexAttrib2svNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svNV(index: UInt32; var v: Int16); + begin + z_VertexAttrib2svNV_ovr_0(index, v); + end; + public z_VertexAttrib2svNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib2svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib2svNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib2svNV_ovr_2(index, v); + end; + + public z_VertexAttrib3dNV_adr := GetFuncAdr('glVertexAttrib3dNV'); + public z_VertexAttrib3dNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dNV(index: UInt32; x: real; y: real; z: real); + begin + z_VertexAttrib3dNV_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3dvNV_adr := GetFuncAdr('glVertexAttrib3dvNV'); + public z_VertexAttrib3dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvNV(index: UInt32; v: array of real); + begin + z_VertexAttrib3dvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvNV(index: UInt32; var v: real); + begin + z_VertexAttrib3dvNV_ovr_0(index, v); + end; + public z_VertexAttrib3dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib3dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3dvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3dvNV_ovr_2(index, v); + end; + + public z_VertexAttrib3fNV_adr := GetFuncAdr('glVertexAttrib3fNV'); + public z_VertexAttrib3fNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fNV(index: UInt32; x: single; y: single; z: single); + begin + z_VertexAttrib3fNV_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3fvNV_adr := GetFuncAdr('glVertexAttrib3fvNV'); + public z_VertexAttrib3fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvNV(index: UInt32; v: array of single); + begin + z_VertexAttrib3fvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvNV(index: UInt32; var v: single); + begin + z_VertexAttrib3fvNV_ovr_0(index, v); + end; + public z_VertexAttrib3fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib3fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3fvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3fvNV_ovr_2(index, v); + end; + + public z_VertexAttrib3sNV_adr := GetFuncAdr('glVertexAttrib3sNV'); + public z_VertexAttrib3sNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3sNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3sNV(index: UInt32; x: Int16; y: Int16; z: Int16); + begin + z_VertexAttrib3sNV_ovr_0(index, x, y, z); + end; + + public z_VertexAttrib3svNV_adr := GetFuncAdr('glVertexAttrib3svNV'); + public z_VertexAttrib3svNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib3svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svNV(index: UInt32; v: array of Int16); + begin + z_VertexAttrib3svNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svNV(index: UInt32; var v: Int16); + begin + z_VertexAttrib3svNV_ovr_0(index, v); + end; + public z_VertexAttrib3svNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib3svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib3svNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib3svNV_ovr_2(index, v); + end; + + public z_VertexAttrib4dNV_adr := GetFuncAdr('glVertexAttrib4dNV'); + public z_VertexAttrib4dNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dNV(index: UInt32; x: real; y: real; z: real; w: real); + begin + z_VertexAttrib4dNV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4dvNV_adr := GetFuncAdr('glVertexAttrib4dvNV'); + public z_VertexAttrib4dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvNV(index: UInt32; v: array of real); + begin + z_VertexAttrib4dvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvNV(index: UInt32; var v: real); + begin + z_VertexAttrib4dvNV_ovr_0(index, v); + end; + public z_VertexAttrib4dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4dvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4dvNV_ovr_2(index, v); + end; + + public z_VertexAttrib4fNV_adr := GetFuncAdr('glVertexAttrib4fNV'); + public z_VertexAttrib4fNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fNV(index: UInt32; x: single; y: single; z: single; w: single); + begin + z_VertexAttrib4fNV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4fvNV_adr := GetFuncAdr('glVertexAttrib4fvNV'); + public z_VertexAttrib4fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvNV(index: UInt32; v: array of single); + begin + z_VertexAttrib4fvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvNV(index: UInt32; var v: single); + begin + z_VertexAttrib4fvNV_ovr_0(index, v); + end; + public z_VertexAttrib4fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4fvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4fvNV_ovr_2(index, v); + end; + + public z_VertexAttrib4sNV_adr := GetFuncAdr('glVertexAttrib4sNV'); + public z_VertexAttrib4sNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4sNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4sNV(index: UInt32; x: Int16; y: Int16; z: Int16; w: Int16); + begin + z_VertexAttrib4sNV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4svNV_adr := GetFuncAdr('glVertexAttrib4svNV'); + public z_VertexAttrib4svNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svNV(index: UInt32; v: array of Int16); + begin + z_VertexAttrib4svNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svNV(index: UInt32; var v: Int16); + begin + z_VertexAttrib4svNV_ovr_0(index, v); + end; + public z_VertexAttrib4svNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib4svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4svNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4svNV_ovr_2(index, v); + end; + + public z_VertexAttrib4ubNV_adr := GetFuncAdr('glVertexAttrib4ubNV'); + public z_VertexAttrib4ubNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ubNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubNV(index: UInt32; x: Byte; y: Byte; z: Byte; w: Byte); + begin + z_VertexAttrib4ubNV_ovr_0(index, x, y, z, w); + end; + + public z_VertexAttrib4ubvNV_adr := GetFuncAdr('glVertexAttrib4ubvNV'); + public z_VertexAttrib4ubvNV_ovr_0 := GetFuncOrNil&(z_VertexAttrib4ubvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvNV(index: UInt32; v: array of Byte); + begin + z_VertexAttrib4ubvNV_ovr_0(index, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvNV(index: UInt32; var v: Byte); + begin + z_VertexAttrib4ubvNV_ovr_0(index, v); + end; + public z_VertexAttrib4ubvNV_ovr_2 := GetFuncOrNil&(z_VertexAttrib4ubvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttrib4ubvNV(index: UInt32; v: IntPtr); + begin + z_VertexAttrib4ubvNV_ovr_2(index, v); + end; + + public z_VertexAttribs1dvNV_adr := GetFuncAdr('glVertexAttribs1dvNV'); + public z_VertexAttribs1dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs1dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1dvNV(index: UInt32; count: Int32; v: array of real); + begin + z_VertexAttribs1dvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1dvNV(index: UInt32; count: Int32; var v: real); + begin + z_VertexAttribs1dvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs1dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs1dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1dvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs1dvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs1fvNV_adr := GetFuncAdr('glVertexAttribs1fvNV'); + public z_VertexAttribs1fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs1fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1fvNV(index: UInt32; count: Int32; v: array of single); + begin + z_VertexAttribs1fvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1fvNV(index: UInt32; count: Int32; var v: single); + begin + z_VertexAttribs1fvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs1fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs1fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1fvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs1fvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs1svNV_adr := GetFuncAdr('glVertexAttribs1svNV'); + public z_VertexAttribs1svNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs1svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1svNV(index: UInt32; count: Int32; v: array of Int16); + begin + z_VertexAttribs1svNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1svNV(index: UInt32; count: Int32; var v: Int16); + begin + z_VertexAttribs1svNV_ovr_0(index, count, v); + end; + public z_VertexAttribs1svNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs1svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs1svNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs1svNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs2dvNV_adr := GetFuncAdr('glVertexAttribs2dvNV'); + public z_VertexAttribs2dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs2dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2dvNV(index: UInt32; count: Int32; v: array of real); + begin + z_VertexAttribs2dvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2dvNV(index: UInt32; count: Int32; var v: real); + begin + z_VertexAttribs2dvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs2dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs2dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2dvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs2dvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs2fvNV_adr := GetFuncAdr('glVertexAttribs2fvNV'); + public z_VertexAttribs2fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs2fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2fvNV(index: UInt32; count: Int32; v: array of single); + begin + z_VertexAttribs2fvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2fvNV(index: UInt32; count: Int32; var v: single); + begin + z_VertexAttribs2fvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs2fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs2fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2fvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs2fvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs2svNV_adr := GetFuncAdr('glVertexAttribs2svNV'); + public z_VertexAttribs2svNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs2svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2svNV(index: UInt32; count: Int32; v: array of Int16); + begin + z_VertexAttribs2svNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2svNV(index: UInt32; count: Int32; var v: Int16); + begin + z_VertexAttribs2svNV_ovr_0(index, count, v); + end; + public z_VertexAttribs2svNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs2svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs2svNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs2svNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs3dvNV_adr := GetFuncAdr('glVertexAttribs3dvNV'); + public z_VertexAttribs3dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs3dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3dvNV(index: UInt32; count: Int32; v: array of real); + begin + z_VertexAttribs3dvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3dvNV(index: UInt32; count: Int32; var v: real); + begin + z_VertexAttribs3dvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs3dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs3dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3dvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs3dvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs3fvNV_adr := GetFuncAdr('glVertexAttribs3fvNV'); + public z_VertexAttribs3fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs3fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3fvNV(index: UInt32; count: Int32; v: array of single); + begin + z_VertexAttribs3fvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3fvNV(index: UInt32; count: Int32; var v: single); + begin + z_VertexAttribs3fvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs3fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs3fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3fvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs3fvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs3svNV_adr := GetFuncAdr('glVertexAttribs3svNV'); + public z_VertexAttribs3svNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs3svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3svNV(index: UInt32; count: Int32; v: array of Int16); + begin + z_VertexAttribs3svNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3svNV(index: UInt32; count: Int32; var v: Int16); + begin + z_VertexAttribs3svNV_ovr_0(index, count, v); + end; + public z_VertexAttribs3svNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs3svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs3svNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs3svNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs4dvNV_adr := GetFuncAdr('glVertexAttribs4dvNV'); + public z_VertexAttribs4dvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4dvNV(index: UInt32; count: Int32; v: array of real); + begin + z_VertexAttribs4dvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4dvNV(index: UInt32; count: Int32; var v: real); + begin + z_VertexAttribs4dvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs4dvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs4dvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4dvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs4dvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs4fvNV_adr := GetFuncAdr('glVertexAttribs4fvNV'); + public z_VertexAttribs4fvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4fvNV(index: UInt32; count: Int32; v: array of single); + begin + z_VertexAttribs4fvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4fvNV(index: UInt32; count: Int32; var v: single); + begin + z_VertexAttribs4fvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs4fvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs4fvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4fvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs4fvNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs4svNV_adr := GetFuncAdr('glVertexAttribs4svNV'); + public z_VertexAttribs4svNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs4svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4svNV(index: UInt32; count: Int32; v: array of Int16); + begin + z_VertexAttribs4svNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4svNV(index: UInt32; count: Int32; var v: Int16); + begin + z_VertexAttribs4svNV_ovr_0(index, count, v); + end; + public z_VertexAttribs4svNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs4svNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4svNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs4svNV_ovr_2(index, count, v); + end; + + public z_VertexAttribs4ubvNV_adr := GetFuncAdr('glVertexAttribs4ubvNV'); + public z_VertexAttribs4ubvNV_ovr_0 := GetFuncOrNil&(z_VertexAttribs4ubvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4ubvNV(index: UInt32; count: Int32; v: array of Byte); + begin + z_VertexAttribs4ubvNV_ovr_0(index, count, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4ubvNV(index: UInt32; count: Int32; var v: Byte); + begin + z_VertexAttribs4ubvNV_ovr_0(index, count, v); + end; + public z_VertexAttribs4ubvNV_ovr_2 := GetFuncOrNil&(z_VertexAttribs4ubvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VertexAttribs4ubvNV(index: UInt32; count: Int32; v: IntPtr); + begin + z_VertexAttribs4ubvNV_ovr_2(index, count, v); + end; + + end; + + glVertexProgram4NV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + end; + + glVideoCaptureNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_BeginVideoCaptureNV_adr := GetFuncAdr('glBeginVideoCaptureNV'); + public z_BeginVideoCaptureNV_ovr_0 := GetFuncOrNil&(z_BeginVideoCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BeginVideoCaptureNV(video_capture_slot: UInt32); + begin + z_BeginVideoCaptureNV_ovr_0(video_capture_slot); + end; + + public z_BindVideoCaptureStreamBufferNV_adr := GetFuncAdr('glBindVideoCaptureStreamBufferNV'); + public z_BindVideoCaptureStreamBufferNV_ovr_0 := GetFuncOrNil&(z_BindVideoCaptureStreamBufferNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVideoCaptureStreamBufferNV(video_capture_slot: UInt32; stream: UInt32; frame_region: DummyEnum; offset: IntPtr); + begin + z_BindVideoCaptureStreamBufferNV_ovr_0(video_capture_slot, stream, frame_region, offset); + end; + + public z_BindVideoCaptureStreamTextureNV_adr := GetFuncAdr('glBindVideoCaptureStreamTextureNV'); + public z_BindVideoCaptureStreamTextureNV_ovr_0 := GetFuncOrNil&(z_BindVideoCaptureStreamTextureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BindVideoCaptureStreamTextureNV(video_capture_slot: UInt32; stream: UInt32; frame_region: DummyEnum; target: DummyEnum; texture: UInt32); + begin + z_BindVideoCaptureStreamTextureNV_ovr_0(video_capture_slot, stream, frame_region, target, texture); + end; + + public z_EndVideoCaptureNV_adr := GetFuncAdr('glEndVideoCaptureNV'); + public z_EndVideoCaptureNV_ovr_0 := GetFuncOrNil&(z_EndVideoCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EndVideoCaptureNV(video_capture_slot: UInt32); + begin + z_EndVideoCaptureNV_ovr_0(video_capture_slot); + end; + + public z_GetVideoCaptureivNV_adr := GetFuncAdr('glGetVideoCaptureivNV'); + public z_GetVideoCaptureivNV_ovr_0 := GetFuncOrNil&(z_GetVideoCaptureivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetVideoCaptureivNV_ovr_0(video_capture_slot, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetVideoCaptureivNV_ovr_0(video_capture_slot, pname, ¶ms); + end; + public z_GetVideoCaptureivNV_ovr_2 := GetFuncOrNil&(z_GetVideoCaptureivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureivNV(video_capture_slot: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoCaptureivNV_ovr_2(video_capture_slot, pname, ¶ms); + end; + + public z_GetVideoCaptureStreamivNV_adr := GetFuncAdr('glGetVideoCaptureStreamivNV'); + public z_GetVideoCaptureStreamivNV_ovr_0 := GetFuncOrNil&(z_GetVideoCaptureStreamivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of Int32); + begin + z_GetVideoCaptureStreamivNV_ovr_0(video_capture_slot, stream, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: Int32); + begin + z_GetVideoCaptureStreamivNV_ovr_0(video_capture_slot, stream, pname, ¶ms); + end; + public z_GetVideoCaptureStreamivNV_ovr_2 := GetFuncOrNil&(z_GetVideoCaptureStreamivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoCaptureStreamivNV_ovr_2(video_capture_slot, stream, pname, ¶ms); + end; + + public z_GetVideoCaptureStreamfvNV_adr := GetFuncAdr('glGetVideoCaptureStreamfvNV'); + public z_GetVideoCaptureStreamfvNV_ovr_0 := GetFuncOrNil&(z_GetVideoCaptureStreamfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of single); + begin + z_GetVideoCaptureStreamfvNV_ovr_0(video_capture_slot, stream, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: single); + begin + z_GetVideoCaptureStreamfvNV_ovr_0(video_capture_slot, stream, pname, ¶ms); + end; + public z_GetVideoCaptureStreamfvNV_ovr_2 := GetFuncOrNil&(z_GetVideoCaptureStreamfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoCaptureStreamfvNV_ovr_2(video_capture_slot, stream, pname, ¶ms); + end; + + public z_GetVideoCaptureStreamdvNV_adr := GetFuncAdr('glGetVideoCaptureStreamdvNV'); + public z_GetVideoCaptureStreamdvNV_ovr_0 := GetFuncOrNil&(z_GetVideoCaptureStreamdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of real); + begin + z_GetVideoCaptureStreamdvNV_ovr_0(video_capture_slot, stream, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: real); + begin + z_GetVideoCaptureStreamdvNV_ovr_0(video_capture_slot, stream, pname, ¶ms); + end; + public z_GetVideoCaptureStreamdvNV_ovr_2 := GetFuncOrNil&(z_GetVideoCaptureStreamdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetVideoCaptureStreamdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetVideoCaptureStreamdvNV_ovr_2(video_capture_slot, stream, pname, ¶ms); + end; + + public z_VideoCaptureNV_adr := GetFuncAdr('glVideoCaptureNV'); + public z_VideoCaptureNV_ovr_0 := GetFuncOrNil&(z_VideoCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; capture_time: array of UInt64): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_0(video_capture_slot, sequence_num[0], capture_time[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; var capture_time: UInt64): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_0(video_capture_slot, sequence_num[0], capture_time); + end; + public z_VideoCaptureNV_ovr_2 := GetFuncOrNil&(z_VideoCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: array of UInt32; capture_time: IntPtr): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_2(video_capture_slot, sequence_num[0], capture_time); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; capture_time: array of UInt64): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_0(video_capture_slot, sequence_num, capture_time[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; var capture_time: UInt64): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_0(video_capture_slot, sequence_num, capture_time); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; var sequence_num: UInt32; capture_time: IntPtr): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_2(video_capture_slot, sequence_num, capture_time); + end; + public z_VideoCaptureNV_ovr_6 := GetFuncOrNil&(z_VideoCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: IntPtr; capture_time: array of UInt64): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_6(video_capture_slot, sequence_num, capture_time[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: IntPtr; var capture_time: UInt64): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_6(video_capture_slot, sequence_num, capture_time); + end; + public z_VideoCaptureNV_ovr_8 := GetFuncOrNil&(z_VideoCaptureNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function VideoCaptureNV(video_capture_slot: UInt32; sequence_num: IntPtr; capture_time: IntPtr): DummyEnum; + begin + Result := z_VideoCaptureNV_ovr_8(video_capture_slot, sequence_num, capture_time); + end; + + public z_VideoCaptureStreamParameterivNV_adr := GetFuncAdr('glVideoCaptureStreamParameterivNV'); + public z_VideoCaptureStreamParameterivNV_ovr_0 := GetFuncOrNil&(z_VideoCaptureStreamParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of Int32); + begin + z_VideoCaptureStreamParameterivNV_ovr_0(video_capture_slot, stream, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: Int32); + begin + z_VideoCaptureStreamParameterivNV_ovr_0(video_capture_slot, stream, pname, ¶ms); + end; + public z_VideoCaptureStreamParameterivNV_ovr_2 := GetFuncOrNil&(z_VideoCaptureStreamParameterivNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterivNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_VideoCaptureStreamParameterivNV_ovr_2(video_capture_slot, stream, pname, ¶ms); + end; + + public z_VideoCaptureStreamParameterfvNV_adr := GetFuncAdr('glVideoCaptureStreamParameterfvNV'); + public z_VideoCaptureStreamParameterfvNV_ovr_0 := GetFuncOrNil&(z_VideoCaptureStreamParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of single); + begin + z_VideoCaptureStreamParameterfvNV_ovr_0(video_capture_slot, stream, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: single); + begin + z_VideoCaptureStreamParameterfvNV_ovr_0(video_capture_slot, stream, pname, ¶ms); + end; + public z_VideoCaptureStreamParameterfvNV_ovr_2 := GetFuncOrNil&(z_VideoCaptureStreamParameterfvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterfvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_VideoCaptureStreamParameterfvNV_ovr_2(video_capture_slot, stream, pname, ¶ms); + end; + + public z_VideoCaptureStreamParameterdvNV_adr := GetFuncAdr('glVideoCaptureStreamParameterdvNV'); + public z_VideoCaptureStreamParameterdvNV_ovr_0 := GetFuncOrNil&(z_VideoCaptureStreamParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: array of real); + begin + z_VideoCaptureStreamParameterdvNV_ovr_0(video_capture_slot, stream, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; var ¶ms: real); + begin + z_VideoCaptureStreamParameterdvNV_ovr_0(video_capture_slot, stream, pname, ¶ms); + end; + public z_VideoCaptureStreamParameterdvNV_ovr_2 := GetFuncOrNil&(z_VideoCaptureStreamParameterdvNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure VideoCaptureStreamParameterdvNV(video_capture_slot: UInt32; stream: UInt32; pname: DummyEnum; ¶ms: IntPtr); + begin + z_VideoCaptureStreamParameterdvNV_ovr_2(video_capture_slot, stream, pname, ¶ms); + end; + + end; + + glViewportSwizzleNV = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ViewportSwizzleNV_adr := GetFuncAdr('glViewportSwizzleNV'); + public z_ViewportSwizzleNV_ovr_0 := GetFuncOrNil&(z_ViewportSwizzleNV_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ViewportSwizzleNV(index: UInt32; swizzlex: DummyEnum; swizzley: DummyEnum; swizzlez: DummyEnum; swizzlew: DummyEnum); + begin + z_ViewportSwizzleNV_ovr_0(index, swizzlex, swizzley, swizzlez, swizzlew); + end; + + end; + + glByteCoordinatesOES = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_MultiTexCoord1bOES_adr := GetFuncAdr('glMultiTexCoord1bOES'); + public z_MultiTexCoord1bOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1bOES(texture: TextureUnit; s: SByte); + begin + z_MultiTexCoord1bOES_ovr_0(texture, s); + end; + + public z_MultiTexCoord1bvOES_adr := GetFuncAdr('glMultiTexCoord1bvOES'); + public z_MultiTexCoord1bvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1bvOES(texture: TextureUnit; coords: array of SByte); + begin + z_MultiTexCoord1bvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1bvOES(texture: TextureUnit; var coords: SByte); + begin + z_MultiTexCoord1bvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord1bvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1bvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord1bvOES_ovr_2(texture, coords); + end; + + public z_MultiTexCoord2bOES_adr := GetFuncAdr('glMultiTexCoord2bOES'); + public z_MultiTexCoord2bOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2bOES(texture: TextureUnit; s: SByte; t: SByte); + begin + z_MultiTexCoord2bOES_ovr_0(texture, s, t); + end; + + public z_MultiTexCoord2bvOES_adr := GetFuncAdr('glMultiTexCoord2bvOES'); + public z_MultiTexCoord2bvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2bvOES(texture: TextureUnit; coords: array of SByte); + begin + z_MultiTexCoord2bvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2bvOES(texture: TextureUnit; var coords: SByte); + begin + z_MultiTexCoord2bvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord2bvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2bvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord2bvOES_ovr_2(texture, coords); + end; + + public z_MultiTexCoord3bOES_adr := GetFuncAdr('glMultiTexCoord3bOES'); + public z_MultiTexCoord3bOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3bOES(texture: TextureUnit; s: SByte; t: SByte; r: SByte); + begin + z_MultiTexCoord3bOES_ovr_0(texture, s, t, r); + end; + + public z_MultiTexCoord3bvOES_adr := GetFuncAdr('glMultiTexCoord3bvOES'); + public z_MultiTexCoord3bvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3bvOES(texture: TextureUnit; coords: array of SByte); + begin + z_MultiTexCoord3bvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3bvOES(texture: TextureUnit; var coords: SByte); + begin + z_MultiTexCoord3bvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord3bvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3bvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord3bvOES_ovr_2(texture, coords); + end; + + public z_MultiTexCoord4bOES_adr := GetFuncAdr('glMultiTexCoord4bOES'); + public z_MultiTexCoord4bOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4bOES(texture: TextureUnit; s: SByte; t: SByte; r: SByte; q: SByte); + begin + z_MultiTexCoord4bOES_ovr_0(texture, s, t, r, q); + end; + + public z_MultiTexCoord4bvOES_adr := GetFuncAdr('glMultiTexCoord4bvOES'); + public z_MultiTexCoord4bvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4bvOES(texture: TextureUnit; coords: array of SByte); + begin + z_MultiTexCoord4bvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4bvOES(texture: TextureUnit; var coords: SByte); + begin + z_MultiTexCoord4bvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord4bvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4bvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord4bvOES_ovr_2(texture, coords); + end; + + public z_TexCoord1bOES_adr := GetFuncAdr('glTexCoord1bOES'); + public z_TexCoord1bOES_ovr_0 := GetFuncOrNil&(z_TexCoord1bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1bOES(s: SByte); + begin + z_TexCoord1bOES_ovr_0(s); + end; + + public z_TexCoord1bvOES_adr := GetFuncAdr('glTexCoord1bvOES'); + public z_TexCoord1bvOES_ovr_0 := GetFuncOrNil&(z_TexCoord1bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1bvOES(coords: array of SByte); + begin + z_TexCoord1bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1bvOES(var coords: SByte); + begin + z_TexCoord1bvOES_ovr_0(coords); + end; + public z_TexCoord1bvOES_ovr_2 := GetFuncOrNil&(z_TexCoord1bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1bvOES(coords: IntPtr); + begin + z_TexCoord1bvOES_ovr_2(coords); + end; + + public z_TexCoord2bOES_adr := GetFuncAdr('glTexCoord2bOES'); + public z_TexCoord2bOES_ovr_0 := GetFuncOrNil&(z_TexCoord2bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2bOES(s: SByte; t: SByte); + begin + z_TexCoord2bOES_ovr_0(s, t); + end; + + public z_TexCoord2bvOES_adr := GetFuncAdr('glTexCoord2bvOES'); + public z_TexCoord2bvOES_ovr_0 := GetFuncOrNil&(z_TexCoord2bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2bvOES(coords: array of SByte); + begin + z_TexCoord2bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2bvOES(var coords: SByte); + begin + z_TexCoord2bvOES_ovr_0(coords); + end; + public z_TexCoord2bvOES_ovr_2 := GetFuncOrNil&(z_TexCoord2bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2bvOES(coords: IntPtr); + begin + z_TexCoord2bvOES_ovr_2(coords); + end; + + public z_TexCoord3bOES_adr := GetFuncAdr('glTexCoord3bOES'); + public z_TexCoord3bOES_ovr_0 := GetFuncOrNil&(z_TexCoord3bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3bOES(s: SByte; t: SByte; r: SByte); + begin + z_TexCoord3bOES_ovr_0(s, t, r); + end; + + public z_TexCoord3bvOES_adr := GetFuncAdr('glTexCoord3bvOES'); + public z_TexCoord3bvOES_ovr_0 := GetFuncOrNil&(z_TexCoord3bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3bvOES(coords: array of SByte); + begin + z_TexCoord3bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3bvOES(var coords: SByte); + begin + z_TexCoord3bvOES_ovr_0(coords); + end; + public z_TexCoord3bvOES_ovr_2 := GetFuncOrNil&(z_TexCoord3bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3bvOES(coords: IntPtr); + begin + z_TexCoord3bvOES_ovr_2(coords); + end; + + public z_TexCoord4bOES_adr := GetFuncAdr('glTexCoord4bOES'); + public z_TexCoord4bOES_ovr_0 := GetFuncOrNil&(z_TexCoord4bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4bOES(s: SByte; t: SByte; r: SByte; q: SByte); + begin + z_TexCoord4bOES_ovr_0(s, t, r, q); + end; + + public z_TexCoord4bvOES_adr := GetFuncAdr('glTexCoord4bvOES'); + public z_TexCoord4bvOES_ovr_0 := GetFuncOrNil&(z_TexCoord4bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4bvOES(coords: array of SByte); + begin + z_TexCoord4bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4bvOES(var coords: SByte); + begin + z_TexCoord4bvOES_ovr_0(coords); + end; + public z_TexCoord4bvOES_ovr_2 := GetFuncOrNil&(z_TexCoord4bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4bvOES(coords: IntPtr); + begin + z_TexCoord4bvOES_ovr_2(coords); + end; + + public z_Vertex2bOES_adr := GetFuncAdr('glVertex2bOES'); + public z_Vertex2bOES_ovr_0 := GetFuncOrNil&(z_Vertex2bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2bOES(x: SByte; y: SByte); + begin + z_Vertex2bOES_ovr_0(x, y); + end; + + public z_Vertex2bvOES_adr := GetFuncAdr('glVertex2bvOES'); + public z_Vertex2bvOES_ovr_0 := GetFuncOrNil&(z_Vertex2bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2bvOES(coords: array of SByte); + begin + z_Vertex2bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2bvOES(var coords: SByte); + begin + z_Vertex2bvOES_ovr_0(coords); + end; + public z_Vertex2bvOES_ovr_2 := GetFuncOrNil&(z_Vertex2bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2bvOES(coords: IntPtr); + begin + z_Vertex2bvOES_ovr_2(coords); + end; + + public z_Vertex3bOES_adr := GetFuncAdr('glVertex3bOES'); + public z_Vertex3bOES_ovr_0 := GetFuncOrNil&(z_Vertex3bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3bOES(x: SByte; y: SByte; z: SByte); + begin + z_Vertex3bOES_ovr_0(x, y, z); + end; + + public z_Vertex3bvOES_adr := GetFuncAdr('glVertex3bvOES'); + public z_Vertex3bvOES_ovr_0 := GetFuncOrNil&(z_Vertex3bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3bvOES(coords: array of SByte); + begin + z_Vertex3bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3bvOES(var coords: SByte); + begin + z_Vertex3bvOES_ovr_0(coords); + end; + public z_Vertex3bvOES_ovr_2 := GetFuncOrNil&(z_Vertex3bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3bvOES(coords: IntPtr); + begin + z_Vertex3bvOES_ovr_2(coords); + end; + + public z_Vertex4bOES_adr := GetFuncAdr('glVertex4bOES'); + public z_Vertex4bOES_ovr_0 := GetFuncOrNil&(z_Vertex4bOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4bOES(x: SByte; y: SByte; z: SByte; w: SByte); + begin + z_Vertex4bOES_ovr_0(x, y, z, w); + end; + + public z_Vertex4bvOES_adr := GetFuncAdr('glVertex4bvOES'); + public z_Vertex4bvOES_ovr_0 := GetFuncOrNil&(z_Vertex4bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4bvOES(coords: array of SByte); + begin + z_Vertex4bvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4bvOES(var coords: SByte); + begin + z_Vertex4bvOES_ovr_0(coords); + end; + public z_Vertex4bvOES_ovr_2 := GetFuncOrNil&(z_Vertex4bvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4bvOES(coords: IntPtr); + begin + z_Vertex4bvOES_ovr_2(coords); + end; + + end; + + glFixedPointOES = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_AlphaFuncxOES_adr := GetFuncAdr('glAlphaFuncxOES'); + public z_AlphaFuncxOES_ovr_0 := GetFuncOrNil&(z_AlphaFuncxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AlphaFuncxOES(func: AlphaFunction; ref: Fixed); + begin + z_AlphaFuncxOES_ovr_0(func, ref); + end; + + public z_ClearColorxOES_adr := GetFuncAdr('glClearColorxOES'); + public z_ClearColorxOES_ovr_0 := GetFuncOrNil&(z_ClearColorxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearColorxOES(red: Fixed; green: Fixed; blue: Fixed; alpha: Fixed); + begin + z_ClearColorxOES_ovr_0(red, green, blue, alpha); + end; + + public z_ClearDepthxOES_adr := GetFuncAdr('glClearDepthxOES'); + public z_ClearDepthxOES_ovr_0 := GetFuncOrNil&(z_ClearDepthxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthxOES(depth: Fixed); + begin + z_ClearDepthxOES_ovr_0(depth); + end; + + public z_ClipPlanexOES_adr := GetFuncAdr('glClipPlanexOES'); + public z_ClipPlanexOES_ovr_0 := GetFuncOrNil&(z_ClipPlanexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexOES(plane: ClipPlaneName; equation: array of Fixed); + begin + z_ClipPlanexOES_ovr_0(plane, equation[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexOES(plane: ClipPlaneName; var equation: Fixed); + begin + z_ClipPlanexOES_ovr_0(plane, equation); + end; + public z_ClipPlanexOES_ovr_2 := GetFuncOrNil&(z_ClipPlanexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanexOES(plane: ClipPlaneName; equation: IntPtr); + begin + z_ClipPlanexOES_ovr_2(plane, equation); + end; + + public z_Color4xOES_adr := GetFuncAdr('glColor4xOES'); + public z_Color4xOES_ovr_0 := GetFuncOrNil&(z_Color4xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xOES(red: Fixed; green: Fixed; blue: Fixed; alpha: Fixed); + begin + z_Color4xOES_ovr_0(red, green, blue, alpha); + end; + + public z_DepthRangexOES_adr := GetFuncAdr('glDepthRangexOES'); + public z_DepthRangexOES_ovr_0 := GetFuncOrNil&(z_DepthRangexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangexOES(n: Fixed; f: Fixed); + begin + z_DepthRangexOES_ovr_0(n, f); + end; + + public z_FogxOES_adr := GetFuncAdr('glFogxOES'); + public z_FogxOES_ovr_0 := GetFuncOrNil&(z_FogxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxOES(pname: FogPName; param: Fixed); + begin + z_FogxOES_ovr_0(pname, param); + end; + + public z_FogxvOES_adr := GetFuncAdr('glFogxvOES'); + public z_FogxvOES_ovr_0 := GetFuncOrNil&(z_FogxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxvOES(pname: FogPName; param: array of Fixed); + begin + z_FogxvOES_ovr_0(pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxvOES(pname: FogPName; var param: Fixed); + begin + z_FogxvOES_ovr_0(pname, param); + end; + public z_FogxvOES_ovr_2 := GetFuncOrNil&(z_FogxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogxvOES(pname: FogPName; param: IntPtr); + begin + z_FogxvOES_ovr_2(pname, param); + end; + + public z_FrustumxOES_adr := GetFuncAdr('glFrustumxOES'); + public z_FrustumxOES_ovr_0 := GetFuncOrNil&(z_FrustumxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrustumxOES(l: Fixed; r: Fixed; b: Fixed; t: Fixed; n: Fixed; f: Fixed); + begin + z_FrustumxOES_ovr_0(l, r, b, t, n, f); + end; + + public z_GetClipPlanexOES_adr := GetFuncAdr('glGetClipPlanexOES'); + public z_GetClipPlanexOES_ovr_0 := GetFuncOrNil&(z_GetClipPlanexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanexOES(plane: ClipPlaneName; equation: array of Fixed); + begin + z_GetClipPlanexOES_ovr_0(plane, equation[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanexOES(plane: ClipPlaneName; var equation: Fixed); + begin + z_GetClipPlanexOES_ovr_0(plane, equation); + end; + public z_GetClipPlanexOES_ovr_2 := GetFuncOrNil&(z_GetClipPlanexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanexOES(plane: ClipPlaneName; equation: IntPtr); + begin + z_GetClipPlanexOES_ovr_2(plane, equation); + end; + + public z_GetFixedvOES_adr := GetFuncAdr('glGetFixedvOES'); + public z_GetFixedvOES_ovr_0 := GetFuncOrNil&(z_GetFixedvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFixedvOES(pname: GetPName; ¶ms: array of Fixed); + begin + z_GetFixedvOES_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFixedvOES(pname: GetPName; var ¶ms: Fixed); + begin + z_GetFixedvOES_ovr_0(pname, ¶ms); + end; + public z_GetFixedvOES_ovr_2 := GetFuncOrNil&(z_GetFixedvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFixedvOES(pname: GetPName; ¶ms: IntPtr); + begin + z_GetFixedvOES_ovr_2(pname, ¶ms); + end; + + public z_GetTexEnvxvOES_adr := GetFuncAdr('glGetTexEnvxvOES'); + public z_GetTexEnvxvOES_ovr_0 := GetFuncOrNil&(z_GetTexEnvxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvxvOES(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of Fixed); + begin + z_GetTexEnvxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvxvOES(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Fixed); + begin + z_GetTexEnvxvOES_ovr_0(target, pname, ¶ms); + end; + public z_GetTexEnvxvOES_ovr_2 := GetFuncOrNil&(z_GetTexEnvxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexEnvxvOES(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + begin + z_GetTexEnvxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_GetTexParameterxvOES_adr := GetFuncAdr('glGetTexParameterxvOES'); + public z_GetTexParameterxvOES_ovr_0 := GetFuncOrNil&(z_GetTexParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterxvOES(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Fixed); + begin + z_GetTexParameterxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterxvOES(target: TextureTarget; pname: GetTextureParameter; var ¶ms: Fixed); + begin + z_GetTexParameterxvOES_ovr_0(target, pname, ¶ms); + end; + public z_GetTexParameterxvOES_ovr_2 := GetFuncOrNil&(z_GetTexParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexParameterxvOES(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTexParameterxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_LightModelxOES_adr := GetFuncAdr('glLightModelxOES'); + public z_LightModelxOES_ovr_0 := GetFuncOrNil&(z_LightModelxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxOES(pname: LightModelParameter; param: Fixed); + begin + z_LightModelxOES_ovr_0(pname, param); + end; + + public z_LightModelxvOES_adr := GetFuncAdr('glLightModelxvOES'); + public z_LightModelxvOES_ovr_0 := GetFuncOrNil&(z_LightModelxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxvOES(pname: LightModelParameter; param: array of Fixed); + begin + z_LightModelxvOES_ovr_0(pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxvOES(pname: LightModelParameter; var param: Fixed); + begin + z_LightModelxvOES_ovr_0(pname, param); + end; + public z_LightModelxvOES_ovr_2 := GetFuncOrNil&(z_LightModelxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightModelxvOES(pname: LightModelParameter; param: IntPtr); + begin + z_LightModelxvOES_ovr_2(pname, param); + end; + + public z_LightxOES_adr := GetFuncAdr('glLightxOES'); + public z_LightxOES_ovr_0 := GetFuncOrNil&(z_LightxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxOES(light: LightName; pname: LightParameter; param: Fixed); + begin + z_LightxOES_ovr_0(light, pname, param); + end; + + public z_LightxvOES_adr := GetFuncAdr('glLightxvOES'); + public z_LightxvOES_ovr_0 := GetFuncOrNil&(z_LightxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxvOES(light: LightName; pname: LightParameter; ¶ms: array of Fixed); + begin + z_LightxvOES_ovr_0(light, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxvOES(light: LightName; pname: LightParameter; var ¶ms: Fixed); + begin + z_LightxvOES_ovr_0(light, pname, ¶ms); + end; + public z_LightxvOES_ovr_2 := GetFuncOrNil&(z_LightxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightxvOES(light: LightName; pname: LightParameter; ¶ms: IntPtr); + begin + z_LightxvOES_ovr_2(light, pname, ¶ms); + end; + + public z_LineWidthxOES_adr := GetFuncAdr('glLineWidthxOES'); + public z_LineWidthxOES_ovr_0 := GetFuncOrNil&(z_LineWidthxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LineWidthxOES(width: Fixed); + begin + z_LineWidthxOES_ovr_0(width); + end; + + public z_LoadMatrixxOES_adr := GetFuncAdr('glLoadMatrixxOES'); + public z_LoadMatrixxOES_ovr_0 := GetFuncOrNil&(z_LoadMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixxOES(m: array of Fixed); + begin + z_LoadMatrixxOES_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixxOES(var m: Fixed); + begin + z_LoadMatrixxOES_ovr_0(m); + end; + public z_LoadMatrixxOES_ovr_2 := GetFuncOrNil&(z_LoadMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadMatrixxOES(m: IntPtr); + begin + z_LoadMatrixxOES_ovr_2(m); + end; + + public z_MaterialxOES_adr := GetFuncAdr('glMaterialxOES'); + public z_MaterialxOES_ovr_0 := GetFuncOrNil&(z_MaterialxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxOES(face: DummyEnum; pname: MaterialParameter; param: Fixed); + begin + z_MaterialxOES_ovr_0(face, pname, param); + end; + + public z_MaterialxvOES_adr := GetFuncAdr('glMaterialxvOES'); + public z_MaterialxvOES_ovr_0 := GetFuncOrNil&(z_MaterialxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxvOES(face: DummyEnum; pname: MaterialParameter; param: array of Fixed); + begin + z_MaterialxvOES_ovr_0(face, pname, param[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxvOES(face: DummyEnum; pname: MaterialParameter; var param: Fixed); + begin + z_MaterialxvOES_ovr_0(face, pname, param); + end; + public z_MaterialxvOES_ovr_2 := GetFuncOrNil&(z_MaterialxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MaterialxvOES(face: DummyEnum; pname: MaterialParameter; param: IntPtr); + begin + z_MaterialxvOES_ovr_2(face, pname, param); + end; + + public z_MultMatrixxOES_adr := GetFuncAdr('glMultMatrixxOES'); + public z_MultMatrixxOES_ovr_0 := GetFuncOrNil&(z_MultMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixxOES(m: array of Fixed); + begin + z_MultMatrixxOES_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixxOES(var m: Fixed); + begin + z_MultMatrixxOES_ovr_0(m); + end; + public z_MultMatrixxOES_ovr_2 := GetFuncOrNil&(z_MultMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultMatrixxOES(m: IntPtr); + begin + z_MultMatrixxOES_ovr_2(m); + end; + + public z_MultiTexCoord4xOES_adr := GetFuncAdr('glMultiTexCoord4xOES'); + public z_MultiTexCoord4xOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xOES(texture: TextureUnit; s: Fixed; t: Fixed; r: Fixed; q: Fixed); + begin + z_MultiTexCoord4xOES_ovr_0(texture, s, t, r, q); + end; + + public z_Normal3xOES_adr := GetFuncAdr('glNormal3xOES'); + public z_Normal3xOES_ovr_0 := GetFuncOrNil&(z_Normal3xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xOES(nx: Fixed; ny: Fixed; nz: Fixed); + begin + z_Normal3xOES_ovr_0(nx, ny, nz); + end; + + public z_OrthoxOES_adr := GetFuncAdr('glOrthoxOES'); + public z_OrthoxOES_ovr_0 := GetFuncOrNil&(z_OrthoxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure OrthoxOES(l: Fixed; r: Fixed; b: Fixed; t: Fixed; n: Fixed; f: Fixed); + begin + z_OrthoxOES_ovr_0(l, r, b, t, n, f); + end; + + public z_PointParameterxvOES_adr := GetFuncAdr('glPointParameterxvOES'); + public z_PointParameterxvOES_ovr_0 := GetFuncOrNil&(z_PointParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterxvOES(pname: PointParameterNameARB; ¶ms: array of Fixed); + begin + z_PointParameterxvOES_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterxvOES(pname: PointParameterNameARB; var ¶ms: Fixed); + begin + z_PointParameterxvOES_ovr_0(pname, ¶ms); + end; + public z_PointParameterxvOES_ovr_2 := GetFuncOrNil&(z_PointParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterxvOES(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameterxvOES_ovr_2(pname, ¶ms); + end; + + public z_PointSizexOES_adr := GetFuncAdr('glPointSizexOES'); + public z_PointSizexOES_ovr_0 := GetFuncOrNil&(z_PointSizexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointSizexOES(size: Fixed); + begin + z_PointSizexOES_ovr_0(size); + end; + + public z_PolygonOffsetxOES_adr := GetFuncAdr('glPolygonOffsetxOES'); + public z_PolygonOffsetxOES_ovr_0 := GetFuncOrNil&(z_PolygonOffsetxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PolygonOffsetxOES(factor: Fixed; units: Fixed); + begin + z_PolygonOffsetxOES_ovr_0(factor, units); + end; + + public z_RotatexOES_adr := GetFuncAdr('glRotatexOES'); + public z_RotatexOES_ovr_0 := GetFuncOrNil&(z_RotatexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RotatexOES(angle: Fixed; x: Fixed; y: Fixed; z: Fixed); + begin + z_RotatexOES_ovr_0(angle, x, y, z); + end; + + public z_ScalexOES_adr := GetFuncAdr('glScalexOES'); + public z_ScalexOES_ovr_0 := GetFuncOrNil&(z_ScalexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ScalexOES(x: Fixed; y: Fixed; z: Fixed); + begin + z_ScalexOES_ovr_0(x, y, z); + end; + + public z_TexEnvxOES_adr := GetFuncAdr('glTexEnvxOES'); + public z_TexEnvxOES_ovr_0 := GetFuncOrNil&(z_TexEnvxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxOES(target: TextureEnvTarget; pname: TextureEnvParameter; param: Fixed); + begin + z_TexEnvxOES_ovr_0(target, pname, param); + end; + + public z_TexEnvxvOES_adr := GetFuncAdr('glTexEnvxvOES'); + public z_TexEnvxvOES_ovr_0 := GetFuncOrNil&(z_TexEnvxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxvOES(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: array of Fixed); + begin + z_TexEnvxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxvOES(target: TextureEnvTarget; pname: TextureEnvParameter; var ¶ms: Fixed); + begin + z_TexEnvxvOES_ovr_0(target, pname, ¶ms); + end; + public z_TexEnvxvOES_ovr_2 := GetFuncOrNil&(z_TexEnvxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexEnvxvOES(target: TextureEnvTarget; pname: TextureEnvParameter; ¶ms: IntPtr); + begin + z_TexEnvxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_TexParameterxOES_adr := GetFuncAdr('glTexParameterxOES'); + public z_TexParameterxOES_ovr_0 := GetFuncOrNil&(z_TexParameterxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxOES(target: TextureTarget; pname: GetTextureParameter; param: Fixed); + begin + z_TexParameterxOES_ovr_0(target, pname, param); + end; + + public z_TexParameterxvOES_adr := GetFuncAdr('glTexParameterxvOES'); + public z_TexParameterxvOES_ovr_0 := GetFuncOrNil&(z_TexParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxvOES(target: TextureTarget; pname: GetTextureParameter; ¶ms: array of Fixed); + begin + z_TexParameterxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxvOES(target: TextureTarget; pname: GetTextureParameter; var ¶ms: Fixed); + begin + z_TexParameterxvOES_ovr_0(target, pname, ¶ms); + end; + public z_TexParameterxvOES_ovr_2 := GetFuncOrNil&(z_TexParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexParameterxvOES(target: TextureTarget; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_TexParameterxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_TranslatexOES_adr := GetFuncAdr('glTranslatexOES'); + public z_TranslatexOES_ovr_0 := GetFuncOrNil&(z_TranslatexOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TranslatexOES(x: Fixed; y: Fixed; z: Fixed); + begin + z_TranslatexOES_ovr_0(x, y, z); + end; + + public z_AccumxOES_adr := GetFuncAdr('glAccumxOES'); + public z_AccumxOES_ovr_0 := GetFuncOrNil&(z_AccumxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AccumxOES(op: DummyEnum; value: Fixed); + begin + z_AccumxOES_ovr_0(op, value); + end; + + public z_BitmapxOES_adr := GetFuncAdr('glBitmapxOES'); + public z_BitmapxOES_ovr_0 := GetFuncOrNil&(z_BitmapxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BitmapxOES(width: Int32; height: Int32; xorig: Fixed; yorig: Fixed; xmove: Fixed; ymove: Fixed; bitmap: array of Byte); + begin + z_BitmapxOES_ovr_0(width, height, xorig, yorig, xmove, ymove, bitmap[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BitmapxOES(width: Int32; height: Int32; xorig: Fixed; yorig: Fixed; xmove: Fixed; ymove: Fixed; var bitmap: Byte); + begin + z_BitmapxOES_ovr_0(width, height, xorig, yorig, xmove, ymove, bitmap); + end; + public z_BitmapxOES_ovr_2 := GetFuncOrNil&(z_BitmapxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BitmapxOES(width: Int32; height: Int32; xorig: Fixed; yorig: Fixed; xmove: Fixed; ymove: Fixed; bitmap: IntPtr); + begin + z_BitmapxOES_ovr_2(width, height, xorig, yorig, xmove, ymove, bitmap); + end; + + public z_BlendColorxOES_adr := GetFuncAdr('glBlendColorxOES'); + public z_BlendColorxOES_ovr_0 := GetFuncOrNil&(z_BlendColorxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure BlendColorxOES(red: Fixed; green: Fixed; blue: Fixed; alpha: Fixed); + begin + z_BlendColorxOES_ovr_0(red, green, blue, alpha); + end; + + public z_ClearAccumxOES_adr := GetFuncAdr('glClearAccumxOES'); + public z_ClearAccumxOES_ovr_0 := GetFuncOrNil&(z_ClearAccumxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearAccumxOES(red: Fixed; green: Fixed; blue: Fixed; alpha: Fixed); + begin + z_ClearAccumxOES_ovr_0(red, green, blue, alpha); + end; + + public z_Color3xOES_adr := GetFuncAdr('glColor3xOES'); + public z_Color3xOES_ovr_0 := GetFuncOrNil&(z_Color3xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xOES(red: Fixed; green: Fixed; blue: Fixed); + begin + z_Color3xOES_ovr_0(red, green, blue); + end; + + public z_Color3xvOES_adr := GetFuncAdr('glColor3xvOES'); + public z_Color3xvOES_ovr_0 := GetFuncOrNil&(z_Color3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xvOES(components: array of Fixed); + begin + z_Color3xvOES_ovr_0(components[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xvOES(var components: Fixed); + begin + z_Color3xvOES_ovr_0(components); + end; + public z_Color3xvOES_ovr_2 := GetFuncOrNil&(z_Color3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3xvOES(components: IntPtr); + begin + z_Color3xvOES_ovr_2(components); + end; + + public z_Color4xvOES_adr := GetFuncAdr('glColor4xvOES'); + public z_Color4xvOES_ovr_0 := GetFuncOrNil&(z_Color4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xvOES(components: array of Fixed); + begin + z_Color4xvOES_ovr_0(components[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xvOES(var components: Fixed); + begin + z_Color4xvOES_ovr_0(components); + end; + public z_Color4xvOES_ovr_2 := GetFuncOrNil&(z_Color4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4xvOES(components: IntPtr); + begin + z_Color4xvOES_ovr_2(components); + end; + + public z_ConvolutionParameterxOES_adr := GetFuncAdr('glConvolutionParameterxOES'); + public z_ConvolutionParameterxOES_ovr_0 := GetFuncOrNil&(z_ConvolutionParameterxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxOES(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; param: Fixed); + begin + z_ConvolutionParameterxOES_ovr_0(target, pname, param); + end; + + public z_ConvolutionParameterxvOES_adr := GetFuncAdr('glConvolutionParameterxvOES'); + public z_ConvolutionParameterxvOES_ovr_0 := GetFuncOrNil&(z_ConvolutionParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxvOES(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: array of Fixed); + begin + z_ConvolutionParameterxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxvOES(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; var ¶ms: Fixed); + begin + z_ConvolutionParameterxvOES_ovr_0(target, pname, ¶ms); + end; + public z_ConvolutionParameterxvOES_ovr_2 := GetFuncOrNil&(z_ConvolutionParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ConvolutionParameterxvOES(target: ConvolutionTargetEXT; pname: ConvolutionParameterEXT; ¶ms: IntPtr); + begin + z_ConvolutionParameterxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_EvalCoord1xOES_adr := GetFuncAdr('glEvalCoord1xOES'); + public z_EvalCoord1xOES_ovr_0 := GetFuncOrNil&(z_EvalCoord1xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xOES(u: Fixed); + begin + z_EvalCoord1xOES_ovr_0(u); + end; + + public z_EvalCoord1xvOES_adr := GetFuncAdr('glEvalCoord1xvOES'); + public z_EvalCoord1xvOES_ovr_0 := GetFuncOrNil&(z_EvalCoord1xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xvOES(coords: array of Fixed); + begin + z_EvalCoord1xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xvOES(var coords: Fixed); + begin + z_EvalCoord1xvOES_ovr_0(coords); + end; + public z_EvalCoord1xvOES_ovr_2 := GetFuncOrNil&(z_EvalCoord1xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord1xvOES(coords: IntPtr); + begin + z_EvalCoord1xvOES_ovr_2(coords); + end; + + public z_EvalCoord2xOES_adr := GetFuncAdr('glEvalCoord2xOES'); + public z_EvalCoord2xOES_ovr_0 := GetFuncOrNil&(z_EvalCoord2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xOES(u: Fixed; v: Fixed); + begin + z_EvalCoord2xOES_ovr_0(u, v); + end; + + public z_EvalCoord2xvOES_adr := GetFuncAdr('glEvalCoord2xvOES'); + public z_EvalCoord2xvOES_ovr_0 := GetFuncOrNil&(z_EvalCoord2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xvOES(coords: array of Fixed); + begin + z_EvalCoord2xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xvOES(var coords: Fixed); + begin + z_EvalCoord2xvOES_ovr_0(coords); + end; + public z_EvalCoord2xvOES_ovr_2 := GetFuncOrNil&(z_EvalCoord2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure EvalCoord2xvOES(coords: IntPtr); + begin + z_EvalCoord2xvOES_ovr_2(coords); + end; + + public z_FeedbackBufferxOES_adr := GetFuncAdr('glFeedbackBufferxOES'); + public z_FeedbackBufferxOES_ovr_0 := GetFuncOrNil&(z_FeedbackBufferxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBufferxOES(n: Int32; &type: DummyEnum; buffer: array of Fixed); + begin + z_FeedbackBufferxOES_ovr_0(n, &type, buffer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBufferxOES(n: Int32; &type: DummyEnum; var buffer: Fixed); + begin + z_FeedbackBufferxOES_ovr_0(n, &type, buffer); + end; + public z_FeedbackBufferxOES_ovr_2 := GetFuncOrNil&(z_FeedbackBufferxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FeedbackBufferxOES(n: Int32; &type: DummyEnum; buffer: IntPtr); + begin + z_FeedbackBufferxOES_ovr_2(n, &type, buffer); + end; + + public z_GetConvolutionParameterxvOES_adr := GetFuncAdr('glGetConvolutionParameterxvOES'); + public z_GetConvolutionParameterxvOES_ovr_0 := GetFuncOrNil&(z_GetConvolutionParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: array of Fixed); + begin + z_GetConvolutionParameterxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; var ¶ms: Fixed); + begin + z_GetConvolutionParameterxvOES_ovr_0(target, pname, ¶ms); + end; + public z_GetConvolutionParameterxvOES_ovr_2 := GetFuncOrNil&(z_GetConvolutionParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetConvolutionParameterxvOES(target: DummyEnum; pname: DummyEnum; ¶ms: IntPtr); + begin + z_GetConvolutionParameterxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_GetHistogramParameterxvOES_adr := GetFuncAdr('glGetHistogramParameterxvOES'); + public z_GetHistogramParameterxvOES_ovr_0 := GetFuncOrNil&(z_GetHistogramParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterxvOES(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; ¶ms: array of Fixed); + begin + z_GetHistogramParameterxvOES_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterxvOES(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; var ¶ms: Fixed); + begin + z_GetHistogramParameterxvOES_ovr_0(target, pname, ¶ms); + end; + public z_GetHistogramParameterxvOES_ovr_2 := GetFuncOrNil&(z_GetHistogramParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetHistogramParameterxvOES(target: HistogramTargetEXT; pname: GetHistogramParameterPNameEXT; ¶ms: IntPtr); + begin + z_GetHistogramParameterxvOES_ovr_2(target, pname, ¶ms); + end; + + public z_GetLightxOES_adr := GetFuncAdr('glGetLightxOES'); + public z_GetLightxOES_ovr_0 := GetFuncOrNil&(z_GetLightxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxOES(light: LightName; pname: LightParameter; ¶ms: array of Fixed); + begin + z_GetLightxOES_ovr_0(light, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxOES(light: LightName; pname: LightParameter; var ¶ms: Fixed); + begin + z_GetLightxOES_ovr_0(light, pname, ¶ms); + end; + public z_GetLightxOES_ovr_2 := GetFuncOrNil&(z_GetLightxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetLightxOES(light: LightName; pname: LightParameter; ¶ms: IntPtr); + begin + z_GetLightxOES_ovr_2(light, pname, ¶ms); + end; + + public z_GetMapxvOES_adr := GetFuncAdr('glGetMapxvOES'); + public z_GetMapxvOES_ovr_0 := GetFuncOrNil&(z_GetMapxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapxvOES(target: MapTarget; query: GetMapQuery; v: array of Fixed); + begin + z_GetMapxvOES_ovr_0(target, query, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapxvOES(target: MapTarget; query: GetMapQuery; var v: Fixed); + begin + z_GetMapxvOES_ovr_0(target, query, v); + end; + public z_GetMapxvOES_ovr_2 := GetFuncOrNil&(z_GetMapxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMapxvOES(target: MapTarget; query: GetMapQuery; v: IntPtr); + begin + z_GetMapxvOES_ovr_2(target, query, v); + end; + + public z_GetMaterialxOES_adr := GetFuncAdr('glGetMaterialxOES'); + public z_GetMaterialxOES_ovr_0 := GetFuncOrNil&(z_GetMaterialxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetMaterialxOES(face: DummyEnum; pname: MaterialParameter; param: Fixed); + begin + z_GetMaterialxOES_ovr_0(face, pname, param); + end; + + public z_GetTexGenxvOES_adr := GetFuncAdr('glGetTexGenxvOES'); + public z_GetTexGenxvOES_ovr_0 := GetFuncOrNil&(z_GetTexGenxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenxvOES(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of Fixed); + begin + z_GetTexGenxvOES_ovr_0(coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenxvOES(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Fixed); + begin + z_GetTexGenxvOES_ovr_0(coord, pname, ¶ms); + end; + public z_GetTexGenxvOES_ovr_2 := GetFuncOrNil&(z_GetTexGenxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexGenxvOES(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_GetTexGenxvOES_ovr_2(coord, pname, ¶ms); + end; + + public z_GetTexLevelParameterxvOES_adr := GetFuncAdr('glGetTexLevelParameterxvOES'); + public z_GetTexLevelParameterxvOES_ovr_0 := GetFuncOrNil&(z_GetTexLevelParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterxvOES(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: array of Fixed); + begin + z_GetTexLevelParameterxvOES_ovr_0(target, level, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterxvOES(target: TextureTarget; level: Int32; pname: GetTextureParameter; var ¶ms: Fixed); + begin + z_GetTexLevelParameterxvOES_ovr_0(target, level, pname, ¶ms); + end; + public z_GetTexLevelParameterxvOES_ovr_2 := GetFuncOrNil&(z_GetTexLevelParameterxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexLevelParameterxvOES(target: TextureTarget; level: Int32; pname: GetTextureParameter; ¶ms: IntPtr); + begin + z_GetTexLevelParameterxvOES_ovr_2(target, level, pname, ¶ms); + end; + + public z_IndexxOES_adr := GetFuncAdr('glIndexxOES'); + public z_IndexxOES_ovr_0 := GetFuncOrNil&(z_IndexxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxOES(component: Fixed); + begin + z_IndexxOES_ovr_0(component); + end; + + public z_IndexxvOES_adr := GetFuncAdr('glIndexxvOES'); + public z_IndexxvOES_ovr_0 := GetFuncOrNil&(z_IndexxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxvOES(component: array of Fixed); + begin + z_IndexxvOES_ovr_0(component[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxvOES(var component: Fixed); + begin + z_IndexxvOES_ovr_0(component); + end; + public z_IndexxvOES_ovr_2 := GetFuncOrNil&(z_IndexxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IndexxvOES(component: IntPtr); + begin + z_IndexxvOES_ovr_2(component); + end; + + public z_LoadTransposeMatrixxOES_adr := GetFuncAdr('glLoadTransposeMatrixxOES'); + public z_LoadTransposeMatrixxOES_ovr_0 := GetFuncOrNil&(z_LoadTransposeMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixxOES(m: array of Fixed); + begin + z_LoadTransposeMatrixxOES_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixxOES(var m: Fixed); + begin + z_LoadTransposeMatrixxOES_ovr_0(m); + end; + public z_LoadTransposeMatrixxOES_ovr_2 := GetFuncOrNil&(z_LoadTransposeMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadTransposeMatrixxOES(m: IntPtr); + begin + z_LoadTransposeMatrixxOES_ovr_2(m); + end; + + public z_Map1xOES_adr := GetFuncAdr('glMap1xOES'); + public z_Map1xOES_ovr_0 := GetFuncOrNil&(z_Map1xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map1xOES(target: MapTarget; u1: Fixed; u2: Fixed; stride: Int32; order: Int32; points: Fixed); + begin + z_Map1xOES_ovr_0(target, u1, u2, stride, order, points); + end; + + public z_Map2xOES_adr := GetFuncAdr('glMap2xOES'); + public z_Map2xOES_ovr_0 := GetFuncOrNil&(z_Map2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Map2xOES(target: MapTarget; u1: Fixed; u2: Fixed; ustride: Int32; uorder: Int32; v1: Fixed; v2: Fixed; vstride: Int32; vorder: Int32; points: Fixed); + begin + z_Map2xOES_ovr_0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); + end; + + public z_MapGrid1xOES_adr := GetFuncAdr('glMapGrid1xOES'); + public z_MapGrid1xOES_ovr_0 := GetFuncOrNil&(z_MapGrid1xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid1xOES(n: Int32; u1: Fixed; u2: Fixed); + begin + z_MapGrid1xOES_ovr_0(n, u1, u2); + end; + + public z_MapGrid2xOES_adr := GetFuncAdr('glMapGrid2xOES'); + public z_MapGrid2xOES_ovr_0 := GetFuncOrNil&(z_MapGrid2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MapGrid2xOES(n: Int32; u1: Fixed; u2: Fixed; v1: Fixed; v2: Fixed); + begin + z_MapGrid2xOES_ovr_0(n, u1, u2, v1, v2); + end; + + public z_MultTransposeMatrixxOES_adr := GetFuncAdr('glMultTransposeMatrixxOES'); + public z_MultTransposeMatrixxOES_ovr_0 := GetFuncOrNil&(z_MultTransposeMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixxOES(m: array of Fixed); + begin + z_MultTransposeMatrixxOES_ovr_0(m[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixxOES(var m: Fixed); + begin + z_MultTransposeMatrixxOES_ovr_0(m); + end; + public z_MultTransposeMatrixxOES_ovr_2 := GetFuncOrNil&(z_MultTransposeMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultTransposeMatrixxOES(m: IntPtr); + begin + z_MultTransposeMatrixxOES_ovr_2(m); + end; + + public z_MultiTexCoord1xOES_adr := GetFuncAdr('glMultiTexCoord1xOES'); + public z_MultiTexCoord1xOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xOES(texture: TextureUnit; s: Fixed); + begin + z_MultiTexCoord1xOES_ovr_0(texture, s); + end; + + public z_MultiTexCoord1xvOES_adr := GetFuncAdr('glMultiTexCoord1xvOES'); + public z_MultiTexCoord1xvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord1xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xvOES(texture: TextureUnit; coords: array of Fixed); + begin + z_MultiTexCoord1xvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xvOES(texture: TextureUnit; var coords: Fixed); + begin + z_MultiTexCoord1xvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord1xvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord1xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord1xvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord1xvOES_ovr_2(texture, coords); + end; + + public z_MultiTexCoord2xOES_adr := GetFuncAdr('glMultiTexCoord2xOES'); + public z_MultiTexCoord2xOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xOES(texture: TextureUnit; s: Fixed; t: Fixed); + begin + z_MultiTexCoord2xOES_ovr_0(texture, s, t); + end; + + public z_MultiTexCoord2xvOES_adr := GetFuncAdr('glMultiTexCoord2xvOES'); + public z_MultiTexCoord2xvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xvOES(texture: TextureUnit; coords: array of Fixed); + begin + z_MultiTexCoord2xvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xvOES(texture: TextureUnit; var coords: Fixed); + begin + z_MultiTexCoord2xvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord2xvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord2xvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord2xvOES_ovr_2(texture, coords); + end; + + public z_MultiTexCoord3xOES_adr := GetFuncAdr('glMultiTexCoord3xOES'); + public z_MultiTexCoord3xOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xOES(texture: TextureUnit; s: Fixed; t: Fixed; r: Fixed); + begin + z_MultiTexCoord3xOES_ovr_0(texture, s, t, r); + end; + + public z_MultiTexCoord3xvOES_adr := GetFuncAdr('glMultiTexCoord3xvOES'); + public z_MultiTexCoord3xvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xvOES(texture: TextureUnit; coords: array of Fixed); + begin + z_MultiTexCoord3xvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xvOES(texture: TextureUnit; var coords: Fixed); + begin + z_MultiTexCoord3xvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord3xvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord3xvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord3xvOES_ovr_2(texture, coords); + end; + + public z_MultiTexCoord4xvOES_adr := GetFuncAdr('glMultiTexCoord4xvOES'); + public z_MultiTexCoord4xvOES_ovr_0 := GetFuncOrNil&(z_MultiTexCoord4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xvOES(texture: TextureUnit; coords: array of Fixed); + begin + z_MultiTexCoord4xvOES_ovr_0(texture, coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xvOES(texture: TextureUnit; var coords: Fixed); + begin + z_MultiTexCoord4xvOES_ovr_0(texture, coords); + end; + public z_MultiTexCoord4xvOES_ovr_2 := GetFuncOrNil&(z_MultiTexCoord4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure MultiTexCoord4xvOES(texture: TextureUnit; coords: IntPtr); + begin + z_MultiTexCoord4xvOES_ovr_2(texture, coords); + end; + + public z_Normal3xvOES_adr := GetFuncAdr('glNormal3xvOES'); + public z_Normal3xvOES_ovr_0 := GetFuncOrNil&(z_Normal3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xvOES(coords: array of Fixed); + begin + z_Normal3xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xvOES(var coords: Fixed); + begin + z_Normal3xvOES_ovr_0(coords); + end; + public z_Normal3xvOES_ovr_2 := GetFuncOrNil&(z_Normal3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3xvOES(coords: IntPtr); + begin + z_Normal3xvOES_ovr_2(coords); + end; + + public z_PassThroughxOES_adr := GetFuncAdr('glPassThroughxOES'); + public z_PassThroughxOES_ovr_0 := GetFuncOrNil&(z_PassThroughxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PassThroughxOES(token: Fixed); + begin + z_PassThroughxOES_ovr_0(token); + end; + + public z_PixelTransferxOES_adr := GetFuncAdr('glPixelTransferxOES'); + public z_PixelTransferxOES_ovr_0 := GetFuncOrNil&(z_PixelTransferxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTransferxOES(pname: PixelTransferParameter; param: Fixed); + begin + z_PixelTransferxOES_ovr_0(pname, param); + end; + + public z_PixelZoomxOES_adr := GetFuncAdr('glPixelZoomxOES'); + public z_PixelZoomxOES_ovr_0 := GetFuncOrNil&(z_PixelZoomxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelZoomxOES(xfactor: Fixed; yfactor: Fixed); + begin + z_PixelZoomxOES_ovr_0(xfactor, yfactor); + end; + + public z_PrioritizeTexturesxOES_adr := GetFuncAdr('glPrioritizeTexturesxOES'); + public z_PrioritizeTexturesxOES_ovr_0 := GetFuncOrNil&(z_PrioritizeTexturesxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: array of UInt32; priorities: array of Fixed); + begin + z_PrioritizeTexturesxOES_ovr_0(n, textures[0], priorities[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: array of UInt32; var priorities: Fixed); + begin + z_PrioritizeTexturesxOES_ovr_0(n, textures[0], priorities); + end; + public z_PrioritizeTexturesxOES_ovr_2 := GetFuncOrNil&(z_PrioritizeTexturesxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: array of UInt32; priorities: IntPtr); + begin + z_PrioritizeTexturesxOES_ovr_2(n, textures[0], priorities); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; var textures: UInt32; priorities: array of Fixed); + begin + z_PrioritizeTexturesxOES_ovr_0(n, textures, priorities[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; var textures: UInt32; var priorities: Fixed); + begin + z_PrioritizeTexturesxOES_ovr_0(n, textures, priorities); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; var textures: UInt32; priorities: IntPtr); + begin + z_PrioritizeTexturesxOES_ovr_2(n, textures, priorities); + end; + public z_PrioritizeTexturesxOES_ovr_6 := GetFuncOrNil&(z_PrioritizeTexturesxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: IntPtr; priorities: array of Fixed); + begin + z_PrioritizeTexturesxOES_ovr_6(n, textures, priorities[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: IntPtr; var priorities: Fixed); + begin + z_PrioritizeTexturesxOES_ovr_6(n, textures, priorities); + end; + public z_PrioritizeTexturesxOES_ovr_8 := GetFuncOrNil&(z_PrioritizeTexturesxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PrioritizeTexturesxOES(n: Int32; textures: IntPtr; priorities: IntPtr); + begin + z_PrioritizeTexturesxOES_ovr_8(n, textures, priorities); + end; + + public z_RasterPos2xOES_adr := GetFuncAdr('glRasterPos2xOES'); + public z_RasterPos2xOES_ovr_0 := GetFuncOrNil&(z_RasterPos2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xOES(x: Fixed; y: Fixed); + begin + z_RasterPos2xOES_ovr_0(x, y); + end; + + public z_RasterPos2xvOES_adr := GetFuncAdr('glRasterPos2xvOES'); + public z_RasterPos2xvOES_ovr_0 := GetFuncOrNil&(z_RasterPos2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xvOES(coords: array of Fixed); + begin + z_RasterPos2xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xvOES(var coords: Fixed); + begin + z_RasterPos2xvOES_ovr_0(coords); + end; + public z_RasterPos2xvOES_ovr_2 := GetFuncOrNil&(z_RasterPos2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos2xvOES(coords: IntPtr); + begin + z_RasterPos2xvOES_ovr_2(coords); + end; + + public z_RasterPos3xOES_adr := GetFuncAdr('glRasterPos3xOES'); + public z_RasterPos3xOES_ovr_0 := GetFuncOrNil&(z_RasterPos3xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xOES(x: Fixed; y: Fixed; z: Fixed); + begin + z_RasterPos3xOES_ovr_0(x, y, z); + end; + + public z_RasterPos3xvOES_adr := GetFuncAdr('glRasterPos3xvOES'); + public z_RasterPos3xvOES_ovr_0 := GetFuncOrNil&(z_RasterPos3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xvOES(coords: array of Fixed); + begin + z_RasterPos3xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xvOES(var coords: Fixed); + begin + z_RasterPos3xvOES_ovr_0(coords); + end; + public z_RasterPos3xvOES_ovr_2 := GetFuncOrNil&(z_RasterPos3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos3xvOES(coords: IntPtr); + begin + z_RasterPos3xvOES_ovr_2(coords); + end; + + public z_RasterPos4xOES_adr := GetFuncAdr('glRasterPos4xOES'); + public z_RasterPos4xOES_ovr_0 := GetFuncOrNil&(z_RasterPos4xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xOES(x: Fixed; y: Fixed; z: Fixed; w: Fixed); + begin + z_RasterPos4xOES_ovr_0(x, y, z, w); + end; + + public z_RasterPos4xvOES_adr := GetFuncAdr('glRasterPos4xvOES'); + public z_RasterPos4xvOES_ovr_0 := GetFuncOrNil&(z_RasterPos4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xvOES(coords: array of Fixed); + begin + z_RasterPos4xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xvOES(var coords: Fixed); + begin + z_RasterPos4xvOES_ovr_0(coords); + end; + public z_RasterPos4xvOES_ovr_2 := GetFuncOrNil&(z_RasterPos4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RasterPos4xvOES(coords: IntPtr); + begin + z_RasterPos4xvOES_ovr_2(coords); + end; + + public z_RectxOES_adr := GetFuncAdr('glRectxOES'); + public z_RectxOES_ovr_0 := GetFuncOrNil&(z_RectxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxOES(x1: Fixed; y1: Fixed; x2: Fixed; y2: Fixed); + begin + z_RectxOES_ovr_0(x1, y1, x2, y2); + end; + + public z_RectxvOES_adr := GetFuncAdr('glRectxvOES'); + public z_RectxvOES_ovr_0 := GetFuncOrNil&(z_RectxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: array of Fixed; v2: array of Fixed); + begin + z_RectxvOES_ovr_0(v1[0], v2[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: array of Fixed; var v2: Fixed); + begin + z_RectxvOES_ovr_0(v1[0], v2); + end; + public z_RectxvOES_ovr_2 := GetFuncOrNil&(z_RectxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: array of Fixed; v2: IntPtr); + begin + z_RectxvOES_ovr_2(v1[0], v2); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(var v1: Fixed; v2: array of Fixed); + begin + z_RectxvOES_ovr_0(v1, v2[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(var v1: Fixed; var v2: Fixed); + begin + z_RectxvOES_ovr_0(v1, v2); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(var v1: Fixed; v2: IntPtr); + begin + z_RectxvOES_ovr_2(v1, v2); + end; + public z_RectxvOES_ovr_6 := GetFuncOrNil&(z_RectxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: IntPtr; v2: array of Fixed); + begin + z_RectxvOES_ovr_6(v1, v2[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: IntPtr; var v2: Fixed); + begin + z_RectxvOES_ovr_6(v1, v2); + end; + public z_RectxvOES_ovr_8 := GetFuncOrNil&(z_RectxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure RectxvOES(v1: IntPtr; v2: IntPtr); + begin + z_RectxvOES_ovr_8(v1, v2); + end; + + public z_TexCoord1xOES_adr := GetFuncAdr('glTexCoord1xOES'); + public z_TexCoord1xOES_ovr_0 := GetFuncOrNil&(z_TexCoord1xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xOES(s: Fixed); + begin + z_TexCoord1xOES_ovr_0(s); + end; + + public z_TexCoord1xvOES_adr := GetFuncAdr('glTexCoord1xvOES'); + public z_TexCoord1xvOES_ovr_0 := GetFuncOrNil&(z_TexCoord1xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xvOES(coords: array of Fixed); + begin + z_TexCoord1xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xvOES(var coords: Fixed); + begin + z_TexCoord1xvOES_ovr_0(coords); + end; + public z_TexCoord1xvOES_ovr_2 := GetFuncOrNil&(z_TexCoord1xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord1xvOES(coords: IntPtr); + begin + z_TexCoord1xvOES_ovr_2(coords); + end; + + public z_TexCoord2xOES_adr := GetFuncAdr('glTexCoord2xOES'); + public z_TexCoord2xOES_ovr_0 := GetFuncOrNil&(z_TexCoord2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xOES(s: Fixed; t: Fixed); + begin + z_TexCoord2xOES_ovr_0(s, t); + end; + + public z_TexCoord2xvOES_adr := GetFuncAdr('glTexCoord2xvOES'); + public z_TexCoord2xvOES_ovr_0 := GetFuncOrNil&(z_TexCoord2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xvOES(coords: array of Fixed); + begin + z_TexCoord2xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xvOES(var coords: Fixed); + begin + z_TexCoord2xvOES_ovr_0(coords); + end; + public z_TexCoord2xvOES_ovr_2 := GetFuncOrNil&(z_TexCoord2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2xvOES(coords: IntPtr); + begin + z_TexCoord2xvOES_ovr_2(coords); + end; + + public z_TexCoord3xOES_adr := GetFuncAdr('glTexCoord3xOES'); + public z_TexCoord3xOES_ovr_0 := GetFuncOrNil&(z_TexCoord3xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xOES(s: Fixed; t: Fixed; r: Fixed); + begin + z_TexCoord3xOES_ovr_0(s, t, r); + end; + + public z_TexCoord3xvOES_adr := GetFuncAdr('glTexCoord3xvOES'); + public z_TexCoord3xvOES_ovr_0 := GetFuncOrNil&(z_TexCoord3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xvOES(coords: array of Fixed); + begin + z_TexCoord3xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xvOES(var coords: Fixed); + begin + z_TexCoord3xvOES_ovr_0(coords); + end; + public z_TexCoord3xvOES_ovr_2 := GetFuncOrNil&(z_TexCoord3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord3xvOES(coords: IntPtr); + begin + z_TexCoord3xvOES_ovr_2(coords); + end; + + public z_TexCoord4xOES_adr := GetFuncAdr('glTexCoord4xOES'); + public z_TexCoord4xOES_ovr_0 := GetFuncOrNil&(z_TexCoord4xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xOES(s: Fixed; t: Fixed; r: Fixed; q: Fixed); + begin + z_TexCoord4xOES_ovr_0(s, t, r, q); + end; + + public z_TexCoord4xvOES_adr := GetFuncAdr('glTexCoord4xvOES'); + public z_TexCoord4xvOES_ovr_0 := GetFuncOrNil&(z_TexCoord4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xvOES(coords: array of Fixed); + begin + z_TexCoord4xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xvOES(var coords: Fixed); + begin + z_TexCoord4xvOES_ovr_0(coords); + end; + public z_TexCoord4xvOES_ovr_2 := GetFuncOrNil&(z_TexCoord4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4xvOES(coords: IntPtr); + begin + z_TexCoord4xvOES_ovr_2(coords); + end; + + public z_TexGenxOES_adr := GetFuncAdr('glTexGenxOES'); + public z_TexGenxOES_ovr_0 := GetFuncOrNil&(z_TexGenxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxOES(coord: TextureCoordName; pname: TextureGenParameter; param: Fixed); + begin + z_TexGenxOES_ovr_0(coord, pname, param); + end; + + public z_TexGenxvOES_adr := GetFuncAdr('glTexGenxvOES'); + public z_TexGenxvOES_ovr_0 := GetFuncOrNil&(z_TexGenxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxvOES(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: array of Fixed); + begin + z_TexGenxvOES_ovr_0(coord, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxvOES(coord: TextureCoordName; pname: TextureGenParameter; var ¶ms: Fixed); + begin + z_TexGenxvOES_ovr_0(coord, pname, ¶ms); + end; + public z_TexGenxvOES_ovr_2 := GetFuncOrNil&(z_TexGenxvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexGenxvOES(coord: TextureCoordName; pname: TextureGenParameter; ¶ms: IntPtr); + begin + z_TexGenxvOES_ovr_2(coord, pname, ¶ms); + end; + + public z_Vertex2xOES_adr := GetFuncAdr('glVertex2xOES'); + public z_Vertex2xOES_ovr_0 := GetFuncOrNil&(z_Vertex2xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xOES(x: Fixed); + begin + z_Vertex2xOES_ovr_0(x); + end; + + public z_Vertex2xvOES_adr := GetFuncAdr('glVertex2xvOES'); + public z_Vertex2xvOES_ovr_0 := GetFuncOrNil&(z_Vertex2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xvOES(coords: array of Fixed); + begin + z_Vertex2xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xvOES(var coords: Fixed); + begin + z_Vertex2xvOES_ovr_0(coords); + end; + public z_Vertex2xvOES_ovr_2 := GetFuncOrNil&(z_Vertex2xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex2xvOES(coords: IntPtr); + begin + z_Vertex2xvOES_ovr_2(coords); + end; + + public z_Vertex3xOES_adr := GetFuncAdr('glVertex3xOES'); + public z_Vertex3xOES_ovr_0 := GetFuncOrNil&(z_Vertex3xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xOES(x: Fixed; y: Fixed); + begin + z_Vertex3xOES_ovr_0(x, y); + end; + + public z_Vertex3xvOES_adr := GetFuncAdr('glVertex3xvOES'); + public z_Vertex3xvOES_ovr_0 := GetFuncOrNil&(z_Vertex3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xvOES(coords: array of Fixed); + begin + z_Vertex3xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xvOES(var coords: Fixed); + begin + z_Vertex3xvOES_ovr_0(coords); + end; + public z_Vertex3xvOES_ovr_2 := GetFuncOrNil&(z_Vertex3xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex3xvOES(coords: IntPtr); + begin + z_Vertex3xvOES_ovr_2(coords); + end; + + public z_Vertex4xOES_adr := GetFuncAdr('glVertex4xOES'); + public z_Vertex4xOES_ovr_0 := GetFuncOrNil&(z_Vertex4xOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xOES(x: Fixed; y: Fixed; z: Fixed); + begin + z_Vertex4xOES_ovr_0(x, y, z); + end; + + public z_Vertex4xvOES_adr := GetFuncAdr('glVertex4xvOES'); + public z_Vertex4xvOES_ovr_0 := GetFuncOrNil&(z_Vertex4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xvOES(coords: array of Fixed); + begin + z_Vertex4xvOES_ovr_0(coords[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xvOES(var coords: Fixed); + begin + z_Vertex4xvOES_ovr_0(coords); + end; + public z_Vertex4xvOES_ovr_2 := GetFuncOrNil&(z_Vertex4xvOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Vertex4xvOES(coords: IntPtr); + begin + z_Vertex4xvOES_ovr_2(coords); + end; + + end; + + glQueryMatrixOES = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_QueryMatrixxOES_adr := GetFuncAdr('glQueryMatrixxOES'); + public z_QueryMatrixxOES_ovr_0 := GetFuncOrNil&(z_QueryMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: array of Fixed; exponent: array of Int32): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_0(mantissa[0], exponent[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: array of Fixed; var exponent: Int32): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_0(mantissa[0], exponent); + end; + public z_QueryMatrixxOES_ovr_2 := GetFuncOrNil&(z_QueryMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: array of Fixed; exponent: IntPtr): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_2(mantissa[0], exponent); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(var mantissa: Fixed; exponent: array of Int32): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_0(mantissa, exponent[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(var mantissa: Fixed; var exponent: Int32): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_0(mantissa, exponent); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(var mantissa: Fixed; exponent: IntPtr): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_2(mantissa, exponent); + end; + public z_QueryMatrixxOES_ovr_6 := GetFuncOrNil&(z_QueryMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: IntPtr; exponent: array of Int32): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_6(mantissa, exponent[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: IntPtr; var exponent: Int32): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_6(mantissa, exponent); + end; + public z_QueryMatrixxOES_ovr_8 := GetFuncOrNil&(z_QueryMatrixxOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function QueryMatrixxOES(mantissa: IntPtr; exponent: IntPtr): DummyFlags; + begin + Result := z_QueryMatrixxOES_ovr_8(mantissa, exponent); + end; + + end; + + glSinglePrecisionOES = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ClearDepthfOES_adr := GetFuncAdr('glClearDepthfOES'); + public z_ClearDepthfOES_ovr_0 := GetFuncOrNil&(z_ClearDepthfOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClearDepthfOES(depth: single); + begin + z_ClearDepthfOES_ovr_0(depth); + end; + + public z_ClipPlanefOES_adr := GetFuncAdr('glClipPlanefOES'); + public z_ClipPlanefOES_ovr_0 := GetFuncOrNil&(z_ClipPlanefOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefOES(plane: ClipPlaneName; equation: array of single); + begin + z_ClipPlanefOES_ovr_0(plane, equation[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefOES(plane: ClipPlaneName; var equation: single); + begin + z_ClipPlanefOES_ovr_0(plane, equation); + end; + public z_ClipPlanefOES_ovr_2 := GetFuncOrNil&(z_ClipPlanefOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ClipPlanefOES(plane: ClipPlaneName; equation: IntPtr); + begin + z_ClipPlanefOES_ovr_2(plane, equation); + end; + + public z_DepthRangefOES_adr := GetFuncAdr('glDepthRangefOES'); + public z_DepthRangefOES_ovr_0 := GetFuncOrNil&(z_DepthRangefOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DepthRangefOES(n: single; f: single); + begin + z_DepthRangefOES_ovr_0(n, f); + end; + + public z_FrustumfOES_adr := GetFuncAdr('glFrustumfOES'); + public z_FrustumfOES_ovr_0 := GetFuncOrNil&(z_FrustumfOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrustumfOES(l: single; r: single; b: single; t: single; n: single; f: single); + begin + z_FrustumfOES_ovr_0(l, r, b, t, n, f); + end; + + public z_GetClipPlanefOES_adr := GetFuncAdr('glGetClipPlanefOES'); + public z_GetClipPlanefOES_ovr_0 := GetFuncOrNil&(z_GetClipPlanefOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanefOES(plane: ClipPlaneName; equation: array of single); + begin + z_GetClipPlanefOES_ovr_0(plane, equation[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanefOES(plane: ClipPlaneName; var equation: single); + begin + z_GetClipPlanefOES_ovr_0(plane, equation); + end; + public z_GetClipPlanefOES_ovr_2 := GetFuncOrNil&(z_GetClipPlanefOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetClipPlanefOES(plane: ClipPlaneName; equation: IntPtr); + begin + z_GetClipPlanefOES_ovr_2(plane, equation); + end; + + public z_OrthofOES_adr := GetFuncAdr('glOrthofOES'); + public z_OrthofOES_ovr_0 := GetFuncOrNil&(z_OrthofOES_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure OrthofOES(l: single; r: single; b: single; t: single; n: single; f: single); + begin + z_OrthofOES_ovr_0(l, r, b, t, n, f); + end; + + end; + + glMultiviewOVR = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FramebufferTextureMultiviewOVR_adr := GetFuncAdr('glFramebufferTextureMultiviewOVR'); + public z_FramebufferTextureMultiviewOVR_ovr_0 := GetFuncOrNil&(z_FramebufferTextureMultiviewOVR_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FramebufferTextureMultiviewOVR(target: FramebufferTarget; attachment: FramebufferAttachment; texture: UInt32; level: Int32; baseViewIndex: Int32; numViews: Int32); + begin + z_FramebufferTextureMultiviewOVR_ovr_0(target, attachment, texture, level, baseViewIndex, numViews); + end; + + end; + + glMiscHintsPGI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_HintPGI_adr := GetFuncAdr('glHintPGI'); + public z_HintPGI_ovr_0 := GetFuncOrNil&(z_HintPGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure HintPGI(target: HintTargetPGI; mode: Int32); + begin + z_HintPGI_ovr_0(target, mode); + end; + + end; + + glDetailTextureSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DetailTexFuncSGIS_adr := GetFuncAdr('glDetailTexFuncSGIS'); + public z_DetailTexFuncSGIS_ovr_0 := GetFuncOrNil&(z_DetailTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetailTexFuncSGIS(target: TextureTarget; n: Int32; points: array of single); + begin + z_DetailTexFuncSGIS_ovr_0(target, n, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetailTexFuncSGIS(target: TextureTarget; n: Int32; var points: single); + begin + z_DetailTexFuncSGIS_ovr_0(target, n, points); + end; + public z_DetailTexFuncSGIS_ovr_2 := GetFuncOrNil&(z_DetailTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DetailTexFuncSGIS(target: TextureTarget; n: Int32; points: IntPtr); + begin + z_DetailTexFuncSGIS_ovr_2(target, n, points); + end; + + public z_GetDetailTexFuncSGIS_adr := GetFuncAdr('glGetDetailTexFuncSGIS'); + public z_GetDetailTexFuncSGIS_ovr_0 := GetFuncOrNil&(z_GetDetailTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDetailTexFuncSGIS(target: TextureTarget; points: array of single); + begin + z_GetDetailTexFuncSGIS_ovr_0(target, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDetailTexFuncSGIS(target: TextureTarget; var points: single); + begin + z_GetDetailTexFuncSGIS_ovr_0(target, points); + end; + public z_GetDetailTexFuncSGIS_ovr_2 := GetFuncOrNil&(z_GetDetailTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetDetailTexFuncSGIS(target: TextureTarget; points: IntPtr); + begin + z_GetDetailTexFuncSGIS_ovr_2(target, points); + end; + + end; + + glFogFunctionSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FogFuncSGIS_adr := GetFuncAdr('glFogFuncSGIS'); + public z_FogFuncSGIS_ovr_0 := GetFuncOrNil&(z_FogFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogFuncSGIS(n: Int32; points: array of single); + begin + z_FogFuncSGIS_ovr_0(n, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogFuncSGIS(n: Int32; var points: single); + begin + z_FogFuncSGIS_ovr_0(n, points); + end; + public z_FogFuncSGIS_ovr_2 := GetFuncOrNil&(z_FogFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FogFuncSGIS(n: Int32; points: IntPtr); + begin + z_FogFuncSGIS_ovr_2(n, points); + end; + + public z_GetFogFuncSGIS_adr := GetFuncAdr('glGetFogFuncSGIS'); + public z_GetFogFuncSGIS_ovr_0 := GetFuncOrNil&(z_GetFogFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFogFuncSGIS(points: array of single); + begin + z_GetFogFuncSGIS_ovr_0(points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFogFuncSGIS(var points: single); + begin + z_GetFogFuncSGIS_ovr_0(points); + end; + public z_GetFogFuncSGIS_ovr_2 := GetFuncOrNil&(z_GetFogFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFogFuncSGIS(points: IntPtr); + begin + z_GetFogFuncSGIS_ovr_2(points); + end; + + end; + + glMultisampleSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SampleMaskSGIS_adr := GetFuncAdr('glSampleMaskSGIS'); + public z_SampleMaskSGIS_ovr_0 := GetFuncOrNil&(z_SampleMaskSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SampleMaskSGIS(value: single; invert: boolean); + begin + z_SampleMaskSGIS_ovr_0(value, invert); + end; + + public z_SamplePatternSGIS_adr := GetFuncAdr('glSamplePatternSGIS'); + public z_SamplePatternSGIS_ovr_0 := GetFuncOrNil&(z_SamplePatternSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SamplePatternSGIS(pattern: OpenGL.SamplePatternSGIS); + begin + z_SamplePatternSGIS_ovr_0(pattern); + end; + + end; + + glPixelTextureSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PixelTexGenParameteriSGIS_adr := GetFuncAdr('glPixelTexGenParameteriSGIS'); + public z_PixelTexGenParameteriSGIS_ovr_0 := GetFuncOrNil&(z_PixelTexGenParameteriSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameteriSGIS(pname: PixelTexGenParameterNameSGIS; param: Int32); + begin + z_PixelTexGenParameteriSGIS_ovr_0(pname, param); + end; + + public z_PixelTexGenParameterivSGIS_adr := GetFuncAdr('glPixelTexGenParameterivSGIS'); + public z_PixelTexGenParameterivSGIS_ovr_0 := GetFuncOrNil&(z_PixelTexGenParameterivSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterivSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: array of Int32); + begin + z_PixelTexGenParameterivSGIS_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterivSGIS(pname: PixelTexGenParameterNameSGIS; var ¶ms: Int32); + begin + z_PixelTexGenParameterivSGIS_ovr_0(pname, ¶ms); + end; + public z_PixelTexGenParameterivSGIS_ovr_2 := GetFuncOrNil&(z_PixelTexGenParameterivSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterivSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: IntPtr); + begin + z_PixelTexGenParameterivSGIS_ovr_2(pname, ¶ms); + end; + + public z_PixelTexGenParameterfSGIS_adr := GetFuncAdr('glPixelTexGenParameterfSGIS'); + public z_PixelTexGenParameterfSGIS_ovr_0 := GetFuncOrNil&(z_PixelTexGenParameterfSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfSGIS(pname: PixelTexGenParameterNameSGIS; param: single); + begin + z_PixelTexGenParameterfSGIS_ovr_0(pname, param); + end; + + public z_PixelTexGenParameterfvSGIS_adr := GetFuncAdr('glPixelTexGenParameterfvSGIS'); + public z_PixelTexGenParameterfvSGIS_ovr_0 := GetFuncOrNil&(z_PixelTexGenParameterfvSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfvSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: array of single); + begin + z_PixelTexGenParameterfvSGIS_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfvSGIS(pname: PixelTexGenParameterNameSGIS; var ¶ms: single); + begin + z_PixelTexGenParameterfvSGIS_ovr_0(pname, ¶ms); + end; + public z_PixelTexGenParameterfvSGIS_ovr_2 := GetFuncOrNil&(z_PixelTexGenParameterfvSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenParameterfvSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: IntPtr); + begin + z_PixelTexGenParameterfvSGIS_ovr_2(pname, ¶ms); + end; + + public z_GetPixelTexGenParameterivSGIS_adr := GetFuncAdr('glGetPixelTexGenParameterivSGIS'); + public z_GetPixelTexGenParameterivSGIS_ovr_0 := GetFuncOrNil&(z_GetPixelTexGenParameterivSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterivSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: array of Int32); + begin + z_GetPixelTexGenParameterivSGIS_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterivSGIS(pname: PixelTexGenParameterNameSGIS; var ¶ms: Int32); + begin + z_GetPixelTexGenParameterivSGIS_ovr_0(pname, ¶ms); + end; + public z_GetPixelTexGenParameterivSGIS_ovr_2 := GetFuncOrNil&(z_GetPixelTexGenParameterivSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterivSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: IntPtr); + begin + z_GetPixelTexGenParameterivSGIS_ovr_2(pname, ¶ms); + end; + + public z_GetPixelTexGenParameterfvSGIS_adr := GetFuncAdr('glGetPixelTexGenParameterfvSGIS'); + public z_GetPixelTexGenParameterfvSGIS_ovr_0 := GetFuncOrNil&(z_GetPixelTexGenParameterfvSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterfvSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: array of single); + begin + z_GetPixelTexGenParameterfvSGIS_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterfvSGIS(pname: PixelTexGenParameterNameSGIS; var ¶ms: single); + begin + z_GetPixelTexGenParameterfvSGIS_ovr_0(pname, ¶ms); + end; + public z_GetPixelTexGenParameterfvSGIS_ovr_2 := GetFuncOrNil&(z_GetPixelTexGenParameterfvSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetPixelTexGenParameterfvSGIS(pname: PixelTexGenParameterNameSGIS; ¶ms: IntPtr); + begin + z_GetPixelTexGenParameterfvSGIS_ovr_2(pname, ¶ms); + end; + + end; + + glPointParametersSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PointParameterfSGIS_adr := GetFuncAdr('glPointParameterfSGIS'); + public z_PointParameterfSGIS_ovr_0 := GetFuncOrNil&(z_PointParameterfSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfSGIS(pname: PointParameterNameARB; param: single); + begin + z_PointParameterfSGIS_ovr_0(pname, param); + end; + + public z_PointParameterfvSGIS_adr := GetFuncAdr('glPointParameterfvSGIS'); + public z_PointParameterfvSGIS_ovr_0 := GetFuncOrNil&(z_PointParameterfvSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvSGIS(pname: PointParameterNameARB; ¶ms: array of single); + begin + z_PointParameterfvSGIS_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvSGIS(pname: PointParameterNameARB; var ¶ms: single); + begin + z_PointParameterfvSGIS_ovr_0(pname, ¶ms); + end; + public z_PointParameterfvSGIS_ovr_2 := GetFuncOrNil&(z_PointParameterfvSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PointParameterfvSGIS(pname: PointParameterNameARB; ¶ms: IntPtr); + begin + z_PointParameterfvSGIS_ovr_2(pname, ¶ms); + end; + + end; + + glSharpenTextureSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SharpenTexFuncSGIS_adr := GetFuncAdr('glSharpenTexFuncSGIS'); + public z_SharpenTexFuncSGIS_ovr_0 := GetFuncOrNil&(z_SharpenTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SharpenTexFuncSGIS(target: TextureTarget; n: Int32; points: array of single); + begin + z_SharpenTexFuncSGIS_ovr_0(target, n, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SharpenTexFuncSGIS(target: TextureTarget; n: Int32; var points: single); + begin + z_SharpenTexFuncSGIS_ovr_0(target, n, points); + end; + public z_SharpenTexFuncSGIS_ovr_2 := GetFuncOrNil&(z_SharpenTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SharpenTexFuncSGIS(target: TextureTarget; n: Int32; points: IntPtr); + begin + z_SharpenTexFuncSGIS_ovr_2(target, n, points); + end; + + public z_GetSharpenTexFuncSGIS_adr := GetFuncAdr('glGetSharpenTexFuncSGIS'); + public z_GetSharpenTexFuncSGIS_ovr_0 := GetFuncOrNil&(z_GetSharpenTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSharpenTexFuncSGIS(target: TextureTarget; points: array of single); + begin + z_GetSharpenTexFuncSGIS_ovr_0(target, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSharpenTexFuncSGIS(target: TextureTarget; var points: single); + begin + z_GetSharpenTexFuncSGIS_ovr_0(target, points); + end; + public z_GetSharpenTexFuncSGIS_ovr_2 := GetFuncOrNil&(z_GetSharpenTexFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetSharpenTexFuncSGIS(target: TextureTarget; points: IntPtr); + begin + z_GetSharpenTexFuncSGIS_ovr_2(target, points); + end; + + end; + + glTexture4DSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TexImage4DSGIS_adr := GetFuncAdr('glTexImage4DSGIS'); + public z_TexImage4DSGIS_ovr_0 := GetFuncOrNil&(z_TexImage4DSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexImage4DSGIS(target: TextureTarget; level: Int32; _internalformat: InternalFormat; width: Int32; height: Int32; depth: Int32; size4d: Int32; border: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexImage4DSGIS_ovr_0(target, level, _internalformat, width, height, depth, size4d, border, format, &type, pixels); + end; + + public z_TexSubImage4DSGIS_adr := GetFuncAdr('glTexSubImage4DSGIS'); + public z_TexSubImage4DSGIS_ovr_0 := GetFuncOrNil&(z_TexSubImage4DSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexSubImage4DSGIS(target: TextureTarget; level: Int32; xoffset: Int32; yoffset: Int32; zoffset: Int32; woffset: Int32; width: Int32; height: Int32; depth: Int32; size4d: Int32; format: PixelFormat; &type: PixelType; pixels: IntPtr); + begin + z_TexSubImage4DSGIS_ovr_0(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, &type, pixels); + end; + + end; + + glTextureColorMaskSGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TextureColorMaskSGIS_adr := GetFuncAdr('glTextureColorMaskSGIS'); + public z_TextureColorMaskSGIS_ovr_0 := GetFuncOrNil&(z_TextureColorMaskSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TextureColorMaskSGIS(red: boolean; green: boolean; blue: boolean; alpha: boolean); + begin + z_TextureColorMaskSGIS_ovr_0(red, green, blue, alpha); + end; + + end; + + glTextureFilter4SGIS = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetTexFilterFuncSGIS_adr := GetFuncAdr('glGetTexFilterFuncSGIS'); + public z_GetTexFilterFuncSGIS_ovr_0 := GetFuncOrNil&(z_GetTexFilterFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexFilterFuncSGIS(target: TextureTarget; filter: TextureFilterSGIS; weights: array of single); + begin + z_GetTexFilterFuncSGIS_ovr_0(target, filter, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexFilterFuncSGIS(target: TextureTarget; filter: TextureFilterSGIS; var weights: single); + begin + z_GetTexFilterFuncSGIS_ovr_0(target, filter, weights); + end; + public z_GetTexFilterFuncSGIS_ovr_2 := GetFuncOrNil&(z_GetTexFilterFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetTexFilterFuncSGIS(target: TextureTarget; filter: TextureFilterSGIS; weights: IntPtr); + begin + z_GetTexFilterFuncSGIS_ovr_2(target, filter, weights); + end; + + public z_TexFilterFuncSGIS_adr := GetFuncAdr('glTexFilterFuncSGIS'); + public z_TexFilterFuncSGIS_ovr_0 := GetFuncOrNil&(z_TexFilterFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexFilterFuncSGIS(target: TextureTarget; filter: TextureFilterSGIS; n: Int32; weights: array of single); + begin + z_TexFilterFuncSGIS_ovr_0(target, filter, n, weights[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexFilterFuncSGIS(target: TextureTarget; filter: TextureFilterSGIS; n: Int32; var weights: single); + begin + z_TexFilterFuncSGIS_ovr_0(target, filter, n, weights); + end; + public z_TexFilterFuncSGIS_ovr_2 := GetFuncOrNil&(z_TexFilterFuncSGIS_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexFilterFuncSGIS(target: TextureTarget; filter: TextureFilterSGIS; n: Int32; weights: IntPtr); + begin + z_TexFilterFuncSGIS_ovr_2(target, filter, n, weights); + end; + + end; + + glAsyncSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_AsyncMarkerSGIX_adr := GetFuncAdr('glAsyncMarkerSGIX'); + public z_AsyncMarkerSGIX_ovr_0 := GetFuncOrNil&(z_AsyncMarkerSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure AsyncMarkerSGIX(marker: UInt32); + begin + z_AsyncMarkerSGIX_ovr_0(marker); + end; + + public z_FinishAsyncSGIX_adr := GetFuncAdr('glFinishAsyncSGIX'); + public z_FinishAsyncSGIX_ovr_0 := GetFuncOrNil&(z_FinishAsyncSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function FinishAsyncSGIX(markerp: array of UInt32): Int32; + begin + Result := z_FinishAsyncSGIX_ovr_0(markerp[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function FinishAsyncSGIX(var markerp: UInt32): Int32; + begin + Result := z_FinishAsyncSGIX_ovr_0(markerp); + end; + public z_FinishAsyncSGIX_ovr_2 := GetFuncOrNil&(z_FinishAsyncSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function FinishAsyncSGIX(markerp: IntPtr): Int32; + begin + Result := z_FinishAsyncSGIX_ovr_2(markerp); + end; + + public z_PollAsyncSGIX_adr := GetFuncAdr('glPollAsyncSGIX'); + public z_PollAsyncSGIX_ovr_0 := GetFuncOrNil&(z_PollAsyncSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PollAsyncSGIX(markerp: array of UInt32): Int32; + begin + Result := z_PollAsyncSGIX_ovr_0(markerp[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PollAsyncSGIX(var markerp: UInt32): Int32; + begin + Result := z_PollAsyncSGIX_ovr_0(markerp); + end; + public z_PollAsyncSGIX_ovr_2 := GetFuncOrNil&(z_PollAsyncSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PollAsyncSGIX(markerp: IntPtr): Int32; + begin + Result := z_PollAsyncSGIX_ovr_2(markerp); + end; + + public z_GenAsyncMarkersSGIX_adr := GetFuncAdr('glGenAsyncMarkersSGIX'); + public z_GenAsyncMarkersSGIX_ovr_0 := GetFuncOrNil&(z_GenAsyncMarkersSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GenAsyncMarkersSGIX(range: Int32): UInt32; + begin + Result := z_GenAsyncMarkersSGIX_ovr_0(range); + end; + + public z_DeleteAsyncMarkersSGIX_adr := GetFuncAdr('glDeleteAsyncMarkersSGIX'); + public z_DeleteAsyncMarkersSGIX_ovr_0 := GetFuncOrNil&(z_DeleteAsyncMarkersSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeleteAsyncMarkersSGIX(marker: UInt32; range: Int32); + begin + z_DeleteAsyncMarkersSGIX_ovr_0(marker, range); + end; + + public z_IsAsyncMarkerSGIX_adr := GetFuncAdr('glIsAsyncMarkerSGIX'); + public z_IsAsyncMarkerSGIX_ovr_0 := GetFuncOrNil&(z_IsAsyncMarkerSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function IsAsyncMarkerSGIX(marker: UInt32): boolean; + begin + Result := z_IsAsyncMarkerSGIX_ovr_0(marker); + end; + + end; + + glFlushRasterSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FlushRasterSGIX_adr := GetFuncAdr('glFlushRasterSGIX'); + public z_FlushRasterSGIX_ovr_0 := GetFuncOrNil&(z_FlushRasterSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FlushRasterSGIX; + begin + z_FlushRasterSGIX_ovr_0; + end; + + end; + + glFragmentLightingSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FragmentColorMaterialSGIX_adr := GetFuncAdr('glFragmentColorMaterialSGIX'); + public z_FragmentColorMaterialSGIX_ovr_0 := GetFuncOrNil&(z_FragmentColorMaterialSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentColorMaterialSGIX(face: DummyEnum; mode: MaterialParameter); + begin + z_FragmentColorMaterialSGIX_ovr_0(face, mode); + end; + + public z_FragmentLightfSGIX_adr := GetFuncAdr('glFragmentLightfSGIX'); + public z_FragmentLightfSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightfSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightfSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; param: single); + begin + z_FragmentLightfSGIX_ovr_0(light, pname, param); + end; + + public z_FragmentLightfvSGIX_adr := GetFuncAdr('glFragmentLightfvSGIX'); + public z_FragmentLightfvSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightfvSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: array of single); + begin + z_FragmentLightfvSGIX_ovr_0(light, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightfvSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; var ¶ms: single); + begin + z_FragmentLightfvSGIX_ovr_0(light, pname, ¶ms); + end; + public z_FragmentLightfvSGIX_ovr_2 := GetFuncOrNil&(z_FragmentLightfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightfvSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: IntPtr); + begin + z_FragmentLightfvSGIX_ovr_2(light, pname, ¶ms); + end; + + public z_FragmentLightiSGIX_adr := GetFuncAdr('glFragmentLightiSGIX'); + public z_FragmentLightiSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightiSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightiSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; param: Int32); + begin + z_FragmentLightiSGIX_ovr_0(light, pname, param); + end; + + public z_FragmentLightivSGIX_adr := GetFuncAdr('glFragmentLightivSGIX'); + public z_FragmentLightivSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightivSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: array of Int32); + begin + z_FragmentLightivSGIX_ovr_0(light, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightivSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; var ¶ms: Int32); + begin + z_FragmentLightivSGIX_ovr_0(light, pname, ¶ms); + end; + public z_FragmentLightivSGIX_ovr_2 := GetFuncOrNil&(z_FragmentLightivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightivSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: IntPtr); + begin + z_FragmentLightivSGIX_ovr_2(light, pname, ¶ms); + end; + + public z_FragmentLightModelfSGIX_adr := GetFuncAdr('glFragmentLightModelfSGIX'); + public z_FragmentLightModelfSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightModelfSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelfSGIX(pname: FragmentLightModelParameterSGIX; param: single); + begin + z_FragmentLightModelfSGIX_ovr_0(pname, param); + end; + + public z_FragmentLightModelfvSGIX_adr := GetFuncAdr('glFragmentLightModelfvSGIX'); + public z_FragmentLightModelfvSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightModelfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelfvSGIX(pname: FragmentLightModelParameterSGIX; ¶ms: array of single); + begin + z_FragmentLightModelfvSGIX_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelfvSGIX(pname: FragmentLightModelParameterSGIX; var ¶ms: single); + begin + z_FragmentLightModelfvSGIX_ovr_0(pname, ¶ms); + end; + public z_FragmentLightModelfvSGIX_ovr_2 := GetFuncOrNil&(z_FragmentLightModelfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelfvSGIX(pname: FragmentLightModelParameterSGIX; ¶ms: IntPtr); + begin + z_FragmentLightModelfvSGIX_ovr_2(pname, ¶ms); + end; + + public z_FragmentLightModeliSGIX_adr := GetFuncAdr('glFragmentLightModeliSGIX'); + public z_FragmentLightModeliSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightModeliSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModeliSGIX(pname: FragmentLightModelParameterSGIX; param: Int32); + begin + z_FragmentLightModeliSGIX_ovr_0(pname, param); + end; + + public z_FragmentLightModelivSGIX_adr := GetFuncAdr('glFragmentLightModelivSGIX'); + public z_FragmentLightModelivSGIX_ovr_0 := GetFuncOrNil&(z_FragmentLightModelivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelivSGIX(pname: FragmentLightModelParameterSGIX; ¶ms: array of Int32); + begin + z_FragmentLightModelivSGIX_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelivSGIX(pname: FragmentLightModelParameterSGIX; var ¶ms: Int32); + begin + z_FragmentLightModelivSGIX_ovr_0(pname, ¶ms); + end; + public z_FragmentLightModelivSGIX_ovr_2 := GetFuncOrNil&(z_FragmentLightModelivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentLightModelivSGIX(pname: FragmentLightModelParameterSGIX; ¶ms: IntPtr); + begin + z_FragmentLightModelivSGIX_ovr_2(pname, ¶ms); + end; + + public z_FragmentMaterialfSGIX_adr := GetFuncAdr('glFragmentMaterialfSGIX'); + public z_FragmentMaterialfSGIX_ovr_0 := GetFuncOrNil&(z_FragmentMaterialfSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialfSGIX(face: DummyEnum; pname: MaterialParameter; param: single); + begin + z_FragmentMaterialfSGIX_ovr_0(face, pname, param); + end; + + public z_FragmentMaterialfvSGIX_adr := GetFuncAdr('glFragmentMaterialfvSGIX'); + public z_FragmentMaterialfvSGIX_ovr_0 := GetFuncOrNil&(z_FragmentMaterialfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialfvSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: array of single); + begin + z_FragmentMaterialfvSGIX_ovr_0(face, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialfvSGIX(face: DummyEnum; pname: MaterialParameter; var ¶ms: single); + begin + z_FragmentMaterialfvSGIX_ovr_0(face, pname, ¶ms); + end; + public z_FragmentMaterialfvSGIX_ovr_2 := GetFuncOrNil&(z_FragmentMaterialfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialfvSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + begin + z_FragmentMaterialfvSGIX_ovr_2(face, pname, ¶ms); + end; + + public z_FragmentMaterialiSGIX_adr := GetFuncAdr('glFragmentMaterialiSGIX'); + public z_FragmentMaterialiSGIX_ovr_0 := GetFuncOrNil&(z_FragmentMaterialiSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialiSGIX(face: DummyEnum; pname: MaterialParameter; param: Int32); + begin + z_FragmentMaterialiSGIX_ovr_0(face, pname, param); + end; + + public z_FragmentMaterialivSGIX_adr := GetFuncAdr('glFragmentMaterialivSGIX'); + public z_FragmentMaterialivSGIX_ovr_0 := GetFuncOrNil&(z_FragmentMaterialivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialivSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: array of Int32); + begin + z_FragmentMaterialivSGIX_ovr_0(face, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialivSGIX(face: DummyEnum; pname: MaterialParameter; var ¶ms: Int32); + begin + z_FragmentMaterialivSGIX_ovr_0(face, pname, ¶ms); + end; + public z_FragmentMaterialivSGIX_ovr_2 := GetFuncOrNil&(z_FragmentMaterialivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FragmentMaterialivSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + begin + z_FragmentMaterialivSGIX_ovr_2(face, pname, ¶ms); + end; + + public z_GetFragmentLightfvSGIX_adr := GetFuncAdr('glGetFragmentLightfvSGIX'); + public z_GetFragmentLightfvSGIX_ovr_0 := GetFuncOrNil&(z_GetFragmentLightfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentLightfvSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: array of single); + begin + z_GetFragmentLightfvSGIX_ovr_0(light, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentLightfvSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; var ¶ms: single); + begin + z_GetFragmentLightfvSGIX_ovr_0(light, pname, ¶ms); + end; + public z_GetFragmentLightfvSGIX_ovr_2 := GetFuncOrNil&(z_GetFragmentLightfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentLightfvSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: IntPtr); + begin + z_GetFragmentLightfvSGIX_ovr_2(light, pname, ¶ms); + end; + + public z_GetFragmentLightivSGIX_adr := GetFuncAdr('glGetFragmentLightivSGIX'); + public z_GetFragmentLightivSGIX_ovr_0 := GetFuncOrNil&(z_GetFragmentLightivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentLightivSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: array of Int32); + begin + z_GetFragmentLightivSGIX_ovr_0(light, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentLightivSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; var ¶ms: Int32); + begin + z_GetFragmentLightivSGIX_ovr_0(light, pname, ¶ms); + end; + public z_GetFragmentLightivSGIX_ovr_2 := GetFuncOrNil&(z_GetFragmentLightivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentLightivSGIX(light: FragmentLightNameSGIX; pname: FragmentLightParameterSGIX; ¶ms: IntPtr); + begin + z_GetFragmentLightivSGIX_ovr_2(light, pname, ¶ms); + end; + + public z_GetFragmentMaterialfvSGIX_adr := GetFuncAdr('glGetFragmentMaterialfvSGIX'); + public z_GetFragmentMaterialfvSGIX_ovr_0 := GetFuncOrNil&(z_GetFragmentMaterialfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentMaterialfvSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: array of single); + begin + z_GetFragmentMaterialfvSGIX_ovr_0(face, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentMaterialfvSGIX(face: DummyEnum; pname: MaterialParameter; var ¶ms: single); + begin + z_GetFragmentMaterialfvSGIX_ovr_0(face, pname, ¶ms); + end; + public z_GetFragmentMaterialfvSGIX_ovr_2 := GetFuncOrNil&(z_GetFragmentMaterialfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentMaterialfvSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + begin + z_GetFragmentMaterialfvSGIX_ovr_2(face, pname, ¶ms); + end; + + public z_GetFragmentMaterialivSGIX_adr := GetFuncAdr('glGetFragmentMaterialivSGIX'); + public z_GetFragmentMaterialivSGIX_ovr_0 := GetFuncOrNil&(z_GetFragmentMaterialivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentMaterialivSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: array of Int32); + begin + z_GetFragmentMaterialivSGIX_ovr_0(face, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentMaterialivSGIX(face: DummyEnum; pname: MaterialParameter; var ¶ms: Int32); + begin + z_GetFragmentMaterialivSGIX_ovr_0(face, pname, ¶ms); + end; + public z_GetFragmentMaterialivSGIX_ovr_2 := GetFuncOrNil&(z_GetFragmentMaterialivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetFragmentMaterialivSGIX(face: DummyEnum; pname: MaterialParameter; ¶ms: IntPtr); + begin + z_GetFragmentMaterialivSGIX_ovr_2(face, pname, ¶ms); + end; + + public z_LightEnviSGIX_adr := GetFuncAdr('glLightEnviSGIX'); + public z_LightEnviSGIX_ovr_0 := GetFuncOrNil&(z_LightEnviSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LightEnviSGIX(pname: LightEnvParameterSGIX; param: Int32); + begin + z_LightEnviSGIX_ovr_0(pname, param); + end; + + end; + + glFramezoomSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FrameZoomSGIX_adr := GetFuncAdr('glFrameZoomSGIX'); + public z_FrameZoomSGIX_ovr_0 := GetFuncOrNil&(z_FrameZoomSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FrameZoomSGIX(factor: Int32); + begin + z_FrameZoomSGIX_ovr_0(factor); + end; + + end; + + glIglooInterfaceSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_IglooInterfaceSGIX_adr := GetFuncAdr('glIglooInterfaceSGIX'); + public z_IglooInterfaceSGIX_ovr_0 := GetFuncOrNil&(z_IglooInterfaceSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure IglooInterfaceSGIX(pname: DummyEnum; ¶ms: IntPtr); + begin + z_IglooInterfaceSGIX_ovr_0(pname, ¶ms); + end; + + end; + + glInstrumentsSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetInstrumentsSGIX_adr := GetFuncAdr('glGetInstrumentsSGIX'); + public z_GetInstrumentsSGIX_ovr_0 := GetFuncOrNil&(z_GetInstrumentsSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function GetInstrumentsSGIX: Int32; + begin + Result := z_GetInstrumentsSGIX_ovr_0; + end; + + public z_InstrumentsBufferSGIX_adr := GetFuncAdr('glInstrumentsBufferSGIX'); + public z_InstrumentsBufferSGIX_ovr_0 := GetFuncOrNil&(z_InstrumentsBufferSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InstrumentsBufferSGIX(size: Int32; buffer: array of Int32); + begin + z_InstrumentsBufferSGIX_ovr_0(size, buffer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InstrumentsBufferSGIX(size: Int32; var buffer: Int32); + begin + z_InstrumentsBufferSGIX_ovr_0(size, buffer); + end; + public z_InstrumentsBufferSGIX_ovr_2 := GetFuncOrNil&(z_InstrumentsBufferSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure InstrumentsBufferSGIX(size: Int32; buffer: IntPtr); + begin + z_InstrumentsBufferSGIX_ovr_2(size, buffer); + end; + + public z_PollInstrumentsSGIX_adr := GetFuncAdr('glPollInstrumentsSGIX'); + public z_PollInstrumentsSGIX_ovr_0 := GetFuncOrNil&(z_PollInstrumentsSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PollInstrumentsSGIX(marker_p: array of Int32): Int32; + begin + Result := z_PollInstrumentsSGIX_ovr_0(marker_p[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PollInstrumentsSGIX(var marker_p: Int32): Int32; + begin + Result := z_PollInstrumentsSGIX_ovr_0(marker_p); + end; + public z_PollInstrumentsSGIX_ovr_2 := GetFuncOrNil&(z_PollInstrumentsSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] function PollInstrumentsSGIX(marker_p: IntPtr): Int32; + begin + Result := z_PollInstrumentsSGIX_ovr_2(marker_p); + end; + + public z_ReadInstrumentsSGIX_adr := GetFuncAdr('glReadInstrumentsSGIX'); + public z_ReadInstrumentsSGIX_ovr_0 := GetFuncOrNil&(z_ReadInstrumentsSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReadInstrumentsSGIX(marker: Int32); + begin + z_ReadInstrumentsSGIX_ovr_0(marker); + end; + + public z_StartInstrumentsSGIX_adr := GetFuncAdr('glStartInstrumentsSGIX'); + public z_StartInstrumentsSGIX_ovr_0 := GetFuncOrNil&(z_StartInstrumentsSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StartInstrumentsSGIX; + begin + z_StartInstrumentsSGIX_ovr_0; + end; + + public z_StopInstrumentsSGIX_adr := GetFuncAdr('glStopInstrumentsSGIX'); + public z_StopInstrumentsSGIX_ovr_0 := GetFuncOrNil&(z_StopInstrumentsSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure StopInstrumentsSGIX(marker: Int32); + begin + z_StopInstrumentsSGIX_ovr_0(marker); + end; + + end; + + glListPrioritySGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GetListParameterfvSGIX_adr := GetFuncAdr('glGetListParameterfvSGIX'); + public z_GetListParameterfvSGIX_ovr_0 := GetFuncOrNil&(z_GetListParameterfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetListParameterfvSGIX(list: UInt32; pname: ListParameterName; ¶ms: array of single); + begin + z_GetListParameterfvSGIX_ovr_0(list, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetListParameterfvSGIX(list: UInt32; pname: ListParameterName; var ¶ms: single); + begin + z_GetListParameterfvSGIX_ovr_0(list, pname, ¶ms); + end; + public z_GetListParameterfvSGIX_ovr_2 := GetFuncOrNil&(z_GetListParameterfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetListParameterfvSGIX(list: UInt32; pname: ListParameterName; ¶ms: IntPtr); + begin + z_GetListParameterfvSGIX_ovr_2(list, pname, ¶ms); + end; + + public z_GetListParameterivSGIX_adr := GetFuncAdr('glGetListParameterivSGIX'); + public z_GetListParameterivSGIX_ovr_0 := GetFuncOrNil&(z_GetListParameterivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetListParameterivSGIX(list: UInt32; pname: ListParameterName; ¶ms: array of Int32); + begin + z_GetListParameterivSGIX_ovr_0(list, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetListParameterivSGIX(list: UInt32; pname: ListParameterName; var ¶ms: Int32); + begin + z_GetListParameterivSGIX_ovr_0(list, pname, ¶ms); + end; + public z_GetListParameterivSGIX_ovr_2 := GetFuncOrNil&(z_GetListParameterivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetListParameterivSGIX(list: UInt32; pname: ListParameterName; ¶ms: IntPtr); + begin + z_GetListParameterivSGIX_ovr_2(list, pname, ¶ms); + end; + + public z_ListParameterfSGIX_adr := GetFuncAdr('glListParameterfSGIX'); + public z_ListParameterfSGIX_ovr_0 := GetFuncOrNil&(z_ListParameterfSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterfSGIX(list: UInt32; pname: ListParameterName; param: single); + begin + z_ListParameterfSGIX_ovr_0(list, pname, param); + end; + + public z_ListParameterfvSGIX_adr := GetFuncAdr('glListParameterfvSGIX'); + public z_ListParameterfvSGIX_ovr_0 := GetFuncOrNil&(z_ListParameterfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterfvSGIX(list: UInt32; pname: ListParameterName; ¶ms: array of single); + begin + z_ListParameterfvSGIX_ovr_0(list, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterfvSGIX(list: UInt32; pname: ListParameterName; var ¶ms: single); + begin + z_ListParameterfvSGIX_ovr_0(list, pname, ¶ms); + end; + public z_ListParameterfvSGIX_ovr_2 := GetFuncOrNil&(z_ListParameterfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterfvSGIX(list: UInt32; pname: ListParameterName; ¶ms: IntPtr); + begin + z_ListParameterfvSGIX_ovr_2(list, pname, ¶ms); + end; + + public z_ListParameteriSGIX_adr := GetFuncAdr('glListParameteriSGIX'); + public z_ListParameteriSGIX_ovr_0 := GetFuncOrNil&(z_ListParameteriSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameteriSGIX(list: UInt32; pname: ListParameterName; param: Int32); + begin + z_ListParameteriSGIX_ovr_0(list, pname, param); + end; + + public z_ListParameterivSGIX_adr := GetFuncAdr('glListParameterivSGIX'); + public z_ListParameterivSGIX_ovr_0 := GetFuncOrNil&(z_ListParameterivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterivSGIX(list: UInt32; pname: ListParameterName; ¶ms: array of Int32); + begin + z_ListParameterivSGIX_ovr_0(list, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterivSGIX(list: UInt32; pname: ListParameterName; var ¶ms: Int32); + begin + z_ListParameterivSGIX_ovr_0(list, pname, ¶ms); + end; + public z_ListParameterivSGIX_ovr_2 := GetFuncOrNil&(z_ListParameterivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ListParameterivSGIX(list: UInt32; pname: ListParameterName; ¶ms: IntPtr); + begin + z_ListParameterivSGIX_ovr_2(list, pname, ¶ms); + end; + + end; + + glPixelTextureSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_PixelTexGenSGIX_adr := GetFuncAdr('glPixelTexGenSGIX'); + public z_PixelTexGenSGIX_ovr_0 := GetFuncOrNil&(z_PixelTexGenSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure PixelTexGenSGIX(mode: PixelTexGenModeSGIX); + begin + z_PixelTexGenSGIX_ovr_0(mode); + end; + + end; + + glPolynomialFfdSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DeformationMap3dSGIX_adr := GetFuncAdr('glDeformationMap3dSGIX'); + public z_DeformationMap3dSGIX_ovr_0 := GetFuncOrNil&(z_DeformationMap3dSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3dSGIX(target: FfdTargetSGIX; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; w1: real; w2: real; wstride: Int32; worder: Int32; points: array of real); + begin + z_DeformationMap3dSGIX_ovr_0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3dSGIX(target: FfdTargetSGIX; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; w1: real; w2: real; wstride: Int32; worder: Int32; var points: real); + begin + z_DeformationMap3dSGIX_ovr_0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); + end; + public z_DeformationMap3dSGIX_ovr_2 := GetFuncOrNil&(z_DeformationMap3dSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3dSGIX(target: FfdTargetSGIX; u1: real; u2: real; ustride: Int32; uorder: Int32; v1: real; v2: real; vstride: Int32; vorder: Int32; w1: real; w2: real; wstride: Int32; worder: Int32; points: IntPtr); + begin + z_DeformationMap3dSGIX_ovr_2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); + end; + + public z_DeformationMap3fSGIX_adr := GetFuncAdr('glDeformationMap3fSGIX'); + public z_DeformationMap3fSGIX_ovr_0 := GetFuncOrNil&(z_DeformationMap3fSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3fSGIX(target: FfdTargetSGIX; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; w1: single; w2: single; wstride: Int32; worder: Int32; points: array of single); + begin + z_DeformationMap3fSGIX_ovr_0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3fSGIX(target: FfdTargetSGIX; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; w1: single; w2: single; wstride: Int32; worder: Int32; var points: single); + begin + z_DeformationMap3fSGIX_ovr_0(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); + end; + public z_DeformationMap3fSGIX_ovr_2 := GetFuncOrNil&(z_DeformationMap3fSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformationMap3fSGIX(target: FfdTargetSGIX; u1: single; u2: single; ustride: Int32; uorder: Int32; v1: single; v2: single; vstride: Int32; vorder: Int32; w1: single; w2: single; wstride: Int32; worder: Int32; points: IntPtr); + begin + z_DeformationMap3fSGIX_ovr_2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); + end; + + public z_DeformSGIX_adr := GetFuncAdr('glDeformSGIX'); + public z_DeformSGIX_ovr_0 := GetFuncOrNil&(z_DeformSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DeformSGIX(mask: DummyFlags); + begin + z_DeformSGIX_ovr_0(mask); + end; + + public z_LoadIdentityDeformationMapSGIX_adr := GetFuncAdr('glLoadIdentityDeformationMapSGIX'); + public z_LoadIdentityDeformationMapSGIX_ovr_0 := GetFuncOrNil&(z_LoadIdentityDeformationMapSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure LoadIdentityDeformationMapSGIX(mask: DummyFlags); + begin + z_LoadIdentityDeformationMapSGIX_ovr_0(mask); + end; + + end; + + glReferencePlaneSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ReferencePlaneSGIX_adr := GetFuncAdr('glReferencePlaneSGIX'); + public z_ReferencePlaneSGIX_ovr_0 := GetFuncOrNil&(z_ReferencePlaneSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReferencePlaneSGIX(equation: array of real); + begin + z_ReferencePlaneSGIX_ovr_0(equation[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReferencePlaneSGIX(var equation: real); + begin + z_ReferencePlaneSGIX_ovr_0(equation); + end; + public z_ReferencePlaneSGIX_ovr_2 := GetFuncOrNil&(z_ReferencePlaneSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReferencePlaneSGIX(equation: IntPtr); + begin + z_ReferencePlaneSGIX_ovr_2(equation); + end; + + end; + + glSpriteSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_SpriteParameterfSGIX_adr := GetFuncAdr('glSpriteParameterfSGIX'); + public z_SpriteParameterfSGIX_ovr_0 := GetFuncOrNil&(z_SpriteParameterfSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfSGIX(pname: SpriteParameterNameSGIX; param: single); + begin + z_SpriteParameterfSGIX_ovr_0(pname, param); + end; + + public z_SpriteParameterfvSGIX_adr := GetFuncAdr('glSpriteParameterfvSGIX'); + public z_SpriteParameterfvSGIX_ovr_0 := GetFuncOrNil&(z_SpriteParameterfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfvSGIX(pname: SpriteParameterNameSGIX; ¶ms: array of single); + begin + z_SpriteParameterfvSGIX_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfvSGIX(pname: SpriteParameterNameSGIX; var ¶ms: single); + begin + z_SpriteParameterfvSGIX_ovr_0(pname, ¶ms); + end; + public z_SpriteParameterfvSGIX_ovr_2 := GetFuncOrNil&(z_SpriteParameterfvSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterfvSGIX(pname: SpriteParameterNameSGIX; ¶ms: IntPtr); + begin + z_SpriteParameterfvSGIX_ovr_2(pname, ¶ms); + end; + + public z_SpriteParameteriSGIX_adr := GetFuncAdr('glSpriteParameteriSGIX'); + public z_SpriteParameteriSGIX_ovr_0 := GetFuncOrNil&(z_SpriteParameteriSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameteriSGIX(pname: SpriteParameterNameSGIX; param: Int32); + begin + z_SpriteParameteriSGIX_ovr_0(pname, param); + end; + + public z_SpriteParameterivSGIX_adr := GetFuncAdr('glSpriteParameterivSGIX'); + public z_SpriteParameterivSGIX_ovr_0 := GetFuncOrNil&(z_SpriteParameterivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterivSGIX(pname: SpriteParameterNameSGIX; ¶ms: array of Int32); + begin + z_SpriteParameterivSGIX_ovr_0(pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterivSGIX(pname: SpriteParameterNameSGIX; var ¶ms: Int32); + begin + z_SpriteParameterivSGIX_ovr_0(pname, ¶ms); + end; + public z_SpriteParameterivSGIX_ovr_2 := GetFuncOrNil&(z_SpriteParameterivSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure SpriteParameterivSGIX(pname: SpriteParameterNameSGIX; ¶ms: IntPtr); + begin + z_SpriteParameterivSGIX_ovr_2(pname, ¶ms); + end; + + end; + + glTagSampleBufferSGIX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_TagSampleBufferSGIX_adr := GetFuncAdr('glTagSampleBufferSGIX'); + public z_TagSampleBufferSGIX_ovr_0 := GetFuncOrNil&(z_TagSampleBufferSGIX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TagSampleBufferSGIX; + begin + z_TagSampleBufferSGIX_ovr_0; + end; + + end; + + glColorTableSGI = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ColorTableSGI_adr := GetFuncAdr('glColorTableSGI'); + public z_ColorTableSGI_ovr_0 := GetFuncOrNil&(z_ColorTableSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableSGI(target: ColorTableTargetSGI; _internalformat: InternalFormat; width: Int32; format: PixelFormat; &type: PixelType; table: IntPtr); + begin + z_ColorTableSGI_ovr_0(target, _internalformat, width, format, &type, table); + end; + + public z_ColorTableParameterfvSGI_adr := GetFuncAdr('glColorTableParameterfvSGI'); + public z_ColorTableParameterfvSGI_ovr_0 := GetFuncOrNil&(z_ColorTableParameterfvSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfvSGI(target: ColorTableTargetSGI; pname: DummyEnum; ¶ms: array of single); + begin + z_ColorTableParameterfvSGI_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfvSGI(target: ColorTableTargetSGI; pname: DummyEnum; var ¶ms: single); + begin + z_ColorTableParameterfvSGI_ovr_0(target, pname, ¶ms); + end; + public z_ColorTableParameterfvSGI_ovr_2 := GetFuncOrNil&(z_ColorTableParameterfvSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterfvSGI(target: ColorTableTargetSGI; pname: DummyEnum; ¶ms: IntPtr); + begin + z_ColorTableParameterfvSGI_ovr_2(target, pname, ¶ms); + end; + + public z_ColorTableParameterivSGI_adr := GetFuncAdr('glColorTableParameterivSGI'); + public z_ColorTableParameterivSGI_ovr_0 := GetFuncOrNil&(z_ColorTableParameterivSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterivSGI(target: ColorTableTargetSGI; pname: DummyEnum; ¶ms: array of Int32); + begin + z_ColorTableParameterivSGI_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterivSGI(target: ColorTableTargetSGI; pname: DummyEnum; var ¶ms: Int32); + begin + z_ColorTableParameterivSGI_ovr_0(target, pname, ¶ms); + end; + public z_ColorTableParameterivSGI_ovr_2 := GetFuncOrNil&(z_ColorTableParameterivSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ColorTableParameterivSGI(target: ColorTableTargetSGI; pname: DummyEnum; ¶ms: IntPtr); + begin + z_ColorTableParameterivSGI_ovr_2(target, pname, ¶ms); + end; + + public z_CopyColorTableSGI_adr := GetFuncAdr('glCopyColorTableSGI'); + public z_CopyColorTableSGI_ovr_0 := GetFuncOrNil&(z_CopyColorTableSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure CopyColorTableSGI(target: ColorTableTargetSGI; _internalformat: InternalFormat; x: Int32; y: Int32; width: Int32); + begin + z_CopyColorTableSGI_ovr_0(target, _internalformat, x, y, width); + end; + + public z_GetColorTableSGI_adr := GetFuncAdr('glGetColorTableSGI'); + public z_GetColorTableSGI_ovr_0 := GetFuncOrNil&(z_GetColorTableSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableSGI(target: ColorTableTargetSGI; format: PixelFormat; &type: PixelType; table: IntPtr); + begin + z_GetColorTableSGI_ovr_0(target, format, &type, table); + end; + + public z_GetColorTableParameterfvSGI_adr := GetFuncAdr('glGetColorTableParameterfvSGI'); + public z_GetColorTableParameterfvSGI_ovr_0 := GetFuncOrNil&(z_GetColorTableParameterfvSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvSGI(target: ColorTableTargetSGI; pname: GetColorTableParameterPNameSGI; ¶ms: array of single); + begin + z_GetColorTableParameterfvSGI_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvSGI(target: ColorTableTargetSGI; pname: GetColorTableParameterPNameSGI; var ¶ms: single); + begin + z_GetColorTableParameterfvSGI_ovr_0(target, pname, ¶ms); + end; + public z_GetColorTableParameterfvSGI_ovr_2 := GetFuncOrNil&(z_GetColorTableParameterfvSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterfvSGI(target: ColorTableTargetSGI; pname: GetColorTableParameterPNameSGI; ¶ms: IntPtr); + begin + z_GetColorTableParameterfvSGI_ovr_2(target, pname, ¶ms); + end; + + public z_GetColorTableParameterivSGI_adr := GetFuncAdr('glGetColorTableParameterivSGI'); + public z_GetColorTableParameterivSGI_ovr_0 := GetFuncOrNil&(z_GetColorTableParameterivSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivSGI(target: ColorTableTargetSGI; pname: GetColorTableParameterPNameSGI; ¶ms: array of Int32); + begin + z_GetColorTableParameterivSGI_ovr_0(target, pname, ¶ms[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivSGI(target: ColorTableTargetSGI; pname: GetColorTableParameterPNameSGI; var ¶ms: Int32); + begin + z_GetColorTableParameterivSGI_ovr_0(target, pname, ¶ms); + end; + public z_GetColorTableParameterivSGI_ovr_2 := GetFuncOrNil&(z_GetColorTableParameterivSGI_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GetColorTableParameterivSGI(target: ColorTableTargetSGI; pname: GetColorTableParameterPNameSGI; ¶ms: IntPtr); + begin + z_GetColorTableParameterivSGI_ovr_2(target, pname, ¶ms); + end; + + end; + + glConstantDataSUNX = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_FinishTextureSUNX_adr := GetFuncAdr('glFinishTextureSUNX'); + public z_FinishTextureSUNX_ovr_0 := GetFuncOrNil&(z_FinishTextureSUNX_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure FinishTextureSUNX; + begin + z_FinishTextureSUNX_ovr_0; + end; + + end; + + glGlobalAlphaSUN = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_GlobalAlphaFactorbSUN_adr := GetFuncAdr('glGlobalAlphaFactorbSUN'); + public z_GlobalAlphaFactorbSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactorbSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorbSUN(factor: SByte); + begin + z_GlobalAlphaFactorbSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactorsSUN_adr := GetFuncAdr('glGlobalAlphaFactorsSUN'); + public z_GlobalAlphaFactorsSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactorsSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorsSUN(factor: Int16); + begin + z_GlobalAlphaFactorsSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactoriSUN_adr := GetFuncAdr('glGlobalAlphaFactoriSUN'); + public z_GlobalAlphaFactoriSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactoriSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactoriSUN(factor: Int32); + begin + z_GlobalAlphaFactoriSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactorfSUN_adr := GetFuncAdr('glGlobalAlphaFactorfSUN'); + public z_GlobalAlphaFactorfSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactorfSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorfSUN(factor: single); + begin + z_GlobalAlphaFactorfSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactordSUN_adr := GetFuncAdr('glGlobalAlphaFactordSUN'); + public z_GlobalAlphaFactordSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactordSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactordSUN(factor: real); + begin + z_GlobalAlphaFactordSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactorubSUN_adr := GetFuncAdr('glGlobalAlphaFactorubSUN'); + public z_GlobalAlphaFactorubSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactorubSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorubSUN(factor: Byte); + begin + z_GlobalAlphaFactorubSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactorusSUN_adr := GetFuncAdr('glGlobalAlphaFactorusSUN'); + public z_GlobalAlphaFactorusSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactorusSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactorusSUN(factor: UInt16); + begin + z_GlobalAlphaFactorusSUN_ovr_0(factor); + end; + + public z_GlobalAlphaFactoruiSUN_adr := GetFuncAdr('glGlobalAlphaFactoruiSUN'); + public z_GlobalAlphaFactoruiSUN_ovr_0 := GetFuncOrNil&(z_GlobalAlphaFactoruiSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure GlobalAlphaFactoruiSUN(factor: UInt32); + begin + z_GlobalAlphaFactoruiSUN_ovr_0(factor); + end; + + end; + + glMeshArraySUN = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_DrawMeshArraysSUN_adr := GetFuncAdr('glDrawMeshArraysSUN'); + public z_DrawMeshArraysSUN_ovr_0 := GetFuncOrNil&(z_DrawMeshArraysSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure DrawMeshArraysSUN(mode: PrimitiveType; first: Int32; count: Int32; width: Int32); + begin + z_DrawMeshArraysSUN_ovr_0(mode, first, count, width); + end; + + end; + + glTriangleListSUN = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_ReplacementCodeuiSUN_adr := GetFuncAdr('glReplacementCodeuiSUN'); + public z_ReplacementCodeuiSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiSUN(code: UInt32); + begin + z_ReplacementCodeuiSUN_ovr_0(code); + end; + + public z_ReplacementCodeusSUN_adr := GetFuncAdr('glReplacementCodeusSUN'); + public z_ReplacementCodeusSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeusSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusSUN(code: UInt16); + begin + z_ReplacementCodeusSUN_ovr_0(code); + end; + + public z_ReplacementCodeubSUN_adr := GetFuncAdr('glReplacementCodeubSUN'); + public z_ReplacementCodeubSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeubSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubSUN(code: Byte); + begin + z_ReplacementCodeubSUN_ovr_0(code); + end; + + public z_ReplacementCodeuivSUN_adr := GetFuncAdr('glReplacementCodeuivSUN'); + public z_ReplacementCodeuivSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuivSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuivSUN(code: array of UInt32); + begin + z_ReplacementCodeuivSUN_ovr_0(code[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuivSUN(var code: UInt32); + begin + z_ReplacementCodeuivSUN_ovr_0(code); + end; + public z_ReplacementCodeuivSUN_ovr_2 := GetFuncOrNil&(z_ReplacementCodeuivSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuivSUN(code: IntPtr); + begin + z_ReplacementCodeuivSUN_ovr_2(code); + end; + + public z_ReplacementCodeusvSUN_adr := GetFuncAdr('glReplacementCodeusvSUN'); + public z_ReplacementCodeusvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeusvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusvSUN(code: array of UInt16); + begin + z_ReplacementCodeusvSUN_ovr_0(code[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusvSUN(var code: UInt16); + begin + z_ReplacementCodeusvSUN_ovr_0(code); + end; + public z_ReplacementCodeusvSUN_ovr_2 := GetFuncOrNil&(z_ReplacementCodeusvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeusvSUN(code: IntPtr); + begin + z_ReplacementCodeusvSUN_ovr_2(code); + end; + + public z_ReplacementCodeubvSUN_adr := GetFuncAdr('glReplacementCodeubvSUN'); + public z_ReplacementCodeubvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeubvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubvSUN(code: array of Byte); + begin + z_ReplacementCodeubvSUN_ovr_0(code[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubvSUN(var code: Byte); + begin + z_ReplacementCodeubvSUN_ovr_0(code); + end; + public z_ReplacementCodeubvSUN_ovr_2 := GetFuncOrNil&(z_ReplacementCodeubvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeubvSUN(code: IntPtr); + begin + z_ReplacementCodeubvSUN_ovr_2(code); + end; + + public z_ReplacementCodePointerSUN_adr := GetFuncAdr('glReplacementCodePointerSUN'); + public z_ReplacementCodePointerSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodePointerSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodePointerSUN(&type: ReplacementCodeTypeSUN; stride: Int32; _pointer: array of IntPtr); + begin + z_ReplacementCodePointerSUN_ovr_0(&type, stride, _pointer[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodePointerSUN(&type: ReplacementCodeTypeSUN; stride: Int32; var _pointer: IntPtr); + begin + z_ReplacementCodePointerSUN_ovr_0(&type, stride, _pointer); + end; + public z_ReplacementCodePointerSUN_ovr_2 := GetFuncOrNil&(z_ReplacementCodePointerSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodePointerSUN(&type: ReplacementCodeTypeSUN; stride: Int32; _pointer: pointer); + begin + z_ReplacementCodePointerSUN_ovr_2(&type, stride, _pointer); + end; + + end; + + glVertexSUN = sealed class + public static function GetFuncAdr([MarshalAs(UnmanagedType.LPStr)] lpszProc: string): IntPtr; + external 'opengl32.dll' name 'wglGetProcAddress'; + public static function GetFuncOrNil(fadr: IntPtr) := + fadr=IntPtr.Zero ? default(T) : + Marshal.GetDelegateForFunctionPointer&(fadr); + + public z_Color4ubVertex2fSUN_adr := GetFuncAdr('glColor4ubVertex2fSUN'); + public z_Color4ubVertex2fSUN_ovr_0 := GetFuncOrNil&(z_Color4ubVertex2fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fSUN(r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single); + begin + z_Color4ubVertex2fSUN_ovr_0(r, g, b, a, x, y); + end; + + public z_Color4ubVertex2fvSUN_adr := GetFuncAdr('glColor4ubVertex2fvSUN'); + public z_Color4ubVertex2fvSUN_ovr_0 := GetFuncOrNil&(z_Color4ubVertex2fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(var c: Vec4ub; var v: Vec2f); + begin + z_Color4ubVertex2fvSUN_ovr_0(c, v); + end; + public z_Color4ubVertex2fvSUN_ovr_1 := GetFuncOrNil&(z_Color4ubVertex2fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(c: array of Byte; v: array of single); + begin + z_Color4ubVertex2fvSUN_ovr_1(c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(var c: Byte; var v: single); + begin + z_Color4ubVertex2fvSUN_ovr_1(c, v); + end; + public z_Color4ubVertex2fvSUN_ovr_3 := GetFuncOrNil&(z_Color4ubVertex2fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex2fvSUN(c: IntPtr; v: IntPtr); + begin + z_Color4ubVertex2fvSUN_ovr_3(c, v); + end; + + public z_Color4ubVertex3fSUN_adr := GetFuncAdr('glColor4ubVertex3fSUN'); + public z_Color4ubVertex3fSUN_ovr_0 := GetFuncOrNil&(z_Color4ubVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fSUN(r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single; z: single); + begin + z_Color4ubVertex3fSUN_ovr_0(r, g, b, a, x, y, z); + end; + + public z_Color4ubVertex3fvSUN_adr := GetFuncAdr('glColor4ubVertex3fvSUN'); + public z_Color4ubVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_Color4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(var c: Vec4ub; var v: Vec3f); + begin + z_Color4ubVertex3fvSUN_ovr_0(c, v); + end; + public z_Color4ubVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_Color4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(c: array of Byte; v: array of single); + begin + z_Color4ubVertex3fvSUN_ovr_1(c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(var c: Byte; var v: single); + begin + z_Color4ubVertex3fvSUN_ovr_1(c, v); + end; + public z_Color4ubVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_Color4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4ubVertex3fvSUN(c: IntPtr; v: IntPtr); + begin + z_Color4ubVertex3fvSUN_ovr_3(c, v); + end; + + public z_Color3fVertex3fSUN_adr := GetFuncAdr('glColor3fVertex3fSUN'); + public z_Color3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_Color3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fSUN(r: single; g: single; b: single; x: single; y: single; z: single); + begin + z_Color3fVertex3fSUN_ovr_0(r, g, b, x, y, z); + end; + + public z_Color3fVertex3fvSUN_adr := GetFuncAdr('glColor3fVertex3fvSUN'); + public z_Color3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_Color3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(var c: Vec3f; var v: Vec3f); + begin + z_Color3fVertex3fvSUN_ovr_0(c, v); + end; + public z_Color3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_Color3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(c: array of single; v: array of single); + begin + z_Color3fVertex3fvSUN_ovr_1(c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(var c: single; var v: single); + begin + z_Color3fVertex3fvSUN_ovr_1(c, v); + end; + public z_Color3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_Color3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color3fVertex3fvSUN(c: IntPtr; v: IntPtr); + begin + z_Color3fVertex3fvSUN_ovr_3(c, v); + end; + + public z_Normal3fVertex3fSUN_adr := GetFuncAdr('glNormal3fVertex3fSUN'); + public z_Normal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_Normal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fSUN(nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_Normal3fVertex3fSUN_ovr_0(nx, ny, nz, x, y, z); + end; + + public z_Normal3fVertex3fvSUN_adr := GetFuncAdr('glNormal3fVertex3fvSUN'); + public z_Normal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_Normal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(var n: Vec3f; var v: Vec3f); + begin + z_Normal3fVertex3fvSUN_ovr_0(n, v); + end; + public z_Normal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_Normal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(n: array of single; v: array of single); + begin + z_Normal3fVertex3fvSUN_ovr_1(n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(var n: single; var v: single); + begin + z_Normal3fVertex3fvSUN_ovr_1(n, v); + end; + public z_Normal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_Normal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Normal3fVertex3fvSUN(n: IntPtr; v: IntPtr); + begin + z_Normal3fVertex3fvSUN_ovr_3(n, v); + end; + + public z_Color4fNormal3fVertex3fSUN_adr := GetFuncAdr('glColor4fNormal3fVertex3fSUN'); + public z_Color4fNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_Color4fNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fSUN(r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_Color4fNormal3fVertex3fSUN_ovr_0(r, g, b, a, nx, ny, nz, x, y, z); + end; + + public z_Color4fNormal3fVertex3fvSUN_adr := GetFuncAdr('glColor4fNormal3fVertex3fvSUN'); + public z_Color4fNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_Color4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(var c: Vec4f; var n: Vec3f; var v: Vec3f); + begin + z_Color4fNormal3fVertex3fvSUN_ovr_0(c, n, v); + end; + public z_Color4fNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_Color4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(c: array of single; n: array of single; v: array of single); + begin + z_Color4fNormal3fVertex3fvSUN_ovr_1(c[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(var c: single; var n: single; var v: single); + begin + z_Color4fNormal3fVertex3fvSUN_ovr_1(c, n, v); + end; + public z_Color4fNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_Color4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure Color4fNormal3fVertex3fvSUN(c: IntPtr; n: IntPtr; v: IntPtr); + begin + z_Color4fNormal3fVertex3fvSUN_ovr_3(c, n, v); + end; + + public z_TexCoord2fVertex3fSUN_adr := GetFuncAdr('glTexCoord2fVertex3fSUN'); + public z_TexCoord2fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fSUN(s: single; t: single; x: single; y: single; z: single); + begin + z_TexCoord2fVertex3fSUN_ovr_0(s, t, x, y, z); + end; + + public z_TexCoord2fVertex3fvSUN_adr := GetFuncAdr('glTexCoord2fVertex3fvSUN'); + public z_TexCoord2fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(var tc: Vec2f; var v: Vec3f); + begin + z_TexCoord2fVertex3fvSUN_ovr_0(tc, v); + end; + public z_TexCoord2fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord2fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(tc: array of single; v: array of single); + begin + z_TexCoord2fVertex3fvSUN_ovr_1(tc[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(var tc: single; var v: single); + begin + z_TexCoord2fVertex3fvSUN_ovr_1(tc, v); + end; + public z_TexCoord2fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord2fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fVertex3fvSUN(tc: IntPtr; v: IntPtr); + begin + z_TexCoord2fVertex3fvSUN_ovr_3(tc, v); + end; + + public z_TexCoord4fVertex4fSUN_adr := GetFuncAdr('glTexCoord4fVertex4fSUN'); + public z_TexCoord4fVertex4fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord4fVertex4fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fSUN(s: single; t: single; p: single; q: single; x: single; y: single; z: single; w: single); + begin + z_TexCoord4fVertex4fSUN_ovr_0(s, t, p, q, x, y, z, w); + end; + + public z_TexCoord4fVertex4fvSUN_adr := GetFuncAdr('glTexCoord4fVertex4fvSUN'); + public z_TexCoord4fVertex4fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord4fVertex4fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(var tc: Vec4f; var v: Vec4f); + begin + z_TexCoord4fVertex4fvSUN_ovr_0(tc, v); + end; + public z_TexCoord4fVertex4fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord4fVertex4fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(tc: array of single; v: array of single); + begin + z_TexCoord4fVertex4fvSUN_ovr_1(tc[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(var tc: single; var v: single); + begin + z_TexCoord4fVertex4fvSUN_ovr_1(tc, v); + end; + public z_TexCoord4fVertex4fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord4fVertex4fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fVertex4fvSUN(tc: IntPtr; v: IntPtr); + begin + z_TexCoord4fVertex4fvSUN_ovr_3(tc, v); + end; + + public z_TexCoord2fColor4ubVertex3fSUN_adr := GetFuncAdr('glTexCoord2fColor4ubVertex3fSUN'); + public z_TexCoord2fColor4ubVertex3fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fColor4ubVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fSUN(s: single; t: single; r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single; z: single); + begin + z_TexCoord2fColor4ubVertex3fSUN_ovr_0(s, t, r, g, b, a, x, y, z); + end; + + public z_TexCoord2fColor4ubVertex3fvSUN_adr := GetFuncAdr('glTexCoord2fColor4ubVertex3fvSUN'); + public z_TexCoord2fColor4ubVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fColor4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(var tc: Vec2f; var c: Vec4ub; var v: Vec3f); + begin + z_TexCoord2fColor4ubVertex3fvSUN_ovr_0(tc, c, v); + end; + public z_TexCoord2fColor4ubVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord2fColor4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(tc: array of single; c: array of Byte; v: array of single); + begin + z_TexCoord2fColor4ubVertex3fvSUN_ovr_1(tc[0], c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(var tc: single; var c: Byte; var v: single); + begin + z_TexCoord2fColor4ubVertex3fvSUN_ovr_1(tc, c, v); + end; + public z_TexCoord2fColor4ubVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord2fColor4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4ubVertex3fvSUN(tc: IntPtr; c: IntPtr; v: IntPtr); + begin + z_TexCoord2fColor4ubVertex3fvSUN_ovr_3(tc, c, v); + end; + + public z_TexCoord2fColor3fVertex3fSUN_adr := GetFuncAdr('glTexCoord2fColor3fVertex3fSUN'); + public z_TexCoord2fColor3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fColor3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fSUN(s: single; t: single; r: single; g: single; b: single; x: single; y: single; z: single); + begin + z_TexCoord2fColor3fVertex3fSUN_ovr_0(s, t, r, g, b, x, y, z); + end; + + public z_TexCoord2fColor3fVertex3fvSUN_adr := GetFuncAdr('glTexCoord2fColor3fVertex3fvSUN'); + public z_TexCoord2fColor3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fColor3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(var tc: Vec2f; var c: Vec3f; var v: Vec3f); + begin + z_TexCoord2fColor3fVertex3fvSUN_ovr_0(tc, c, v); + end; + public z_TexCoord2fColor3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord2fColor3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(tc: array of single; c: array of single; v: array of single); + begin + z_TexCoord2fColor3fVertex3fvSUN_ovr_1(tc[0], c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(var tc: single; var c: single; var v: single); + begin + z_TexCoord2fColor3fVertex3fvSUN_ovr_1(tc, c, v); + end; + public z_TexCoord2fColor3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord2fColor3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor3fVertex3fvSUN(tc: IntPtr; c: IntPtr; v: IntPtr); + begin + z_TexCoord2fColor3fVertex3fvSUN_ovr_3(tc, c, v); + end; + + public z_TexCoord2fNormal3fVertex3fSUN_adr := GetFuncAdr('glTexCoord2fNormal3fVertex3fSUN'); + public z_TexCoord2fNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fSUN(s: single; t: single; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_TexCoord2fNormal3fVertex3fSUN_ovr_0(s, t, nx, ny, nz, x, y, z); + end; + + public z_TexCoord2fNormal3fVertex3fvSUN_adr := GetFuncAdr('glTexCoord2fNormal3fVertex3fvSUN'); + public z_TexCoord2fNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(var tc: Vec2f; var n: Vec3f; var v: Vec3f); + begin + z_TexCoord2fNormal3fVertex3fvSUN_ovr_0(tc, n, v); + end; + public z_TexCoord2fNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord2fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(tc: array of single; n: array of single; v: array of single); + begin + z_TexCoord2fNormal3fVertex3fvSUN_ovr_1(tc[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(var tc: single; var n: single; var v: single); + begin + z_TexCoord2fNormal3fVertex3fvSUN_ovr_1(tc, n, v); + end; + public z_TexCoord2fNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord2fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fNormal3fVertex3fvSUN(tc: IntPtr; n: IntPtr; v: IntPtr); + begin + z_TexCoord2fNormal3fVertex3fvSUN_ovr_3(tc, n, v); + end; + + public z_TexCoord2fColor4fNormal3fVertex3fSUN_adr := GetFuncAdr('glTexCoord2fColor4fNormal3fVertex3fSUN'); + public z_TexCoord2fColor4fNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fColor4fNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fSUN(s: single; t: single; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_TexCoord2fColor4fNormal3fVertex3fSUN_ovr_0(s, t, r, g, b, a, nx, ny, nz, x, y, z); + end; + + public z_TexCoord2fColor4fNormal3fVertex3fvSUN_adr := GetFuncAdr('glTexCoord2fColor4fNormal3fVertex3fvSUN'); + public z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord2fColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(var tc: Vec2f; var c: Vec4f; var n: Vec3f; var v: Vec3f); + begin + z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_0(tc, c, n, v); + end; + public z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord2fColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(tc: array of single; c: array of single; n: array of single; v: array of single); + begin + z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_1(tc[0], c[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(var tc: single; var c: single; var n: single; var v: single); + begin + z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_1(tc, c, n, v); + end; + public z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord2fColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord2fColor4fNormal3fVertex3fvSUN(tc: IntPtr; c: IntPtr; n: IntPtr; v: IntPtr); + begin + z_TexCoord2fColor4fNormal3fVertex3fvSUN_ovr_3(tc, c, n, v); + end; + + public z_TexCoord4fColor4fNormal3fVertex4fSUN_adr := GetFuncAdr('glTexCoord4fColor4fNormal3fVertex4fSUN'); + public z_TexCoord4fColor4fNormal3fVertex4fSUN_ovr_0 := GetFuncOrNil&(z_TexCoord4fColor4fNormal3fVertex4fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fSUN(s: single; t: single; p: single; q: single; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single; w: single); + begin + z_TexCoord4fColor4fNormal3fVertex4fSUN_ovr_0(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w); + end; + + public z_TexCoord4fColor4fNormal3fVertex4fvSUN_adr := GetFuncAdr('glTexCoord4fColor4fNormal3fVertex4fvSUN'); + public z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_0 := GetFuncOrNil&(z_TexCoord4fColor4fNormal3fVertex4fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(var tc: Vec4f; var c: Vec4f; var n: Vec3f; var v: Vec4f); + begin + z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_0(tc, c, n, v); + end; + public z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_1 := GetFuncOrNil&(z_TexCoord4fColor4fNormal3fVertex4fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(tc: array of single; c: array of single; n: array of single; v: array of single); + begin + z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_1(tc[0], c[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(var tc: single; var c: single; var n: single; var v: single); + begin + z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_1(tc, c, n, v); + end; + public z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_3 := GetFuncOrNil&(z_TexCoord4fColor4fNormal3fVertex4fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure TexCoord4fColor4fNormal3fVertex4fvSUN(tc: IntPtr; c: IntPtr; n: IntPtr; v: IntPtr); + begin + z_TexCoord4fColor4fNormal3fVertex4fvSUN_ovr_3(tc, c, n, v); + end; + + public z_ReplacementCodeuiVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiVertex3fSUN'); + public z_ReplacementCodeuiVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fSUN(rc: UInt32; x: single; y: single; z: single); + begin + z_ReplacementCodeuiVertex3fSUN_ovr_0(rc, x, y, z); + end; + + public z_ReplacementCodeuiVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiVertex3fvSUN'); + public z_ReplacementCodeuiVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(var rc: UInt32; var v: Vec3f); + begin + z_ReplacementCodeuiVertex3fvSUN_ovr_0(rc, v); + end; + public z_ReplacementCodeuiVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(var rc: UInt32; v: array of single); + begin + z_ReplacementCodeuiVertex3fvSUN_ovr_1(rc, v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(var rc: UInt32; var v: single); + begin + z_ReplacementCodeuiVertex3fvSUN_ovr_1(rc, v); + end; + public z_ReplacementCodeuiVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiVertex3fvSUN(rc: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiVertex3fvSUN_ovr_3(rc, v); + end; + + public z_ReplacementCodeuiColor4ubVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiColor4ubVertex3fSUN'); + public z_ReplacementCodeuiColor4ubVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiColor4ubVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fSUN(rc: UInt32; r: Byte; g: Byte; b: Byte; a: Byte; x: single; y: single; z: single); + begin + z_ReplacementCodeuiColor4ubVertex3fSUN_ovr_0(rc, r, g, b, a, x, y, z); + end; + + public z_ReplacementCodeuiColor4ubVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiColor4ubVertex3fvSUN'); + public z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiColor4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(var rc: UInt32; var c: Vec4ub; var v: Vec3f); + begin + z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_0(rc, c, v); + end; + public z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiColor4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(var rc: UInt32; c: array of Byte; v: array of single); + begin + z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_1(rc, c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(var rc: UInt32; var c: Byte; var v: single); + begin + z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_1(rc, c, v); + end; + public z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiColor4ubVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4ubVertex3fvSUN(rc: IntPtr; c: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiColor4ubVertex3fvSUN_ovr_3(rc, c, v); + end; + + public z_ReplacementCodeuiColor3fVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiColor3fVertex3fSUN'); + public z_ReplacementCodeuiColor3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiColor3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fSUN(rc: UInt32; r: single; g: single; b: single; x: single; y: single; z: single); + begin + z_ReplacementCodeuiColor3fVertex3fSUN_ovr_0(rc, r, g, b, x, y, z); + end; + + public z_ReplacementCodeuiColor3fVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiColor3fVertex3fvSUN'); + public z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiColor3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(var rc: UInt32; var c: Vec3f; var v: Vec3f); + begin + z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_0(rc, c, v); + end; + public z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiColor3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(var rc: UInt32; c: array of single; v: array of single); + begin + z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_1(rc, c[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(var rc: UInt32; var c: single; var v: single); + begin + z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_1(rc, c, v); + end; + public z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiColor3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor3fVertex3fvSUN(rc: IntPtr; c: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiColor3fVertex3fvSUN_ovr_3(rc, c, v); + end; + + public z_ReplacementCodeuiNormal3fVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiNormal3fVertex3fSUN'); + public z_ReplacementCodeuiNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fSUN(rc: UInt32; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_ReplacementCodeuiNormal3fVertex3fSUN_ovr_0(rc, nx, ny, nz, x, y, z); + end; + + public z_ReplacementCodeuiNormal3fVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiNormal3fVertex3fvSUN'); + public z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(var rc: UInt32; var n: Vec3f; var v: Vec3f); + begin + z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_0(rc, n, v); + end; + public z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(var rc: UInt32; n: array of single; v: array of single); + begin + z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_1(rc, n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(var rc: UInt32; var n: single; var v: single); + begin + z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_1(rc, n, v); + end; + public z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiNormal3fVertex3fvSUN(rc: IntPtr; n: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiNormal3fVertex3fvSUN_ovr_3(rc, n, v); + end; + + public z_ReplacementCodeuiColor4fNormal3fVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiColor4fNormal3fVertex3fSUN'); + public z_ReplacementCodeuiColor4fNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiColor4fNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fSUN(rc: UInt32; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_ReplacementCodeuiColor4fNormal3fVertex3fSUN_ovr_0(rc, r, g, b, a, nx, ny, nz, x, y, z); + end; + + public z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiColor4fNormal3fVertex3fvSUN'); + public z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(var rc: UInt32; var c: Vec4f; var n: Vec3f; var v: Vec3f); + begin + z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_0(rc, c, n, v); + end; + public z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(var rc: UInt32; c: array of single; n: array of single; v: array of single); + begin + z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_1(rc, c[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(var rc: UInt32; var c: single; var n: single; var v: single); + begin + z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_1(rc, c, n, v); + end; + public z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc: IntPtr; c: IntPtr; n: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ovr_3(rc, c, n, v); + end; + + public z_ReplacementCodeuiTexCoord2fVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiTexCoord2fVertex3fSUN'); + public z_ReplacementCodeuiTexCoord2fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fSUN(rc: UInt32; s: single; t: single; x: single; y: single; z: single); + begin + z_ReplacementCodeuiTexCoord2fVertex3fSUN_ovr_0(rc, s, t, x, y, z); + end; + + public z_ReplacementCodeuiTexCoord2fVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiTexCoord2fVertex3fvSUN'); + public z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(var rc: UInt32; var tc: Vec2f; var v: Vec3f); + begin + z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_0(rc, tc, v); + end; + public z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(var rc: UInt32; tc: array of single; v: array of single); + begin + z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_1(rc, tc[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(var rc: UInt32; var tc: single; var v: single); + begin + z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_1(rc, tc, v); + end; + public z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fVertex3fvSUN(rc: IntPtr; tc: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiTexCoord2fVertex3fvSUN_ovr_3(rc, tc, v); + end; + + public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN'); + public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc: UInt32; s: single; t: single; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN_ovr_0(rc, s, t, nx, ny, nz, x, y, z); + end; + + public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN'); + public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(var rc: UInt32; var tc: Vec2f; var n: Vec3f; var v: Vec3f); + begin + z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_0(rc, tc, n, v); + end; + public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(var rc: UInt32; tc: array of single; n: array of single; v: array of single); + begin + z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_1(rc, tc[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(var rc: UInt32; var tc: single; var n: single; var v: single); + begin + z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_1(rc, tc, n, v); + end; + public z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc: IntPtr; tc: IntPtr; n: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ovr_3(rc, tc, n, v); + end; + + public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN_adr := GetFuncAdr('glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN'); + public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc: UInt32; s: single; t: single; r: single; g: single; b: single; a: single; nx: single; ny: single; nz: single; x: single; y: single; z: single); + begin + z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN_ovr_0(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z); + end; + + public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_adr := GetFuncAdr('glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN'); + public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_0 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(var rc: UInt32; var tc: Vec2f; var c: Vec4f; var n: Vec3f; var v: Vec3f); + begin + z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_0(rc, tc, c, n, v); + end; + public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_1 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(var rc: UInt32; tc: array of single; c: array of single; n: array of single; v: array of single); + begin + z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_1(rc, tc[0], c[0], n[0], v[0]); + end; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(var rc: UInt32; var tc: single; var c: single; var n: single; var v: single); + begin + z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_1(rc, tc, c, n, v); + end; + public z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_3 := GetFuncOrNil&(z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_adr); + public [MethodImpl(MethodImplOptions.AggressiveInlining)] procedure ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc: IntPtr; tc: IntPtr; c: IntPtr; n: IntPtr; v: IntPtr); + begin + z_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ovr_3(rc, tc, c, n, v); + end; + + end; + + wglStereoControl3DL = static class + + private static function _z_SetStereoEmitterState3DL_ovr0(hDC: GDI_DC; uState: UInt32): UInt32; + external 'opengl32.dll' name 'wglSetStereoEmitterState3DL'; + public static z_SetStereoEmitterState3DL_ovr0 := _z_SetStereoEmitterState3DL_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetStereoEmitterState3DL(hDC: GDI_DC; uState: UInt32): UInt32 := z_SetStereoEmitterState3DL_ovr0(hDC, uState); + + end; + + wglGpuAssociationAMD = static class + + private static function _z_GetGPUIDsAMD_ovr0(maxCount: UInt32; [MarshalAs(UnmanagedType.LPArray)] ids: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGPUIDsAMD'; + public static z_GetGPUIDsAMD_ovr0 := _z_GetGPUIDsAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGPUIDsAMD(maxCount: UInt32; ids: array of UInt32): UInt32 := z_GetGPUIDsAMD_ovr0(maxCount, ids); + private static function _z_GetGPUIDsAMD_ovr1(maxCount: UInt32; var ids: UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGPUIDsAMD'; + public static z_GetGPUIDsAMD_ovr1 := _z_GetGPUIDsAMD_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGPUIDsAMD(maxCount: UInt32; var ids: UInt32): UInt32 := z_GetGPUIDsAMD_ovr1(maxCount, ids); + private static function _z_GetGPUIDsAMD_ovr2(maxCount: UInt32; ids: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGPUIDsAMD'; + public static z_GetGPUIDsAMD_ovr2 := _z_GetGPUIDsAMD_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGPUIDsAMD(maxCount: UInt32; ids: IntPtr): UInt32 := z_GetGPUIDsAMD_ovr2(maxCount, ids); + + private static function _z_GetGPUInfoAMD_ovr0(id: UInt32; &property: Int32; dataType: DummyEnum; size: UInt32; data: IntPtr): Int32; + external 'opengl32.dll' name 'wglGetGPUInfoAMD'; + public static z_GetGPUInfoAMD_ovr0 := _z_GetGPUInfoAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGPUInfoAMD(id: UInt32; &property: Int32; dataType: DummyEnum; size: UInt32; data: IntPtr): Int32 := z_GetGPUInfoAMD_ovr0(id, &property, dataType, size, data); + + private static function _z_GetContextGPUIDAMD_ovr0(hglrc: GLContext): UInt32; + external 'opengl32.dll' name 'wglGetContextGPUIDAMD'; + public static z_GetContextGPUIDAMD_ovr0 := _z_GetContextGPUIDAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetContextGPUIDAMD(hglrc: GLContext): UInt32 := z_GetContextGPUIDAMD_ovr0(hglrc); + + private static function _z_CreateAssociatedContextAMD_ovr0(id: UInt32): GLContext; + external 'opengl32.dll' name 'wglCreateAssociatedContextAMD'; + public static z_CreateAssociatedContextAMD_ovr0 := _z_CreateAssociatedContextAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAssociatedContextAMD(id: UInt32): GLContext := z_CreateAssociatedContextAMD_ovr0(id); + + private static function _z_CreateAssociatedContextAttribsAMD_ovr0(id: UInt32; hShareContext: GLContext; [MarshalAs(UnmanagedType.LPArray)] attribList: array of Int32): GLContext; + external 'opengl32.dll' name 'wglCreateAssociatedContextAttribsAMD'; + public static z_CreateAssociatedContextAttribsAMD_ovr0 := _z_CreateAssociatedContextAttribsAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAssociatedContextAttribsAMD(id: UInt32; hShareContext: GLContext; attribList: array of Int32): GLContext := z_CreateAssociatedContextAttribsAMD_ovr0(id, hShareContext, attribList); + private static function _z_CreateAssociatedContextAttribsAMD_ovr1(id: UInt32; hShareContext: GLContext; var attribList: Int32): GLContext; + external 'opengl32.dll' name 'wglCreateAssociatedContextAttribsAMD'; + public static z_CreateAssociatedContextAttribsAMD_ovr1 := _z_CreateAssociatedContextAttribsAMD_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAssociatedContextAttribsAMD(id: UInt32; hShareContext: GLContext; var attribList: Int32): GLContext := z_CreateAssociatedContextAttribsAMD_ovr1(id, hShareContext, attribList); + private static function _z_CreateAssociatedContextAttribsAMD_ovr2(id: UInt32; hShareContext: GLContext; attribList: IntPtr): GLContext; + external 'opengl32.dll' name 'wglCreateAssociatedContextAttribsAMD'; + public static z_CreateAssociatedContextAttribsAMD_ovr2 := _z_CreateAssociatedContextAttribsAMD_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAssociatedContextAttribsAMD(id: UInt32; hShareContext: GLContext; attribList: IntPtr): GLContext := z_CreateAssociatedContextAttribsAMD_ovr2(id, hShareContext, attribList); + + private static function _z_DeleteAssociatedContextAMD_ovr0(hglrc: GLContext): UInt32; + external 'opengl32.dll' name 'wglDeleteAssociatedContextAMD'; + public static z_DeleteAssociatedContextAMD_ovr0 := _z_DeleteAssociatedContextAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DeleteAssociatedContextAMD(hglrc: GLContext): UInt32 := z_DeleteAssociatedContextAMD_ovr0(hglrc); + + private static function _z_MakeAssociatedContextCurrentAMD_ovr0(hglrc: GLContext): UInt32; + external 'opengl32.dll' name 'wglMakeAssociatedContextCurrentAMD'; + public static z_MakeAssociatedContextCurrentAMD_ovr0 := _z_MakeAssociatedContextCurrentAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function MakeAssociatedContextCurrentAMD(hglrc: GLContext): UInt32 := z_MakeAssociatedContextCurrentAMD_ovr0(hglrc); + + private static function _z_GetCurrentAssociatedContextAMD_ovr0: GLContext; + external 'opengl32.dll' name 'wglGetCurrentAssociatedContextAMD'; + public static z_GetCurrentAssociatedContextAMD_ovr0: function: GLContext := _z_GetCurrentAssociatedContextAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetCurrentAssociatedContextAMD: GLContext := z_GetCurrentAssociatedContextAMD_ovr0; + + private static procedure _z_BlitContextFramebufferAMD_ovr0(dstCtx: GLContext; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum); + external 'opengl32.dll' name 'wglBlitContextFramebufferAMD'; + public static z_BlitContextFramebufferAMD_ovr0 := _z_BlitContextFramebufferAMD_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static procedure BlitContextFramebufferAMD(dstCtx: GLContext; srcX0: Int32; srcY0: Int32; srcX1: Int32; srcY1: Int32; dstX0: Int32; dstY0: Int32; dstX1: Int32; dstY1: Int32; mask: DummyFlags; filter: DummyEnum) := z_BlitContextFramebufferAMD_ovr0(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + + end; + + wglBufferRegionARB = static class + + private static function _z_CreateBufferRegionARB_ovr0(hDC: GDI_DC; iLayerPlane: Int32; uType: UInt32): IntPtr; + external 'opengl32.dll' name 'wglCreateBufferRegionARB'; + public static z_CreateBufferRegionARB_ovr0 := _z_CreateBufferRegionARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateBufferRegionARB(hDC: GDI_DC; iLayerPlane: Int32; uType: UInt32): IntPtr := z_CreateBufferRegionARB_ovr0(hDC, iLayerPlane, uType); + + private static procedure _z_DeleteBufferRegionARB_ovr0(hRegion: IntPtr); + external 'opengl32.dll' name 'wglDeleteBufferRegionARB'; + public static z_DeleteBufferRegionARB_ovr0 := _z_DeleteBufferRegionARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static procedure DeleteBufferRegionARB(hRegion: IntPtr) := z_DeleteBufferRegionARB_ovr0(hRegion); + + private static function _z_SaveBufferRegionARB_ovr0(hRegion: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32): UInt32; + external 'opengl32.dll' name 'wglSaveBufferRegionARB'; + public static z_SaveBufferRegionARB_ovr0 := _z_SaveBufferRegionARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SaveBufferRegionARB(hRegion: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32): UInt32 := z_SaveBufferRegionARB_ovr0(hRegion, x, y, width, height); + + private static function _z_RestoreBufferRegionARB_ovr0(hRegion: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32; xSrc: Int32; ySrc: Int32): UInt32; + external 'opengl32.dll' name 'wglRestoreBufferRegionARB'; + public static z_RestoreBufferRegionARB_ovr0 := _z_RestoreBufferRegionARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function RestoreBufferRegionARB(hRegion: IntPtr; x: Int32; y: Int32; width: Int32; height: Int32; xSrc: Int32; ySrc: Int32): UInt32 := z_RestoreBufferRegionARB_ovr0(hRegion, x, y, width, height, xSrc, ySrc); + + end; + + wglCreateContextARB = static class + + private static function _z_CreateContextAttribsARB_ovr0(hDC: GDI_DC; hShareContext: GLContext; [MarshalAs(UnmanagedType.LPArray)] attribList: array of Int32): GLContext; + external 'opengl32.dll' name 'wglCreateContextAttribsARB'; + public static z_CreateContextAttribsARB_ovr0 := _z_CreateContextAttribsARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateContextAttribsARB(hDC: GDI_DC; hShareContext: GLContext; attribList: array of Int32): GLContext := z_CreateContextAttribsARB_ovr0(hDC, hShareContext, attribList); + private static function _z_CreateContextAttribsARB_ovr1(hDC: GDI_DC; hShareContext: GLContext; var attribList: Int32): GLContext; + external 'opengl32.dll' name 'wglCreateContextAttribsARB'; + public static z_CreateContextAttribsARB_ovr1 := _z_CreateContextAttribsARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateContextAttribsARB(hDC: GDI_DC; hShareContext: GLContext; var attribList: Int32): GLContext := z_CreateContextAttribsARB_ovr1(hDC, hShareContext, attribList); + private static function _z_CreateContextAttribsARB_ovr2(hDC: GDI_DC; hShareContext: GLContext; attribList: IntPtr): GLContext; + external 'opengl32.dll' name 'wglCreateContextAttribsARB'; + public static z_CreateContextAttribsARB_ovr2 := _z_CreateContextAttribsARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateContextAttribsARB(hDC: GDI_DC; hShareContext: GLContext; attribList: IntPtr): GLContext := z_CreateContextAttribsARB_ovr2(hDC, hShareContext, attribList); + + end; + + wglExtensionsStringARB = static class + + private [Result: MarshalAs(UnmanagedType.LPStr)] static function _z_GetExtensionsStringARB_ovr0(hdc: GDI_DC): string; + external 'opengl32.dll' name 'wglGetExtensionsStringARB'; + public static z_GetExtensionsStringARB_ovr0 := _z_GetExtensionsStringARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetExtensionsStringARB(hdc: GDI_DC): string := z_GetExtensionsStringARB_ovr0(hdc); + + end; + + wglMakeCurrentReadARB = static class + + private static function _z_MakeContextCurrentARB_ovr0(hDrawDC: GDI_DC; hReadDC: GDI_DC; hglrc: GLContext): UInt32; + external 'opengl32.dll' name 'wglMakeContextCurrentARB'; + public static z_MakeContextCurrentARB_ovr0 := _z_MakeContextCurrentARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function MakeContextCurrentARB(hDrawDC: GDI_DC; hReadDC: GDI_DC; hglrc: GLContext): UInt32 := z_MakeContextCurrentARB_ovr0(hDrawDC, hReadDC, hglrc); + + private static function _z_GetCurrentReadDCARB_ovr0: GDI_DC; + external 'opengl32.dll' name 'wglGetCurrentReadDCARB'; + public static z_GetCurrentReadDCARB_ovr0: function: GDI_DC := _z_GetCurrentReadDCARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetCurrentReadDCARB: GDI_DC := z_GetCurrentReadDCARB_ovr0; + + end; + + wglPbufferARB = static class + + private static function _z_CreatePbufferARB_ovr0(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; [MarshalAs(UnmanagedType.LPArray)] piAttribList: array of Int32): HPBUFFER; + external 'opengl32.dll' name 'wglCreatePbufferARB'; + public static z_CreatePbufferARB_ovr0 := _z_CreatePbufferARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreatePbufferARB(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: array of Int32): HPBUFFER := z_CreatePbufferARB_ovr0(hDC, iPixelFormat, iWidth, iHeight, piAttribList); + private static function _z_CreatePbufferARB_ovr1(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; var piAttribList: Int32): HPBUFFER; + external 'opengl32.dll' name 'wglCreatePbufferARB'; + public static z_CreatePbufferARB_ovr1 := _z_CreatePbufferARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreatePbufferARB(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; var piAttribList: Int32): HPBUFFER := z_CreatePbufferARB_ovr1(hDC, iPixelFormat, iWidth, iHeight, piAttribList); + private static function _z_CreatePbufferARB_ovr2(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: IntPtr): HPBUFFER; + external 'opengl32.dll' name 'wglCreatePbufferARB'; + public static z_CreatePbufferARB_ovr2 := _z_CreatePbufferARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreatePbufferARB(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: IntPtr): HPBUFFER := z_CreatePbufferARB_ovr2(hDC, iPixelFormat, iWidth, iHeight, piAttribList); + + private static function _z_GetPbufferDCARB_ovr0(_hPbuffer: HPBUFFER): GDI_DC; + external 'opengl32.dll' name 'wglGetPbufferDCARB'; + public static z_GetPbufferDCARB_ovr0 := _z_GetPbufferDCARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPbufferDCARB(_hPbuffer: HPBUFFER): GDI_DC := z_GetPbufferDCARB_ovr0(_hPbuffer); + + private static function _z_ReleasePbufferDCARB_ovr0(_hPbuffer: HPBUFFER; hDC: GDI_DC): Int32; + external 'opengl32.dll' name 'wglReleasePbufferDCARB'; + public static z_ReleasePbufferDCARB_ovr0 := _z_ReleasePbufferDCARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleasePbufferDCARB(_hPbuffer: HPBUFFER; hDC: GDI_DC): Int32 := z_ReleasePbufferDCARB_ovr0(_hPbuffer, hDC); + + private static function _z_DestroyPbufferARB_ovr0(_hPbuffer: HPBUFFER): UInt32; + external 'opengl32.dll' name 'wglDestroyPbufferARB'; + public static z_DestroyPbufferARB_ovr0 := _z_DestroyPbufferARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DestroyPbufferARB(_hPbuffer: HPBUFFER): UInt32 := z_DestroyPbufferARB_ovr0(_hPbuffer); + + private static function _z_QueryPbufferARB_ovr0(_hPbuffer: HPBUFFER; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglQueryPbufferARB'; + public static z_QueryPbufferARB_ovr0 := _z_QueryPbufferARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryPbufferARB(_hPbuffer: HPBUFFER; iAttribute: Int32; piValue: array of Int32): UInt32 := z_QueryPbufferARB_ovr0(_hPbuffer, iAttribute, piValue); + private static function _z_QueryPbufferARB_ovr1(_hPbuffer: HPBUFFER; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglQueryPbufferARB'; + public static z_QueryPbufferARB_ovr1 := _z_QueryPbufferARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryPbufferARB(_hPbuffer: HPBUFFER; iAttribute: Int32; var piValue: Int32): UInt32 := z_QueryPbufferARB_ovr1(_hPbuffer, iAttribute, piValue); + private static function _z_QueryPbufferARB_ovr2(_hPbuffer: HPBUFFER; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryPbufferARB'; + public static z_QueryPbufferARB_ovr2 := _z_QueryPbufferARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryPbufferARB(_hPbuffer: HPBUFFER; iAttribute: Int32; piValue: IntPtr): UInt32 := z_QueryPbufferARB_ovr2(_hPbuffer, iAttribute, piValue); + + end; + + wglPixelFormatARB = static class + + private static function _z_GetPixelFormatAttribivARB_ovr0(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; [MarshalAs(UnmanagedType.LPArray)] piValues: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr0 := _z_GetPixelFormatAttribivARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: array of Int32): UInt32 := z_GetPixelFormatAttribivARB_ovr0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr1(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; var piValues: Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr1 := _z_GetPixelFormatAttribivARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var piValues: Int32): UInt32 := z_GetPixelFormatAttribivARB_ovr1(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr2(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; piValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr2 := _z_GetPixelFormatAttribivARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: IntPtr): UInt32 := z_GetPixelFormatAttribivARB_ovr2(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr3(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; [MarshalAs(UnmanagedType.LPArray)] piValues: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr3 := _z_GetPixelFormatAttribivARB_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: array of Int32): UInt32 := z_GetPixelFormatAttribivARB_ovr3(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr4(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var piValues: Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr4 := _z_GetPixelFormatAttribivARB_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var piValues: Int32): UInt32 := z_GetPixelFormatAttribivARB_ovr4(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr5(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr5 := _z_GetPixelFormatAttribivARB_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: IntPtr): UInt32 := z_GetPixelFormatAttribivARB_ovr5(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr6(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; [MarshalAs(UnmanagedType.LPArray)] piValues: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr6 := _z_GetPixelFormatAttribivARB_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; piValues: array of Int32): UInt32 := z_GetPixelFormatAttribivARB_ovr6(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr7(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var piValues: Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr7 := _z_GetPixelFormatAttribivARB_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var piValues: Int32): UInt32 := z_GetPixelFormatAttribivARB_ovr7(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivARB_ovr8(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; piValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivARB'; + public static z_GetPixelFormatAttribivARB_ovr8 := _z_GetPixelFormatAttribivARB_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; piValues: IntPtr): UInt32 := z_GetPixelFormatAttribivARB_ovr8(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + + private static function _z_GetPixelFormatAttribfvARB_ovr0(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfValues: array of single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr0 := _z_GetPixelFormatAttribfvARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: array of single): UInt32 := z_GetPixelFormatAttribfvARB_ovr0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr1(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; var pfValues: single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr1 := _z_GetPixelFormatAttribfvARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var pfValues: single): UInt32 := z_GetPixelFormatAttribfvARB_ovr1(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr2(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; pfValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr2 := _z_GetPixelFormatAttribfvARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: IntPtr): UInt32 := z_GetPixelFormatAttribfvARB_ovr2(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr3(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; [MarshalAs(UnmanagedType.LPArray)] pfValues: array of single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr3 := _z_GetPixelFormatAttribfvARB_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: array of single): UInt32 := z_GetPixelFormatAttribfvARB_ovr3(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr4(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var pfValues: single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr4 := _z_GetPixelFormatAttribfvARB_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var pfValues: single): UInt32 := z_GetPixelFormatAttribfvARB_ovr4(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr5(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr5 := _z_GetPixelFormatAttribfvARB_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: IntPtr): UInt32 := z_GetPixelFormatAttribfvARB_ovr5(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr6(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfValues: array of single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr6 := _z_GetPixelFormatAttribfvARB_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; pfValues: array of single): UInt32 := z_GetPixelFormatAttribfvARB_ovr6(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr7(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var pfValues: single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr7 := _z_GetPixelFormatAttribfvARB_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var pfValues: single): UInt32 := z_GetPixelFormatAttribfvARB_ovr7(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvARB_ovr8(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; pfValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvARB'; + public static z_GetPixelFormatAttribfvARB_ovr8 := _z_GetPixelFormatAttribfvARB_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvARB(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; pfValues: IntPtr): UInt32 := z_GetPixelFormatAttribfvARB_ovr8(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + + private static function _z_ChoosePixelFormatARB_ovr0(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr0 := _z_ChoosePixelFormatARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr0(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr1(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr1 := _z_ChoosePixelFormatARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr1(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr2(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr2 := _z_ChoosePixelFormatARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr2(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr3(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr3 := _z_ChoosePixelFormatARB_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr3(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr4(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr4 := _z_ChoosePixelFormatARB_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr4(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr5(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr5 := _z_ChoosePixelFormatARB_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr5(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr6(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr6 := _z_ChoosePixelFormatARB_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr6(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr7(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr7 := _z_ChoosePixelFormatARB_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr7(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr8(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr8 := _z_ChoosePixelFormatARB_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr8(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr9(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr9 := _z_ChoosePixelFormatARB_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr9(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr10(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr10 := _z_ChoosePixelFormatARB_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr10(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr11(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr11 := _z_ChoosePixelFormatARB_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr11(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr12(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr12 := _z_ChoosePixelFormatARB_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr12(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr13(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr13 := _z_ChoosePixelFormatARB_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr13(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr14(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr14 := _z_ChoosePixelFormatARB_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr14(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr15(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr15 := _z_ChoosePixelFormatARB_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr15(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr16(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr16 := _z_ChoosePixelFormatARB_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr16(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr17(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr17 := _z_ChoosePixelFormatARB_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr17(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr18(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr18 := _z_ChoosePixelFormatARB_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr18(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr19(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr19 := _z_ChoosePixelFormatARB_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr19(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr20(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr20 := _z_ChoosePixelFormatARB_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr20(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr21(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr21 := _z_ChoosePixelFormatARB_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr21(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr22(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr22 := _z_ChoosePixelFormatARB_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr22(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr23(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr23 := _z_ChoosePixelFormatARB_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr23(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr24(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr24 := _z_ChoosePixelFormatARB_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr24(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr25(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr25 := _z_ChoosePixelFormatARB_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr25(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr26(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr26 := _z_ChoosePixelFormatARB_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr26(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr27(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr27 := _z_ChoosePixelFormatARB_ovr27; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr27(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr28(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr28 := _z_ChoosePixelFormatARB_ovr28; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr28(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr29(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr29 := _z_ChoosePixelFormatARB_ovr29; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr29(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr30(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr30 := _z_ChoosePixelFormatARB_ovr30; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr30(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr31(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr31 := _z_ChoosePixelFormatARB_ovr31; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr31(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr32(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr32 := _z_ChoosePixelFormatARB_ovr32; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr32(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr33(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr33 := _z_ChoosePixelFormatARB_ovr33; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr33(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr34(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr34 := _z_ChoosePixelFormatARB_ovr34; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr34(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr35(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr35 := _z_ChoosePixelFormatARB_ovr35; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr35(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr36(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr36 := _z_ChoosePixelFormatARB_ovr36; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr36(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr37(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr37 := _z_ChoosePixelFormatARB_ovr37; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr37(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr38(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr38 := _z_ChoosePixelFormatARB_ovr38; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr38(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr39(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr39 := _z_ChoosePixelFormatARB_ovr39; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr39(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr40(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr40 := _z_ChoosePixelFormatARB_ovr40; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr40(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr41(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr41 := _z_ChoosePixelFormatARB_ovr41; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr41(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr42(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr42 := _z_ChoosePixelFormatARB_ovr42; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr42(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr43(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr43 := _z_ChoosePixelFormatARB_ovr43; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr43(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr44(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr44 := _z_ChoosePixelFormatARB_ovr44; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr44(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr45(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr45 := _z_ChoosePixelFormatARB_ovr45; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr45(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr46(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr46 := _z_ChoosePixelFormatARB_ovr46; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr46(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr47(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr47 := _z_ChoosePixelFormatARB_ovr47; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr47(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr48(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr48 := _z_ChoosePixelFormatARB_ovr48; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr48(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr49(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr49 := _z_ChoosePixelFormatARB_ovr49; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr49(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr50(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr50 := _z_ChoosePixelFormatARB_ovr50; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr50(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr51(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr51 := _z_ChoosePixelFormatARB_ovr51; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr51(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr52(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr52 := _z_ChoosePixelFormatARB_ovr52; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr52(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr53(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr53 := _z_ChoosePixelFormatARB_ovr53; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr53(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr54(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr54 := _z_ChoosePixelFormatARB_ovr54; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr54(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr55(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr55 := _z_ChoosePixelFormatARB_ovr55; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr55(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr56(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr56 := _z_ChoosePixelFormatARB_ovr56; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr56(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr57(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr57 := _z_ChoosePixelFormatARB_ovr57; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr57(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr58(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr58 := _z_ChoosePixelFormatARB_ovr58; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr58(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr59(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr59 := _z_ChoosePixelFormatARB_ovr59; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr59(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr60(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr60 := _z_ChoosePixelFormatARB_ovr60; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr60(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr61(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr61 := _z_ChoosePixelFormatARB_ovr61; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr61(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr62(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr62 := _z_ChoosePixelFormatARB_ovr62; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr62(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr63(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr63 := _z_ChoosePixelFormatARB_ovr63; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr63(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr64(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr64 := _z_ChoosePixelFormatARB_ovr64; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr64(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr65(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr65 := _z_ChoosePixelFormatARB_ovr65; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr65(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr66(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr66 := _z_ChoosePixelFormatARB_ovr66; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr66(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr67(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr67 := _z_ChoosePixelFormatARB_ovr67; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr67(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr68(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr68 := _z_ChoosePixelFormatARB_ovr68; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr68(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr69(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr69 := _z_ChoosePixelFormatARB_ovr69; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr69(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr70(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr70 := _z_ChoosePixelFormatARB_ovr70; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr70(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr71(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr71 := _z_ChoosePixelFormatARB_ovr71; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr71(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr72(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr72 := _z_ChoosePixelFormatARB_ovr72; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr72(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr73(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr73 := _z_ChoosePixelFormatARB_ovr73; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr73(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr74(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr74 := _z_ChoosePixelFormatARB_ovr74; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr74(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr75(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr75 := _z_ChoosePixelFormatARB_ovr75; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr75(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr76(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr76 := _z_ChoosePixelFormatARB_ovr76; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr76(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr77(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr77 := _z_ChoosePixelFormatARB_ovr77; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr77(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr78(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr78 := _z_ChoosePixelFormatARB_ovr78; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatARB_ovr78(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr79(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr79 := _z_ChoosePixelFormatARB_ovr79; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatARB_ovr79(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatARB_ovr80(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatARB'; + public static z_ChoosePixelFormatARB_ovr80 := _z_ChoosePixelFormatARB_ovr80; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatARB(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatARB_ovr80(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + + end; + + wglRenderTextureARB = static class + + private static function _z_BindTexImageARB_ovr0(_hPbuffer: HPBUFFER; iBuffer: Int32): UInt32; + external 'opengl32.dll' name 'wglBindTexImageARB'; + public static z_BindTexImageARB_ovr0 := _z_BindTexImageARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindTexImageARB(_hPbuffer: HPBUFFER; iBuffer: Int32): UInt32 := z_BindTexImageARB_ovr0(_hPbuffer, iBuffer); + + private static function _z_ReleaseTexImageARB_ovr0(_hPbuffer: HPBUFFER; iBuffer: Int32): UInt32; + external 'opengl32.dll' name 'wglReleaseTexImageARB'; + public static z_ReleaseTexImageARB_ovr0 := _z_ReleaseTexImageARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseTexImageARB(_hPbuffer: HPBUFFER; iBuffer: Int32): UInt32 := z_ReleaseTexImageARB_ovr0(_hPbuffer, iBuffer); + + private static function _z_SetPbufferAttribARB_ovr0(_hPbuffer: HPBUFFER; [MarshalAs(UnmanagedType.LPArray)] piAttribList: array of Int32): UInt32; + external 'opengl32.dll' name 'wglSetPbufferAttribARB'; + public static z_SetPbufferAttribARB_ovr0 := _z_SetPbufferAttribARB_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPbufferAttribARB(_hPbuffer: HPBUFFER; piAttribList: array of Int32): UInt32 := z_SetPbufferAttribARB_ovr0(_hPbuffer, piAttribList); + private static function _z_SetPbufferAttribARB_ovr1(_hPbuffer: HPBUFFER; var piAttribList: Int32): UInt32; + external 'opengl32.dll' name 'wglSetPbufferAttribARB'; + public static z_SetPbufferAttribARB_ovr1 := _z_SetPbufferAttribARB_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPbufferAttribARB(_hPbuffer: HPBUFFER; var piAttribList: Int32): UInt32 := z_SetPbufferAttribARB_ovr1(_hPbuffer, piAttribList); + private static function _z_SetPbufferAttribARB_ovr2(_hPbuffer: HPBUFFER; piAttribList: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetPbufferAttribARB'; + public static z_SetPbufferAttribARB_ovr2 := _z_SetPbufferAttribARB_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetPbufferAttribARB(_hPbuffer: HPBUFFER; piAttribList: IntPtr): UInt32 := z_SetPbufferAttribARB_ovr2(_hPbuffer, piAttribList); + + end; + + wglDisplayColorTableEXT = static class + + private static function _z_CreateDisplayColorTableEXT_ovr0(id: UInt16): boolean; + external 'opengl32.dll' name 'wglCreateDisplayColorTableEXT'; + public static z_CreateDisplayColorTableEXT_ovr0 := _z_CreateDisplayColorTableEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateDisplayColorTableEXT(id: UInt16): boolean := z_CreateDisplayColorTableEXT_ovr0(id); + + private static function _z_LoadDisplayColorTableEXT_ovr0([MarshalAs(UnmanagedType.LPArray)] table: array of UInt16; length: UInt32): boolean; + external 'opengl32.dll' name 'wglLoadDisplayColorTableEXT'; + public static z_LoadDisplayColorTableEXT_ovr0 := _z_LoadDisplayColorTableEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function LoadDisplayColorTableEXT(table: array of UInt16; length: UInt32): boolean := z_LoadDisplayColorTableEXT_ovr0(table, length); + private static function _z_LoadDisplayColorTableEXT_ovr1(var table: UInt16; length: UInt32): boolean; + external 'opengl32.dll' name 'wglLoadDisplayColorTableEXT'; + public static z_LoadDisplayColorTableEXT_ovr1 := _z_LoadDisplayColorTableEXT_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function LoadDisplayColorTableEXT(var table: UInt16; length: UInt32): boolean := z_LoadDisplayColorTableEXT_ovr1(table, length); + private static function _z_LoadDisplayColorTableEXT_ovr2(table: IntPtr; length: UInt32): boolean; + external 'opengl32.dll' name 'wglLoadDisplayColorTableEXT'; + public static z_LoadDisplayColorTableEXT_ovr2 := _z_LoadDisplayColorTableEXT_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function LoadDisplayColorTableEXT(table: IntPtr; length: UInt32): boolean := z_LoadDisplayColorTableEXT_ovr2(table, length); + + private static function _z_BindDisplayColorTableEXT_ovr0(id: UInt16): boolean; + external 'opengl32.dll' name 'wglBindDisplayColorTableEXT'; + public static z_BindDisplayColorTableEXT_ovr0 := _z_BindDisplayColorTableEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindDisplayColorTableEXT(id: UInt16): boolean := z_BindDisplayColorTableEXT_ovr0(id); + + private static procedure _z_DestroyDisplayColorTableEXT_ovr0(id: UInt16); + external 'opengl32.dll' name 'wglDestroyDisplayColorTableEXT'; + public static z_DestroyDisplayColorTableEXT_ovr0 := _z_DestroyDisplayColorTableEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static procedure DestroyDisplayColorTableEXT(id: UInt16) := z_DestroyDisplayColorTableEXT_ovr0(id); + + end; + + wglExtensionsStringEXT = static class + + private [Result: MarshalAs(UnmanagedType.LPStr)] static function _z_GetExtensionsStringEXT_ovr0: string; + external 'opengl32.dll' name 'wglGetExtensionsStringEXT'; + public static z_GetExtensionsStringEXT_ovr0: function: string := _z_GetExtensionsStringEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetExtensionsStringEXT: string := z_GetExtensionsStringEXT_ovr0; + + end; + + wglMakeCurrentReadEXT = static class + + private static function _z_MakeContextCurrentEXT_ovr0(hDrawDC: GDI_DC; hReadDC: GDI_DC; hglrc: GLContext): UInt32; + external 'opengl32.dll' name 'wglMakeContextCurrentEXT'; + public static z_MakeContextCurrentEXT_ovr0 := _z_MakeContextCurrentEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function MakeContextCurrentEXT(hDrawDC: GDI_DC; hReadDC: GDI_DC; hglrc: GLContext): UInt32 := z_MakeContextCurrentEXT_ovr0(hDrawDC, hReadDC, hglrc); + + private static function _z_GetCurrentReadDCEXT_ovr0: GDI_DC; + external 'opengl32.dll' name 'wglGetCurrentReadDCEXT'; + public static z_GetCurrentReadDCEXT_ovr0: function: GDI_DC := _z_GetCurrentReadDCEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetCurrentReadDCEXT: GDI_DC := z_GetCurrentReadDCEXT_ovr0; + + end; + + wglPbufferEXT = static class + + private static function _z_CreatePbufferEXT_ovr0(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; [MarshalAs(UnmanagedType.LPArray)] piAttribList: array of Int32): HPBUFFER; + external 'opengl32.dll' name 'wglCreatePbufferEXT'; + public static z_CreatePbufferEXT_ovr0 := _z_CreatePbufferEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreatePbufferEXT(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: array of Int32): HPBUFFER := z_CreatePbufferEXT_ovr0(hDC, iPixelFormat, iWidth, iHeight, piAttribList); + private static function _z_CreatePbufferEXT_ovr1(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; var piAttribList: Int32): HPBUFFER; + external 'opengl32.dll' name 'wglCreatePbufferEXT'; + public static z_CreatePbufferEXT_ovr1 := _z_CreatePbufferEXT_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreatePbufferEXT(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; var piAttribList: Int32): HPBUFFER := z_CreatePbufferEXT_ovr1(hDC, iPixelFormat, iWidth, iHeight, piAttribList); + private static function _z_CreatePbufferEXT_ovr2(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: IntPtr): HPBUFFER; + external 'opengl32.dll' name 'wglCreatePbufferEXT'; + public static z_CreatePbufferEXT_ovr2 := _z_CreatePbufferEXT_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreatePbufferEXT(hDC: GDI_DC; iPixelFormat: Int32; iWidth: Int32; iHeight: Int32; piAttribList: IntPtr): HPBUFFER := z_CreatePbufferEXT_ovr2(hDC, iPixelFormat, iWidth, iHeight, piAttribList); + + private static function _z_GetPbufferDCEXT_ovr0(_hPbuffer: HPBUFFER): GDI_DC; + external 'opengl32.dll' name 'wglGetPbufferDCEXT'; + public static z_GetPbufferDCEXT_ovr0 := _z_GetPbufferDCEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPbufferDCEXT(_hPbuffer: HPBUFFER): GDI_DC := z_GetPbufferDCEXT_ovr0(_hPbuffer); + + private static function _z_ReleasePbufferDCEXT_ovr0(_hPbuffer: HPBUFFER; hDC: GDI_DC): Int32; + external 'opengl32.dll' name 'wglReleasePbufferDCEXT'; + public static z_ReleasePbufferDCEXT_ovr0 := _z_ReleasePbufferDCEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleasePbufferDCEXT(_hPbuffer: HPBUFFER; hDC: GDI_DC): Int32 := z_ReleasePbufferDCEXT_ovr0(_hPbuffer, hDC); + + private static function _z_DestroyPbufferEXT_ovr0(_hPbuffer: HPBUFFER): UInt32; + external 'opengl32.dll' name 'wglDestroyPbufferEXT'; + public static z_DestroyPbufferEXT_ovr0 := _z_DestroyPbufferEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DestroyPbufferEXT(_hPbuffer: HPBUFFER): UInt32 := z_DestroyPbufferEXT_ovr0(_hPbuffer); + + private static function _z_QueryPbufferEXT_ovr0(_hPbuffer: HPBUFFER; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglQueryPbufferEXT'; + public static z_QueryPbufferEXT_ovr0 := _z_QueryPbufferEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryPbufferEXT(_hPbuffer: HPBUFFER; iAttribute: Int32; piValue: array of Int32): UInt32 := z_QueryPbufferEXT_ovr0(_hPbuffer, iAttribute, piValue); + private static function _z_QueryPbufferEXT_ovr1(_hPbuffer: HPBUFFER; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglQueryPbufferEXT'; + public static z_QueryPbufferEXT_ovr1 := _z_QueryPbufferEXT_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryPbufferEXT(_hPbuffer: HPBUFFER; iAttribute: Int32; var piValue: Int32): UInt32 := z_QueryPbufferEXT_ovr1(_hPbuffer, iAttribute, piValue); + private static function _z_QueryPbufferEXT_ovr2(_hPbuffer: HPBUFFER; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryPbufferEXT'; + public static z_QueryPbufferEXT_ovr2 := _z_QueryPbufferEXT_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryPbufferEXT(_hPbuffer: HPBUFFER; iAttribute: Int32; piValue: IntPtr): UInt32 := z_QueryPbufferEXT_ovr2(_hPbuffer, iAttribute, piValue); + + end; + + wglPixelFormatEXT = static class + + private static function _z_GetPixelFormatAttribivEXT_ovr0(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; [MarshalAs(UnmanagedType.LPArray)] piValues: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr0 := _z_GetPixelFormatAttribivEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: array of Int32): UInt32 := z_GetPixelFormatAttribivEXT_ovr0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr1(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; var piValues: Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr1 := _z_GetPixelFormatAttribivEXT_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var piValues: Int32): UInt32 := z_GetPixelFormatAttribivEXT_ovr1(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr2(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; piValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr2 := _z_GetPixelFormatAttribivEXT_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; piValues: IntPtr): UInt32 := z_GetPixelFormatAttribivEXT_ovr2(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr3(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; [MarshalAs(UnmanagedType.LPArray)] piValues: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr3 := _z_GetPixelFormatAttribivEXT_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: array of Int32): UInt32 := z_GetPixelFormatAttribivEXT_ovr3(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr4(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var piValues: Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr4 := _z_GetPixelFormatAttribivEXT_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var piValues: Int32): UInt32 := z_GetPixelFormatAttribivEXT_ovr4(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr5(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr5 := _z_GetPixelFormatAttribivEXT_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; piValues: IntPtr): UInt32 := z_GetPixelFormatAttribivEXT_ovr5(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr6(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; [MarshalAs(UnmanagedType.LPArray)] piValues: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr6 := _z_GetPixelFormatAttribivEXT_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; piValues: array of Int32): UInt32 := z_GetPixelFormatAttribivEXT_ovr6(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr7(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var piValues: Int32): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr7 := _z_GetPixelFormatAttribivEXT_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var piValues: Int32): UInt32 := z_GetPixelFormatAttribivEXT_ovr7(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + private static function _z_GetPixelFormatAttribivEXT_ovr8(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; piValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribivEXT'; + public static z_GetPixelFormatAttribivEXT_ovr8 := _z_GetPixelFormatAttribivEXT_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribivEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; piValues: IntPtr): UInt32 := z_GetPixelFormatAttribivEXT_ovr8(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues); + + private static function _z_GetPixelFormatAttribfvEXT_ovr0(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfValues: array of single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr0 := _z_GetPixelFormatAttribfvEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: array of single): UInt32 := z_GetPixelFormatAttribfvEXT_ovr0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr1(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; var pfValues: single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr1 := _z_GetPixelFormatAttribfvEXT_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; var pfValues: single): UInt32 := z_GetPixelFormatAttribfvEXT_ovr1(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr2(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; [MarshalAs(UnmanagedType.LPArray)] piAttributes: array of Int32; pfValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr2 := _z_GetPixelFormatAttribfvEXT_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: array of Int32; pfValues: IntPtr): UInt32 := z_GetPixelFormatAttribfvEXT_ovr2(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr3(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; [MarshalAs(UnmanagedType.LPArray)] pfValues: array of single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr3 := _z_GetPixelFormatAttribfvEXT_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: array of single): UInt32 := z_GetPixelFormatAttribfvEXT_ovr3(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr4(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var pfValues: single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr4 := _z_GetPixelFormatAttribfvEXT_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; var pfValues: single): UInt32 := z_GetPixelFormatAttribfvEXT_ovr4(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr5(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr5 := _z_GetPixelFormatAttribfvEXT_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; var piAttributes: Int32; pfValues: IntPtr): UInt32 := z_GetPixelFormatAttribfvEXT_ovr5(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr6(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfValues: array of single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr6 := _z_GetPixelFormatAttribfvEXT_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; pfValues: array of single): UInt32 := z_GetPixelFormatAttribfvEXT_ovr6(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr7(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var pfValues: single): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr7 := _z_GetPixelFormatAttribfvEXT_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; var pfValues: single): UInt32 := z_GetPixelFormatAttribfvEXT_ovr7(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + private static function _z_GetPixelFormatAttribfvEXT_ovr8(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; pfValues: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetPixelFormatAttribfvEXT'; + public static z_GetPixelFormatAttribfvEXT_ovr8 := _z_GetPixelFormatAttribfvEXT_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetPixelFormatAttribfvEXT(hdc: GDI_DC; iPixelFormat: Int32; iLayerPlane: Int32; nAttributes: UInt32; piAttributes: IntPtr; pfValues: IntPtr): UInt32 := z_GetPixelFormatAttribfvEXT_ovr8(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + + private static function _z_ChoosePixelFormatEXT_ovr0(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr0 := _z_ChoosePixelFormatEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr0(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr1(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr1 := _z_ChoosePixelFormatEXT_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr1(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr2(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr2 := _z_ChoosePixelFormatEXT_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr2(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr3(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr3 := _z_ChoosePixelFormatEXT_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr3(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr4(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr4 := _z_ChoosePixelFormatEXT_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr4(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr5(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr5 := _z_ChoosePixelFormatEXT_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr5(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr6(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr6 := _z_ChoosePixelFormatEXT_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr6(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr7(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr7 := _z_ChoosePixelFormatEXT_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr7(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr8(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr8 := _z_ChoosePixelFormatEXT_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr8(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr9(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr9 := _z_ChoosePixelFormatEXT_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr9(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr10(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr10 := _z_ChoosePixelFormatEXT_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr10(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr11(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr11 := _z_ChoosePixelFormatEXT_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr11(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr12(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr12 := _z_ChoosePixelFormatEXT_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr12(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr13(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr13 := _z_ChoosePixelFormatEXT_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr13(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr14(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr14 := _z_ChoosePixelFormatEXT_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr14(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr15(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr15 := _z_ChoosePixelFormatEXT_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr15(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr16(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr16 := _z_ChoosePixelFormatEXT_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr16(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr17(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr17 := _z_ChoosePixelFormatEXT_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr17(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr18(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr18 := _z_ChoosePixelFormatEXT_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr18(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr19(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr19 := _z_ChoosePixelFormatEXT_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr19(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr20(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr20 := _z_ChoosePixelFormatEXT_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr20(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr21(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr21 := _z_ChoosePixelFormatEXT_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr21(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr22(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr22 := _z_ChoosePixelFormatEXT_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr22(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr23(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr23 := _z_ChoosePixelFormatEXT_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr23(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr24(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr24 := _z_ChoosePixelFormatEXT_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr24(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr25(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr25 := _z_ChoosePixelFormatEXT_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr25(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr26(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr26 := _z_ChoosePixelFormatEXT_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: array of Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr26(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr27(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr27 := _z_ChoosePixelFormatEXT_ovr27; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr27(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr28(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr28 := _z_ChoosePixelFormatEXT_ovr28; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr28(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr29(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr29 := _z_ChoosePixelFormatEXT_ovr29; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr29(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr30(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr30 := _z_ChoosePixelFormatEXT_ovr30; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr30(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr31(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr31 := _z_ChoosePixelFormatEXT_ovr31; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr31(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr32(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr32 := _z_ChoosePixelFormatEXT_ovr32; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr32(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr33(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr33 := _z_ChoosePixelFormatEXT_ovr33; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr33(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr34(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr34 := _z_ChoosePixelFormatEXT_ovr34; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr34(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr35(hdc: GDI_DC; var piAttribIList: Int32; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr35 := _z_ChoosePixelFormatEXT_ovr35; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr35(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr36(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr36 := _z_ChoosePixelFormatEXT_ovr36; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr36(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr37(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr37 := _z_ChoosePixelFormatEXT_ovr37; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr37(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr38(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr38 := _z_ChoosePixelFormatEXT_ovr38; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr38(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr39(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr39 := _z_ChoosePixelFormatEXT_ovr39; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr39(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr40(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr40 := _z_ChoosePixelFormatEXT_ovr40; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr40(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr41(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr41 := _z_ChoosePixelFormatEXT_ovr41; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr41(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr42(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr42 := _z_ChoosePixelFormatEXT_ovr42; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr42(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr43(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr43 := _z_ChoosePixelFormatEXT_ovr43; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr43(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr44(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr44 := _z_ChoosePixelFormatEXT_ovr44; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr44(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr45(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr45 := _z_ChoosePixelFormatEXT_ovr45; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr45(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr46(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr46 := _z_ChoosePixelFormatEXT_ovr46; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr46(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr47(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr47 := _z_ChoosePixelFormatEXT_ovr47; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr47(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr48(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr48 := _z_ChoosePixelFormatEXT_ovr48; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr48(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr49(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr49 := _z_ChoosePixelFormatEXT_ovr49; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr49(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr50(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr50 := _z_ChoosePixelFormatEXT_ovr50; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr50(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr51(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr51 := _z_ChoosePixelFormatEXT_ovr51; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr51(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr52(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr52 := _z_ChoosePixelFormatEXT_ovr52; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr52(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr53(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr53 := _z_ChoosePixelFormatEXT_ovr53; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; var piAttribIList: Int32; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr53(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr54(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr54 := _z_ChoosePixelFormatEXT_ovr54; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr54(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr55(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr55 := _z_ChoosePixelFormatEXT_ovr55; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr55(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr56(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr56 := _z_ChoosePixelFormatEXT_ovr56; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr56(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr57(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr57 := _z_ChoosePixelFormatEXT_ovr57; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr57(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr58(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr58 := _z_ChoosePixelFormatEXT_ovr58; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr58(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr59(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr59 := _z_ChoosePixelFormatEXT_ovr59; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr59(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr60(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr60 := _z_ChoosePixelFormatEXT_ovr60; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr60(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr61(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr61 := _z_ChoosePixelFormatEXT_ovr61; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr61(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr62(hdc: GDI_DC; piAttribIList: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr62 := _z_ChoosePixelFormatEXT_ovr62; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: array of single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr62(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr63(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr63 := _z_ChoosePixelFormatEXT_ovr63; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr63(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr64(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr64 := _z_ChoosePixelFormatEXT_ovr64; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr64(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr65(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr65 := _z_ChoosePixelFormatEXT_ovr65; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr65(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr66(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr66 := _z_ChoosePixelFormatEXT_ovr66; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr66(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr67(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr67 := _z_ChoosePixelFormatEXT_ovr67; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr67(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr68(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr68 := _z_ChoosePixelFormatEXT_ovr68; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr68(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr69(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr69 := _z_ChoosePixelFormatEXT_ovr69; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr69(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr70(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr70 := _z_ChoosePixelFormatEXT_ovr70; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr70(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr71(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr71 := _z_ChoosePixelFormatEXT_ovr71; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; var pfAttribFList: single; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr71(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr72(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr72 := _z_ChoosePixelFormatEXT_ovr72; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr72(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr73(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr73 := _z_ChoosePixelFormatEXT_ovr73; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr73(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr74(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; [MarshalAs(UnmanagedType.LPArray)] piFormats: array of Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr74 := _z_ChoosePixelFormatEXT_ovr74; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: array of Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr74(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr75(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr75 := _z_ChoosePixelFormatEXT_ovr75; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr75(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr76(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr76 := _z_ChoosePixelFormatEXT_ovr76; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr76(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr77(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr77 := _z_ChoosePixelFormatEXT_ovr77; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; var piFormats: Int32; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr77(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr78(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; [MarshalAs(UnmanagedType.LPArray)] nNumFormats: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr78 := _z_ChoosePixelFormatEXT_ovr78; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: array of UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr78(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr79(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr79 := _z_ChoosePixelFormatEXT_ovr79; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; var nNumFormats: UInt32): UInt32 := z_ChoosePixelFormatEXT_ovr79(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + private static function _z_ChoosePixelFormatEXT_ovr80(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32; + external 'opengl32.dll' name 'wglChoosePixelFormatEXT'; + public static z_ChoosePixelFormatEXT_ovr80 := _z_ChoosePixelFormatEXT_ovr80; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ChoosePixelFormatEXT(hdc: GDI_DC; piAttribIList: IntPtr; pfAttribFList: IntPtr; nMaxFormats: UInt32; piFormats: IntPtr; nNumFormats: IntPtr): UInt32 := z_ChoosePixelFormatEXT_ovr80(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats); + + end; + + wglSwapControlEXT = static class + + private static function _z_SwapIntervalEXT_ovr0(interval: Int32): UInt32; + external 'opengl32.dll' name 'wglSwapIntervalEXT'; + public static z_SwapIntervalEXT_ovr0 := _z_SwapIntervalEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SwapIntervalEXT(interval: Int32): UInt32 := z_SwapIntervalEXT_ovr0(interval); + + private static function _z_GetSwapIntervalEXT_ovr0: Int32; + external 'opengl32.dll' name 'wglGetSwapIntervalEXT'; + public static z_GetSwapIntervalEXT_ovr0: function: Int32 := _z_GetSwapIntervalEXT_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSwapIntervalEXT: Int32 := z_GetSwapIntervalEXT_ovr0; + + end; + + wglDigitalVideoControlI3D = static class + + private static function _z_GetDigitalVideoParametersI3D_ovr0(hDC: GDI_DC; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetDigitalVideoParametersI3D'; + public static z_GetDigitalVideoParametersI3D_ovr0 := _z_GetDigitalVideoParametersI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := z_GetDigitalVideoParametersI3D_ovr0(hDC, iAttribute, piValue); + private static function _z_GetDigitalVideoParametersI3D_ovr1(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglGetDigitalVideoParametersI3D'; + public static z_GetDigitalVideoParametersI3D_ovr1 := _z_GetDigitalVideoParametersI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := z_GetDigitalVideoParametersI3D_ovr1(hDC, iAttribute, piValue); + private static function _z_GetDigitalVideoParametersI3D_ovr2(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetDigitalVideoParametersI3D'; + public static z_GetDigitalVideoParametersI3D_ovr2 := _z_GetDigitalVideoParametersI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32 := z_GetDigitalVideoParametersI3D_ovr2(hDC, iAttribute, piValue); + + private static function _z_SetDigitalVideoParametersI3D_ovr0(hDC: GDI_DC; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglSetDigitalVideoParametersI3D'; + public static z_SetDigitalVideoParametersI3D_ovr0 := _z_SetDigitalVideoParametersI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := z_SetDigitalVideoParametersI3D_ovr0(hDC, iAttribute, piValue); + private static function _z_SetDigitalVideoParametersI3D_ovr1(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglSetDigitalVideoParametersI3D'; + public static z_SetDigitalVideoParametersI3D_ovr1 := _z_SetDigitalVideoParametersI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := z_SetDigitalVideoParametersI3D_ovr1(hDC, iAttribute, piValue); + private static function _z_SetDigitalVideoParametersI3D_ovr2(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetDigitalVideoParametersI3D'; + public static z_SetDigitalVideoParametersI3D_ovr2 := _z_SetDigitalVideoParametersI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetDigitalVideoParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32 := z_SetDigitalVideoParametersI3D_ovr2(hDC, iAttribute, piValue); + + end; + + wglGammaI3D = static class + + private static function _z_GetGammaTableParametersI3D_ovr0(hDC: GDI_DC; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableParametersI3D'; + public static z_GetGammaTableParametersI3D_ovr0 := _z_GetGammaTableParametersI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := z_GetGammaTableParametersI3D_ovr0(hDC, iAttribute, piValue); + private static function _z_GetGammaTableParametersI3D_ovr1(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableParametersI3D'; + public static z_GetGammaTableParametersI3D_ovr1 := _z_GetGammaTableParametersI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := z_GetGammaTableParametersI3D_ovr1(hDC, iAttribute, piValue); + private static function _z_GetGammaTableParametersI3D_ovr2(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableParametersI3D'; + public static z_GetGammaTableParametersI3D_ovr2 := _z_GetGammaTableParametersI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32 := z_GetGammaTableParametersI3D_ovr2(hDC, iAttribute, piValue); + + private static function _z_SetGammaTableParametersI3D_ovr0(hDC: GDI_DC; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableParametersI3D'; + public static z_SetGammaTableParametersI3D_ovr0 := _z_SetGammaTableParametersI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: array of Int32): UInt32 := z_SetGammaTableParametersI3D_ovr0(hDC, iAttribute, piValue); + private static function _z_SetGammaTableParametersI3D_ovr1(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableParametersI3D'; + public static z_SetGammaTableParametersI3D_ovr1 := _z_SetGammaTableParametersI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; var piValue: Int32): UInt32 := z_SetGammaTableParametersI3D_ovr1(hDC, iAttribute, piValue); + private static function _z_SetGammaTableParametersI3D_ovr2(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableParametersI3D'; + public static z_SetGammaTableParametersI3D_ovr2 := _z_SetGammaTableParametersI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableParametersI3D(hDC: GDI_DC; iAttribute: Int32; piValue: IntPtr): UInt32 := z_SetGammaTableParametersI3D_ovr2(hDC, iAttribute, piValue); + + private static function _z_GetGammaTableI3D_ovr0(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr0 := _z_GetGammaTableI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr0(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr1(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr1 := _z_GetGammaTableI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr1(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr2(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr2 := _z_GetGammaTableI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr2(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr3(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; var puGreen: UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr3 := _z_GetGammaTableI3D_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr3(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr4(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr4 := _z_GetGammaTableI3D_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr4(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr5(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr5 := _z_GetGammaTableI3D_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr5(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr6(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; puGreen: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr6 := _z_GetGammaTableI3D_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: IntPtr; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr6(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr7(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr7 := _z_GetGammaTableI3D_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr7(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr8(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr8 := _z_GetGammaTableI3D_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr8(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr9(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr9 := _z_GetGammaTableI3D_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr9(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr10(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr10 := _z_GetGammaTableI3D_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr10(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr11(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr11 := _z_GetGammaTableI3D_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr11(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr12(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr12 := _z_GetGammaTableI3D_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr12(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr13(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr13 := _z_GetGammaTableI3D_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr13(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr14(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr14 := _z_GetGammaTableI3D_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr14(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr15(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr15 := _z_GetGammaTableI3D_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr15(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr16(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr16 := _z_GetGammaTableI3D_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr16(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr17(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr17 := _z_GetGammaTableI3D_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr17(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr18(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr18 := _z_GetGammaTableI3D_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr18(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr19(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr19 := _z_GetGammaTableI3D_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr19(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr20(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr20 := _z_GetGammaTableI3D_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: array of UInt16; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr20(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr21(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr21 := _z_GetGammaTableI3D_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr21(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr22(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr22 := _z_GetGammaTableI3D_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr22(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr23(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr23 := _z_GetGammaTableI3D_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr23(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr24(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr24 := _z_GetGammaTableI3D_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; puBlue: array of UInt16): UInt32 := z_GetGammaTableI3D_ovr24(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr25(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr25 := _z_GetGammaTableI3D_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; var puBlue: UInt16): UInt32 := z_GetGammaTableI3D_ovr25(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_GetGammaTableI3D_ovr26(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGammaTableI3D'; + public static z_GetGammaTableI3D_ovr26 := _z_GetGammaTableI3D_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; puBlue: IntPtr): UInt32 := z_GetGammaTableI3D_ovr26(hDC, iEntries, puRed, puGreen, puBlue); + + private static function _z_SetGammaTableI3D_ovr0(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr0 := _z_SetGammaTableI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr0(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr1(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr1 := _z_SetGammaTableI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr1(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr2(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr2 := _z_SetGammaTableI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: array of UInt16; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr2(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr3(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; var puGreen: UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr3 := _z_SetGammaTableI3D_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr3(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr4(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr4 := _z_SetGammaTableI3D_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr4(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr5(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr5 := _z_SetGammaTableI3D_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr5(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr6(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; puGreen: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr6 := _z_SetGammaTableI3D_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: IntPtr; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr6(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr7(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr7 := _z_SetGammaTableI3D_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr7(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr8(hDC: GDI_DC; iEntries: Int32; [MarshalAs(UnmanagedType.LPArray)] puRed: array of UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr8 := _z_SetGammaTableI3D_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: array of UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr8(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr9(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr9 := _z_SetGammaTableI3D_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr9(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr10(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr10 := _z_SetGammaTableI3D_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr10(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr11(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr11 := _z_SetGammaTableI3D_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: array of UInt16; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr11(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr12(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr12 := _z_SetGammaTableI3D_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr12(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr13(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr13 := _z_SetGammaTableI3D_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr13(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr14(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr14 := _z_SetGammaTableI3D_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; var puGreen: UInt16; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr14(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr15(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr15 := _z_SetGammaTableI3D_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr15(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr16(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr16 := _z_SetGammaTableI3D_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr16(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr17(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr17 := _z_SetGammaTableI3D_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; var puRed: UInt16; puGreen: IntPtr; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr17(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr18(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr18 := _z_SetGammaTableI3D_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: array of UInt16; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr18(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr19(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr19 := _z_SetGammaTableI3D_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: array of UInt16; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr19(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr20(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puGreen: array of UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr20 := _z_SetGammaTableI3D_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: array of UInt16; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr20(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr21(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr21 := _z_SetGammaTableI3D_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr21(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr22(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr22 := _z_SetGammaTableI3D_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr22(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr23(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr23 := _z_SetGammaTableI3D_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; var puGreen: UInt16; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr23(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr24(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; [MarshalAs(UnmanagedType.LPArray)] puBlue: array of UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr24 := _z_SetGammaTableI3D_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; puBlue: array of UInt16): UInt32 := z_SetGammaTableI3D_ovr24(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr25(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; var puBlue: UInt16): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr25 := _z_SetGammaTableI3D_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; var puBlue: UInt16): UInt32 := z_SetGammaTableI3D_ovr25(hDC, iEntries, puRed, puGreen, puBlue); + private static function _z_SetGammaTableI3D_ovr26(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; puBlue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglSetGammaTableI3D'; + public static z_SetGammaTableI3D_ovr26 := _z_SetGammaTableI3D_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SetGammaTableI3D(hDC: GDI_DC; iEntries: Int32; puRed: IntPtr; puGreen: IntPtr; puBlue: IntPtr): UInt32 := z_SetGammaTableI3D_ovr26(hDC, iEntries, puRed, puGreen, puBlue); + + end; + + wglGenlockI3D = static class + + private static function _z_EnableGenlockI3D_ovr0(hDC: GDI_DC): UInt32; + external 'opengl32.dll' name 'wglEnableGenlockI3D'; + public static z_EnableGenlockI3D_ovr0 := _z_EnableGenlockI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnableGenlockI3D(hDC: GDI_DC): UInt32 := z_EnableGenlockI3D_ovr0(hDC); + + private static function _z_DisableGenlockI3D_ovr0(hDC: GDI_DC): UInt32; + external 'opengl32.dll' name 'wglDisableGenlockI3D'; + public static z_DisableGenlockI3D_ovr0 := _z_DisableGenlockI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DisableGenlockI3D(hDC: GDI_DC): UInt32 := z_DisableGenlockI3D_ovr0(hDC); + + private static function _z_IsEnabledGenlockI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pFlag: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglIsEnabledGenlockI3D'; + public static z_IsEnabledGenlockI3D_ovr0 := _z_IsEnabledGenlockI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function IsEnabledGenlockI3D(hDC: GDI_DC; pFlag: array of UInt32): UInt32 := z_IsEnabledGenlockI3D_ovr0(hDC, pFlag); + private static function _z_IsEnabledGenlockI3D_ovr1(hDC: GDI_DC; var pFlag: UInt32): UInt32; + external 'opengl32.dll' name 'wglIsEnabledGenlockI3D'; + public static z_IsEnabledGenlockI3D_ovr1 := _z_IsEnabledGenlockI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function IsEnabledGenlockI3D(hDC: GDI_DC; var pFlag: UInt32): UInt32 := z_IsEnabledGenlockI3D_ovr1(hDC, pFlag); + private static function _z_IsEnabledGenlockI3D_ovr2(hDC: GDI_DC; pFlag: IntPtr): UInt32; + external 'opengl32.dll' name 'wglIsEnabledGenlockI3D'; + public static z_IsEnabledGenlockI3D_ovr2 := _z_IsEnabledGenlockI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function IsEnabledGenlockI3D(hDC: GDI_DC; pFlag: IntPtr): UInt32 := z_IsEnabledGenlockI3D_ovr2(hDC, pFlag); + + private static function _z_GenlockSourceI3D_ovr0(hDC: GDI_DC; uSource: UInt32): UInt32; + external 'opengl32.dll' name 'wglGenlockSourceI3D'; + public static z_GenlockSourceI3D_ovr0 := _z_GenlockSourceI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GenlockSourceI3D(hDC: GDI_DC; uSource: UInt32): UInt32 := z_GenlockSourceI3D_ovr0(hDC, uSource); + + private static function _z_GetGenlockSourceI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uSource: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceI3D'; + public static z_GetGenlockSourceI3D_ovr0 := _z_GetGenlockSourceI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceI3D(hDC: GDI_DC; uSource: array of UInt32): UInt32 := z_GetGenlockSourceI3D_ovr0(hDC, uSource); + private static function _z_GetGenlockSourceI3D_ovr1(hDC: GDI_DC; var uSource: UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceI3D'; + public static z_GetGenlockSourceI3D_ovr1 := _z_GetGenlockSourceI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceI3D(hDC: GDI_DC; var uSource: UInt32): UInt32 := z_GetGenlockSourceI3D_ovr1(hDC, uSource); + private static function _z_GetGenlockSourceI3D_ovr2(hDC: GDI_DC; uSource: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceI3D'; + public static z_GetGenlockSourceI3D_ovr2 := _z_GetGenlockSourceI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceI3D(hDC: GDI_DC; uSource: IntPtr): UInt32 := z_GetGenlockSourceI3D_ovr2(hDC, uSource); + + private static function _z_GenlockSourceEdgeI3D_ovr0(hDC: GDI_DC; uEdge: UInt32): UInt32; + external 'opengl32.dll' name 'wglGenlockSourceEdgeI3D'; + public static z_GenlockSourceEdgeI3D_ovr0 := _z_GenlockSourceEdgeI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GenlockSourceEdgeI3D(hDC: GDI_DC; uEdge: UInt32): UInt32 := z_GenlockSourceEdgeI3D_ovr0(hDC, uEdge); + + private static function _z_GetGenlockSourceEdgeI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uEdge: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceEdgeI3D'; + public static z_GetGenlockSourceEdgeI3D_ovr0 := _z_GetGenlockSourceEdgeI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceEdgeI3D(hDC: GDI_DC; uEdge: array of UInt32): UInt32 := z_GetGenlockSourceEdgeI3D_ovr0(hDC, uEdge); + private static function _z_GetGenlockSourceEdgeI3D_ovr1(hDC: GDI_DC; var uEdge: UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceEdgeI3D'; + public static z_GetGenlockSourceEdgeI3D_ovr1 := _z_GetGenlockSourceEdgeI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceEdgeI3D(hDC: GDI_DC; var uEdge: UInt32): UInt32 := z_GetGenlockSourceEdgeI3D_ovr1(hDC, uEdge); + private static function _z_GetGenlockSourceEdgeI3D_ovr2(hDC: GDI_DC; uEdge: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceEdgeI3D'; + public static z_GetGenlockSourceEdgeI3D_ovr2 := _z_GetGenlockSourceEdgeI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceEdgeI3D(hDC: GDI_DC; uEdge: IntPtr): UInt32 := z_GetGenlockSourceEdgeI3D_ovr2(hDC, uEdge); + + private static function _z_GenlockSampleRateI3D_ovr0(hDC: GDI_DC; uRate: UInt32): UInt32; + external 'opengl32.dll' name 'wglGenlockSampleRateI3D'; + public static z_GenlockSampleRateI3D_ovr0 := _z_GenlockSampleRateI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GenlockSampleRateI3D(hDC: GDI_DC; uRate: UInt32): UInt32 := z_GenlockSampleRateI3D_ovr0(hDC, uRate); + + private static function _z_GetGenlockSampleRateI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uRate: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSampleRateI3D'; + public static z_GetGenlockSampleRateI3D_ovr0 := _z_GetGenlockSampleRateI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSampleRateI3D(hDC: GDI_DC; uRate: array of UInt32): UInt32 := z_GetGenlockSampleRateI3D_ovr0(hDC, uRate); + private static function _z_GetGenlockSampleRateI3D_ovr1(hDC: GDI_DC; var uRate: UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSampleRateI3D'; + public static z_GetGenlockSampleRateI3D_ovr1 := _z_GetGenlockSampleRateI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSampleRateI3D(hDC: GDI_DC; var uRate: UInt32): UInt32 := z_GetGenlockSampleRateI3D_ovr1(hDC, uRate); + private static function _z_GetGenlockSampleRateI3D_ovr2(hDC: GDI_DC; uRate: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSampleRateI3D'; + public static z_GetGenlockSampleRateI3D_ovr2 := _z_GetGenlockSampleRateI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSampleRateI3D(hDC: GDI_DC; uRate: IntPtr): UInt32 := z_GetGenlockSampleRateI3D_ovr2(hDC, uRate); + + private static function _z_GenlockSourceDelayI3D_ovr0(hDC: GDI_DC; uDelay: UInt32): UInt32; + external 'opengl32.dll' name 'wglGenlockSourceDelayI3D'; + public static z_GenlockSourceDelayI3D_ovr0 := _z_GenlockSourceDelayI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GenlockSourceDelayI3D(hDC: GDI_DC; uDelay: UInt32): UInt32 := z_GenlockSourceDelayI3D_ovr0(hDC, uDelay); + + private static function _z_GetGenlockSourceDelayI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uDelay: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceDelayI3D'; + public static z_GetGenlockSourceDelayI3D_ovr0 := _z_GetGenlockSourceDelayI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceDelayI3D(hDC: GDI_DC; uDelay: array of UInt32): UInt32 := z_GetGenlockSourceDelayI3D_ovr0(hDC, uDelay); + private static function _z_GetGenlockSourceDelayI3D_ovr1(hDC: GDI_DC; var uDelay: UInt32): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceDelayI3D'; + public static z_GetGenlockSourceDelayI3D_ovr1 := _z_GetGenlockSourceDelayI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceDelayI3D(hDC: GDI_DC; var uDelay: UInt32): UInt32 := z_GetGenlockSourceDelayI3D_ovr1(hDC, uDelay); + private static function _z_GetGenlockSourceDelayI3D_ovr2(hDC: GDI_DC; uDelay: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetGenlockSourceDelayI3D'; + public static z_GetGenlockSourceDelayI3D_ovr2 := _z_GetGenlockSourceDelayI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetGenlockSourceDelayI3D(hDC: GDI_DC; uDelay: IntPtr): UInt32 := z_GetGenlockSourceDelayI3D_ovr2(hDC, uDelay); + + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uMaxLineDelay: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] uMaxPixelDelay: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr0 := _z_QueryGenlockMaxSourceDelayI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: array of UInt32; uMaxPixelDelay: array of UInt32): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr0(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr1(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uMaxLineDelay: array of UInt32; var uMaxPixelDelay: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr1 := _z_QueryGenlockMaxSourceDelayI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: array of UInt32; var uMaxPixelDelay: UInt32): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr1(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr2(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] uMaxLineDelay: array of UInt32; uMaxPixelDelay: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr2 := _z_QueryGenlockMaxSourceDelayI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: array of UInt32; uMaxPixelDelay: IntPtr): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr2(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr3(hDC: GDI_DC; var uMaxLineDelay: UInt32; [MarshalAs(UnmanagedType.LPArray)] uMaxPixelDelay: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr3 := _z_QueryGenlockMaxSourceDelayI3D_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; var uMaxLineDelay: UInt32; uMaxPixelDelay: array of UInt32): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr3(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr4(hDC: GDI_DC; var uMaxLineDelay: UInt32; var uMaxPixelDelay: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr4 := _z_QueryGenlockMaxSourceDelayI3D_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; var uMaxLineDelay: UInt32; var uMaxPixelDelay: UInt32): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr4(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr5(hDC: GDI_DC; var uMaxLineDelay: UInt32; uMaxPixelDelay: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr5 := _z_QueryGenlockMaxSourceDelayI3D_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; var uMaxLineDelay: UInt32; uMaxPixelDelay: IntPtr): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr5(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr6(hDC: GDI_DC; uMaxLineDelay: IntPtr; [MarshalAs(UnmanagedType.LPArray)] uMaxPixelDelay: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr6 := _z_QueryGenlockMaxSourceDelayI3D_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: IntPtr; uMaxPixelDelay: array of UInt32): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr6(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr7(hDC: GDI_DC; uMaxLineDelay: IntPtr; var uMaxPixelDelay: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr7 := _z_QueryGenlockMaxSourceDelayI3D_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: IntPtr; var uMaxPixelDelay: UInt32): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr7(hDC, uMaxLineDelay, uMaxPixelDelay); + private static function _z_QueryGenlockMaxSourceDelayI3D_ovr8(hDC: GDI_DC; uMaxLineDelay: IntPtr; uMaxPixelDelay: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryGenlockMaxSourceDelayI3D'; + public static z_QueryGenlockMaxSourceDelayI3D_ovr8 := _z_QueryGenlockMaxSourceDelayI3D_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryGenlockMaxSourceDelayI3D(hDC: GDI_DC; uMaxLineDelay: IntPtr; uMaxPixelDelay: IntPtr): UInt32 := z_QueryGenlockMaxSourceDelayI3D_ovr8(hDC, uMaxLineDelay, uMaxPixelDelay); + + end; + + wglImageBufferI3D = static class + + private static function _z_CreateImageBufferI3D_ovr0(hDC: GDI_DC; dwSize: UInt32; uFlags: UInt32): IntPtr; + external 'opengl32.dll' name 'wglCreateImageBufferI3D'; + public static z_CreateImageBufferI3D_ovr0 := _z_CreateImageBufferI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateImageBufferI3D(hDC: GDI_DC; dwSize: UInt32; uFlags: UInt32): IntPtr := z_CreateImageBufferI3D_ovr0(hDC, dwSize, uFlags); + + private static function _z_DestroyImageBufferI3D_ovr0(hDC: GDI_DC; pAddress: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDestroyImageBufferI3D'; + public static z_DestroyImageBufferI3D_ovr0 := _z_DestroyImageBufferI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DestroyImageBufferI3D(hDC: GDI_DC; pAddress: IntPtr): UInt32 := z_DestroyImageBufferI3D_ovr0(hDC, pAddress); + + private static function _z_AssociateImageBufferEventsI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr0 := _z_AssociateImageBufferEventsI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: array of IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr0(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr1(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr1 := _z_AssociateImageBufferEventsI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr1(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr2(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr2 := _z_AssociateImageBufferEventsI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: array of IntPtr; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr2(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr3(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; var pAddress: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr3 := _z_AssociateImageBufferEventsI3D_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; var pAddress: IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr3(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr4(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr4 := _z_AssociateImageBufferEventsI3D_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr4(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr5(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; var pAddress: IntPtr; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr5 := _z_AssociateImageBufferEventsI3D_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; var pAddress: IntPtr; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr5(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr6(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; pAddress: pointer; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr6 := _z_AssociateImageBufferEventsI3D_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: pointer; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr6(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr7(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr7 := _z_AssociateImageBufferEventsI3D_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr7(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr8(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pEvent: array of IntPtr; pAddress: pointer; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr8 := _z_AssociateImageBufferEventsI3D_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: array of IntPtr; pAddress: pointer; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr8(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr9(hDC: GDI_DC; var pEvent: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr9 := _z_AssociateImageBufferEventsI3D_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: array of IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr9(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr10(hDC: GDI_DC; var pEvent: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr10 := _z_AssociateImageBufferEventsI3D_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr10(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr11(hDC: GDI_DC; var pEvent: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr11 := _z_AssociateImageBufferEventsI3D_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: array of IntPtr; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr11(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr12(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr12 := _z_AssociateImageBufferEventsI3D_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr12(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr13(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr13 := _z_AssociateImageBufferEventsI3D_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr13(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr14(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr14 := _z_AssociateImageBufferEventsI3D_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; var pAddress: IntPtr; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr14(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr15(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr15 := _z_AssociateImageBufferEventsI3D_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr15(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr16(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr16 := _z_AssociateImageBufferEventsI3D_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr16(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr17(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr17 := _z_AssociateImageBufferEventsI3D_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; var pEvent: IntPtr; pAddress: pointer; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr17(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr18(hDC: GDI_DC; pEvent: pointer; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr18 := _z_AssociateImageBufferEventsI3D_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: array of IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr18(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr19(hDC: GDI_DC; pEvent: pointer; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr19 := _z_AssociateImageBufferEventsI3D_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: array of IntPtr; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr19(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr20(hDC: GDI_DC; pEvent: pointer; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr20 := _z_AssociateImageBufferEventsI3D_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: array of IntPtr; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr20(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr21(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr21 := _z_AssociateImageBufferEventsI3D_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr21(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr22(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr22 := _z_AssociateImageBufferEventsI3D_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr22(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr23(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr23 := _z_AssociateImageBufferEventsI3D_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; var pAddress: IntPtr; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr23(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr24(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; [MarshalAs(UnmanagedType.LPArray)] pSize: array of UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr24 := _z_AssociateImageBufferEventsI3D_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; pSize: array of UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr24(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr25(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr25 := _z_AssociateImageBufferEventsI3D_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; var pSize: UInt32; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr25(hDC, pEvent, pAddress, pSize, count); + private static function _z_AssociateImageBufferEventsI3D_ovr26(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; pSize: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglAssociateImageBufferEventsI3D'; + public static z_AssociateImageBufferEventsI3D_ovr26 := _z_AssociateImageBufferEventsI3D_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AssociateImageBufferEventsI3D(hDC: GDI_DC; pEvent: pointer; pAddress: pointer; pSize: IntPtr; count: UInt32): UInt32 := z_AssociateImageBufferEventsI3D_ovr26(hDC, pEvent, pAddress, pSize, count); + + private static function _z_ReleaseImageBufferEventsI3D_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] pAddress: array of IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglReleaseImageBufferEventsI3D'; + public static z_ReleaseImageBufferEventsI3D_ovr0 := _z_ReleaseImageBufferEventsI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseImageBufferEventsI3D(hDC: GDI_DC; pAddress: array of IntPtr; count: UInt32): UInt32 := z_ReleaseImageBufferEventsI3D_ovr0(hDC, pAddress, count); + private static function _z_ReleaseImageBufferEventsI3D_ovr1(hDC: GDI_DC; var pAddress: IntPtr; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglReleaseImageBufferEventsI3D'; + public static z_ReleaseImageBufferEventsI3D_ovr1 := _z_ReleaseImageBufferEventsI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseImageBufferEventsI3D(hDC: GDI_DC; var pAddress: IntPtr; count: UInt32): UInt32 := z_ReleaseImageBufferEventsI3D_ovr1(hDC, pAddress, count); + private static function _z_ReleaseImageBufferEventsI3D_ovr2(hDC: GDI_DC; pAddress: pointer; count: UInt32): UInt32; + external 'opengl32.dll' name 'wglReleaseImageBufferEventsI3D'; + public static z_ReleaseImageBufferEventsI3D_ovr2 := _z_ReleaseImageBufferEventsI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseImageBufferEventsI3D(hDC: GDI_DC; pAddress: pointer; count: UInt32): UInt32 := z_ReleaseImageBufferEventsI3D_ovr2(hDC, pAddress, count); + + end; + + wglSwapFrameLockI3D = static class + + private static function _z_EnableFrameLockI3D_ovr0: UInt32; + external 'opengl32.dll' name 'wglEnableFrameLockI3D'; + public static z_EnableFrameLockI3D_ovr0: function: UInt32 := _z_EnableFrameLockI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnableFrameLockI3D: UInt32 := z_EnableFrameLockI3D_ovr0; + + private static function _z_DisableFrameLockI3D_ovr0: UInt32; + external 'opengl32.dll' name 'wglDisableFrameLockI3D'; + public static z_DisableFrameLockI3D_ovr0: function: UInt32 := _z_DisableFrameLockI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DisableFrameLockI3D: UInt32 := z_DisableFrameLockI3D_ovr0; + + private static function _z_IsEnabledFrameLockI3D_ovr0([MarshalAs(UnmanagedType.LPArray)] pFlag: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglIsEnabledFrameLockI3D'; + public static z_IsEnabledFrameLockI3D_ovr0 := _z_IsEnabledFrameLockI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function IsEnabledFrameLockI3D(pFlag: array of UInt32): UInt32 := z_IsEnabledFrameLockI3D_ovr0(pFlag); + private static function _z_IsEnabledFrameLockI3D_ovr1(var pFlag: UInt32): UInt32; + external 'opengl32.dll' name 'wglIsEnabledFrameLockI3D'; + public static z_IsEnabledFrameLockI3D_ovr1 := _z_IsEnabledFrameLockI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function IsEnabledFrameLockI3D(var pFlag: UInt32): UInt32 := z_IsEnabledFrameLockI3D_ovr1(pFlag); + private static function _z_IsEnabledFrameLockI3D_ovr2(pFlag: IntPtr): UInt32; + external 'opengl32.dll' name 'wglIsEnabledFrameLockI3D'; + public static z_IsEnabledFrameLockI3D_ovr2 := _z_IsEnabledFrameLockI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function IsEnabledFrameLockI3D(pFlag: IntPtr): UInt32 := z_IsEnabledFrameLockI3D_ovr2(pFlag); + + private static function _z_QueryFrameLockMasterI3D_ovr0([MarshalAs(UnmanagedType.LPArray)] pFlag: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryFrameLockMasterI3D'; + public static z_QueryFrameLockMasterI3D_ovr0 := _z_QueryFrameLockMasterI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameLockMasterI3D(pFlag: array of UInt32): UInt32 := z_QueryFrameLockMasterI3D_ovr0(pFlag); + private static function _z_QueryFrameLockMasterI3D_ovr1(var pFlag: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryFrameLockMasterI3D'; + public static z_QueryFrameLockMasterI3D_ovr1 := _z_QueryFrameLockMasterI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameLockMasterI3D(var pFlag: UInt32): UInt32 := z_QueryFrameLockMasterI3D_ovr1(pFlag); + private static function _z_QueryFrameLockMasterI3D_ovr2(pFlag: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameLockMasterI3D'; + public static z_QueryFrameLockMasterI3D_ovr2 := _z_QueryFrameLockMasterI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameLockMasterI3D(pFlag: IntPtr): UInt32 := z_QueryFrameLockMasterI3D_ovr2(pFlag); + + end; + + wglSwapFrameUsageI3D = static class + + private static function _z_GetFrameUsageI3D_ovr0([MarshalAs(UnmanagedType.LPArray)] pUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglGetFrameUsageI3D'; + public static z_GetFrameUsageI3D_ovr0 := _z_GetFrameUsageI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetFrameUsageI3D(pUsage: array of single): UInt32 := z_GetFrameUsageI3D_ovr0(pUsage); + private static function _z_GetFrameUsageI3D_ovr1(var pUsage: single): UInt32; + external 'opengl32.dll' name 'wglGetFrameUsageI3D'; + public static z_GetFrameUsageI3D_ovr1 := _z_GetFrameUsageI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetFrameUsageI3D(var pUsage: single): UInt32 := z_GetFrameUsageI3D_ovr1(pUsage); + private static function _z_GetFrameUsageI3D_ovr2(pUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetFrameUsageI3D'; + public static z_GetFrameUsageI3D_ovr2 := _z_GetFrameUsageI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetFrameUsageI3D(pUsage: IntPtr): UInt32 := z_GetFrameUsageI3D_ovr2(pUsage); + + private static function _z_BeginFrameTrackingI3D_ovr0: UInt32; + external 'opengl32.dll' name 'wglBeginFrameTrackingI3D'; + public static z_BeginFrameTrackingI3D_ovr0: function: UInt32 := _z_BeginFrameTrackingI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BeginFrameTrackingI3D: UInt32 := z_BeginFrameTrackingI3D_ovr0; + + private static function _z_EndFrameTrackingI3D_ovr0: UInt32; + external 'opengl32.dll' name 'wglEndFrameTrackingI3D'; + public static z_EndFrameTrackingI3D_ovr0: function: UInt32 := _z_EndFrameTrackingI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EndFrameTrackingI3D: UInt32 := z_EndFrameTrackingI3D_ovr0; + + private static function _z_QueryFrameTrackingI3D_ovr0([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr0 := _z_QueryFrameTrackingI3D_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr0(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr1([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr1 := _z_QueryFrameTrackingI3D_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr1(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr2([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr2 := _z_QueryFrameTrackingI3D_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr2(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr3([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; var pMissedFrames: UInt32; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr3 := _z_QueryFrameTrackingI3D_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; var pMissedFrames: UInt32; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr3(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr4([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr4 := _z_QueryFrameTrackingI3D_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr4(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr5([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; var pMissedFrames: UInt32; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr5 := _z_QueryFrameTrackingI3D_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; var pMissedFrames: UInt32; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr5(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr6([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; pMissedFrames: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr6 := _z_QueryFrameTrackingI3D_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: IntPtr; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr6(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr7([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; pMissedFrames: IntPtr; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr7 := _z_QueryFrameTrackingI3D_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: IntPtr; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr7(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr8([MarshalAs(UnmanagedType.LPArray)] pFrameCount: array of UInt32; pMissedFrames: IntPtr; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr8 := _z_QueryFrameTrackingI3D_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: array of UInt32; pMissedFrames: IntPtr; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr8(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr9(var pFrameCount: UInt32; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr9 := _z_QueryFrameTrackingI3D_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr9(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr10(var pFrameCount: UInt32; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr10 := _z_QueryFrameTrackingI3D_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr10(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr11(var pFrameCount: UInt32; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr11 := _z_QueryFrameTrackingI3D_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: array of UInt32; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr11(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr12(var pFrameCount: UInt32; var pMissedFrames: UInt32; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr12 := _z_QueryFrameTrackingI3D_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; var pMissedFrames: UInt32; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr12(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr13(var pFrameCount: UInt32; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr13 := _z_QueryFrameTrackingI3D_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr13(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr14(var pFrameCount: UInt32; var pMissedFrames: UInt32; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr14 := _z_QueryFrameTrackingI3D_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; var pMissedFrames: UInt32; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr14(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr15(var pFrameCount: UInt32; pMissedFrames: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr15 := _z_QueryFrameTrackingI3D_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: IntPtr; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr15(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr16(var pFrameCount: UInt32; pMissedFrames: IntPtr; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr16 := _z_QueryFrameTrackingI3D_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: IntPtr; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr16(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr17(var pFrameCount: UInt32; pMissedFrames: IntPtr; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr17 := _z_QueryFrameTrackingI3D_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(var pFrameCount: UInt32; pMissedFrames: IntPtr; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr17(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr18(pFrameCount: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr18 := _z_QueryFrameTrackingI3D_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; pMissedFrames: array of UInt32; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr18(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr19(pFrameCount: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr19 := _z_QueryFrameTrackingI3D_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; pMissedFrames: array of UInt32; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr19(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr20(pFrameCount: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pMissedFrames: array of UInt32; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr20 := _z_QueryFrameTrackingI3D_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; pMissedFrames: array of UInt32; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr20(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr21(pFrameCount: IntPtr; var pMissedFrames: UInt32; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr21 := _z_QueryFrameTrackingI3D_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; var pMissedFrames: UInt32; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr21(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr22(pFrameCount: IntPtr; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr22 := _z_QueryFrameTrackingI3D_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; var pMissedFrames: UInt32; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr22(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr23(pFrameCount: IntPtr; var pMissedFrames: UInt32; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr23 := _z_QueryFrameTrackingI3D_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; var pMissedFrames: UInt32; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr23(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr24(pFrameCount: IntPtr; pMissedFrames: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pLastMissedUsage: array of single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr24 := _z_QueryFrameTrackingI3D_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; pMissedFrames: IntPtr; pLastMissedUsage: array of single): UInt32 := z_QueryFrameTrackingI3D_ovr24(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr25(pFrameCount: IntPtr; pMissedFrames: IntPtr; var pLastMissedUsage: single): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr25 := _z_QueryFrameTrackingI3D_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; pMissedFrames: IntPtr; var pLastMissedUsage: single): UInt32 := z_QueryFrameTrackingI3D_ovr25(pFrameCount, pMissedFrames, pLastMissedUsage); + private static function _z_QueryFrameTrackingI3D_ovr26(pFrameCount: IntPtr; pMissedFrames: IntPtr; pLastMissedUsage: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameTrackingI3D'; + public static z_QueryFrameTrackingI3D_ovr26 := _z_QueryFrameTrackingI3D_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameTrackingI3D(pFrameCount: IntPtr; pMissedFrames: IntPtr; pLastMissedUsage: IntPtr): UInt32 := z_QueryFrameTrackingI3D_ovr26(pFrameCount, pMissedFrames, pLastMissedUsage); + + end; + + wglCopyImageNV = static class + + private static function _z_CopyImageSubDataNV_ovr0(hSrcRC: GLContext; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; hDstRC: GLContext; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32): UInt32; + external 'opengl32.dll' name 'wglCopyImageSubDataNV'; + public static z_CopyImageSubDataNV_ovr0 := _z_CopyImageSubDataNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CopyImageSubDataNV(hSrcRC: GLContext; srcName: UInt32; srcTarget: DummyEnum; srcLevel: Int32; srcX: Int32; srcY: Int32; srcZ: Int32; hDstRC: GLContext; dstName: UInt32; dstTarget: DummyEnum; dstLevel: Int32; dstX: Int32; dstY: Int32; dstZ: Int32; width: Int32; height: Int32; depth: Int32): UInt32 := z_CopyImageSubDataNV_ovr0(hSrcRC, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, hDstRC, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); + + end; + + wglDelayBeforeSwapNV = static class + + private static function _z_DelayBeforeSwapNV_ovr0(hDC: GDI_DC; seconds: single): UInt32; + external 'opengl32.dll' name 'wglDelayBeforeSwapNV'; + public static z_DelayBeforeSwapNV_ovr0 := _z_DelayBeforeSwapNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DelayBeforeSwapNV(hDC: GDI_DC; seconds: single): UInt32 := z_DelayBeforeSwapNV_ovr0(hDC, seconds); + + end; + + wglDXInteropNV = static class + + private static function _z_DXSetResourceShareHandleNV_ovr0(dxObject: IntPtr; shareHandle: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXSetResourceShareHandleNV'; + public static z_DXSetResourceShareHandleNV_ovr0 := _z_DXSetResourceShareHandleNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXSetResourceShareHandleNV(dxObject: IntPtr; shareHandle: IntPtr): UInt32 := z_DXSetResourceShareHandleNV_ovr0(dxObject, shareHandle); + + private static function _z_DXOpenDeviceNV_ovr0(dxDevice: IntPtr): IntPtr; + external 'opengl32.dll' name 'wglDXOpenDeviceNV'; + public static z_DXOpenDeviceNV_ovr0 := _z_DXOpenDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXOpenDeviceNV(dxDevice: IntPtr): IntPtr := z_DXOpenDeviceNV_ovr0(dxDevice); + + private static function _z_DXCloseDeviceNV_ovr0(hDevice: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXCloseDeviceNV'; + public static z_DXCloseDeviceNV_ovr0 := _z_DXCloseDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXCloseDeviceNV(hDevice: IntPtr): UInt32 := z_DXCloseDeviceNV_ovr0(hDevice); + + private static function _z_DXRegisterObjectNV_ovr0(hDevice: IntPtr; dxObject: IntPtr; name: UInt32; &type: DummyEnum; access: DummyEnum): IntPtr; + external 'opengl32.dll' name 'wglDXRegisterObjectNV'; + public static z_DXRegisterObjectNV_ovr0 := _z_DXRegisterObjectNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXRegisterObjectNV(hDevice: IntPtr; dxObject: IntPtr; name: UInt32; &type: DummyEnum; access: DummyEnum): IntPtr := z_DXRegisterObjectNV_ovr0(hDevice, dxObject, name, &type, access); + + private static function _z_DXUnregisterObjectNV_ovr0(hDevice: IntPtr; hObject: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXUnregisterObjectNV'; + public static z_DXUnregisterObjectNV_ovr0 := _z_DXUnregisterObjectNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXUnregisterObjectNV(hDevice: IntPtr; hObject: IntPtr): UInt32 := z_DXUnregisterObjectNV_ovr0(hDevice, hObject); + + private static function _z_DXObjectAccessNV_ovr0(hObject: IntPtr; access: DummyEnum): UInt32; + external 'opengl32.dll' name 'wglDXObjectAccessNV'; + public static z_DXObjectAccessNV_ovr0 := _z_DXObjectAccessNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXObjectAccessNV(hObject: IntPtr; access: DummyEnum): UInt32 := z_DXObjectAccessNV_ovr0(hObject, access); + + private static function _z_DXLockObjectsNV_ovr0(hDevice: IntPtr; count: Int32; [MarshalAs(UnmanagedType.LPArray)] hObjects: array of IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXLockObjectsNV'; + public static z_DXLockObjectsNV_ovr0 := _z_DXLockObjectsNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXLockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: array of IntPtr): UInt32 := z_DXLockObjectsNV_ovr0(hDevice, count, hObjects); + private static function _z_DXLockObjectsNV_ovr1(hDevice: IntPtr; count: Int32; var hObjects: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXLockObjectsNV'; + public static z_DXLockObjectsNV_ovr1 := _z_DXLockObjectsNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXLockObjectsNV(hDevice: IntPtr; count: Int32; var hObjects: IntPtr): UInt32 := z_DXLockObjectsNV_ovr1(hDevice, count, hObjects); + private static function _z_DXLockObjectsNV_ovr2(hDevice: IntPtr; count: Int32; hObjects: pointer): UInt32; + external 'opengl32.dll' name 'wglDXLockObjectsNV'; + public static z_DXLockObjectsNV_ovr2 := _z_DXLockObjectsNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXLockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: pointer): UInt32 := z_DXLockObjectsNV_ovr2(hDevice, count, hObjects); + + private static function _z_DXUnlockObjectsNV_ovr0(hDevice: IntPtr; count: Int32; [MarshalAs(UnmanagedType.LPArray)] hObjects: array of IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXUnlockObjectsNV'; + public static z_DXUnlockObjectsNV_ovr0 := _z_DXUnlockObjectsNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXUnlockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: array of IntPtr): UInt32 := z_DXUnlockObjectsNV_ovr0(hDevice, count, hObjects); + private static function _z_DXUnlockObjectsNV_ovr1(hDevice: IntPtr; count: Int32; var hObjects: IntPtr): UInt32; + external 'opengl32.dll' name 'wglDXUnlockObjectsNV'; + public static z_DXUnlockObjectsNV_ovr1 := _z_DXUnlockObjectsNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXUnlockObjectsNV(hDevice: IntPtr; count: Int32; var hObjects: IntPtr): UInt32 := z_DXUnlockObjectsNV_ovr1(hDevice, count, hObjects); + private static function _z_DXUnlockObjectsNV_ovr2(hDevice: IntPtr; count: Int32; hObjects: pointer): UInt32; + external 'opengl32.dll' name 'wglDXUnlockObjectsNV'; + public static z_DXUnlockObjectsNV_ovr2 := _z_DXUnlockObjectsNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DXUnlockObjectsNV(hDevice: IntPtr; count: Int32; hObjects: pointer): UInt32 := z_DXUnlockObjectsNV_ovr2(hDevice, count, hObjects); + + end; + + wglGpuAffinityNV = static class + + private static function _z_EnumGpusNV_ovr0(iGpuIndex: UInt32; [MarshalAs(UnmanagedType.LPArray)] phGpu: array of HGPUNV): UInt32; + external 'opengl32.dll' name 'wglEnumGpusNV'; + public static z_EnumGpusNV_ovr0 := _z_EnumGpusNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpusNV(iGpuIndex: UInt32; phGpu: array of HGPUNV): UInt32 := z_EnumGpusNV_ovr0(iGpuIndex, phGpu); + private static function _z_EnumGpusNV_ovr1(iGpuIndex: UInt32; var phGpu: HGPUNV): UInt32; + external 'opengl32.dll' name 'wglEnumGpusNV'; + public static z_EnumGpusNV_ovr1 := _z_EnumGpusNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpusNV(iGpuIndex: UInt32; var phGpu: HGPUNV): UInt32 := z_EnumGpusNV_ovr1(iGpuIndex, phGpu); + private static function _z_EnumGpusNV_ovr2(iGpuIndex: UInt32; phGpu: IntPtr): UInt32; + external 'opengl32.dll' name 'wglEnumGpusNV'; + public static z_EnumGpusNV_ovr2 := _z_EnumGpusNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpusNV(iGpuIndex: UInt32; phGpu: IntPtr): UInt32 := z_EnumGpusNV_ovr2(iGpuIndex, phGpu); + + private static function _z_EnumGpuDevicesNV_ovr0(hGpu: HGPUNV; iDeviceIndex: UInt32; lpGpuDevice: PGPU_DEVICE): UInt32; + external 'opengl32.dll' name 'wglEnumGpuDevicesNV'; + public static z_EnumGpuDevicesNV_ovr0 := _z_EnumGpuDevicesNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpuDevicesNV(hGpu: HGPUNV; iDeviceIndex: UInt32; lpGpuDevice: PGPU_DEVICE): UInt32 := z_EnumGpuDevicesNV_ovr0(hGpu, iDeviceIndex, lpGpuDevice); + + private static function _z_CreateAffinityDCNV_ovr0([MarshalAs(UnmanagedType.LPArray)] phGpuList: array of HGPUNV): GDI_DC; + external 'opengl32.dll' name 'wglCreateAffinityDCNV'; + public static z_CreateAffinityDCNV_ovr0 := _z_CreateAffinityDCNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAffinityDCNV(phGpuList: array of HGPUNV): GDI_DC := z_CreateAffinityDCNV_ovr0(phGpuList); + private static function _z_CreateAffinityDCNV_ovr1(var phGpuList: HGPUNV): GDI_DC; + external 'opengl32.dll' name 'wglCreateAffinityDCNV'; + public static z_CreateAffinityDCNV_ovr1 := _z_CreateAffinityDCNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAffinityDCNV(var phGpuList: HGPUNV): GDI_DC := z_CreateAffinityDCNV_ovr1(phGpuList); + private static function _z_CreateAffinityDCNV_ovr2(phGpuList: IntPtr): GDI_DC; + external 'opengl32.dll' name 'wglCreateAffinityDCNV'; + public static z_CreateAffinityDCNV_ovr2 := _z_CreateAffinityDCNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function CreateAffinityDCNV(phGpuList: IntPtr): GDI_DC := z_CreateAffinityDCNV_ovr2(phGpuList); + + private static function _z_EnumGpusFromAffinityDCNV_ovr0(hAffinityDC: GDI_DC; iGpuIndex: UInt32; [MarshalAs(UnmanagedType.LPArray)] hGpu: array of HGPUNV): UInt32; + external 'opengl32.dll' name 'wglEnumGpusFromAffinityDCNV'; + public static z_EnumGpusFromAffinityDCNV_ovr0 := _z_EnumGpusFromAffinityDCNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpusFromAffinityDCNV(hAffinityDC: GDI_DC; iGpuIndex: UInt32; hGpu: array of HGPUNV): UInt32 := z_EnumGpusFromAffinityDCNV_ovr0(hAffinityDC, iGpuIndex, hGpu); + private static function _z_EnumGpusFromAffinityDCNV_ovr1(hAffinityDC: GDI_DC; iGpuIndex: UInt32; var hGpu: HGPUNV): UInt32; + external 'opengl32.dll' name 'wglEnumGpusFromAffinityDCNV'; + public static z_EnumGpusFromAffinityDCNV_ovr1 := _z_EnumGpusFromAffinityDCNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpusFromAffinityDCNV(hAffinityDC: GDI_DC; iGpuIndex: UInt32; var hGpu: HGPUNV): UInt32 := z_EnumGpusFromAffinityDCNV_ovr1(hAffinityDC, iGpuIndex, hGpu); + private static function _z_EnumGpusFromAffinityDCNV_ovr2(hAffinityDC: GDI_DC; iGpuIndex: UInt32; hGpu: IntPtr): UInt32; + external 'opengl32.dll' name 'wglEnumGpusFromAffinityDCNV'; + public static z_EnumGpusFromAffinityDCNV_ovr2 := _z_EnumGpusFromAffinityDCNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumGpusFromAffinityDCNV(hAffinityDC: GDI_DC; iGpuIndex: UInt32; hGpu: IntPtr): UInt32 := z_EnumGpusFromAffinityDCNV_ovr2(hAffinityDC, iGpuIndex, hGpu); + + private static function _z_DeleteDCNV_ovr0(hdc: GDI_DC): UInt32; + external 'opengl32.dll' name 'wglDeleteDCNV'; + public static z_DeleteDCNV_ovr0 := _z_DeleteDCNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function DeleteDCNV(hdc: GDI_DC): UInt32 := z_DeleteDCNV_ovr0(hdc); + + end; + + wglPresentVideoNV = static class + + private static function _z_EnumerateVideoDevicesNV_ovr0(hDc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] phDeviceList: array of HVIDEOOUTPUTDEVICENV): Int32; + external 'opengl32.dll' name 'wglEnumerateVideoDevicesNV'; + public static z_EnumerateVideoDevicesNV_ovr0 := _z_EnumerateVideoDevicesNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumerateVideoDevicesNV(hDc: GDI_DC; phDeviceList: array of HVIDEOOUTPUTDEVICENV): Int32 := z_EnumerateVideoDevicesNV_ovr0(hDc, phDeviceList); + private static function _z_EnumerateVideoDevicesNV_ovr1(hDc: GDI_DC; var phDeviceList: HVIDEOOUTPUTDEVICENV): Int32; + external 'opengl32.dll' name 'wglEnumerateVideoDevicesNV'; + public static z_EnumerateVideoDevicesNV_ovr1 := _z_EnumerateVideoDevicesNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumerateVideoDevicesNV(hDc: GDI_DC; var phDeviceList: HVIDEOOUTPUTDEVICENV): Int32 := z_EnumerateVideoDevicesNV_ovr1(hDc, phDeviceList); + private static function _z_EnumerateVideoDevicesNV_ovr2(hDc: GDI_DC; phDeviceList: IntPtr): Int32; + external 'opengl32.dll' name 'wglEnumerateVideoDevicesNV'; + public static z_EnumerateVideoDevicesNV_ovr2 := _z_EnumerateVideoDevicesNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumerateVideoDevicesNV(hDc: GDI_DC; phDeviceList: IntPtr): Int32 := z_EnumerateVideoDevicesNV_ovr2(hDc, phDeviceList); + + private static function _z_BindVideoDeviceNV_ovr0(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: HVIDEOOUTPUTDEVICENV; [MarshalAs(UnmanagedType.LPArray)] piAttribList: array of Int32): UInt32; + external 'opengl32.dll' name 'wglBindVideoDeviceNV'; + public static z_BindVideoDeviceNV_ovr0 := _z_BindVideoDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindVideoDeviceNV(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: HVIDEOOUTPUTDEVICENV; piAttribList: array of Int32): UInt32 := z_BindVideoDeviceNV_ovr0(hDc, uVideoSlot, hVideoDevice, piAttribList); + private static function _z_BindVideoDeviceNV_ovr1(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: HVIDEOOUTPUTDEVICENV; var piAttribList: Int32): UInt32; + external 'opengl32.dll' name 'wglBindVideoDeviceNV'; + public static z_BindVideoDeviceNV_ovr1 := _z_BindVideoDeviceNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindVideoDeviceNV(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: HVIDEOOUTPUTDEVICENV; var piAttribList: Int32): UInt32 := z_BindVideoDeviceNV_ovr1(hDc, uVideoSlot, hVideoDevice, piAttribList); + private static function _z_BindVideoDeviceNV_ovr2(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: HVIDEOOUTPUTDEVICENV; piAttribList: IntPtr): UInt32; + external 'opengl32.dll' name 'wglBindVideoDeviceNV'; + public static z_BindVideoDeviceNV_ovr2 := _z_BindVideoDeviceNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindVideoDeviceNV(hDc: GDI_DC; uVideoSlot: UInt32; hVideoDevice: HVIDEOOUTPUTDEVICENV; piAttribList: IntPtr): UInt32 := z_BindVideoDeviceNV_ovr2(hDc, uVideoSlot, hVideoDevice, piAttribList); + + private static function _z_QueryCurrentContextNV_ovr0(iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglQueryCurrentContextNV'; + public static z_QueryCurrentContextNV_ovr0 := _z_QueryCurrentContextNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryCurrentContextNV(iAttribute: Int32; piValue: array of Int32): UInt32 := z_QueryCurrentContextNV_ovr0(iAttribute, piValue); + private static function _z_QueryCurrentContextNV_ovr1(iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglQueryCurrentContextNV'; + public static z_QueryCurrentContextNV_ovr1 := _z_QueryCurrentContextNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryCurrentContextNV(iAttribute: Int32; var piValue: Int32): UInt32 := z_QueryCurrentContextNV_ovr1(iAttribute, piValue); + private static function _z_QueryCurrentContextNV_ovr2(iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryCurrentContextNV'; + public static z_QueryCurrentContextNV_ovr2 := _z_QueryCurrentContextNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryCurrentContextNV(iAttribute: Int32; piValue: IntPtr): UInt32 := z_QueryCurrentContextNV_ovr2(iAttribute, piValue); + + end; + + wglSwapGroupNV = static class + + private static function _z_JoinSwapGroupNV_ovr0(hDC: GDI_DC; group: UInt32): UInt32; + external 'opengl32.dll' name 'wglJoinSwapGroupNV'; + public static z_JoinSwapGroupNV_ovr0 := _z_JoinSwapGroupNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function JoinSwapGroupNV(hDC: GDI_DC; group: UInt32): UInt32 := z_JoinSwapGroupNV_ovr0(hDC, group); + + private static function _z_BindSwapBarrierNV_ovr0(group: UInt32; barrier: UInt32): UInt32; + external 'opengl32.dll' name 'wglBindSwapBarrierNV'; + public static z_BindSwapBarrierNV_ovr0 := _z_BindSwapBarrierNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindSwapBarrierNV(group: UInt32; barrier: UInt32): UInt32 := z_BindSwapBarrierNV_ovr0(group, barrier); + + private static function _z_QuerySwapGroupNV_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] group: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] barrier: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr0 := _z_QuerySwapGroupNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; group: array of UInt32; barrier: array of UInt32): UInt32 := z_QuerySwapGroupNV_ovr0(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr1(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] group: array of UInt32; var barrier: UInt32): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr1 := _z_QuerySwapGroupNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; group: array of UInt32; var barrier: UInt32): UInt32 := z_QuerySwapGroupNV_ovr1(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr2(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] group: array of UInt32; barrier: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr2 := _z_QuerySwapGroupNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; group: array of UInt32; barrier: IntPtr): UInt32 := z_QuerySwapGroupNV_ovr2(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr3(hDC: GDI_DC; var group: UInt32; [MarshalAs(UnmanagedType.LPArray)] barrier: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr3 := _z_QuerySwapGroupNV_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; var group: UInt32; barrier: array of UInt32): UInt32 := z_QuerySwapGroupNV_ovr3(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr4(hDC: GDI_DC; var group: UInt32; var barrier: UInt32): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr4 := _z_QuerySwapGroupNV_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; var group: UInt32; var barrier: UInt32): UInt32 := z_QuerySwapGroupNV_ovr4(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr5(hDC: GDI_DC; var group: UInt32; barrier: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr5 := _z_QuerySwapGroupNV_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; var group: UInt32; barrier: IntPtr): UInt32 := z_QuerySwapGroupNV_ovr5(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr6(hDC: GDI_DC; group: IntPtr; [MarshalAs(UnmanagedType.LPArray)] barrier: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr6 := _z_QuerySwapGroupNV_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; group: IntPtr; barrier: array of UInt32): UInt32 := z_QuerySwapGroupNV_ovr6(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr7(hDC: GDI_DC; group: IntPtr; var barrier: UInt32): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr7 := _z_QuerySwapGroupNV_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; group: IntPtr; var barrier: UInt32): UInt32 := z_QuerySwapGroupNV_ovr7(hDC, group, barrier); + private static function _z_QuerySwapGroupNV_ovr8(hDC: GDI_DC; group: IntPtr; barrier: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQuerySwapGroupNV'; + public static z_QuerySwapGroupNV_ovr8 := _z_QuerySwapGroupNV_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QuerySwapGroupNV(hDC: GDI_DC; group: IntPtr; barrier: IntPtr): UInt32 := z_QuerySwapGroupNV_ovr8(hDC, group, barrier); + + private static function _z_QueryMaxSwapGroupsNV_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] maxGroups: array of UInt32; [MarshalAs(UnmanagedType.LPArray)] maxBarriers: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr0 := _z_QueryMaxSwapGroupsNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: array of UInt32; maxBarriers: array of UInt32): UInt32 := z_QueryMaxSwapGroupsNV_ovr0(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr1(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] maxGroups: array of UInt32; var maxBarriers: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr1 := _z_QueryMaxSwapGroupsNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: array of UInt32; var maxBarriers: UInt32): UInt32 := z_QueryMaxSwapGroupsNV_ovr1(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr2(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] maxGroups: array of UInt32; maxBarriers: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr2 := _z_QueryMaxSwapGroupsNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: array of UInt32; maxBarriers: IntPtr): UInt32 := z_QueryMaxSwapGroupsNV_ovr2(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr3(hDC: GDI_DC; var maxGroups: UInt32; [MarshalAs(UnmanagedType.LPArray)] maxBarriers: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr3 := _z_QueryMaxSwapGroupsNV_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; var maxGroups: UInt32; maxBarriers: array of UInt32): UInt32 := z_QueryMaxSwapGroupsNV_ovr3(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr4(hDC: GDI_DC; var maxGroups: UInt32; var maxBarriers: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr4 := _z_QueryMaxSwapGroupsNV_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; var maxGroups: UInt32; var maxBarriers: UInt32): UInt32 := z_QueryMaxSwapGroupsNV_ovr4(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr5(hDC: GDI_DC; var maxGroups: UInt32; maxBarriers: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr5 := _z_QueryMaxSwapGroupsNV_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; var maxGroups: UInt32; maxBarriers: IntPtr): UInt32 := z_QueryMaxSwapGroupsNV_ovr5(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr6(hDC: GDI_DC; maxGroups: IntPtr; [MarshalAs(UnmanagedType.LPArray)] maxBarriers: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr6 := _z_QueryMaxSwapGroupsNV_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: IntPtr; maxBarriers: array of UInt32): UInt32 := z_QueryMaxSwapGroupsNV_ovr6(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr7(hDC: GDI_DC; maxGroups: IntPtr; var maxBarriers: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr7 := _z_QueryMaxSwapGroupsNV_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: IntPtr; var maxBarriers: UInt32): UInt32 := z_QueryMaxSwapGroupsNV_ovr7(hDC, maxGroups, maxBarriers); + private static function _z_QueryMaxSwapGroupsNV_ovr8(hDC: GDI_DC; maxGroups: IntPtr; maxBarriers: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryMaxSwapGroupsNV'; + public static z_QueryMaxSwapGroupsNV_ovr8 := _z_QueryMaxSwapGroupsNV_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryMaxSwapGroupsNV(hDC: GDI_DC; maxGroups: IntPtr; maxBarriers: IntPtr): UInt32 := z_QueryMaxSwapGroupsNV_ovr8(hDC, maxGroups, maxBarriers); + + private static function _z_QueryFrameCountNV_ovr0(hDC: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] count: array of UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryFrameCountNV'; + public static z_QueryFrameCountNV_ovr0 := _z_QueryFrameCountNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameCountNV(hDC: GDI_DC; count: array of UInt32): UInt32 := z_QueryFrameCountNV_ovr0(hDC, count); + private static function _z_QueryFrameCountNV_ovr1(hDC: GDI_DC; var count: UInt32): UInt32; + external 'opengl32.dll' name 'wglQueryFrameCountNV'; + public static z_QueryFrameCountNV_ovr1 := _z_QueryFrameCountNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameCountNV(hDC: GDI_DC; var count: UInt32): UInt32 := z_QueryFrameCountNV_ovr1(hDC, count); + private static function _z_QueryFrameCountNV_ovr2(hDC: GDI_DC; count: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryFrameCountNV'; + public static z_QueryFrameCountNV_ovr2 := _z_QueryFrameCountNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryFrameCountNV(hDC: GDI_DC; count: IntPtr): UInt32 := z_QueryFrameCountNV_ovr2(hDC, count); + + private static function _z_ResetFrameCountNV_ovr0(hDC: GDI_DC): UInt32; + external 'opengl32.dll' name 'wglResetFrameCountNV'; + public static z_ResetFrameCountNV_ovr0 := _z_ResetFrameCountNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ResetFrameCountNV(hDC: GDI_DC): UInt32 := z_ResetFrameCountNV_ovr0(hDC); + + end; + + wglVideoCaptureNV = static class + + private static function _z_BindVideoCaptureDeviceNV_ovr0(uVideoSlot: UInt32; hDevice: HVIDEOINPUTDEVICENV): UInt32; + external 'opengl32.dll' name 'wglBindVideoCaptureDeviceNV'; + public static z_BindVideoCaptureDeviceNV_ovr0 := _z_BindVideoCaptureDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindVideoCaptureDeviceNV(uVideoSlot: UInt32; hDevice: HVIDEOINPUTDEVICENV): UInt32 := z_BindVideoCaptureDeviceNV_ovr0(uVideoSlot, hDevice); + + private static function _z_EnumerateVideoCaptureDevicesNV_ovr0(hDc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] phDeviceList: array of HVIDEOINPUTDEVICENV): UInt32; + external 'opengl32.dll' name 'wglEnumerateVideoCaptureDevicesNV'; + public static z_EnumerateVideoCaptureDevicesNV_ovr0 := _z_EnumerateVideoCaptureDevicesNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumerateVideoCaptureDevicesNV(hDc: GDI_DC; phDeviceList: array of HVIDEOINPUTDEVICENV): UInt32 := z_EnumerateVideoCaptureDevicesNV_ovr0(hDc, phDeviceList); + private static function _z_EnumerateVideoCaptureDevicesNV_ovr1(hDc: GDI_DC; var phDeviceList: HVIDEOINPUTDEVICENV): UInt32; + external 'opengl32.dll' name 'wglEnumerateVideoCaptureDevicesNV'; + public static z_EnumerateVideoCaptureDevicesNV_ovr1 := _z_EnumerateVideoCaptureDevicesNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumerateVideoCaptureDevicesNV(hDc: GDI_DC; var phDeviceList: HVIDEOINPUTDEVICENV): UInt32 := z_EnumerateVideoCaptureDevicesNV_ovr1(hDc, phDeviceList); + private static function _z_EnumerateVideoCaptureDevicesNV_ovr2(hDc: GDI_DC; phDeviceList: IntPtr): UInt32; + external 'opengl32.dll' name 'wglEnumerateVideoCaptureDevicesNV'; + public static z_EnumerateVideoCaptureDevicesNV_ovr2 := _z_EnumerateVideoCaptureDevicesNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function EnumerateVideoCaptureDevicesNV(hDc: GDI_DC; phDeviceList: IntPtr): UInt32 := z_EnumerateVideoCaptureDevicesNV_ovr2(hDc, phDeviceList); + + private static function _z_LockVideoCaptureDeviceNV_ovr0(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV): UInt32; + external 'opengl32.dll' name 'wglLockVideoCaptureDeviceNV'; + public static z_LockVideoCaptureDeviceNV_ovr0 := _z_LockVideoCaptureDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function LockVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV): UInt32 := z_LockVideoCaptureDeviceNV_ovr0(hDc, hDevice); + + private static function _z_QueryVideoCaptureDeviceNV_ovr0(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV; iAttribute: Int32; [MarshalAs(UnmanagedType.LPArray)] piValue: array of Int32): UInt32; + external 'opengl32.dll' name 'wglQueryVideoCaptureDeviceNV'; + public static z_QueryVideoCaptureDeviceNV_ovr0 := _z_QueryVideoCaptureDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV; iAttribute: Int32; piValue: array of Int32): UInt32 := z_QueryVideoCaptureDeviceNV_ovr0(hDc, hDevice, iAttribute, piValue); + private static function _z_QueryVideoCaptureDeviceNV_ovr1(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV; iAttribute: Int32; var piValue: Int32): UInt32; + external 'opengl32.dll' name 'wglQueryVideoCaptureDeviceNV'; + public static z_QueryVideoCaptureDeviceNV_ovr1 := _z_QueryVideoCaptureDeviceNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV; iAttribute: Int32; var piValue: Int32): UInt32 := z_QueryVideoCaptureDeviceNV_ovr1(hDc, hDevice, iAttribute, piValue); + private static function _z_QueryVideoCaptureDeviceNV_ovr2(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV; iAttribute: Int32; piValue: IntPtr): UInt32; + external 'opengl32.dll' name 'wglQueryVideoCaptureDeviceNV'; + public static z_QueryVideoCaptureDeviceNV_ovr2 := _z_QueryVideoCaptureDeviceNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function QueryVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV; iAttribute: Int32; piValue: IntPtr): UInt32 := z_QueryVideoCaptureDeviceNV_ovr2(hDc, hDevice, iAttribute, piValue); + + private static function _z_ReleaseVideoCaptureDeviceNV_ovr0(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV): UInt32; + external 'opengl32.dll' name 'wglReleaseVideoCaptureDeviceNV'; + public static z_ReleaseVideoCaptureDeviceNV_ovr0 := _z_ReleaseVideoCaptureDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseVideoCaptureDeviceNV(hDc: GDI_DC; hDevice: HVIDEOINPUTDEVICENV): UInt32 := z_ReleaseVideoCaptureDeviceNV_ovr0(hDc, hDevice); + + end; + + wglVideoOutputNV = static class + + private static function _z_GetVideoDeviceNV_ovr0(hDC: GDI_DC; numDevices: Int32; [MarshalAs(UnmanagedType.LPArray)] hVideoDevice: array of HPVIDEODEV): UInt32; + external 'opengl32.dll' name 'wglGetVideoDeviceNV'; + public static z_GetVideoDeviceNV_ovr0 := _z_GetVideoDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoDeviceNV(hDC: GDI_DC; numDevices: Int32; hVideoDevice: array of HPVIDEODEV): UInt32 := z_GetVideoDeviceNV_ovr0(hDC, numDevices, hVideoDevice); + private static function _z_GetVideoDeviceNV_ovr1(hDC: GDI_DC; numDevices: Int32; var hVideoDevice: HPVIDEODEV): UInt32; + external 'opengl32.dll' name 'wglGetVideoDeviceNV'; + public static z_GetVideoDeviceNV_ovr1 := _z_GetVideoDeviceNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoDeviceNV(hDC: GDI_DC; numDevices: Int32; var hVideoDevice: HPVIDEODEV): UInt32 := z_GetVideoDeviceNV_ovr1(hDC, numDevices, hVideoDevice); + private static function _z_GetVideoDeviceNV_ovr2(hDC: GDI_DC; numDevices: Int32; hVideoDevice: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetVideoDeviceNV'; + public static z_GetVideoDeviceNV_ovr2 := _z_GetVideoDeviceNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoDeviceNV(hDC: GDI_DC; numDevices: Int32; hVideoDevice: IntPtr): UInt32 := z_GetVideoDeviceNV_ovr2(hDC, numDevices, hVideoDevice); + + private static function _z_ReleaseVideoDeviceNV_ovr0(hVideoDevice: HPVIDEODEV): UInt32; + external 'opengl32.dll' name 'wglReleaseVideoDeviceNV'; + public static z_ReleaseVideoDeviceNV_ovr0 := _z_ReleaseVideoDeviceNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseVideoDeviceNV(hVideoDevice: HPVIDEODEV): UInt32 := z_ReleaseVideoDeviceNV_ovr0(hVideoDevice); + + private static function _z_BindVideoImageNV_ovr0(hVideoDevice: HPVIDEODEV; _hPbuffer: HPBUFFER; iVideoBuffer: Int32): UInt32; + external 'opengl32.dll' name 'wglBindVideoImageNV'; + public static z_BindVideoImageNV_ovr0 := _z_BindVideoImageNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function BindVideoImageNV(hVideoDevice: HPVIDEODEV; _hPbuffer: HPBUFFER; iVideoBuffer: Int32): UInt32 := z_BindVideoImageNV_ovr0(hVideoDevice, _hPbuffer, iVideoBuffer); + + private static function _z_ReleaseVideoImageNV_ovr0(_hPbuffer: HPBUFFER; iVideoBuffer: Int32): UInt32; + external 'opengl32.dll' name 'wglReleaseVideoImageNV'; + public static z_ReleaseVideoImageNV_ovr0 := _z_ReleaseVideoImageNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function ReleaseVideoImageNV(_hPbuffer: HPBUFFER; iVideoBuffer: Int32): UInt32 := z_ReleaseVideoImageNV_ovr0(_hPbuffer, iVideoBuffer); + + private static function _z_SendPbufferToVideoNV_ovr0(_hPbuffer: HPBUFFER; iBufferType: Int32; [MarshalAs(UnmanagedType.LPArray)] pulCounterPbuffer: array of UInt64; bBlock: UInt32): UInt32; + external 'opengl32.dll' name 'wglSendPbufferToVideoNV'; + public static z_SendPbufferToVideoNV_ovr0 := _z_SendPbufferToVideoNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SendPbufferToVideoNV(_hPbuffer: HPBUFFER; iBufferType: Int32; pulCounterPbuffer: array of UInt64; bBlock: UInt32): UInt32 := z_SendPbufferToVideoNV_ovr0(_hPbuffer, iBufferType, pulCounterPbuffer, bBlock); + private static function _z_SendPbufferToVideoNV_ovr1(_hPbuffer: HPBUFFER; iBufferType: Int32; var pulCounterPbuffer: UInt64; bBlock: UInt32): UInt32; + external 'opengl32.dll' name 'wglSendPbufferToVideoNV'; + public static z_SendPbufferToVideoNV_ovr1 := _z_SendPbufferToVideoNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SendPbufferToVideoNV(_hPbuffer: HPBUFFER; iBufferType: Int32; var pulCounterPbuffer: UInt64; bBlock: UInt32): UInt32 := z_SendPbufferToVideoNV_ovr1(_hPbuffer, iBufferType, pulCounterPbuffer, bBlock); + private static function _z_SendPbufferToVideoNV_ovr2(_hPbuffer: HPBUFFER; iBufferType: Int32; pulCounterPbuffer: IntPtr; bBlock: UInt32): UInt32; + external 'opengl32.dll' name 'wglSendPbufferToVideoNV'; + public static z_SendPbufferToVideoNV_ovr2 := _z_SendPbufferToVideoNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SendPbufferToVideoNV(_hPbuffer: HPBUFFER; iBufferType: Int32; pulCounterPbuffer: IntPtr; bBlock: UInt32): UInt32 := z_SendPbufferToVideoNV_ovr2(_hPbuffer, iBufferType, pulCounterPbuffer, bBlock); + + private static function _z_GetVideoInfoNV_ovr0(hpVideoDevice: HPVIDEODEV; [MarshalAs(UnmanagedType.LPArray)] pulCounterOutputPbuffer: array of UInt64; [MarshalAs(UnmanagedType.LPArray)] pulCounterOutputVideo: array of UInt64): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr0 := _z_GetVideoInfoNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: array of UInt64): UInt32 := z_GetVideoInfoNV_ovr0(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr1(hpVideoDevice: HPVIDEODEV; [MarshalAs(UnmanagedType.LPArray)] pulCounterOutputPbuffer: array of UInt64; var pulCounterOutputVideo: UInt64): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr1 := _z_GetVideoInfoNV_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: array of UInt64; var pulCounterOutputVideo: UInt64): UInt32 := z_GetVideoInfoNV_ovr1(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr2(hpVideoDevice: HPVIDEODEV; [MarshalAs(UnmanagedType.LPArray)] pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr2 := _z_GetVideoInfoNV_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: array of UInt64; pulCounterOutputVideo: IntPtr): UInt32 := z_GetVideoInfoNV_ovr2(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr3(hpVideoDevice: HPVIDEODEV; var pulCounterOutputPbuffer: UInt64; [MarshalAs(UnmanagedType.LPArray)] pulCounterOutputVideo: array of UInt64): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr3 := _z_GetVideoInfoNV_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: array of UInt64): UInt32 := z_GetVideoInfoNV_ovr3(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr4(hpVideoDevice: HPVIDEODEV; var pulCounterOutputPbuffer: UInt64; var pulCounterOutputVideo: UInt64): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr4 := _z_GetVideoInfoNV_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; var pulCounterOutputPbuffer: UInt64; var pulCounterOutputVideo: UInt64): UInt32 := z_GetVideoInfoNV_ovr4(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr5(hpVideoDevice: HPVIDEODEV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr5 := _z_GetVideoInfoNV_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; var pulCounterOutputPbuffer: UInt64; pulCounterOutputVideo: IntPtr): UInt32 := z_GetVideoInfoNV_ovr5(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr6(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: IntPtr; [MarshalAs(UnmanagedType.LPArray)] pulCounterOutputVideo: array of UInt64): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr6 := _z_GetVideoInfoNV_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: IntPtr; pulCounterOutputVideo: array of UInt64): UInt32 := z_GetVideoInfoNV_ovr6(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr7(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: IntPtr; var pulCounterOutputVideo: UInt64): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr7 := _z_GetVideoInfoNV_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: IntPtr; var pulCounterOutputVideo: UInt64): UInt32 := z_GetVideoInfoNV_ovr7(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + private static function _z_GetVideoInfoNV_ovr8(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: IntPtr; pulCounterOutputVideo: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetVideoInfoNV'; + public static z_GetVideoInfoNV_ovr8 := _z_GetVideoInfoNV_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetVideoInfoNV(hpVideoDevice: HPVIDEODEV; pulCounterOutputPbuffer: IntPtr; pulCounterOutputVideo: IntPtr): UInt32 := z_GetVideoInfoNV_ovr8(hpVideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo); + + end; + + wglVertexArrayRangeNV = static class + + private static function _z_AllocateMemoryNV_ovr0(size: Int32; readfreq: single; writefreq: single; priority: single): IntPtr; + external 'opengl32.dll' name 'wglAllocateMemoryNV'; + public static z_AllocateMemoryNV_ovr0 := _z_AllocateMemoryNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function AllocateMemoryNV(size: Int32; readfreq: single; writefreq: single; priority: single): IntPtr := z_AllocateMemoryNV_ovr0(size, readfreq, writefreq, priority); + + private static procedure _z_FreeMemoryNV_ovr0(pointer: IntPtr); + external 'opengl32.dll' name 'wglFreeMemoryNV'; + public static z_FreeMemoryNV_ovr0 := _z_FreeMemoryNV_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static procedure FreeMemoryNV(pointer: IntPtr) := z_FreeMemoryNV_ovr0(pointer); + + end; + + wglSyncControlOML = static class + + private static function _z_GetSyncValuesOML_ovr0(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr0 := _z_GetSyncValuesOML_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr0(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr1(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr1 := _z_GetSyncValuesOML_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr1(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr2(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr2 := _z_GetSyncValuesOML_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: array of Int64; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr2(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr3(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr3 := _z_GetSyncValuesOML_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr3(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr4(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr4 := _z_GetSyncValuesOML_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr4(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr5(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr5 := _z_GetSyncValuesOML_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; var msc: Int64; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr5(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr6(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr6 := _z_GetSyncValuesOML_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: IntPtr; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr6(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr7(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr7 := _z_GetSyncValuesOML_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: IntPtr; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr7(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr8(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr8 := _z_GetSyncValuesOML_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: array of Int64; msc: IntPtr; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr8(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr9(hdc: GDI_DC; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr9 := _z_GetSyncValuesOML_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr9(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr10(hdc: GDI_DC; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr10 := _z_GetSyncValuesOML_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr10(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr11(hdc: GDI_DC; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr11 := _z_GetSyncValuesOML_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: array of Int64; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr11(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr12(hdc: GDI_DC; var ust: Int64; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr12 := _z_GetSyncValuesOML_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr12(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr13(hdc: GDI_DC; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr13 := _z_GetSyncValuesOML_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr13(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr14(hdc: GDI_DC; var ust: Int64; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr14 := _z_GetSyncValuesOML_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; var msc: Int64; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr14(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr15(hdc: GDI_DC; var ust: Int64; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr15 := _z_GetSyncValuesOML_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: IntPtr; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr15(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr16(hdc: GDI_DC; var ust: Int64; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr16 := _z_GetSyncValuesOML_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: IntPtr; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr16(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr17(hdc: GDI_DC; var ust: Int64; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr17 := _z_GetSyncValuesOML_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; var ust: Int64; msc: IntPtr; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr17(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr18(hdc: GDI_DC; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr18 := _z_GetSyncValuesOML_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; msc: array of Int64; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr18(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr19(hdc: GDI_DC; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr19 := _z_GetSyncValuesOML_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; msc: array of Int64; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr19(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr20(hdc: GDI_DC; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr20 := _z_GetSyncValuesOML_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; msc: array of Int64; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr20(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr21(hdc: GDI_DC; ust: IntPtr; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr21 := _z_GetSyncValuesOML_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; var msc: Int64; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr21(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr22(hdc: GDI_DC; ust: IntPtr; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr22 := _z_GetSyncValuesOML_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; var msc: Int64; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr22(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr23(hdc: GDI_DC; ust: IntPtr; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr23 := _z_GetSyncValuesOML_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; var msc: Int64; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr23(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr24(hdc: GDI_DC; ust: IntPtr; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr24 := _z_GetSyncValuesOML_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; msc: IntPtr; sbc: array of Int64): UInt32 := z_GetSyncValuesOML_ovr24(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr25(hdc: GDI_DC; ust: IntPtr; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr25 := _z_GetSyncValuesOML_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; msc: IntPtr; var sbc: Int64): UInt32 := z_GetSyncValuesOML_ovr25(hdc, ust, msc, sbc); + private static function _z_GetSyncValuesOML_ovr26(hdc: GDI_DC; ust: IntPtr; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetSyncValuesOML'; + public static z_GetSyncValuesOML_ovr26 := _z_GetSyncValuesOML_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetSyncValuesOML(hdc: GDI_DC; ust: IntPtr; msc: IntPtr; sbc: IntPtr): UInt32 := z_GetSyncValuesOML_ovr26(hdc, ust, msc, sbc); + + private static function _z_GetMscRateOML_ovr0(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] numerator: array of Int32; [MarshalAs(UnmanagedType.LPArray)] denominator: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr0 := _z_GetMscRateOML_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; numerator: array of Int32; denominator: array of Int32): UInt32 := z_GetMscRateOML_ovr0(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr1(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] numerator: array of Int32; var denominator: Int32): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr1 := _z_GetMscRateOML_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; numerator: array of Int32; var denominator: Int32): UInt32 := z_GetMscRateOML_ovr1(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr2(hdc: GDI_DC; [MarshalAs(UnmanagedType.LPArray)] numerator: array of Int32; denominator: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr2 := _z_GetMscRateOML_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; numerator: array of Int32; denominator: IntPtr): UInt32 := z_GetMscRateOML_ovr2(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr3(hdc: GDI_DC; var numerator: Int32; [MarshalAs(UnmanagedType.LPArray)] denominator: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr3 := _z_GetMscRateOML_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; var numerator: Int32; denominator: array of Int32): UInt32 := z_GetMscRateOML_ovr3(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr4(hdc: GDI_DC; var numerator: Int32; var denominator: Int32): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr4 := _z_GetMscRateOML_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; var numerator: Int32; var denominator: Int32): UInt32 := z_GetMscRateOML_ovr4(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr5(hdc: GDI_DC; var numerator: Int32; denominator: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr5 := _z_GetMscRateOML_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; var numerator: Int32; denominator: IntPtr): UInt32 := z_GetMscRateOML_ovr5(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr6(hdc: GDI_DC; numerator: IntPtr; [MarshalAs(UnmanagedType.LPArray)] denominator: array of Int32): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr6 := _z_GetMscRateOML_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; numerator: IntPtr; denominator: array of Int32): UInt32 := z_GetMscRateOML_ovr6(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr7(hdc: GDI_DC; numerator: IntPtr; var denominator: Int32): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr7 := _z_GetMscRateOML_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; numerator: IntPtr; var denominator: Int32): UInt32 := z_GetMscRateOML_ovr7(hdc, numerator, denominator); + private static function _z_GetMscRateOML_ovr8(hdc: GDI_DC; numerator: IntPtr; denominator: IntPtr): UInt32; + external 'opengl32.dll' name 'wglGetMscRateOML'; + public static z_GetMscRateOML_ovr8 := _z_GetMscRateOML_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function GetMscRateOML(hdc: GDI_DC; numerator: IntPtr; denominator: IntPtr): UInt32 := z_GetMscRateOML_ovr8(hdc, numerator, denominator); + + private static function _z_SwapBuffersMscOML_ovr0(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64): Int64; + external 'opengl32.dll' name 'wglSwapBuffersMscOML'; + public static z_SwapBuffersMscOML_ovr0 := _z_SwapBuffersMscOML_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SwapBuffersMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64): Int64 := z_SwapBuffersMscOML_ovr0(hdc, target_msc, divisor, remainder); + + private static function _z_SwapLayerBuffersMscOML_ovr0(hdc: GDI_DC; fuPlanes: Int32; target_msc: Int64; divisor: Int64; remainder: Int64): Int64; + external 'opengl32.dll' name 'wglSwapLayerBuffersMscOML'; + public static z_SwapLayerBuffersMscOML_ovr0 := _z_SwapLayerBuffersMscOML_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function SwapLayerBuffersMscOML(hdc: GDI_DC; fuPlanes: Int32; target_msc: Int64; divisor: Int64; remainder: Int64): Int64 := z_SwapLayerBuffersMscOML_ovr0(hdc, fuPlanes, target_msc, divisor, remainder); + + private static function _z_WaitForMscOML_ovr0(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr0 := _z_WaitForMscOML_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr0(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr1(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr1 := _z_WaitForMscOML_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr1(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr2(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr2 := _z_WaitForMscOML_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: array of Int64; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr2(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr3(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr3 := _z_WaitForMscOML_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr3(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr4(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr4 := _z_WaitForMscOML_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr4(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr5(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr5 := _z_WaitForMscOML_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; var msc: Int64; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr5(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr6(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr6 := _z_WaitForMscOML_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: IntPtr; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr6(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr7(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr7 := _z_WaitForMscOML_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: IntPtr; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr7(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr8(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr8 := _z_WaitForMscOML_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: array of Int64; msc: IntPtr; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr8(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr9(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr9 := _z_WaitForMscOML_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr9(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr10(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr10 := _z_WaitForMscOML_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr10(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr11(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr11 := _z_WaitForMscOML_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: array of Int64; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr11(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr12(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr12 := _z_WaitForMscOML_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr12(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr13(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr13 := _z_WaitForMscOML_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr13(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr14(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr14 := _z_WaitForMscOML_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; var msc: Int64; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr14(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr15(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr15 := _z_WaitForMscOML_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: IntPtr; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr15(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr16(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr16 := _z_WaitForMscOML_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: IntPtr; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr16(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr17(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr17 := _z_WaitForMscOML_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; var ust: Int64; msc: IntPtr; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr17(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr18(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr18 := _z_WaitForMscOML_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: array of Int64; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr18(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr19(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr19 := _z_WaitForMscOML_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: array of Int64; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr19(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr20(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr20 := _z_WaitForMscOML_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: array of Int64; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr20(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr21(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr21 := _z_WaitForMscOML_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; var msc: Int64; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr21(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr22(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr22 := _z_WaitForMscOML_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; var msc: Int64; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr22(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr23(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr23 := _z_WaitForMscOML_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; var msc: Int64; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr23(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr24(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr24 := _z_WaitForMscOML_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: IntPtr; sbc: array of Int64): UInt32 := z_WaitForMscOML_ovr24(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr25(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr25 := _z_WaitForMscOML_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: IntPtr; var sbc: Int64): UInt32 := z_WaitForMscOML_ovr25(hdc, target_msc, divisor, remainder, ust, msc, sbc); + private static function _z_WaitForMscOML_ovr26(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForMscOML'; + public static z_WaitForMscOML_ovr26 := _z_WaitForMscOML_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForMscOML(hdc: GDI_DC; target_msc: Int64; divisor: Int64; remainder: Int64; ust: IntPtr; msc: IntPtr; sbc: IntPtr): UInt32 := z_WaitForMscOML_ovr26(hdc, target_msc, divisor, remainder, ust, msc, sbc); + + private static function _z_WaitForSbcOML_ovr0(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr0 := _z_WaitForSbcOML_ovr0; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: array of Int64; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr0(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr1(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr1 := _z_WaitForSbcOML_ovr1; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: array of Int64; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr1(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr2(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr2 := _z_WaitForSbcOML_ovr2; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: array of Int64; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr2(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr3(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr3 := _z_WaitForSbcOML_ovr3; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; var msc: Int64; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr3(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr4(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr4 := _z_WaitForSbcOML_ovr4; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; var msc: Int64; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr4(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr5(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr5 := _z_WaitForSbcOML_ovr5; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; var msc: Int64; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr5(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr6(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr6 := _z_WaitForSbcOML_ovr6; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: IntPtr; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr6(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr7(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr7 := _z_WaitForSbcOML_ovr7; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: IntPtr; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr7(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr8(hdc: GDI_DC; target_sbc: Int64; [MarshalAs(UnmanagedType.LPArray)] ust: array of Int64; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr8 := _z_WaitForSbcOML_ovr8; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: array of Int64; msc: IntPtr; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr8(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr9(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr9 := _z_WaitForSbcOML_ovr9; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: array of Int64; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr9(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr10(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr10 := _z_WaitForSbcOML_ovr10; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: array of Int64; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr10(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr11(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr11 := _z_WaitForSbcOML_ovr11; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: array of Int64; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr11(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr12(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr12 := _z_WaitForSbcOML_ovr12; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr12(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr13(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr13 := _z_WaitForSbcOML_ovr13; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr13(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr14(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr14 := _z_WaitForSbcOML_ovr14; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; var msc: Int64; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr14(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr15(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr15 := _z_WaitForSbcOML_ovr15; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: IntPtr; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr15(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr16(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr16 := _z_WaitForSbcOML_ovr16; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: IntPtr; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr16(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr17(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr17 := _z_WaitForSbcOML_ovr17; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; var ust: Int64; msc: IntPtr; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr17(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr18(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr18 := _z_WaitForSbcOML_ovr18; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: array of Int64; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr18(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr19(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr19 := _z_WaitForSbcOML_ovr19; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: array of Int64; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr19(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr20(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; [MarshalAs(UnmanagedType.LPArray)] msc: array of Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr20 := _z_WaitForSbcOML_ovr20; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: array of Int64; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr20(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr21(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; var msc: Int64; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr21 := _z_WaitForSbcOML_ovr21; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; var msc: Int64; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr21(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr22(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; var msc: Int64; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr22 := _z_WaitForSbcOML_ovr22; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; var msc: Int64; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr22(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr23(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; var msc: Int64; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr23 := _z_WaitForSbcOML_ovr23; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; var msc: Int64; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr23(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr24(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: IntPtr; [MarshalAs(UnmanagedType.LPArray)] sbc: array of Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr24 := _z_WaitForSbcOML_ovr24; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: IntPtr; sbc: array of Int64): UInt32 := z_WaitForSbcOML_ovr24(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr25(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: IntPtr; var sbc: Int64): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr25 := _z_WaitForSbcOML_ovr25; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: IntPtr; var sbc: Int64): UInt32 := z_WaitForSbcOML_ovr25(hdc, target_sbc, ust, msc, sbc); + private static function _z_WaitForSbcOML_ovr26(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: IntPtr; sbc: IntPtr): UInt32; + external 'opengl32.dll' name 'wglWaitForSbcOML'; + public static z_WaitForSbcOML_ovr26 := _z_WaitForSbcOML_ovr26; + public [MethodImpl(MethodImplOptions.AggressiveInlining)] static function WaitForSbcOML(hdc: GDI_DC; target_sbc: Int64; ust: IntPtr; msc: IntPtr; sbc: IntPtr): UInt32 := z_WaitForSbcOML_ovr26(hdc, target_sbc, ust, msc, sbc); + + end; + + {endregion Extensions} + ///Методы для интеграции с gdi gl_gdi = static class {$reference System.Windows.Forms.dll} @@ -30320,9 +64168,9 @@ type pfd.nVersion := 1; pfd.dwFlags := - GDI_PixelFormatFlags.DRAW_TO_WINDOW or - GDI_PixelFormatFlags.SUPPORT_OPENGL or - GDI_PixelFormatFlags.DOUBLEBUFFER + PixelFormatFlagsGDI.DRAW_TO_WINDOW or + PixelFormatFlagsGDI.SUPPORT_OPENGL or + PixelFormatFlagsGDI.DOUBLEBUFFER ; pfd.cColorBits := 24; pfd.cDepthBits := 16; @@ -30352,8 +64200,8 @@ type System.Threading.Thread.Create(()-> begin - var context := wgl.z_CreateContext(hdc); - if 1 <> wgl.z_MakeCurrent(hdc, context) then raise new InvalidOperationException('Не удалось применить контекст'); + var context := wgl.CreateContext(hdc); + if 1 <> wgl.MakeCurrent(hdc, context) then raise new InvalidOperationException('Не удалось применить контекст'); var EndFrame: ()->(); if vsync_fps<=0 then diff --git a/TestSuite/CompilationSamples/PABCSystem.pas b/TestSuite/CompilationSamples/PABCSystem.pas index c31b4b584..6cc79ebc2 100644 --- a/TestSuite/CompilationSamples/PABCSystem.pas +++ b/TestSuite/CompilationSamples/PABCSystem.pas @@ -4892,7 +4892,7 @@ begin else // в sym ничего нет begin state := 1; - sym := tr.Read(); // считываение в буфер из одного символа + sym := Console.Read(); // считываение в буфер из одного символа Result := sym; end; end; @@ -4920,7 +4920,7 @@ begin sym := -1; end else // в sym ничего нет - Result := char(tr.Read()); + Result := char(Console.Read()); exit; end; end; @@ -6480,7 +6480,7 @@ begin f.sw := new StreamWriter(f.fi.FullName); if f = input then begin - f.sr := new StreamReader(f.fi.FullName, Encoding.UTF8); + f.sr := new StreamReader(f.fi.FullName, DefaultEncoding); (CurrentIOSystem as IOStandardSystem).tr := f.sr; _IsPipedRedirected := True; _IsPipedRedirectedQuery := True; diff --git a/bin/Lib/PABCSystem.pas b/bin/Lib/PABCSystem.pas index c31b4b584..ddb49bddd 100644 --- a/bin/Lib/PABCSystem.pas +++ b/bin/Lib/PABCSystem.pas @@ -307,6 +307,7 @@ type procedure read(var x: uint64); procedure read(var x: single); procedure read(var x: boolean); + procedure read(var x: BigInteger); procedure readln; function ReadLine: string; function ReadLexem: string; @@ -341,6 +342,7 @@ type procedure read(var x: uint64); virtual; procedure read(var x: single); virtual; procedure read(var x: boolean); virtual; + procedure read(var x: BigInteger); virtual; procedure readln; virtual; function ReadLine: string; virtual; function ReadLexem: string; virtual; @@ -618,6 +620,8 @@ procedure Read(var x: uint64); procedure Read(var x: single); ///-- procedure Read(var x: boolean); +///-- +procedure Read(var x: BigInteger); ///- procedure Readln(a,b,...); /// Вводит значения a,b,... с клавиатуры и осуществляет переход на следующую строку procedure Readln; @@ -642,6 +646,8 @@ function TryRead(var x: int64): boolean; function TryRead(var x: uint64): boolean; ///-- function TryRead(var x: single): boolean; +///-- +function TryRead(var x: BigInteger): boolean; /// Возвращает значение типа integer, введенное с клавиатуры function ReadInteger: integer; @@ -655,6 +661,8 @@ function ReadChar: char; function ReadString: string; /// Возвращает значение типа boolean, введенное с клавиатуры function ReadBoolean: boolean; +/// Возвращает значение типа BigInteger, введенное с клавиатуры +function ReadBigInteger: BigInteger; /// Возвращает следующую лексему function ReadLexem: string; @@ -670,6 +678,9 @@ function ReadlnChar: char; function ReadlnString: string; /// Возвращает значение типа boolean, введенное с клавиатуры, и переходит на следующую строку ввода function ReadlnBoolean: boolean; +/// Возвращает значение типа BigInteger, введенное с клавиатуры, и переходит на следующую строку ввода +function ReadlnBigInteger: BigInteger; + /// Возвращает кортеж из двух значений типа integer, введенных с клавиатуры function ReadInteger2: (integer, integer); @@ -4892,7 +4903,7 @@ begin else // в sym ничего нет begin state := 1; - sym := tr.Read(); // считываение в буфер из одного символа + sym := Console.Read(); // считываение в буфер из одного символа Result := sym; end; end; @@ -4920,7 +4931,7 @@ begin sym := -1; end else // в sym ничего нет - Result := char(tr.Read()); + Result := char(Console.Read()); exit; end; end; @@ -5232,6 +5243,11 @@ begin else raise new System.FormatException('Входная строка имела неверный формат'); end; +procedure IOStandardSystem.read(var x: BigInteger); +begin + x := Biginteger.Parse(ReadLexem) +end; + procedure IOStandardSystem.readln; begin // while CurrentIOSystem.read_symbol <> END_OF_LINE_SYMBOL do; // было @@ -5360,6 +5376,11 @@ begin CurrentIOSystem.read(x) end; +procedure Read(var x: BigInteger); +begin + CurrentIOSystem.read(x) +end; + function TryRead(var x: integer): boolean; begin Result := True; @@ -5370,6 +5391,16 @@ begin end end; +function TryRead(var x: BigInteger): boolean; +begin + Result := True; + try + Read(x) + except + Result := False; + end +end; + function TryRead(var x: real): boolean; begin Result := True; @@ -5490,6 +5521,11 @@ begin Read(Result); end; +function ReadBigInteger: BigInteger; +begin + Read(Result); +end; + function ReadlnInteger: integer; begin Result := ReadInteger; @@ -5525,6 +5561,13 @@ begin Readln(); end; +function ReadlnBigInteger: BigInteger; +begin + Result := ReadBigInteger; + Readln(); +end; + + function ReadInteger2 := (ReadInteger, ReadInteger); function ReadReal2 := (ReadReal, ReadReal); @@ -6480,7 +6523,7 @@ begin f.sw := new StreamWriter(f.fi.FullName); if f = input then begin - f.sr := new StreamReader(f.fi.FullName, Encoding.UTF8); + f.sr := new StreamReader(f.fi.FullName, DefaultEncoding); (CurrentIOSystem as IOStandardSystem).tr := f.sr; _IsPipedRedirected := True; _IsPipedRedirectedQuery := True;